/* ==========================================================
   Experience Playful Hub – Global Theme
   Palette: Green + Red + Dark Teal + Gold
   ========================================================== */

/* ===========================
   Root Variables & Palette
   =========================== */

:root {
    /* Brand Primaries (Green) */
    --ph-primary-900: #021510;
    --ph-primary-800: #033323;
    --ph-primary-700: #005739;
    --ph-primary-600: #007F4E;
    --ph-primary-500: #009A63; /* Logo green */
    --ph-primary-300: #36D190;
    --ph-primary-200: #B8F3DD;
    /* Accent Red (from logo) */
    --ph-red-700: #B2202D;
    --ph-red-600: #E63746;
    --ph-red-400: #F06A72;
    /* Gold accent (for CTAs, highlights) */
    --ph-gold-700: #D49A23;
    --ph-gold-600: #F4C74E;
    --ph-gold-400: #FFE488;
    /* Ink / Neutrals (dark teal + greys) */
    --ph-ink-900: #0C1A1A;
    --ph-ink-800: #102223;
    --ph-ink-700: #1A3638;
    --ph-ink-500: #27474A;
    --ph-ink-400: #3B5C60;
    /* Clouds / Backgrounds */
    --ph-cloud-000: #FFFFFF;
    --ph-cloud-100: #F5F7F7;
    --ph-cloud-200: #E3E7E7;
    --ph-cloud-300: #CFD8D8;
    /* Radii & Shadows */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.08);
    --shadow-elev: 0 16px 40px rgba(0, 0, 0, 0.22);
}

/* === Alias for existing variable names (backward compatible) === */
:root {
    /* EFC-style aliases */
    --efc-primary-900: var(--ph-primary-900);
    --efc-primary-800: var(--ph-primary-800);
    --efc-primary-700: var(--ph-primary-700);
    --efc-primary-600: var(--ph-primary-600);
    --efc-primary-500: var(--ph-primary-500);
    --efc-primary-300: var(--ph-primary-300);
    --efc-primary-200: var(--ph-primary-200);
    --efc-blue-500: #4DBCE9;
    --efc-blue-300: #97D9F5;
    --efc-plum-600: var(--ph-red-600);
    --efc-plum-400: var(--ph-red-400);
    --efc-gold-600: var(--ph-gold-600);
    --efc-gold-400: var(--ph-gold-400);
    --efc-ink-900: var(--ph-ink-900);
    --efc-ink-700: var(--ph-ink-700);
    --efc-ink-500: var(--ph-ink-500);
    --efc-cloud-000: var(--ph-cloud-000);
    --efc-cloud-100: var(--ph-cloud-100);
    --efc-cloud-200: var(--ph-cloud-200);
    --efc-cloud-300: var(--ph-cloud-300);
    /* FFG-style aliases */
    --ffg-primary-900: var(--ph-primary-900);
    --ffg-primary-800: var(--ph-primary-800);
    --ffg-primary-700: var(--ph-primary-700);
    --ffg-primary-600: var(--ph-primary-600);
    --ffg-primary-500: var(--ph-primary-500);
    --ffg-gold-700: var(--ph-gold-700);
    --ffg-gold-600: var(--ph-gold-600);
    --ffg-gold-500: var(--ph-gold-600);
    --ffg-cloud-000: var(--ph-cloud-000);
    --ffg-cloud-100: var(--ph-cloud-100);
    --ffg-cloud-200: var(--ph-cloud-200);
    --ffg-cloud-300: var(--ph-cloud-300);
    --ffg-ink-900: var(--ph-ink-900);
    --ffg-ink-700: var(--ph-ink-700);
    --ffg-ink-500: var(--ph-ink-500);
}

/* ===========================
   Base & Global
   =========================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--ph-cloud-100);
    color: var(--ph-ink-700);
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Links & Buttons
   =========================== */

