/* --- Google Play Store Web Dark Theme CSS --- */

:root {
    --play-bg: #ffffff;
    /* White Background */
    --play-header-bg: #ffffff;
    /* Header background */
    --play-text-primary: #202124;
    /* Dark Gray Text */
    --play-text-secondary: #5f6368;
    /* Gray text */
    --play-green: #580aa1;
    /* Google Play Blue */
    --play-green-hover: #7408da;
    /* Hover State Blue */
    --play-green-light: #e8f0fe;
    /* Light Blue for badges/highlights */
    --play-border: #dadce0;
    /* Light grey border line */
    --play-card-dark: #f1f3f4;
    /* Light buttons/cards background */
    --play-font-main: 'Roboto', 'Noto Sans Thai', 'Segoe UI', Arial, sans-serif;
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--play-bg);
    color: var(--play-text-primary);
    font-family: var(--play-font-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--play-green);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--play-green-hover);
    text-decoration: underline;
}

/* --- Google Play Header --- */
.play-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: var(--play-header-bg);
    border-bottom: 1px solid var(--play-border);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
}

.play-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 32px;
    white-space: nowrap;
}

.play-logo .logo-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--play-text-primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.play-nav {
    display: flex;
    gap: 24px;
}

.nav-item {
    color: var(--play-text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 20px 0;
    border-bottom: 3px solid transparent;
}

.nav-item:first-child {
    color: var(--play-green);
    border-bottom-color: var(--play-green);
}

.nav-item:hover {
    color: var(--play-text-primary);
    text-decoration: none;
}

.header-btn {
    background: none;
    border: none;
    color: var(--play-text-secondary);
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 8px;
}

.header-btn:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--play-text-primary);
}

.user-profile {
    width: 32px;
    height: 32px;
    background-color: #f57c00;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    margin-left: 16px;
    cursor: pointer;
}

/* --- Hero Banner Section --- */
.hero-banner {
    position: relative;
    padding: 120px 24px 40px;
    background-color: var(--play-bg);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 380px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, rgba(32, 33, 36, 0) 0%, var(--play-bg) 100%);
}

.hero-container {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.game-meta-wrapper {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.app-icon-container {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    background-color: #202124;
    border: 1px solid var(--play-border);
}

.app-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-info {
    display: flex;
    flex-direction: column;
}

.game-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--play-text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.developer-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.developer-name a {
    color: var(--play-green);
}

.contains-ads {
    color: var(--play-text-secondary);
    font-size: 12px;
}

/* Stats Row */
.stats-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--play-text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-star {
    font-size: 12px;
}

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

.stat-icon-age {
    background-color: #e53935;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 12px;
}

.stat-item-divider {
    width: 1px;
    height: 28px;
    background-color: var(--play-border);
}

/* Buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-green-install {
    background-color: var(--play-green);
    color: white;
    border: 1.5px solid var(--play-green);
    border-radius: 8px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    -webkit-animation: flash-blue-white 0.6s infinite;
    animation: flash-blue-white 0.6s infinite;
}

.btn-green-install:hover {
    opacity: 0.9;
}

.btn-dark-action {
    background-color: #ffffff;
    color: var(--play-green);
    border: 1.5px solid var(--play-green);
    border-radius: 8px;
    padding: 14px 26px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    -webkit-animation: flash-white-blue 0.6s infinite;
    animation: flash-white-blue 0.6s infinite;
}

.btn-dark-action:hover {
    opacity: 0.9;
}

@-webkit-keyframes flash-blue-white {

    0%,
    49.9% {
        background-color: var(--play-green);
        color: #ffffff;
        border-color: var(--play-green);
    }

    50%,
    100% {
        background-color: #ffffff;
        color: var(--play-green);
        border-color: var(--play-green);
    }
}

@keyframes flash-blue-white {

    0%,
    49.9% {
        background-color: var(--play-green);
        color: #ffffff;
        border-color: var(--play-green);
    }

    50%,
    100% {
        background-color: #ffffff;
        color: var(--play-green);
        border-color: var(--play-green);
    }
}

@-webkit-keyframes flash-white-blue {

    0%,
    49.9% {
        background-color: #ffffff;
        color: var(--play-green);
        border-color: var(--play-green);
    }

    50%,
    100% {
        background-color: var(--play-green);
        color: #ffffff;
        border-color: var(--play-green);
    }
}

@keyframes flash-white-blue {

    0%,
    49.9% {
        background-color: #ffffff;
        color: var(--play-green);
        border-color: var(--play-green);
    }

    50%,
    100% {
        background-color: var(--play-green);
        color: #ffffff;
        border-color: var(--play-green);
    }
}

.btn-icon-action {
    background-color: var(--play-card-dark);
    color: var(--play-text-primary);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.btn-icon-action:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

/* Notice Banner */
.play-pc-notice {
    display: flex;
    gap: 12px;
    background-color: var(--play-green-light);
    border-radius: 8px;
    padding: 14px 16px;
    max-width: 720px;
}

.notice-info-icon {
    color: var(--play-green);
    font-size: 16px;
    margin-top: 2px;
}

.notice-text {
    font-size: 13px;
    color: var(--play-text-secondary);
    line-height: 1.5;
}

.notice-text a {
    color: var(--play-green);
    text-decoration: underline;
}

/* Hero Trailer Card */
.hero-trailer-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
}

.trailer-preview-image {
    width: 400px;
    height: 225px;
    border-radius: 16px;
    background-color: #333;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid var(--play-border);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.trailer-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--play-text-secondary);
}

/* --- Main Grid Layout --- */
.main-content-grid {
    padding: 40px 24px;
}

.grid-container {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* --- Screenshots Section --- */
.gallery-carousel-section {
    position: relative;
    overflow: visible;
}

.screenshots-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.screenshots-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera, Edge */
}

.screenshot-card {
    flex-shrink: 0;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--play-border);
    background-color: #000;
}

