/* ============================================
   HARETOY - LIQUID GLASS DESIGN SYSTEM
   Mobile Game Website - Styles
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Primary Colors */
    --primary: #0c1445;
    --primary-deep: #060a2e;
    --primary-mid: #111b5e;
    --secondary: #ffffff;
    --accent: #7dd3fc;
    --accent-bright: #a5e4ff;
    --accent-dim: #4fb8e8;

    /* Gradient Colors */
    --grad-midnight: #0a0e35;
    --grad-purple: #1a1060;
    --grad-teal: #0a2a3a;
    --grad-deep-purple: #2d1b69;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(125, 211, 252, 0.3);
    --glass-blur: 20px;
    --glass-blur-heavy: 40px;

    /* Chromatic Aberration Shadows */
    --chroma-1: rgba(125, 211, 252, 0.4);
    --chroma-2: rgba(167, 139, 250, 0.3);
    --chroma-3: rgba(251, 146, 60, 0.15);
    --chroma-shadow: 
        0 0 30px rgba(125, 211, 252, 0.15),
        -2px -2px 20px rgba(167, 139, 250, 0.1),
        2px 2px 20px rgba(251, 146, 60, 0.05);
    --chroma-shadow-hover:
        0 0 50px rgba(125, 211, 252, 0.25),
        -4px -4px 30px rgba(167, 139, 250, 0.15),
        4px 4px 30px rgba(251, 146, 60, 0.1);

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    --space-4xl: 128px;

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --radius-blob: 30% 70% 70% 30% / 30% 30% 70% 70%;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.8s;

    /* Z-index layers */
    --z-bg: 0;
    --z-content: 10;
    --z-nav: 100;
    --z-modal: 200;
    --z-cookie: 300;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Main background gradient */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: 
        radial-gradient(ellipse at 20% 20%, var(--grad-deep-purple) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, var(--grad-teal) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, var(--grad-purple) 0%, transparent 70%),
        linear-gradient(180deg, var(--grad-midnight) 0%, var(--primary) 30%, var(--grad-purple) 60%, var(--grad-teal) 100%);
}

/* Noise overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.03;
    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");
    pointer-events: none;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

a:hover {
    color: var(--accent-bright);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

/* ---------- Utility Classes ---------- */
.accent-text {
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 50%, var(--accent-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    color: var(--primary-deep);
    box-shadow: 
        0 4px 20px rgba(125, 211, 252, 0.3),
        0 0 40px rgba(125, 211, 252, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(125, 211, 252, 0.4),
        0 0 60px rgba(125, 211, 252, 0.2);
    color: var(--primary-deep);
}

.btn-primary::before {
    background: linear-gradient(135deg, var(--accent-bright) 0%, #c4b5fd 100%);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-glass {
    background: var(--glass-bg);
    color: var(--secondary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.btn-glass:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--chroma-shadow);
    color: var(--secondary);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ---------- Navigation ---------- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    padding: var(--space-md) 0;
    transition: all var(--duration-normal) var(--ease-out);
}

.main-nav.scrolled {
    background: rgba(10, 14, 53, 0.85);
    backdrop-filter: blur(var(--glass-blur-heavy));
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
    border-bottom: 1px solid var(--glass-border);
    padding: var(--space-sm) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-deep);
    box-shadow: 0 4px 15px rgba(125, 211, 252, 0.3);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--duration-fast) ease;
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #a78bfa);
    border-radius: var(--radius-full);
    transition: width var(--duration-normal) var(--ease-out);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    color: var(--primary-deep) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full);
    font-weight: 600;
}

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

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(125, 211, 252, 0.3);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: calc(var(--z-nav) + 1);
}

.hamburger-line {
    width: 28px;
    height: 2px;
    background: var(--secondary);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
}

.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);
}

/* ---------- Blob Shapes ---------- */
.blob {
    position: absolute;
    border-radius: var(--radius-blob);
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.3) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, transparent 70%);
    bottom: 10%;
    left: -10%;
    animation-delay: -5s;
    border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
    border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
}

