/* ============================================
   RACING SMASH 3D - AURORA DESIGN SYSTEM
   ============================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
    /* Primary Palette */
    --color-primary: #4ade80;
    --color-primary-dark: #22c55e;
    --color-primary-light: #86efac;
    --color-primary-glow: rgba(74, 222, 128, 0.3);

    /* Secondary Palette */
    --color-secondary: #818cf8;
    --color-secondary-dark: #6366f1;
    --color-secondary-light: #a5b4fc;
    --color-secondary-glow: rgba(129, 140, 248, 0.3);

    /* Accent Palette */
    --color-accent: #c084fc;
    --color-accent-dark: #a855f7;
    --color-accent-light: #d8b4fe;
    --color-accent-glow: rgba(192, 132, 252, 0.3);

    /* Backgrounds */
    --bg-deep: #030712;
    --bg-dark: #0a0f1e;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --bg-surface: #1e293b;
    --bg-overlay: rgba(3, 7, 18, 0.85);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-link: #4ade80;

    /* Borders */
    --border-subtle: rgba(148, 163, 184, 0.1);
    --border-glow: rgba(74, 222, 128, 0.2);

    /* Gradients */
    --gradient-aurora: linear-gradient(135deg, #4ade80 0%, #818cf8 50%, #c084fc 100%);
    --gradient-aurora-reverse: linear-gradient(135deg, #c084fc 0%, #818cf8 50%, #4ade80 100%);
    --gradient-dark: linear-gradient(180deg, #030712 0%, #0a0f1e 100%);
    --gradient-card: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.4));

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Exo 2', sans-serif;

    /* Borders & Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-primary: 0 0 30px rgba(74, 222, 128, 0.15), 0 0 60px rgba(74, 222, 128, 0.05);
    --shadow-glow-secondary: 0 0 30px rgba(129, 140, 248, 0.15), 0 0 60px rgba(129, 140, 248, 0.05);
    --shadow-glow-accent: 0 0 30px rgba(192, 132, 252, 0.15), 0 0 60px rgba(192, 132, 252, 0.05);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-aurora: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index layers */
    --z-base: 1;
    --z-sticky: 100;
    --z-dropdown: 200;
    --z-modal: 1000;
    --z-cookie: 1100;
    --z-top: 9999;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-body);
    color: var(--text-primary);
}

input, textarea, select {
    font-family: var(--font-body);
}

::selection {
    background: rgba(74, 222, 128, 0.3);
    color: var(--text-primary);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-secondary-light));
}

/* === CONTAINER === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

/* === UTILITY CLASSES === */
.highlight {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === ANIMATIONS === */
@keyframes aurora-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 0%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 100%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-18px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoom-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes live-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

@keyframes slide-in-ticker {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradient-text-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Scroll-triggered animation classes */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* === AURORA BACKGROUND LAYERS === */
.aurora-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.aurora-layer-1 {
    background: radial-gradient(ellipse 80% 60% at 20% 30%, rgba(74, 222, 128, 0.12) 0%, transparent 70%);
    animation: aurora-shift 12s ease-in-out infinite;
    background-size: 200% 200%;
}

.aurora-layer-2 {
    background: radial-gradient(ellipse 70% 50% at 70% 60%, rgba(129, 140, 248, 0.1) 0%, transparent 70%);
    animation: aurora-shift 16s ease-in-out infinite reverse;
    background-size: 200% 200%;
}

.aurora-layer-3 {
    background: radial-gradient(ellipse 60% 40% at 50% 80%, rgba(192, 132, 252, 0.08) 0%, transparent 70%);
    animation: aurora-shift 20s ease-in-out infinite;
    background-size: 200% 200%;
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-cookie);
    background: rgba(10, 15, 30, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-lg) var(--space-xl);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    color: var(--color-primary);
}

.cookie-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn-cookie-accept,
.btn-cookie-essential,
.btn-cookie-settings {
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-cookie-accept {
    background: var(--gradient-aurora);
    color: var(--bg-deep);
}

.btn-cookie-accept:hover {
    box-shadow: var(--shadow-glow-primary);
    transform: translateY(-1px);
}

.btn-cookie-essential {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-cookie-essential:hover {
    background: var(--bg-card-hover);
    border-color: var(--color-secondary);
}

.btn-cookie-settings {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.btn-cookie-settings:hover {
    color: var(--text-primary);
    border-color: var(--color-accent);
}

.cookie-settings-panel {
    max-width: 1280px;
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-subtle);
}

.cookie-setting-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.cookie-setting-item label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-primary);
}

.cookie-setting-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 1.75rem;
}

