/* ========================================
   CSS VARIABLES & ROOT
   ======================================== */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --secondary-dark: #7c3aed;
    --secondary-light: #a78bfa;
    --accent: #ec4899;
    --accent-dark: #db2777;
    --accent-light: #f472b6;

    /* Neutrals */
    --bg-deep: #0a0a1a;
    --bg-dark: #0f0f23;
    --bg-medium: #1a1a2e;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --white: #ffffff;
    --black: #000000;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-bg-hover: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-hover: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-blur: blur(16px);

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;
    --container-padding: 0 24px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Fonts */
    --font-display: 'Khand', sans-serif;
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* ========================================
   ANIMATED BACKGROUND
   ======================================== */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-deep);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: 40%;
    right: -15%;
    animation-delay: -5s;
    animation-duration: 22s;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -5%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 28s;
}

.bg-orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: 60%;
    left: -5%;
    animation-delay: -15s;
    animation-duration: 30s;
    opacity: 0.25;
}

.bg-orb-5 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    top: 10%;
    right: 20%;
    animation-delay: -8s;
    animation-duration: 26s;
    opacity: 0.2;
}

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

.bg-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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");
    background-repeat: repeat;
    background-size: 256px;
    pointer-events: none;
}

/* Particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

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

/* ========================================
   GLASS CARD UTILITY
   ======================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 50%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   LAYOUT
   ======================================== */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    margin-bottom: 20px;
}

/* ========================================
   COOKIE CONSENT
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 20px;
    animation: slideUpConsent 0.5s ease-out;
}

@keyframes slideUpConsent {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-consent-inner {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

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

.cookie-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.cookie-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--text-secondary);
    text-decoration: underline;
}

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

.cookie-settings-panel {
    max-width: 1000px;
    margin: 12px auto 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
}

.cookie-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--glass-border);
}

.cookie-setting-item:last-of-type {
    border-bottom: none;
    margin-bottom: 16px;
}

.cookie-setting-item strong {
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
}

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

/* 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;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

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

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.main-header.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-accent {
    color: var(--accent);
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: var(--white) !important;
    font-weight: 600;
    padding: 8px 20px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

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

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

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

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

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-overlay.active {
    pointer-events: all;
    opacity: 1;
}

.mobile-menu-glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.mobile-nav-link:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.mobile-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white) !important;
    margin-top: 16px;
    font-size: 1.5rem;
    padding: 14px 40px;
    border-radius: var(--radius-full);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 60px;
    position: relative;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 40%, var(--secondary-light) 80%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.btn-primary:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-glow:hover::before {
    left: 100%;
}

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

.btn-glass:hover {
    color: var(--text-primary);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f23 100%);
    border-radius: 40px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    padding: 12px;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255,255,255,0.1);
    overflow: hidden;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #0a0a1a;
    border-radius: 0 0 20px 20px;
    margin: 0 auto 8px;
    position: relative;
    z-index: 2;
}

.phone-notch::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #1a1a2e;
    border-radius: 50%;
    position: absolute;
    right: 28px;
    top: 8px;
    box-shadow: inset 0 0 0 1.5px rgba(99, 102, 241, 0.5);
}

.phone-screen {
    width: 100%;
    height: calc(100% - 36px);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.game-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0c1445 0%, #0a2463 30%, #1e3a5f 60%, #0d3b66 100%);
    position: relative;
    overflow: hidden;
}

/* Water waves in game preview */
.water-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
}

.water-wave {
    position: absolute;
    width: 200%;
    height: 100px;
    left: -50%;
    border-radius: 40%;
    animation: waveMove 4s ease-in-out infinite;
}

.water-wave-1 {
    bottom: 30%;
    background: rgba(6, 182, 212, 0.15);
    animation-delay: 0s;
}

.water-wave-2 {
    bottom: 15%;
    background: rgba(99, 102, 241, 0.12);
    animation-delay: -1.5s;
    animation-duration: 5s;
}

.water-wave-3 {
    bottom: 0;
    background: rgba(139, 92, 246, 0.1);
    animation-delay: -3s;
    animation-duration: 6s;
}

@keyframes waveMove {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-25%) rotate(2deg); }
}

/* Game character */
.game-character {
    position: absolute;
    top: 40%;
    left: 30%;
    z-index: 3;
}

.character-body {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50% 50% 50% 20%;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    animation: characterBob 2s ease-in-out infinite;
    position: relative;
}

.character-body::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    top: 8px;
    right: 8px;
}

.character-body::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 8px;
    background: rgba(236, 72, 153, 0.4);
    border-radius: 0 50% 50% 0;
    left: -10px;
    top: 12px;
    animation: tailWag 0.8s ease-in-out infinite;
}

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

@keyframes tailWag {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.character-trail {
    position: absolute;
    left: -20px;
    top: 8px;
    width: 30px;
    height: 16px;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.3));
    border-radius: 50%;
    filter: blur(4px);
    animation: trailPulse 1.5s ease-in-out infinite;
}

