:root {
    --bg-dark: #0b0f19;
    --bg-card: rgba(18, 24, 38, 0.75);
    --bg-card-hover: rgba(28, 36, 56, 0.9);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(0, 240, 255, 0.4);
    --primary: #00f0ff;
    --primary-gradient: linear-gradient(135deg, #00f0ff 0%, #3b82f6 100%);
    --accent-purple: #8b5cf6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Nav */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-logo .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b0f19;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
}

nav.main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

nav.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
}

nav.main-nav a:hover, nav.main-nav a.active {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #0b0f19;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 240, 255, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.hero-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Section Common */
.section-title-wrap {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-focus);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.game-banner {
    height: 180px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(139, 92, 246, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
}

.game-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-genre {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.game-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.game-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.game-card-footer {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.store-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #fff;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Feature/Stats */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    margin: 4rem 0;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Policy Content Layout */
.policy-page {
    padding: 4rem 0 6rem;
}

.policy-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
}

.policy-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.policy-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.policy-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 3rem;
    line-height: 1.8;
}

.policy-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
    padding-left: 0.75rem;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.policy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.callout-box {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 2rem 0;
}

.callout-box.warning {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.25);
}

.callout-box h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.callout-box.warning h3 {
    color: #fbbf24;
}

/* Footer */
footer.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 0 2.5rem;
    margin-top: 4rem;
    background: rgba(9, 13, 22, 0.95);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-info {
    max-width: 380px;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.footer-links-group h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ====================================================================
   ENTERPRISE RESPONSIVE HEADER & MOBILE NAVIGATION
   ==================================================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
    z-index: 110;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* High contrast Contact Button in Header */
.btn-header {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

/* Google Partner Badge */
.footer-badge-group {
    display: flex;
    flex-direction: column;
}

.google-partner-link {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.google-partner-link:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.25));
}

.google-partner-badge-img {
    height: 52px;
    width: auto;
    display: block;
    border-radius: 4px;
}

@media (max-width: 860px) {
    .nav-wrapper {
        height: 70px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav.main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 24, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem;
        gap: 0.5rem;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.25s ease,
                    visibility 0.25s ease;
        z-index: 99;
    }

    nav.main-nav.is-open {
        max-height: 420px;
        opacity: 1;
        visibility: visible;
    }

    nav.main-nav a {
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
        font-size: 0.95rem;
    }

    nav.main-nav a:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    nav.main-nav .btn-header {
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    .policy-content {
        padding: 1.5rem;
    }
    
    .footer-top {
        flex-direction: column;
    }
}


.btn-primary, .btn-header {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