a {
    color: var(--ph-primary-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

    a:hover {
        color: var(--ph-primary-300);
    }

    /* Primary CTA button */
    .cta-button,
    a.cta-button,
    .nav-cta,
    a.nav-cta,
    button[type="submit"],
    input[type="submit"] {
        display: inline-block;
        border: none;
        border-radius: 999px;
        padding: 12px 32px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        font-size: 0.95rem;
        text-decoration: none;
        cursor: pointer;
        color: #ffffff;
        background: linear-gradient(90deg, var(--ph-primary-500), var(--ph-red-600), var(--ph-gold-600));
        background-size: 200% auto;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
        transition: all 0.25s ease-in-out;
    }

        .cta-button:hover,
        a.cta-button:hover,
        .nav-cta:hover,
        a.nav-cta:hover,
        button[type="submit"]:hover,
        input[type="submit"]:hover {
            background-position: right center;
            transform: translateY(-2px);
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
        }

        button[type="submit"]:disabled,
        input[type="submit"]:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background: linear-gradient(90deg, #B3B3B3, #8D8D8D);
            box-shadow: none;
        }

    /* Header-specific CTA (a bit tighter) */
    .nav-cta,
    a.nav-cta {
        padding: 9px 24px;
        font-size: 0.85rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    }

/* ===========================
   Header & Navigation
   =========================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    backdrop-filter: blur(10px) saturate(140%);
    background: color-mix(in srgb, var(--ph-cloud-000) 82%, transparent);
    border-bottom: 1px solid var(--ph-cloud-300);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .brand img {
        height: 40px;
        width: auto;
    }

    .brand .site-name {
        font-weight: 900;
        font-size: 1.2rem;
        color: var(--ph-primary-700);
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .nav-links a {
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--ph-ink-700);
        padding: 8px 10px;
        border-radius: 999px;
    }

        .nav-links a:hover {
            background: var(--ph-cloud-200);
        }

/* Mobile nav toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--ph-ink-700);
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    background: radial-gradient(circle at top, #013826, #020E0C 50%, #000000 100%);
    color: #ffffff;
}

    .mobile-menu.open {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        padding: 32px;
    }

    .mobile-menu a {
        color: #ffffff;
        font-size: 1.4rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 34px;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive nav */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* ===========================
   Sections & Layout Helpers
   =========================== */

section {
    padding: 64px 0;
}

.section-dark {
    background: var(--ph-ink-900);
    color: #ffffff;
}

.section-leaf {
    background: linear-gradient(180deg, var(--ph-primary-900), var(--ph-primary-700));
    color: #ffffff;
}

.section-sky {
    background: linear-gradient(180deg, #4DBCE9, #97D9F5);
    color: var(--ph-ink-900);
}

.section-cloud {
    background: var(--ph-cloud-000);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.section-sub {
    max-width: 720px;
    margin: 0 auto 24px;
    opacity: 0.9;
}

/* Generic card surface */
.surface {
    background: #ffffff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ph-cloud-300);
    box-shadow: var(--shadow-soft);
}

/* ===========================
   Banner Character / Hero
   =========================== */

.webpart-banner_character {
    background: var(--ph-cloud-100);
}

    .webpart-banner_character .hero-inner,
    .webpart-banner_character .spotlight-card {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 40px;
        align-items: center;
    }

@media (max-width: 900px) {
    .webpart-banner_character .hero-inner,
    .webpart-banner_character .spotlight-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-copy h1,
.hero-copy .hero-title {
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    font-weight: 900;
    margin: 0 0 12px;
    color: var(--ph-ink-900);
}

.hero-copy p {
    margin: 0 0 18px;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ph-cloud-200);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ph-ink-700);
}

    .hero-badge i {
        color: var(--ph-gold-600);
    }

/* Hero / mascot image */
.hero-image,
.webpart-banner_character .image,
.webpart-banner_character img {
    display: block;
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elev);
}

/* ===========================
   Games Collection (cards)
   =========================== */

.games-collection-wrapper {
    padding: 12px 0 0;
}

    /* Simple row scroll layout */
    .games-collection-wrapper.layout-simple_row_scroll .game-row-simple {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding: 6px 2px 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

        .games-collection-wrapper.layout-simple_row_scroll .game-row-simple::-webkit-scrollbar {
            display: none;
        }

    .games-collection-wrapper.layout-simple_row_scroll .game-row-item {
        flex: 0 0 190px;
        scroll-snap-align: start;
    }

@media (min-width: 768px) {
    .games-collection-wrapper.layout-simple_row_scroll .game-row-item {
        flex-basis: 220px;
    }
}

/* Grid layout */
.games-collection-grid {
    display: grid;
    gap: 22px;
}

@media (min-width: 576px) {
    .games-collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .games-collection-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card styles */
.game-card-simple,
.game-card,
.game-card-detailed,
.game-card-playdemo {
    background: #ffffff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ph-cloud-300);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .game-card:hover,
    .game-card-simple:hover,
    .game-card-detailed:hover,
    .game-card-playdemo:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-elev);
    }

.game-card-image,
.game-card-video,
.webpart-lobby .game-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.game-card-info {
    padding: 12px 14px 16px;
    text-align: center;
}

.game-card-title {
    font-weight: 800;
    margin: 0 0 6px;
    font-size: 1rem;
}

.game-card-rating {
    color: var(--ph-gold-600);
}

/* ===========================
   Lobby Webpart
   =========================== */

.webpart-lobby {
    padding: 56px 0;
    background: radial-gradient(circle at top, #033323 0%, #021510 50%, #000000 100%);
    color: #ffffff;
}

    .webpart-lobby .lobby-header {
        text-align: center;
        margin-bottom: 20px;
    }

    .webpart-lobby .lobby-title {
        font-weight: 900;
        font-size: 2rem;
        margin: 0 0 6px;
    }

    .webpart-lobby .lobby-sub {
        max-width: 720px;
        margin: 0 auto 18px;
        opacity: 0.9;
    }

    /* Search box */
    .webpart-lobby .lobby-search {
        display: flex;
        align-items: center;
        gap: 10px;
        max-width: 340px;
        padding: 8px 10px;
        margin: 0 auto 24px;
        border-radius: 999px;
        background: #ffffff;
        border: 1px solid var(--ph-cloud-300);
    }

        .webpart-lobby .lobby-search i {
            color: var(--ph-ink-700);
        }

        .webpart-lobby .lobby-search input {
            border: none;
            outline: none;
            background: transparent;
            flex: 1 1 auto;
            font-size: 0.95rem;
        }

    /* Lobby grid */
    .webpart-lobby .game-grid {
        display: grid;
        gap: 20px;
    }

@media (min-width: 576px) {
    .webpart-lobby .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .webpart-lobby .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .webpart-lobby .game-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.webpart-lobby .game-card {
    background: #051A14;
    border-color: rgba(255, 255, 255, 0.07);
}

.webpart-lobby .game-info {
    color: #ffffff;
}

.webpart-lobby video {
    display: none !important;
}

@media (max-width: 640px) {
    .webpart-lobby .game-grid {
        gap: 14px;
    }
}

/* ===========================
   Icon Features
   =========================== */

.webpart-icon_features .icon-features-list,
.webpart-icon-features .icon-features-list {
    display: grid;
    gap: 18px;
}

@media (min-width: 768px) {
    .webpart-icon_features .icon-features-list,
    .webpart-icon-features .icon-features-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.icon-feature {
    text-align: center;
    background: #ffffff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ph-cloud-300);
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

    .icon-feature .icon-feature-icon {
        font-size: 28px;
        margin-bottom: 10px;
        color: var(--ph-primary-500);
    }

.icon-feature-title {
    margin: 6px 0 4px;
    font-weight: 700;
    color: var(--ph-ink-800);
}

.icon-feature-text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ph-ink-500);
}

/* ===========================
   Event Cards
   =========================== */

.webpart-event-cards {
    background: linear-gradient(135deg, var(--ph-primary-700), var(--ph-red-600));
    color: #ffffff;
    padding: 72px 0;
}

    .webpart-event-cards .event-card {
        background: rgba(0, 0, 0, 0.25);
        border-radius: var(--radius-md);
        padding: 22px 20px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
        transition: transform 0.2s ease, background 0.2s ease;
    }

        .webpart-event-cards .event-card:hover {
            transform: translateY(-3px);
            background: rgba(0, 0, 0, 0.35);
        }

/* ===========================
   Leaderboard
   =========================== */

.webpart-leaderboard {
    background: radial-gradient(circle at top, #045537, #021510);
    color: #ffffff;
    padding: 72px 0;
}

.champion-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 18px 16px;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

    .champion-card:hover {
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.12);
    }

.champion-name {
    font-weight: 800;
    margin-top: 6px;
}

.champion-score {
    color: var(--ph-gold-600);
    font-weight: 600;
}

/* ===========================
   Reviews Collection
   =========================== */

.webpart-reviews_collection .review-card-initials,
.webpart-reviews-collection .review-card-initials {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

    .webpart-reviews_collection .review-card-initials > :first-child,
    .webpart-reviews-collection .review-card-initials > :first-child {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border-radius: 50%;
        background: var(--ph-primary-500);
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
    }

.webpart-reviews_collection .review-body,
.webpart-reviews-collection .review-body {
    flex: 1 1 auto;
}

.webpart-reviews_collection .fa-star,
.webpart-reviews-collection .fa-star {
    color: var(--ph-gold-600);
}

/* ===========================
   No Purchase Banner
   =========================== */

.webpart-no_purchase_banner {
    background: linear-gradient(135deg, var(--ph-red-600), var(--ph-primary-500));
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 26px 20px;
    box-shadow: var(--shadow-elev);
}

/* ===========================
   Forms & Contact
   =========================== */

.webpart-contact_form form {
    max-width: 520px;
    margin: 0 auto;
}

.webpart-contact_form input[type="text"],
.webpart-contact_form input[type="email"],
.webpart-contact_form textarea {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ph-cloud-300);
    padding: 10px 12px;
    font-size: 0.95rem;
    margin-bottom: 12px;
    background: #ffffff;
}

/* ===========================
   Cookie Banner
   =========================== */

#cookie-popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 26, 26, 0.97);
    color: #ffffff;
    padding: 16px 20px;
    z-index: 1250;
    display: none;
    text-align: center;
    font-size: 0.9rem;
}

    #cookie-popup a {
        color: var(--ph-gold-400);
        text-decoration: underline;
    }

/* ===========================
   Age Gate Modal
   =========================== */

.age-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1400;
}

.age-modal-content {
    width: min(520px, 92%);
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 26px 22px;
    text-align: center;
    box-shadow: var(--shadow-elev);
}

.age-modal-logo {
    height: 52px;
    margin: 0 auto 10px;
}

.age-modal-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 4px 0 4px;
}

.age-modal-subtitle {
    opacity: 0.8;
    margin-bottom: 14px;
}

.age-modal-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 18px;
    text-align: left;
}

    .age-modal-list li {
        display: flex;
        gap: 8px;
        align-items: center;
        margin: 6px 0;
    }

    .age-modal-list i {
        color: var(--ph-primary-500);
    }