@keyframes trailPulse {
    0%, 100% { opacity: 0.3; width: 30px; }
    50% { opacity: 0.6; width: 40px; }
}

/* Game obstacles */
.obstacle {
    position: absolute;
    background: rgba(16, 185, 129, 0.6);
    border-radius: 4px;
}

.obstacle-1 {
    width: 20px;
    height: 60px;
    right: 40px;
    top: 35%;
    animation: obstacleFloat 3s ease-in-out infinite;
}

.obstacle-2 {
    width: 16px;
    height: 40px;
    right: 80px;
    top: 55%;
    animation: obstacleFloat 3.5s ease-in-out infinite;
    animation-delay: -1s;
    background: rgba(245, 158, 11, 0.5);
}

.obstacle-3 {
    width: 24px;
    height: 24px;
    right: 20px;
    top: 60%;
    border-radius: 50%;
    animation: obstacleFloat 2.8s ease-in-out infinite;
    animation-delay: -2s;
    background: rgba(239, 68, 68, 0.4);
}

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

/* Game UI overlay */
.game-ui-overlay {
    position: absolute;
    top: 16px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    z-index: 4;
}

.game-score {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 4px;
}

.game-lives {
    display: flex;
    gap: 3px;
    font-size: 0.65rem;
    color: #ef4444;
}

/* Bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    animation: bubbleRise linear infinite;
}

.bubble-1 { width: 8px; height: 8px; left: 20%; bottom: 10%; animation-duration: 4s; }
.bubble-2 { width: 5px; height: 5px; left: 50%; bottom: 5%; animation-duration: 3.5s; animation-delay: -1s; }
.bubble-3 { width: 10px; height: 10px; left: 70%; bottom: 15%; animation-duration: 5s; animation-delay: -2s; }
.bubble-4 { width: 6px; height: 6px; left: 35%; bottom: 20%; animation-duration: 4.5s; animation-delay: -0.5s; }
.bubble-5 { width: 4px; height: 4px; left: 80%; bottom: 8%; animation-duration: 3s; animation-delay: -3s; }
.bubble-6 { width: 7px; height: 7px; left: 15%; bottom: 30%; animation-duration: 4.2s; animation-delay: -1.5s; }
.bubble-7 { width: 9px; height: 9px; left: 60%; bottom: 25%; animation-duration: 5.5s; animation-delay: -2.5s; }

@keyframes bubbleRise {
    0% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-300px) scale(0.3); opacity: 0; }
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Floating elements */
.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: floatElement 6s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.fe-1 {
    top: 10%;
    right: -10%;
    color: #06b6d4;
    animation-delay: 0s;
}

.fe-2 {
    bottom: 15%;
    left: -5%;
    color: var(--accent);
    animation-delay: -1.5s;
}

.fe-3 {
    top: 5%;
    left: -15%;
    color: #f59e0b;
    animation-delay: -3s;
}

.fe-4 {
    bottom: 25%;
    right: -15%;
    color: var(--primary-light);
    animation-delay: -4.5s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-3deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-light);
    border-radius: var(--radius-full);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    padding: var(--section-padding);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card:hover .feature-decoration {
    opacity: 1;
    transform: scale(1);
}

.feature-icon-wrap {
    margin-bottom: 20px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--icon-color, var(--primary-light));
    transition: all var(--transition-spring);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.feature-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--icon-color, var(--primary)) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--transition-slow);
    pointer-events: none;
    filter: blur(30px);
}

/* ========================================
   GAMEPLAY SECTION
   ======================================== */
.gameplay-section {
    padding: var(--section-padding);
    position: relative;
}

.gameplay-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 80px;
}

.step-card {
    padding: 32px 36px;
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 24px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateX(8px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    min-width: 60px;
}

.step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-icon-circle {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
}

.step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary), transparent);
    border-radius: var(--radius-full);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Worlds Showcase */
.worlds-showcase {
    text-align: center;
}

.worlds-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.worlds-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 16px 0;
}

.worlds-carousel::-webkit-scrollbar {
    display: none;
}

.world-card {
    min-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.world-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
}

.world-visual {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.world-scene {
    width: 100%;
    height: 100%;
    position: relative;
}

.ocean-depths {
    background: linear-gradient(180deg, var(--world-color-1), var(--world-color-2));
}

.coral-reef {
    background: linear-gradient(135deg, var(--world-color-1), var(--world-color-2));
}

.sunken-city {
    background: linear-gradient(180deg, var(--world-color-1), var(--world-color-2));
}

.volcanic-vents {
    background: linear-gradient(135deg, var(--world-color-1), var(--world-color-2));
}

.world-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.wp-1 {
    width: 6px;
    height: 6px;
    top: 30%;
    left: 20%;
    animation: particleFloat 4s linear infinite;
}

.wp-2 {
    width: 4px;
    height: 4px;
    top: 60%;
    left: 60%;
    animation: particleFloat 5s linear infinite;
    animation-delay: -2s;
}

.wp-3 {
    width: 8px;
    height: 8px;
    top: 45%;
    left: 40%;
    animation: particleFloat 6s linear infinite;
    animation-delay: -3s;
}

.world-info {
    padding: 20px;
    text-align: left;
}

.world-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.world-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 6px 0 4px;
}

