* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.app-container {
    max-width: 428px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #ffffff;
}

.app-header {
    padding: 16px 20px;
}

.header-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.app-icon-wrapper {
    flex-shrink: 0;
}

.app-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-name {
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 2px;
    line-height: 1.3;
}

.developer-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    margin-bottom: 4px;
}

.developer-name {
    font-size: 14px;
    color: #1a73e8;
    font-weight: 500;
}

.verified-icon {
    flex-shrink: 0;
}

.contains-ads {
    font-size: 12px;
    color: #5f6368;
}

.metrics-section {
    padding: 12px 0;
    border-bottom: 1px solid #e8eaed;
}

.metrics-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.metrics-container::-webkit-scrollbar {
    display: none;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 8px;
    min-width: 60px;
}

.metric-value {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 15px;
    font-weight: 500;
    color: #000000;
}

.metric-label {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    color: #333333;
    white-space: nowrap;
}

.star-icon {
    color: #202124;
}

.info-icon {
    color: #5f6368;
}

.download-icon {
    color: #5f6368;
}

.age-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    border: 1.5px solid #5f6368;
    border-radius: 3px;
    padding: 1px 4px;
    color: #5f6368;
}

.metric-divider {
    width: 1px;
    height: 24px;
    background-color: #dadce0;
    flex-shrink: 0;
}

.install-section {
    padding: 16px 20px;
}

.install-button {
    width: 100%;
    height: 48px;
    background-color: #0b57cf;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    letter-spacing: 0.25px;
}

.install-button:hover {
    background-color: #0a4cb6;
}

.install-button:active {
    background-color: #174ea6;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.screenshots-section {
    padding: 8px 0 16px;
}

.screenshots-container {
    display: flex;
    gap: 8px;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.screenshots-container::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex-shrink: 0;
    scroll-snap-align: start;
}

.screenshot-item:first-child {
    padding-left: 20px;
}

.screenshot-img {
    width: 110px;
    height: 195px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.section-block {
    padding: 16px 20px;
    border-top: 1px solid #e8eaed;
}

.section-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    color: #202124;
}

.arrow-icon {
    color: #000000;
}

.section-content {
    margin-bottom: 12px;
}

.app-description {
    font-size: 14px;
    color: #202124;
    line-height: normal;
    letter-spacing: 0.2px;
}

.app-description strong {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
}

.data-safety-text {
    font-size: 14px;
    color: #202124;
    line-height: normal;
    letter-spacing: 0.2px;
    cursor: pointer;
}

.data-safety-card {
    background-color: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
}

.safety-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
}

.safety-item:first-child {
    padding-top: 0;
}

.safety-icon {
    flex-shrink: 0;
}

.safety-text {
    flex: 1;
}

.safety-title {
    font-size: 14px;
    color: #000000;
    font-weight: 500;
    margin-bottom: 2px;
}

.safety-subtitle {
    font-size: 12px;
    color: #5f6368;
}

.show-details-link {
    display: inline-block;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 8px;
    padding: 8px 0;
}

.verified-reviews {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #5f6368;
    margin-bottom: 16px;
}

.info-icon-small {
    flex-shrink: 0;
}

.rating-summary {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.rating-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-number {
    font-size: 44px;
    font-weight: 400;
    color: #000000;
    line-height: 1;
}

.rating-stars {
    display: flex;
    gap: 2px;
    margin: 8px 0;
}

.rating-count {
    font-size: 13px;
    color: #5f6368;
}

.rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar-label {
    font-size: 12px;
    color: #5f6368;
    min-width: 12px;
    text-align: center;
}

.bar-track {
    flex: 1;
    height: 8px;
    background-color: #e8eaed;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: #1a73e8;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding-bottom: 16px;
    border-bottom: 1px solid #e8eaed;
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
    min-width: 0;
}

.reviewer-name {
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    margin-bottom: 4px;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-stars {
    display: flex;
    gap: 1px;
}

.review-date {
    font-size: 12px;
    color: #5f6368;
}

.review-menu-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-text {
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
}

.bottom-spacer {
    height: 32px;
}

@media screen and (max-width: 360px) {
    .app-icon {
        width: 60px;
        height: 60px;
    }

    .app-name {
        font-size: 20px;
    }

    .metric-item {
        min-width: 50px;
        padding: 4px 4px;
    }

    .metric-label {
        font-size: 10px;
    }

    .screenshot-img {
        width: 95px;
        height: 170px;
    }

    .rating-number {
        font-size: 36px;
    }
}

@media screen and (min-width: 375px) {
    .screenshot-img {
        width: 105px;
        height: 187px;
    }
}

@media screen and (min-width: 390px) {
    .screenshot-img {
        width: 115px;
        height: 205px;
    }
}

@media screen and (min-width: 412px) {
    .screenshot-img {
        width: 125px;
        height: 222px;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(1, 135, 95, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(1, 135, 95, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(1, 135, 95, 0);
    }
}

.install-button:focus {
    outline: none;
    animation: pulse 1s;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    .screenshots-container {
        scroll-behavior: smooth;
    }
}

@media (hover: none) and (pointer: coarse) {
    .install-button:hover {
        background-color: #01875f;
    }

    .install-button:active {
        background-color: #016e4d;
    }
}

@supports (padding-top: env(safe-area-inset-top)) {
    .app-header {
        padding-top: calc(16px + env(safe-area-inset-top));
    }

    .bottom-spacer {
        height: calc(32px + env(safe-area-inset-bottom));
    }
}