.blob-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.2) 0%, transparent 70%);
    bottom: -5%;
    right: 20%;
    animation-delay: -15s;
    border-radius: 40% 60% 70% 30% / 50% 30% 70% 50%;
}

.blob-5 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
    top: 10%;
    left: -15%;
    animation-delay: -3s;
}

.blob-6 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.2) 0%, transparent 70%);
    bottom: 5%;
    right: -10%;
    animation-delay: -8s;
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
}

.blob-7 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.25) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation-delay: -2s;
}

.blob-8 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation-delay: -12s;
    border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }
    75% {
        transform: translate(20px, 20px) scale(1.02);
    }
}

/* ---------- Hero Section ---------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
}

.hero-bg-blobs {
    position: absolute;
    inset: 0;
    z-index: var(--z-bg);
}

.hero-content {
    position: relative;
    z-index: var(--z-content);
    max-width: 600px;
    margin-left: 8%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 20px;
    background: rgba(125, 211, 252, 0.1);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-out) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-badge i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.title-line-1 {
    animation-delay: 0.1s;
}

.title-line-2 {
    animation-delay: 0.2s;
}

.title-line-3 {
    animation-delay: 0.3s;
    font-size: clamp(3.5rem, 9vw, 6.5rem);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) 0.5s forwards;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) 0.6s forwards;
}

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Phone Mockup */
.hero-phone {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: var(--z-content);
    opacity: 0;
    animation: phoneFloat 1s var(--ease-out) 0.5s forwards, phoneBob 6s ease-in-out 1.5s infinite;
}

@keyframes phoneFloat {
    from {
        opacity: 0;
        transform: translateY(-45%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes phoneBob {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-52%) rotate(1deg); }
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, rgba(30, 30, 60, 0.9) 0%, rgba(15, 15, 40, 0.95) 100%);
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    position: relative;
    box-shadow: 
        var(--chroma-shadow),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 28px);
    background: linear-gradient(180deg, #0d1547 0%, #1a0e4a 50%, #0e2a3d 100%);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.screen-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.screen-title-text {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
}