.age-modal-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.age-modal-exit {
    background: var(--ph-cloud-200);
    color: var(--ph-ink-800);
}

/* ===========================
   Game Modal
   =========================== */

.game-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1500;
}

.game-modal-content {
    width: 90%;
    max-width: 1200px;
    height: 90%;
    display: flex;
    flex-direction: column;
    background: #000000;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.game-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #10161C;
    padding: 8px 12px;
}

.game-modal-title {
    color: #ffffff;
    font-weight: 800;
}

.game-modal-close {
    font-size: 26px;
    color: #D7DFEA;
    text-decoration: none;
}

.game-modal-body {
    flex: 1;
    background: #050708;
}

    .game-modal-body iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

/* ===========================
   Footer (Full Compliance)
   =========================== */

.site-footer {
    background: var(--ph-ink-900);
    color: #CFD8E3;
    text-align: center;
    padding: 56px 20px 40px;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

.footer-top {
    height: 6px;
    background: var(--ph-red-600);
}

.site-footer .footer-logo {
    max-height: 52px;
    margin: 0 auto 12px;
    display: block;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin: 14px 0 18px;
}

    .footer-links a {
        color: #ffffff;
        font-weight: 700;
        font-size: 0.88rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

        .footer-links a:hover {
            color: var(--ph-gold-600);
        }

.responsible-gaming-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 14px;
}

    .responsible-gaming-logos img {
        max-height: 40px;
        filter: grayscale(100%);
        opacity: 0.85;
        transition: all 0.2s ease;
    }

        .responsible-gaming-logos img:hover {
            filter: none;
            opacity: 1;
        }

.footer-compliance,
.footer-disclaimer-full {
    max-width: 960px;
    margin: 16px auto 0;
    font-size: 0.86rem;
    color: #A9B7C8;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 14px;
}

/* ===========================
   Utilities
   =========================== */

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

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-24 {
    margin-top: 24px;
}

.mb-24 {
    margin-bottom: 24px;
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .single-game-iframe {
        height: 60vh;
        min-height: 380px;
    }
}
/* === HEADER NAV VISIBILITY SAFEGUARD === */

/* Make header background solid and readable */
.site-header {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid var(--ph-cloud-300);
    z-index: 1100;
}

    /* === HEADER ALIGNMENT FIX === */

    /* Make the nav list behave like a flex row, no bullets */
    .site-header .nav-links {
        display: flex !important;
        align-items: center;
        gap: 18px;
        list-style: none; /* remove bullets */
        margin: 0; /* remove default ul margin */
        padding: 0; /* remove default ul padding */
    }

    /* Align brand, nav, and CTA all on the same vertical center line */
    .site-header .navbar {
        display: flex;
        align-items: center; /* vertically center logo + links + button */
        justify-content: space-between;
    }

    .site-header .brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .site-header .brand .site-name {
            line-height: 1; /* stops the brand text sitting higher */
        }

    /* Make sure header links look crisp and centered */
    .site-header .nav-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        padding: 0 10px;
    }


        /* Make sure the links are actually readable */
        .site-header .nav-links a {
            color: var(--ph-ink-800) !important;
            font-weight: 700;
            padding: 8px 10px;
            border-radius: 999px;
        }

            /* Hover state */
            .site-header .nav-links a:hover {
                background: var(--ph-cloud-200);
                color: var(--ph-primary-600) !important;
            }