.cookie-setting-item input[type="checkbox"] {
    accent-color: var(--color-primary);
    width: 18px;
    height: 18px;
}

/* ============================================
   AGE VERIFICATION MODAL
   ============================================ */
.age-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-top);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.age-modal.visible {
    opacity: 1;
    visibility: visible;
}

.age-modal-content {
    position: relative;
    width: 90%;
    max-width: 440px;
}

.age-modal-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse-glow 3s ease-in-out infinite;
}

.age-modal-inner {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
}

.age-icon {
    margin-bottom: var(--space-lg);
}

.age-modal-inner h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.age-modal-inner p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.age-note {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    margin-bottom: var(--space-xl) !important;
}

.age-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.btn-age-yes,
.btn-age-no {
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-display);
    transition: all var(--transition-base);
    letter-spacing: 0.02em;
}

.btn-age-yes {
    background: var(--gradient-aurora);
    color: var(--bg-deep);
}

.btn-age-yes:hover {
    box-shadow: var(--shadow-glow-primary);
    transform: translateY(-2px);
}

.btn-age-no {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.btn-age-no:hover {
    background: rgba(248, 113, 113, 0.25);
    transform: translateY(-2px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
    padding: var(--space-md) 0;
}

.header.scrolled {
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.header-aurora {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-aurora);
    background-size: 300% 100%;
    animation: aurora-shift 6s ease-in-out infinite;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    position: relative;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-base);
    border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--gradient-aurora);
    border-radius: var(--radius-full);
    transition: transform var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.btn-nav-cta {
    padding: 0.5rem 1.25rem;
    background: var(--gradient-aurora);
    color: var(--bg-deep);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}

.btn-nav-cta:hover {
    box-shadow: var(--shadow-glow-primary);
    transform: translateY(-2px);
    color: var(--bg-deep);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: var(--z-dropdown);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem var(--space-xl) var(--space-xl);
        gap: var(--space-xs);
        transition: right var(--transition-slow);
        border-left: 1px solid var(--border-subtle);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: var(--space-md) var(--space-lg);
        width: 100%;
    }

    .btn-nav-cta {
        display: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-aurora);
    color: var(--bg-deep);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-primary);
    color: var(--bg-deep);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-aurora);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity var(--transition-base);
}

.btn-glow:hover::before {
    opacity: 0.6;
}

.btn-secondary {
    background: rgba(129, 140, 248, 0.1);
    color: var(--color-secondary-light);
    border: 1px solid rgba(129, 140, 248, 0.25);
}