.world-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.carousel-btn:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: var(--radius-full);
}

/* ========================================
   SOCIAL PROOF SECTION
   ======================================== */
.social-proof-section {
    padding: var(--section-padding);
    position: relative;
}

/* Live Counters */
.live-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.counter-card {
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.counter-card:hover {
    transform: translateY(-4px);
}

.counter-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.counter-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.counter-live-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.pulse-urgent {
    background: var(--accent) !important;
}

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

.counter-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    gap: 2px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.testimonial-card {
    padding: 28px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--avatar-color, var(--primary)), rgba(255,255,255,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.8rem;
    margin-bottom: 12px;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-style: italic;
}

/* Activity Feed */
.activity-feed {
    padding: 24px 28px;
    max-height: 240px;
    overflow: hidden;
    position: relative;
}

.activity-feed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(10, 10, 26, 0.9));
    pointer-events: none;
}

.activity-header {
    margin-bottom: 16px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    animation: slideInActivity 0.5s ease-out;
    border-left: 2px solid var(--primary);
}

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

.activity-item i {
    color: var(--primary-light);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.activity-time {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ========================================
   AGE NOTICE
   ======================================== */
.age-notice-section {
    padding: 40px 0;
}

.age-notice {
    padding: 32px 36px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.age-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

.age-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.age-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
}

.age-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 500;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: var(--section-padding);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.faq-arrow {
    transition: transform var(--transition-base);
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 16px;
}

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

.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 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   SIGNUP SECTION
   ======================================== */
.signup-section {
    padding: var(--section-padding);
    position: relative;
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.signup-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    margin-top: 20px;
}

.signup-perks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.signup-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.perk-icon {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.signup-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.signup-trust i {
    color: #10b981;
}

/* Form Card */
.signup-form-card {
    padding: 36px;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

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

.optional {
    font-weight: 400;
    color: var(--text-muted);
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    transition: color var(--transition-base);
}

.input-wrap input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
    outline: none;
}

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

.input-wrap input:focus {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.input-wrap input:focus ~ .input-icon,
.input-wrap input:focus + .input-icon {
    color: var(--primary-light);
}

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

.form-error {
    display: block;
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 4px;
    min-height: 0;
}

/* Checkbox */
.checkbox-group label {
    margin-bottom: 0;
}

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

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

.checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--glass-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    position: relative;
    margin-top: 1px;
}

.checkbox-custom::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg) scale(0);
    transition: transform var(--transition-base);
    position: absolute;
    top: 3px;
}

.checkbox-label input:checked + .checkbox-custom {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
    transform: rotate(-45deg) scale(1);
}

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

/* Submit button */
#submitBtn {
    margin-top: 8px;
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Success/Error messages */
.form-success,
.form-error-msg {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.success-note {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin-top: 8px;
}

.error-icon {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 16px;
}

.form-error-msg h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.form-error-msg p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section {
    padding: 60px 0 120px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    padding: 28px 20px;
    text-align: center;
}

.trust-item:hover {
    transform: translateY(-4px);
}

.trust-item i {
    font-size: 2rem;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--primary-light), #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 0;
    position: relative;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 12px 0 20px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group a,
.footer-links-group span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

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

.footer-links-group i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-left p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-address {
    margin-top: 4px;
}

.footer-bottom-right {
    display: flex;
    gap: 12px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-badge i {
    color: #10b981;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-page {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: #1e293b;
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a;
}

.legal-content .legal-updated {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 32px;
    display: block;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 14px;
    color: #1e293b;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 10px;
    color: #334155;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 14px;
    color: #475569;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 14px;
    padding-left: 24px;
}

.legal-content li {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 6px;
    color: #475569;
    list-style-type: disc;
}

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

.legal-content a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.legal-content strong {
    color: #1e293b;
}

.legal-content .contact-box {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 20px 0;
}

.legal-content .contact-box p {
    margin-bottom: 6px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-down"] {
    transform: translateY(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(50px) translateY(0);
}

[data-animate="fade-right"] {
    transform: translateX(-50px) translateY(0);
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

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

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

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

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

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

    .signup-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .floating-element {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

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

    .step-card {
        grid-template-columns: auto 1fr;
        gap: 16px;
    }

    .step-number {
        display: none;
    }

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

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

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

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

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

    .footer-bottom-right {
        justify-content: center;
    }

    .legal-content {
        padding: 28px 20px;
        margin: 0 16px;
    }

    .age-notice {
        flex-direction: column;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

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

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

    .signup-form-card {
        padding: 24px 20px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

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

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

    .bg-orb {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .bg-mesh,
    .particles-container,
    .main-header,
    .cookie-consent,
    .back-to-top,
    .mobile-overlay {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .glass-card {
        background: white;
        border: 1px solid #ccc;
        backdrop-filter: none;
    }
}
