* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #fff;
    color: #202124;
}

.header {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid #e8eaed;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    color: #5f6368;
    margin-right: 40px;
    cursor: pointer;
}

.logo-icon {
    font-size: 32px;
    color: #4285f4;
}

.logo-text {
    font-size: 20px;
    font-weight: 500;
    margin-left: 8px;
}

.top-nav {
    display: flex;
    gap: 24px;
    flex-grow: 1;
}

.top-nav a {
    text-decoration: none;
    color: #5f6368;
    font-size: 14px;
    font-weight: 500;
}

.top-nav a.active {
    color: #01875f;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #5f6368;
}

.search-icon, .help-icon {
    cursor: pointer;
}

.profile-pic {
    width: 32px;
    height: 32px;
    background-color: #01875f;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
}

.app-hero {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.app-icon-large {
    width: 160px;
    height: 160px;
    border-radius: 20%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.app-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info-primary {
    flex-grow: 1;
}

.app-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 8px;
}

.dev-link {
    color: #01875f;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.app-tags {
    color: #5f6368;
    font-size: 12px;
    margin-top: 8px;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 24px 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.star-icon {
    font-size: 16px;
    color: #202124;
}

.stat-label {
    font-size: 12px;
    color: #5f6368;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background-color: #e8eaed;
}

.install-btn {
    background-color: #01875f;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 48px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 16px;
    display: block;
    width: 100%;
    max-width: 320px;
    transition: background-color 0.2s;
    text-align: center;
    text-decoration: none;
}

.install-btn:hover {
    background-color: #00704f;
}

.share-actions {
    display: flex;
    gap: 16px;
}

.action-btn {
    background: none;
    border: none;
    color: #01875f;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.screenshots {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 32px;
}

.screenshots::-webkit-scrollbar {
    height: 8px;
}
.screenshots::-webkit-scrollbar-thumb {
    background-color: #dadce0;
    border-radius: 4px;
}

.screenshot {
    background-color: #f8f9fa;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #5f6368;
    overflow: hidden;
    font-weight: 500;
    padding: 0;
    border: 1px solid #e8eaed;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.screenshot .material-icons {
    font-size: 48px;
    color: #01875f;
}

/* Sections Common */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    cursor: pointer;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 500;
}

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

/* About App Section */
.about-app {
    margin-bottom: 40px;
}

.description {
    font-size: 14px;
    line-height: 1.6;
    color: #5f6368;
    margin-bottom: 24px;
}

.update-info {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 16px;
}

.category-tags {
    display: flex;
    gap: 8px;
}

.tag {
    border: 1px solid #e8eaed;
    border-radius: 16px;
    padding: 6px 16px;
    font-size: 14px;
    color: #5f6368;
    font-weight: 500;
    cursor: pointer;
}

/* Data Safety Section */
.data-safety {
    margin-bottom: 40px;
}

.ds-intro {
    font-size: 14px;
    color: #5f6368;
    line-height: 1.5;
    margin-bottom: 20px;
}

.ds-box {
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 24px;
}

.ds-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.ds-item:last-of-type {
    margin-bottom: 16px;
}

.ds-icon {
    color: #5f6368;
    font-size: 24px;
}

.ds-title {
    font-size: 14px;
    font-weight: 400;
    color: #3c4043;
    margin-bottom: 4px;
}

.ds-subtext {
    font-size: 12px;
    color: #5f6368;
}

.ds-subtext a {
    color: #5f6368;
    text-decoration: underline;
}

.ds-link {
    color: #01875f;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
}

/* Ratings & Reviews */
.ratings-reviews {
    margin-bottom: 40px;
}

.verify-text {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 12px;
    color: #5f6368;
    margin-top: -30px;
    margin-bottom: 24px;
}

.info-icon {
    font-size: 16px;
}

.device-chips {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 16px;
    padding: 6px 16px;
    font-size: 14px;
    color: #5f6368;
    cursor: pointer;
    font-weight: 500;
}

.chip.active {
    background-color: #e6f4ea;
    border-color: #e6f4ea;
    color: #01875f;
}

.chip .material-icons {
    font-size: 18px;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 32px;
}

.rating-score {
    text-align: center;
}

.big-number {
    font-size: 64px;
    font-weight: 400;
    color: #202124;
    line-height: 1;
}

.stars-row {
    color: #01875f;
    margin: 8px 0;
}

.stars-row .material-icons {
    font-size: 16px;
}

.total-reviews {
    font-size: 12px;
    color: #5f6368;
}

.rating-bars {
    flex-grow: 1;
    max-width: 400px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 4px;
}

.bar-num {
    font-size: 12px;
    color: #5f6368;
    width: 10px;
}

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

.bar-fill {
    height: 100%;
    background-color: #01875f;
    border-radius: 10px;
}

/* User Reviews Section */
.user-reviews {
    margin-bottom: 40px;
}

.review-card {
    margin-bottom: 32px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background-color: #4285f4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    margin-right: 16px;
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-name {
    font-size: 14px;
    color: #202124;
    margin-bottom: 2px;
}

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

.review-stars {
    color: #01875f;
    display: flex;
}

.review-stars .material-icons {
    font-size: 12px;
}

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

.more-vert {
    color: #5f6368;
    cursor: pointer;
}

.review-body {
    font-size: 14px;
    line-height: 1.5;
    color: #3c4043;
    margin-bottom: 16px;
}

.review-helpful {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #5f6368;
}

.review-helpful button {
    background: none;
    border: 1px solid #dadce0;
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 12px;
    color: #3c4043;
    cursor: pointer;
    font-weight: 500;
}

.see-all-reviews {
    color: #01875f;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-top: 16px;
}

/* Footer */
.footer {
    border-top: 1px solid #e8eaed;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background-color: #f8f9fa;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #5f6368;
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 12px;
    color: #5f6368;
}

/* MEDIA QUERIES FOR MOBILE RESPONSIVENESS */
@media (max-width: 800px) {
    /* Hide top nav links on smaller screens to prevent overlapping */
    .top-nav {
        display: none;
    }
    
    .logo-container {
        margin-right: auto; /* Pushes the right-side icons to the edge */
    }
    
    .header {
        padding: 12px 16px;
    }
    
    .main-content {
        padding: 24px 16px;
    }
}

@media (max-width: 600px) {
    .app-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .app-icon-large {
        width: 120px;
        height: 120px;
        margin-bottom: 8px;
    }

    .app-title {
        font-size: 28px;
    }
    
    .stats-row {
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .install-btn {
        max-width: 100%;
    }
    
    .rating-overview {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .rating-bars {
        width: 100%;
        max-width: 100%;
    }
    
    .verify-text {
        justify-content: flex-start;
        margin-top: 0;
        margin-bottom: 16px;
    }
    
    .screenshot {
        width: 160px;
        height: 280px;
    }
}