.btn-secondary:hover {
    background: rgba(129, 140, 248, 0.2);
    border-color: rgba(129, 140, 248, 0.5);
    transform: translateY(-3px);
    color: var(--color-secondary-light);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-loader svg {
    animation: spin 1s linear infinite;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Section Divider */
.section-aurora-divider {
    height: 2px;
    background: var(--gradient-aurora);
    background-size: 300% 100%;
    animation: aurora-shift 8s ease-in-out infinite;
    opacity: 0.4;
    margin-bottom: var(--space-4xl);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    overflow: hidden;
}

.hero-aurora-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-aurora-bg .aurora-layer-1 {
    background: radial-gradient(ellipse 100% 80% at 15% 20%, rgba(74, 222, 128, 0.18) 0%, transparent 60%);
}

.hero-aurora-bg .aurora-layer-2 {
    background: radial-gradient(ellipse 80% 60% at 75% 50%, rgba(129, 140, 248, 0.14) 0%, transparent 60%);
}

.hero-aurora-bg .aurora-layer-3 {
    background: radial-gradient(ellipse 60% 50% at 40% 90%, rgba(192, 132, 252, 0.1) 0%, transparent 60%);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 222, 128, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 222, 128, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0;
    animation: particle-float 8s ease-in-out infinite;
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: var(--z-base);
}

/* Hero Content */
.hero-content {
    animation: fade-in-left 0.8s ease-out 0.2s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.375rem 1rem;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    background: var(--gradient-aurora);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text-shift 4s ease-in-out infinite;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

/* Hero Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.hero-avatars {
    display: flex;
}

.hero-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--bg-deep);
    border: 2px solid var(--bg-deep);
    margin-left: -8px;
}

.hero-avatar:first-child {
    margin-left: 0;
}

.hero-social-proof p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-social-proof strong {
    color: var(--color-primary);
    font-family: var(--font-display);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fade-in-right 0.8s ease-out 0.4s both;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-image {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image-frame {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(74, 222, 128, 0.2);
    z-index: 2;
    pointer-events: none;
}

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    z-index: 3;
    box-shadow: var(--shadow-md);
}

.hero-float-1 {
    top: 10%;
    right: -20px;
    animation: float 5s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 15%;
    left: -20px;
    animation: float-delayed 6s ease-in-out infinite;
}

.float-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.float-value {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fade-in-up 0.8s ease-out 1s both;
}

.scroll-arrow {
    animation: scroll-bounce 2s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-social-proof {
        justify-content: center;
    }

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

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 5rem;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: var(--space-5xl) 0;
    position: relative;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    position: relative;
    padding: var(--space-2xl);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-aurora);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-aurora);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    border-color: rgba(74, 222, 128, 0.15);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-primary);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    background: rgba(74, 222, 128, 0.06);
    border-radius: var(--radius-md);
}

.feature-card:nth-child(2) .feature-icon-wrapper,
.feature-card:nth-child(5) .feature-icon-wrapper {
    background: rgba(129, 140, 248, 0.06);
}

.feature-card:nth-child(3) .feature-icon-wrapper,
.feature-card:nth-child(6) .feature-icon-wrapper {
    background: rgba(192, 132, 252, 0.06);
}

.feature-icon-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover .feature-icon-glow {
    opacity: 1;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features {
        padding: var(--space-3xl) 0;
    }
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    padding: var(--space-5xl) 0;
    position: relative;
    background: var(--bg-deep);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-item-large {
    grid-column: 1 / -1;
}

.gallery-item-wide {
    grid-column: 1 / -1;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.gallery-image-wrapper:hover {
    border-color: rgba(74, 222, 128, 0.2);
    box-shadow: var(--shadow-glow-primary);
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-image-wrapper:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(3, 7, 18, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-xl);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-image-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.gallery-item-large .gallery-image-wrapper {
    aspect-ratio: 16 / 7;
}

.gallery-item:not(.gallery-item-large):not(.gallery-item-wide) .gallery-image-wrapper {
    aspect-ratio: 4 / 3;
}

.gallery-item-wide .gallery-image-wrapper {
    aspect-ratio: 16 / 6;
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-large .gallery-image-wrapper,
    .gallery-item-wide .gallery-image-wrapper {
        aspect-ratio: 16 / 9;
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: var(--space-5xl) 0;
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
}

.stats-aurora-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: rgba(74, 222, 128, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-primary);
}

.stat-icon {
    margin-bottom: var(--space-lg);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.stat-bar {
    height: 4px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-aurora);
    border-radius: var(--radius-full);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-bar-fill.animated {
    width: var(--fill-width);
}

/* Live Ticker */
.live-ticker {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    overflow: hidden;
}

.live-ticker-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: live-pulse 1.5s ease-in-out infinite;
}

.live-ticker-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-height: 200px;
    overflow: hidden;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: rgba(74, 222, 128, 0.04);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    animation: slide-in-ticker 0.5s ease-out;
    border-left: 3px solid var(--color-primary);
}

.ticker-item:nth-child(2) {
    border-left-color: var(--color-secondary);
}

.ticker-item:nth-child(3) {
    border-left-color: var(--color-accent);
}

.ticker-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    font-family: var(--font-display);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        padding: var(--space-3xl) 0;
    }
}

/* ============================================
   ABOUT GAME SECTION
   ============================================ */