/* Desktop vs mobile behaviour */
@media (max-width: 992px) {
    .site-header .nav-links {
        display: none !important; /* Hide desktop nav on mobile */
    }

    .menu-toggle {
        display: block !important; /* Ensure burger always shows on mobile */
    }
}

/* Mobile overlay: make sure it sits above everything and is solid */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: #050A0A; /* solid dark, high contrast */
}

    .mobile-menu a {
        color: #FFFFFF !important;
    }


/* === HOMEPAGE DISTINCT LOOK: HERO + MAJOR SECTIONS === */

/* Make the hero / banner_character much more dramatic */
.page-home .webpart-banner_character,
body.page-home .webpart-banner_character {
    background: radial-gradient(circle at top left, #033323 0%, #020E0C 40%, #000000 100%) !important;
    color: #FFFFFF;
    padding-top: 80px;
    padding-bottom: 72px;
}

    .page-home .webpart-banner_character .hero-copy h1,
    .page-home .webpart-banner_character .hero-copy .hero-title {
        color: #FFFFFF;
    }

    .page-home .webpart-banner_character .hero-copy p {
        color: rgba(255, 255, 255, 0.88);
    }

/* Badges: neon-green chips instead of grey pills */
.page-home .hero-badge {
    background: rgba(0, 154, 99, 0.16);
    border: 1px solid rgba(0, 154, 99, 0.65);
    color: #E8FFF4;
}

/* Games highlight strip: dark card row with neon borders */
.page-home .games-collection-wrapper.layout-simple_row_scroll {
    background: linear-gradient(90deg, rgba(0, 154, 99, 0.12), rgba(230, 55, 70, 0.12));
    padding: 18px 0 22px;
}

    .page-home .games-collection-wrapper.layout-simple_row_scroll .game-card-simple,
    .page-home .games-collection-wrapper.layout-simple_row_scroll .game-card {
        background: #041614;
        border: 1px solid rgba(0, 154, 99, 0.55);
    }

/* “How it works” – softer light panel to contrast the dark hero */
.page-home .webpart-text_with_image {
    background: #F2F5F5;
}

/* No purchase banner: very bold red/green band */
.page-home .webpart-no_purchase_banner {
    background: linear-gradient(135deg, #E63746, #009A63) !important;
    color: #FFFFFF;
}

/* Reviews: clean white with subtle green underlines */
.page-home .webpart-reviews_collection {
    background: #FFFFFF;
}

    .page-home .webpart-reviews_collection .review-card-initials > :first-child {
        background: #009A63 !important;
    }
