* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Google Sans', 'Roboto', 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

:root {
    --primary-color: #FF6F00;
    --primary-dark: #E65100;
    --background: #ffffff;
    --text-main: #202124;
    --text-muted: #5f6368;
    --border-color: #e8eaed;
    --star-color: #01875f; /* Play Store uses green for stars, but we can stick to brand or playstore standard. Let's use PlayStore green for authenticity */
    --button-text: #ffffff;
}

body {
    background-color: var(--background);
    color: var(--text-main);
    max-width: 100%;
    overflow-x: hidden;
}

/* Play Store Top Navbar Mock */
.top-nav {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
}

.top-nav-logo {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-nav-logo img {
    height: 24px;
}

.main-content {
    padding: 24px;
    max-width: 600px; /* Restrict width to simulate mobile/tablet view on desktop */
    margin: 0 auto;
}

/* App Header */
.app-header {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    object-fit: cover;
}

.app-title-section {
    flex: 1;
}

.app-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 4px;
}

.app-developer {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 4px;
}

.app-tags {
    font-size: 12px;
    color: var(--text-muted);
}

/* Stats Row */
.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar */
}
.stats-row::-webkit-scrollbar { display: none; }

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--border-color);
}

.stat-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    text-align: center;
}

/* Install Button */
.install-section {
    margin-bottom: 32px;
}

.btn-install {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--button-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 0;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-install:hover {
    background-color: var(--primary-dark);
}

/* Screenshots Slider */
.screenshots-section {
    margin-bottom: 32px;
}

.screenshots-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    scrollbar-width: none;
}
.screenshots-slider::-webkit-scrollbar { display: none; }

.screenshot-img {
    height: 380px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    scroll-snap-align: start;
    object-fit: contain;
}

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

.section-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-main);
}

.section-arrow {
    color: var(--text-main);
    font-size: 18px;
}

.about-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 16px;
}

.updated-date {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 500;
}
.updated-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Data Safety */
.data-safety-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

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

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

.ds-icon {
    font-size: 20px;
    color: var(--text-muted);
    margin-top: 2px;
}

.ds-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 2px;
}

.ds-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}

.ds-link {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    display: block;
    margin-top: 12px;
}

/* Reviews Section */
.reviews-section {
    margin-top: 32px;
}

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

.review-score-big {
    font-size: 56px;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1;
}

.review-stars-total {
    color: var(--star-color);
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.review-count {
    font-size: 12px;
    color: var(--text-muted);
}

.review-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

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

.bar-fill {
    height: 100%;
    background-color: var(--star-color);
    border-radius: 4px;
}

/* Individual Review */
.review-item {
    margin-bottom: 24px;
}

.reviewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

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

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-content {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 24px 0;
}