.about-game {
    padding: var(--space-5xl) 0;
    position: relative;
    background: var(--bg-deep);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image-side {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.about-icon-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.about-icon-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

.about-icon-img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-screenshot {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.about-screenshot img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-text-side .section-tag {
    display: inline-block;
}

.about-text-side .section-title {
    text-align: left;
}

.about-text-side p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.about-list {
    margin: var(--space-xl) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-text-side .section-title {
        text-align: center;
    }

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

    .about-list {
        align-items: center;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: var(--space-5xl) 0;
    position: relative;
    background: var(--bg-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item.active {
    border-color: rgba(74, 222, 128, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--transition-base);
    gap: var(--space-md);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--text-muted);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-lg);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ============================================
   SIGNUP / CONTACT FORM SECTION
   ============================================ */
.signup {
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-deep);
}

.signup-aurora-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: var(--z-base);
}

.signup-info .section-tag {
    display: inline-block;
}

.signup-info .section-title {
    text-align: left;
}

.signup-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.signup-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.signup-benefit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Form */
.signup-form-wrapper {
    position: relative;
}

.signup-form-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle at center, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
    pointer-events: none;
    border-radius: var(--radius-xl);
}

.signup-form {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.signup-form h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
}

.input-wrapper:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.input-wrapper svg {
    position: absolute;
    left: var(--space-md);
    pointer-events: none;
    flex-shrink: 0;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem var(--space-md) 0.75rem 2.75rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.form-error {
    display: block;
    font-size: 0.8rem;
    color: #f87171;
    margin-top: var(--space-xs);
    min-height: 1.2em;
}

/* Checkbox */
.form-checkbox-group {
    margin-bottom: var(--space-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.85rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.5;
    font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-subtle);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    margin-top: 2px;
    background: rgba(15, 23, 42, 0.6);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: 2px solid var(--bg-deep);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
    font-size: 0.9rem;
}

.form-success {
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: var(--color-primary);
}

.form-error-msg {
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #f87171;
}

@media (max-width: 1024px) {
    .signup-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .signup-info .section-title {
        text-align: center;
    }

    .signup-benefits {
        align-items: center;
    }
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust {
    padding: var(--space-5xl) 0;
    background: var(--bg-dark);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.trust-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.trust-card:hover {
    border-color: rgba(74, 222, 128, 0.15);
    transform: translateY(-4px);
}

.trust-card svg {
    margin-bottom: var(--space-lg);
}

.trust-card h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    background: var(--bg-deep);
    padding-top: var(--space-4xl);
}

.footer-aurora-top {
    height: 2px;
    background: var(--gradient-aurora);
    background-size: 300% 100%;
    animation: aurora-shift 8s ease-in-out infinite;
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    text-decoration: none;
}

.footer-logo img {
    border-radius: var(--radius-sm);
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-contact a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    word-break: break-all;
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-support-note {
    margin-top: var(--space-md);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsible Gaming Notice */
.footer-responsible {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) 0;
    margin-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.footer-responsible span {
    font-size: 0.85rem;
    color: #f59e0b;
    line-height: 1.5;
}

.footer-responsible svg {
    flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-domain {
    margin-top: var(--space-xs);
    font-size: 0.8rem !important;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-responsible {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--color-primary);
    z-index: var(--z-sticky);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary);
    color: var(--bg-deep);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-primary);
}

/* ============================================
   LEGAL PAGES - SHARED STYLES
   ============================================ */
.legal-page {
    padding-top: 6rem;
    padding-bottom: var(--space-4xl);
    min-height: 100vh;
    background: var(--bg-deep);
}

.legal-content {
    max-width: 860px;
    margin: 0 auto;
    background: rgba(241, 245, 249, 0.97);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-3xl);
    box-shadow: var(--shadow-lg);
    color: #1e293b;
    line-height: 1.8;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid #e2e8f0;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.legal-content p {
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    color: #334155;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.legal-content li {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: var(--space-sm);
    list-style: disc;
}

.legal-content ol li {
    list-style: decimal;
}

.legal-content a {
    color: #6366f1;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #4f46e5;
}

.legal-content strong {
    color: #0f172a;
}

.legal-content .last-updated {
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
    margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
    .legal-content {
        padding: var(--space-xl) var(--space-lg);
        border-radius: var(--radius-lg);
    }
}

/* ============================================
   NOISE TEXTURE OVERLAY (GLOBAL)
   ============================================ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}