.screen-icons {
    display: flex;
    gap: 10px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.screen-game-area {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Game Character CSS Art */
.game-character {
    position: relative;
    width: 60px;
    height: 60px;
    animation: characterBounce 2s ease-in-out infinite;
}

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

.character-body {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    bottom: 0;
    left: 5px;
    box-shadow: 0 5px 20px rgba(125, 211, 252, 0.4);
}

.character-ears {
    position: absolute;
    top: -20px;
    left: 10px;
    width: 40px;
    display: flex;
    justify-content: space-between;
}

.ear {
    width: 12px;
    height: 28px;
    background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%);
    border-radius: 50% 50% 30% 30%;
}

.ear-left {
    transform: rotate(-10deg);
}

.ear-right {
    transform: rotate(10deg);
}

.character-eyes {
    position: absolute;
    top: 20px;
    left: 16px;
    display: flex;
    gap: 10px;
}

.eye {
    width: 10px;
    height: 12px;
    background: var(--primary-deep);
    border-radius: 50%;
    animation: blink 3s ease-in-out infinite;
}

@keyframes blink {
    0%, 95%, 100% { transform: scaleY(1); }
    97% { transform: scaleY(0.1); }
}

/* Game Platforms */
.game-platforms {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

.platform {
    height: 8px;
    background: linear-gradient(90deg, rgba(125, 211, 252, 0.3), rgba(167, 139, 250, 0.3));
    border-radius: var(--radius-full);
    position: absolute;
}

.platform-1 {
    width: 80px;
    bottom: 0;
    left: 10px;
}

.platform-2 {
    width: 60px;
    bottom: 40px;
    right: 20px;
}

.platform-3 {
    width: 50px;
    bottom: 80px;
    left: 40px;
}

/* Game Particles */
.game-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.p1 {
    background: var(--accent);
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.p2 {
    background: #a78bfa;
    top: 40%;
    right: 20%;
    animation-delay: -0.5s;
}

.p3 {
    background: #fb923c;
    bottom: 30%;
    left: 25%;
    animation-delay: -1s;
    width: 3px;
    height: 3px;
}

.p4 {
    background: var(--accent-bright);
    top: 60%;
    right: 30%;
    animation-delay: -1.5s;
    width: 5px;
    height: 5px;
}

.p5 {
    background: #c4b5fd;
    top: 15%;
    right: 15%;
    animation-delay: -2s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 1;
    }
}

/* Screen HUD */
.screen-hud {
    margin-top: auto;
    padding-top: 8px;
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.6rem;
}

.hud-item i {
    color: var(--accent);
    font-size: 0.65rem;
}

.hud-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.hud-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.hud-health {
    width: 75%;
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.hud-energy {
    width: 60%;
    background: linear-gradient(90deg, var(--accent), #a78bfa);
}

.hud-score {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.score-value {
    color: var(--accent);
    font-weight: 700;
    font-family: var(--font-display);
}

/* Phone Glow */
.phone-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(125, 211, 252, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    animation: fadeInUp 0.8s var(--ease-out) 1s forwards;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ---------- Ticker Section ---------- */
.ticker-section {
    padding: var(--space-lg) 0;
    background: rgba(125, 211, 252, 0.03);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: var(--space-xl);
    animation: tickerScroll 40s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ticker-item i {
    color: var(--accent);
}

.ticker-dot {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Features Section ---------- */
.features-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.feature-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--chroma-shadow-hover);
}

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

.feature-card-large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
}

.feature-card-large .feature-decoration {
    position: absolute;
    right: var(--space-xl);
    top: 50%;
    transform: translateY(-50%);
}

.deco-ring {
    border: 1px solid rgba(125, 211, 252, 0.1);
    border-radius: 50%;
    position: absolute;
}

.deco-ring-1 {
    width: 120px;
    height: 120px;
    right: 0;
    top: -60px;
    animation: ringRotate 20s linear infinite;
}

.deco-ring-2 {
    width: 80px;
    height: 80px;
    right: 20px;
    top: -40px;
    animation: ringRotate 15s linear infinite reverse;
    border-color: rgba(167, 139, 250, 0.1);
}

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

.feature-icon-wrap {
    margin-bottom: var(--space-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.15) 0%, rgba(167, 139, 250, 0.1) 100%);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.25) 0%, rgba(167, 139, 250, 0.2) 100%);
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.2);
    transform: scale(1.05);
}

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

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Gameplay Section ---------- */
.gameplay-section {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.gameplay-bg-blobs {
    position: absolute;
    inset: 0;
    z-index: var(--z-bg);
}

.gameplay-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--space-3xl);
    position: relative;
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: var(--space-xl);
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.2) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.step-visual {
    margin-bottom: var(--space-lg);
}

.step-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--chroma-shadow);
    transition: all var(--duration-normal) var(--ease-out);
}

.step-card:hover .step-icon-circle {
    box-shadow: var(--chroma-shadow-hover);
    border-color: var(--glass-border-hover);
    transform: scale(1.05);
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.step-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 120px;
    width: 60px;
    flex-shrink: 0;
    position: relative;
}

.connector-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.connector-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(125, 211, 252, 0.5);
}

/* Game Modes */
.modes-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
}

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

.mode-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: all var(--duration-normal) var(--ease-out);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mode-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #a78bfa);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.mode-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--chroma-shadow);
}

.mode-card:hover::after {
    opacity: 1;
}

.mode-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.mode-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.mode-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.mode-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(125, 211, 252, 0.1);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 500;
}

/* ---------- Social Proof Section ---------- */
.social-proof-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

/* Live Counters */
.live-counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.counter-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.counter-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--chroma-shadow);
}

.counter-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.counter-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: var(--space-xs);
}

.counter-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.counter-pulse {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: all var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
    box-shadow: var(--chroma-shadow);
}