.ss-image {
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ss-img-element {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.pazu-logo-watermark {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.no-ads-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #ff5252;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.ss-mock-ui {
    color: rgba(255, 255, 255, 0.7);
    font-size: 64px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.wardrobe-items,
.room-setup,
.avatar-couple {
    display: flex;
    gap: 12px;
    font-size: 28px;
}

/* Scroll navigation buttons */
.carousel-nav-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.nav-circle-btn {
    pointer-events: auto;
    background-color: var(--play-card-dark);
    border: 1px solid var(--play-border);
    color: var(--play-text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav-circle-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-prev {
    margin-left: -24px;
}

.btn-next {
    margin-right: -24px;
}

/* --- Info Blocks (General Content Blocks) --- */
.info-block {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--play-border);
    padding-bottom: 40px;
}

.info-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    cursor: pointer;
}

.info-block-header h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--play-text-primary);
}

.info-arrow {
    color: var(--play-text-secondary);
    font-size: 16px;
}

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

.update-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 20px 0;
}

.update-label {
    font-size: 13px;
    color: var(--play-text-primary);
    font-weight: 500;
}

.update-value {
    font-size: 13px;
    color: var(--play-text-secondary);
}

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

.rounded-tag {
    background-color: var(--play-card-dark);
    color: var(--play-text-primary);
    border: 1px solid var(--play-border);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.rounded-tag:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* Data Safety items */
.safety-desc-text {
    font-size: 14px;
    color: var(--play-text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.safety-list {
    border: 1px solid var(--play-border);
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 16px;
}

.safety-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--play-border);
}

.safety-item:last-child {
    border-bottom: none;
}

.safety-icon {
    color: var(--play-text-primary);
    font-size: 16px;
    width: 24px;
    display: flex;
    justify-content: center;
}

.safety-info {
    font-size: 13px;
    color: var(--play-text-secondary);
    line-height: 1.4;
}

.safety-detail-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--play-green);
    align-self: flex-start;
}

/* Ratings & Reviews breakdown */
.ratings-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}

.filter-tab {
    background-color: var(--play-card-dark);
    color: var(--play-text-primary);
    border: 1px solid var(--play-border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-tab:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.filter-tab.active-tab {
    background-color: #1a2820;
    color: #81c784;
    border-color: #2e7d32;
}

.rating-breakdown-wrapper {
    display: flex;
    gap: 48px;
    align-items: center;
    margin-bottom: 32px;
}

.rating-number-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rating-big-num {
    font-size: 56px;
    font-weight: 700;
    color: var(--play-text-primary);
    line-height: 1;
}

.rating-stars {
    color: var(--play-green);
    font-size: 12px;
    margin: 8px 0;
    display: flex;
    gap: 2px;
}

.total-reviews-count {
    font-size: 12px;
    color: var(--play-text-secondary);
}

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

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

.bar-num {
    font-size: 12px;
    width: 8px;
    color: var(--play-text-secondary);
}

.bar-bg {
    flex-grow: 1;
    height: 10px;
    background-color: var(--play-card-dark);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: var(--play-green);
    border-radius: 10px;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 24px;
}

.review-item {
    display: flex;
    flex-direction: column;
}

.review-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    position: relative;
}

.review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: white;
    font-weight: bold;
}