.testimonial-stars {
    margin-bottom: var(--space-md);
    color: #fbbf24;
    font-size: 0.85rem;
    display: flex;
    gap: 3px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.2), rgba(167, 139, 250, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    border: 1px solid var(--glass-border);
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Activity Feed */
.activity-feed {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    max-width: 700px;
    margin: 0 auto;
}

.feed-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.feed-title i {
    color: #22c55e;
    animation: livePulse 2s ease-in-out infinite;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-height: 250px;
    overflow: hidden;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    animation: feedSlideIn 0.5s var(--ease-out) forwards;
    opacity: 0;
    transform: translateY(-10px);
}

@keyframes feedSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.feed-item-icon.signup-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.feed-item-icon.play-icon {
    background: rgba(125, 211, 252, 0.15);
    color: var(--accent);
}

.feed-item-icon.win-icon {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.feed-item-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.7);
}

.feed-item-text strong {
    color: var(--secondary);
}

.feed-item-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* ---------- Trust Section ---------- */
.trust-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

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

.trust-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: all var(--duration-normal) var(--ease-out);
}

.trust-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--chroma-shadow);
}

.trust-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.trust-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.trust-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.badge-item i {
    color: #22c55e;
}

/* ---------- FAQ Section ---------- */
.faq-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

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

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: all var(--duration-normal) var(--ease-out);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
    border-color: var(--glass-border-hover);
    box-shadow: var(--chroma-shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    background: none;
    border: none;
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color var(--duration-fast) ease;
}

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

.faq-arrow {
    font-size: 0.8rem;
    color: var(--accent);
    transition: transform var(--duration-normal) var(--ease-out);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out),
                padding var(--duration-normal) var(--ease-out);
}

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

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-lg);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Signup Section ---------- */
.signup-section {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.signup-bg-blobs {
    position: absolute;
    inset: 0;
    z-index: var(--z-bg);
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
    position: relative;
    z-index: var(--z-content);
}

.signup-info {
    padding-top: var(--space-xl);
}

.signup-info .section-title {
    text-align: left;
    margin-bottom: var(--space-md);
}

.signup-info > p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.signup-perks {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.perk-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.95rem;
}

.perk-item i {
    color: #22c55e;
    font-size: 0.85rem;
    width: 24px;
    height: 24px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.signup-countdown {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.countdown-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-sm);
}

.spots-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.spots-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #a78bfa, #fb923c);
    border-radius: var(--radius-full);
    width: 98.3%;
    transition: width 2s var(--ease-out);
    position: relative;
}

.spots-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    border-radius: var(--radius-full);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.spots-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.spots-text span {
    color: #fb923c;
    font-weight: 700;
}

/* Signup Form Card */
.signup-form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-xl) var(--space-xl);
    backdrop-filter: blur(var(--glass-blur-heavy));
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
    box-shadow: var(--chroma-shadow);
    position: relative;
    overflow: hidden;
}

.signup-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #a78bfa, #fb923c, var(--accent));
    background-size: 200% 100%;
    animation: borderGradient 4s linear infinite;
}

@keyframes borderGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.signup-form-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-xl);
    text-align: center;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
}

.form-group label i {
    color: var(--accent);
    font-size: 0.8rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--duration-fast) ease;
    outline: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
    border-color: var(--accent);
    background: rgba(125, 211, 252, 0.05);
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

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

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    position: relative;
    padding-left: 0;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) ease;
    margin-top: 1px;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid var(--primary-deep);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

.form-note i {
    color: #22c55e;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: var(--space-xl) 0;
}

.success-icon {
    font-size: 3rem;
    color: #22c55e;
    margin-bottom: var(--space-md);
    animation: successBounce 0.6s var(--ease-spring);
}

@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.form-success h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: #22c55e;
}

.form-success p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

/* Form Error */
.form-error-msg {
    text-align: center;
    padding: var(--space-xl) 0;
}

.error-icon {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: var(--space-md);
}

.form-error-msg h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: #ef4444;
}

.form-error-msg p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.btn-loader {
    display: inline-flex;
}

/* ---------- Footer ---------- */
.main-footer {
    background: rgba(6, 10, 46, 0.8);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-3xl) 0 var(--space-xl);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all var(--duration-fast) ease;
}