.review-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--play-text-primary);
}

.review-more-btn {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    color: var(--play-text-secondary);
    cursor: pointer;
    font-size: 14px;
}

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

.review-stars-small {
    color: var(--play-green);
    font-size: 10px;
    display: flex;
    gap: 1px;
}

.review-date {
    font-size: 11px;
    color: var(--play-text-secondary);
}

.review-content-text {
    font-size: 14px;
    color: var(--play-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.review-feedback {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feedback-count {
    font-size: 11px;
    color: var(--play-text-secondary);
}

.feedback-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--play-text-secondary);
}

.feedback-btn {
    background-color: var(--play-card-dark);
    border: 1px solid var(--play-border);
    color: var(--play-text-primary);
    padding: 4px 16px;
    border-radius: 100px;
    cursor: pointer;
}

.feedback-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.view-all-reviews-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--play-green);
    align-self: flex-start;
}

.whats-new-content {
    font-size: 14px;
    color: var(--play-text-secondary);
    line-height: 1.6;
}

/* --- Right Column Sidebar --- */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* Flat Sidebar Box */
.sidebar-box-flat {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--play-border);
}

.age-badge-circle {
    background-color: #e53935;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.age-description h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--play-text-primary);
}

.age-description p {
    font-size: 12px;
    color: var(--play-text-secondary);
    margin: 4px 0 8px;
}

.age-description a {
    font-size: 12px;
    font-weight: 500;
    color: var(--play-green);
}

/* Play PC Card */
.sidebar-box-play-pc {
    background-color: var(--play-card-dark);
    border: 1px solid var(--play-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.sidebar-box-play-pc h3 {
    font-size: 16px;
    color: var(--play-text-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-box-play-pc h3 i {
    color: var(--play-green);
}

.pc-sub {
    font-size: 13px;
    color: var(--play-text-secondary);
    margin: 6px 0 16px;
}

.pc-learn-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--play-green);
    margin-bottom: 20px;
    align-self: flex-start;
}

.pc-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pc-features-list li {
    font-size: 12px;
    color: var(--play-text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pc-features-list li i {
    color: var(--play-green);
    font-size: 14px;
    margin-top: 2px;
}

/* SysReq Box */
.sidebar-box-sysreq {
    display: flex;
    flex-direction: column;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--play-border);
}

.sidebar-box-sysreq h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--play-text-primary);
    margin-bottom: 16px;
}

.sysreq-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.sysreq-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.req-label {
    font-size: 12px;
    color: var(--play-text-primary);
    font-weight: 500;
}

.req-val {
    font-size: 12px;
    color: var(--play-text-secondary);
    line-height: 1.4;
}

.req-more-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--play-green);
    align-self: flex-start;
}

/* Related Section */
.sidebar-support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--play-border);
    cursor: pointer;
    font-size: 14px;
    color: var(--play-text-primary);
}

.sidebar-related-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-header h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--play-text-primary);
}

.related-header i {
    color: var(--play-text-secondary);
    font-size: 14px;
}

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

.related-game-item {
    display: flex;
    gap: 16px;
    align-items: center;
    cursor: pointer;
}

.related-game-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: white;
}

.red-theme {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.purple-theme {
    background: linear-gradient(135deg, #7f00ff, #e100ff);
}

.green-theme {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.pink-theme {
    background: linear-gradient(135deg, #ec008c, #fc6767);
}

.orange-theme {
    background: linear-gradient(135deg, #f12711, #f5af19);
}

.blue-theme {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.related-game-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.related-game-title {
    font-size: 14px;
    color: var(--play-text-primary);
    font-weight: 400;
}

.related-game-dev {
    font-size: 12px;
    color: var(--play-text-secondary);
}

.related-game-rating {
    font-size: 12px;
    color: var(--play-text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.related-game-rating i {
    font-size: 9px;
    color: var(--play-text-secondary);
}

/* --- Google Play Footer --- */
.play-footer {
    background-color: #f8f9fa;
    border-top: 1px solid var(--play-border);
    padding: 48px 24px 32px;
    margin-top: 80px;
}

.footer-links-grid {
    max-width: 1160px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-col h4 {
    font-size: 14px;
    color: var(--play-text-primary);
    font-weight: 500;
}

.footer-links-col a {
    font-size: 12px;
    color: var(--play-text-secondary);
}

.footer-links-col a:hover {
    color: var(--play-text-primary);
    text-decoration: underline;
}

.footer-bottom-row {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--play-border);
    padding-top: 24px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links a {
    font-size: 11px;
    color: var(--play-text-secondary);
}

.footer-legal-links a:hover {
    color: var(--play-text-primary);
    text-decoration: underline;
}

.footer-lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--play-text-secondary);
    cursor: pointer;
    border: 1px solid var(--play-border);
    padding: 6px 12px;
    border-radius: 4px;
}

.footer-lang-selector:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* --- Mobile / Tablet responsive --- */
@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-trailer-card {
        display: none;
    }
}

@media (max-width: 600px) {

    /* --- General Mobile Theme (Light Mode like official Play Store) --- */
    body {
        background-color: #ffffff !important;
        color: #202124 !important;
    }

    /* Header adjustments for white theme */
    .play-header {
        background-color: #ffffff !important;
        border-bottom: 1px solid #e8eaed !important;
    }

    .play-logo .logo-text {
        color: #202124 !important;
    }

    .header-btn {
        color: #5f6368 !important;
    }

    .user-profile {
        border: 1px solid #e8eaed !important;
    }

    .play-nav {
        display: none !important;
    }

    /* Hero section adjustments */
    .hero-banner {
        background-color: #ffffff !important;
        padding: 88px 24px 16px !important;
        border-bottom: 1px solid #e8eaed !important;
    }

    .hero-bg-wrapper {
        display: none !important;
    }

    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .game-meta-wrapper {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        column-gap: 20px !important;
        row-gap: 8px !important;
        align-items: start !important;
    }

    .game-info {
        display: contents !important;
    }

    .app-icon-container {
        grid-row: 1 / span 2 !important;
        grid-column: 1 !important;
        width: 80px !important;
        height: 80px !important;
        border-radius: 16px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
        align-self: start !important;
    }

    .game-title {
        grid-row: 1 !important;
        grid-column: 2 !important;
        font-size: 22px !important;
        font-weight: 500 !important;
        color: #202124 !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .developer-name {
        grid-row: 2 !important;
        grid-column: 2 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        margin-bottom: 0 !important;
    }

    .contains-ads {
        color: #5f6368 !important;
    }

    /* Mobile Stats Row */
    .stats-row {
        grid-row: 3 !important;
        grid-column: 1 / span 2 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin: 24px 0 !important;
        gap: 0 !important;
        border-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .stat-item {
        flex: 1 !important;
        align-items: center !important;
        text-align: center !important;
    }

    .stat-value {
        color: #202124 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

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

    .stat-icon-age {
        background-color: #ffffff !important;
        color: #202124 !important;
        border: 1px solid #5f6368 !important;
        border-radius: 4px !important;
        width: 22px !important;
        height: 22px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }

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

    /* Buttons */
    .hero-actions {
        grid-row: 4 !important;
        grid-column: 1 / span 2 !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        margin-bottom: 0 !important;
    }

    .btn-green-install {
        width: 100% !important;
        background-color: var(--play-green);
        color: #ffffff;
        border: 1.5px solid var(--play-green);
        border-radius: 8px !important;
        padding: 16px !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        justify-content: center !important;
        -webkit-animation: flash-blue-white 0.6s infinite !important;
        animation: flash-blue-white 0.6s infinite !important;
    }

    .btn-green-install:hover {
        opacity: 0.9 !important;
    }

    .btn-dark-action {
        width: 100% !important;
        background-color: #ffffff;
        color: var(--play-green);
        border: 1.5px solid var(--play-green);
        border-radius: 8px !important;
        padding: 16px !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        -webkit-animation: flash-white-blue 0.6s infinite !important;
        animation: flash-white-blue 0.6s infinite !important;
    }

    .btn-icon-action {
        display: none !important;
    }

    /* Mobile Share and Compatibility Rows */
    .mobile-share-row {
        grid-row: 5 !important;
        grid-column: 1 / span 2 !important;
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 14px 0 16px !important;
    }

    .mobile-share-btn {
        background: none !important;
        border: none !important;
        color: var(--play-green) !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        cursor: pointer !important;
    }

    .mobile-compat-row {
        grid-row: 6 !important;
        grid-column: 1 / span 2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        color: #5f6368 !important;
        font-size: 13px !important;
        margin-bottom: 0 !important;
        border-top: 1px solid #e8eaed !important;
        padding-top: 16px !important;
        width: 100% !important;
    }

    .mobile-compat-row i {
        font-size: 16px !important;
        color: #5f6368 !important;
    }

    .play-pc-notice {
        display: none !important;
    }

    /* Content Columns Grid */
    .main-content-grid {
        padding: 24px 24px 80px !important;
    }

    .grid-container {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .left-column {
        gap: 32px !important;
    }

    .right-column {
        display: none !important;
    }

    /* Styling content text blocks for Light Mode */
    .info-block {
        border-bottom: 1px solid #e8eaed !important;
        padding-bottom: 24px !important;
    }

    .info-block-header h2 {
        color: #202124 !important;
        font-size: 18px !important;
    }

    .info-arrow {
        color: #5f6368 !important;
    }

    .about-text,
    .safety-desc-text,
    .safety-info,
    .review-content-text,
    .feedback-count,
    .whats-new-content {
        color: #5f6368 !important;
    }

    .rounded-tag {
        background-color: #f1f3f4 !important;
        color: #3c4043 !important;
        border: 1px solid #dadce0 !important;
    }

    .safety-list {
        border: 1px solid #e8eaed !important;
    }

    .safety-item {
        border-bottom: 1px solid #e8eaed !important;
    }

    .safety-icon {
        color: #5f6368 !important;
    }

    .filter-tab {
        background-color: #f1f3f4 !important;
        color: #5f6368 !important;
        border: 1px solid #dadce0 !important;
    }

    .filter-tab.active-tab {
        background-color: var(--play-green-light) !important;
        color: var(--play-green) !important;
        border-color: #aecbfa !important;
    }

    .rating-big-num {
        color: #202124 !important;
    }

    .total-reviews-count {
        color: #5f6368 !important;
    }

    .bar-bg {
        background-color: #f1f3f4 !important;
    }

    .review-avatar {
        color: #ffffff !important;
    }

    .review-name {
        color: #202124 !important;
    }

    .review-date {
        color: #5f6368 !important;
    }

    .feedback-btn {
        background-color: #f1f3f4 !important;
        color: #3c4043 !important;
        border: 1px solid #dadce0 !important;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }

    /* Footer elements color adjustments */
    .play-footer {
        background-color: #f8f9fa !important;
        border-top: 1px solid #e8eaed !important;
    }

    .footer-links-col h4 {
        color: #202124 !important;
    }

    .footer-links-col a,
    .footer-legal-links a,
    .footer-lang-selector {
        color: #5f6368 !important;
    }

    .footer-bottom-row {
        border-top: 1px solid #e8eaed !important;
        flex-direction: column !important;
        gap: 16px !important;
        align-items: flex-start !important;
    }

    .footer-lang-selector {
        border: 1px solid #dadce0 !important;
    }

    /* Sticky Bottom Nav Bar */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 56px !important;
        background-color: #ffffff !important;
        border-top: 1px solid #e8eaed !important;
        justify-content: space-around !important;
        align-items: center !important;
        z-index: 9999 !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
    }

    .bottom-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        color: #5f6368 !important;
        font-size: 11px !important;
        text-decoration: none !important;
        flex: 1 !important;
        padding: 6px 0 !important;
    }

    .bottom-nav-item i {
        font-size: 18px !important;
    }

    .bottom-nav-item.active {
        color: var(--play-green) !important;
    }
}

.mobile-bottom-nav {
    display: none;
}

/* --- Quick View Game Modal --- */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    /* Controlled by JS classes */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.game-modal.modal-active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #ffffff;
    border: 1px solid var(--play-border);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 32px;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-modal.modal-active .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 20px;
    background: none;
    border: none;
    color: var(--play-text-secondary);
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover {
    color: var(--play-text-primary);
}

.modal-header-info {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}

.modal-game-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal-game-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-game-meta h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--play-text-primary);
    line-height: 1.2;
}

#modal-dev-text {
    font-size: 13px;
    color: var(--play-green);
    font-weight: 500;
}

.modal-rating {
    font-size: 12px;
    color: var(--play-text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.modal-rating i {
    font-size: 10px;
    color: var(--play-text-secondary);
}

.modal-desc {
    font-size: 14px;
    color: var(--play-text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.modal-actions-row {
    display: flex;
    justify-content: flex-end;
}

.modal-btn-download {
    background-color: var(--play-green);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.15s ease;
}

.modal-btn-download:hover {
    background-color: var(--play-green-hover);
    text-decoration: none;
    color: white;
}