.social-link:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

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

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

.footer-links-group li i {
    color: var(--accent);
    font-size: 0.75rem;
    width: 16px;
}

.footer-links-group a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: color var(--duration-fast) ease;
}

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

.footer-links-group li:not(:has(a)) {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: var(--space-xl);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.footer-address p,
.footer-legal p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
}

.footer-badges {
    display: flex;
    gap: var(--space-md);
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
}

.footer-badge i {
    color: var(--accent);
    font-size: 0.7rem;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-cookie);
    width: calc(100% - var(--space-xl) * 2);
    max-width: 900px;
    background: rgba(12, 20, 69, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(var(--glass-blur-heavy));
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        var(--chroma-shadow);
    animation: cookieSlideUp 0.5s var(--ease-out);
}

@keyframes cookieSlideUp {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.cookie-inner {
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.cookie-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.cookie-desc a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
}

.cookie-btn-settings {
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.12);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    color: var(--primary-deep);
}

.cookie-btn-accept:hover {
    box-shadow: 0 4px 15px rgba(125, 211, 252, 0.3);
    transform: translateY(-1px);
}

/* Cookie Settings Panel */
.cookie-settings-panel {
    padding: 0 var(--space-xl) var(--space-lg);
    border-top: 1px solid var(--glass-border);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
}

.cookie-setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    gap: var(--space-md);
}

.cookie-setting-row strong {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2px;
}

.cookie-setting-row p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: var(--duration-fast) ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--duration-fast) ease;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.toggle-switch.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ---------- Legal Pages ---------- */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
}

.legal-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    color: #1a1a2e;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        var(--chroma-shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-card h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid rgba(12, 20, 69, 0.1);
}

.legal-card h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.legal-card h3 {
    font-size: 1.15rem;
    color: var(--primary-mid);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: var(--space-md);
}

.legal-card ul,
.legal-card ol {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.legal-card li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: var(--space-xs);
}

.legal-card a {
    color: var(--primary-mid);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-card a:hover {
    color: var(--accent-dim);
}

.legal-card .last-updated {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: var(--space-xl);
}

.legal-card .contact-info {
    background: rgba(12, 20, 69, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
}

.legal-card .contact-info p {
    margin-bottom: var(--space-xs);
}

/* ---------- Reveal Animations ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Keyframe Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Iridescent Shimmer Effect ---------- */
@keyframes iridescent {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(125, 211, 252, 0.3);
    color: var(--secondary);
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(125, 211, 252, 0.2);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(125, 211, 252, 0.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-content {
        margin-left: 0;
        max-width: 100%;
    }

    .hero-phone {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: var(--space-xl);
        animation: phoneFloat 1s var(--ease-out) 0.5s forwards, phoneBobMobile 6s ease-in-out 1.5s infinite;
    }

    @keyframes phoneBobMobile {
        0%, 100% { transform: rotate(0deg); }
        50% { transform: translateY(-10px) rotate(1deg); }
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-large {
        grid-column: span 2;
    }

    .modes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gameplay-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 1px;
        height: 40px;
        padding-top: 0;
        flex-direction: column;
        align-items: center;
    }

    .connector-line {
        width: 1px;
        height: 100%;
    }

    .signup-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(10, 14, 53, 0.98);
        backdrop-filter: blur(var(--glass-blur-heavy));
        -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
        flex-direction: column;
        justify-content: center;
        padding: var(--space-xl);
        transition: right var(--duration-normal) var(--ease-out);
        border-left: 1px solid var(--glass-border);
    }

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

    .nav-link {
        font-size: 1.2rem;
        padding: var(--space-md) 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .live-counters {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .modes-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

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

    .cookie-inner {
        flex-direction: column;
        padding: var(--space-md);
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    .legal-card {
        padding: var(--space-xl);
    }

    .legal-card h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
        border-radius: 32px;
    }

    .phone-screen {
        border-radius: 22px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ---------- Focus Styles (Accessibility) ---------- */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .blob {
        animation: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .ticker-track {
        animation: none;
    }
}
