/* ============================================
   RESET & BASE
   ============================================ */

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

:root {
    /* Primary Palette */
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-deeper: #1e3a8a;
    --blue-light: #3b82f6;
    --blue-pale: #dbeafe;
    --blue-ghost: #eff6ff;

    /* Accent */
    --yellow: #f59e0b;
    --yellow-dark: #d97706;
    --yellow-light: #fbbf24;
    --yellow-pale: #fef3c7;

    /* Neutrals */
    --charcoal: #1e293b;
    --charcoal-light: #334155;
    --slate: #475569;
    --slate-light: #64748b;
    --gray: #94a3b8;
    --gray-light: #cbd5e1;
    --silver: #e2e8f0;
    --offwhite: #f1f5f9;
    --white: #ffffff;

    /* Semantic */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    /* Isometric */
    --iso-rotate-x: 8deg;
    --iso-rotate-y: -6deg;
    --iso-card-depth: 12px;
    --iso-card-depth-color: #1d4ed8;
    --iso-card-top-color: #3b82f6;

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

    /* Typography */
    --font-display: 'Space Mono', 'Courier New', monospace;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-blue: 0 8px 30px rgba(37,99,235,0.25);
    --shadow-yellow: 0 8px 30px rgba(245,158,11,0.25);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--offwhite);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--blue-dark);
}

ul {
    list-style: none;
}

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

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

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

/* ============================================
   ISOMETRIC GRID BACKGROUND
   ============================================ */

.iso-grid-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.iso-grid-bg::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(30deg, var(--blue-pale) 12%, transparent 12.5%, transparent 87%, var(--blue-pale) 87.5%, var(--blue-pale)),
        linear-gradient(150deg, var(--blue-pale) 12%, transparent 12.5%, transparent 87%, var(--blue-pale) 87.5%, var(--blue-pale)),
        linear-gradient(30deg, var(--blue-pale) 12%, transparent 12.5%, transparent 87%, var(--blue-pale) 87.5%, var(--blue-pale)),
        linear-gradient(150deg, var(--blue-pale) 12%, transparent 12.5%, transparent 87%, var(--blue-pale) 87.5%, var(--blue-pale)),
        linear-gradient(60deg, rgba(37,99,235,0.04) 25%, transparent 25.5%, transparent 75%, rgba(37,99,235,0.04) 75%, rgba(37,99,235,0.04)),
        linear-gradient(60deg, rgba(37,99,235,0.04) 25%, transparent 25.5%, transparent 75%, rgba(37,99,235,0.04) 75%, rgba(37,99,235,0.04));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    opacity: 0.5;
    animation: gridDrift 60s linear infinite;
}

@keyframes gridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 140px); }
}

/* ============================================
   ISOMETRIC CARD BASE
   ============================================ */

.iso-card {
    position: relative;
    transform: perspective(1000px) rotateX(var(--iso-rotate-x)) rotateY(var(--iso-rotate-y));
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    transform-style: preserve-3d;
}

.iso-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.iso-card .card-body {
    position: relative;
    z-index: 2;
    background: var(--white);
    border: 2px solid var(--charcoal);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.iso-card .card-iso-face {
    position: absolute;
    border-radius: var(--radius-lg);
}

.iso-card .card-iso-face.card-top {
    top: calc(var(--iso-card-depth) * -1);
    left: calc(var(--iso-card-depth) * -0.5);
    right: calc(var(--iso-card-depth) * 0.5);
    height: var(--iso-card-depth);
    background: var(--iso-card-top-color);
    border: 2px solid var(--charcoal);
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: skewX(40deg);
    transform-origin: bottom left;
    z-index: 1;
}

.iso-card .card-iso-face.card-right {
    top: calc(var(--iso-card-depth) * -0.5);
    right: calc(var(--iso-card-depth) * -1);
    bottom: calc(var(--iso-card-depth) * 0.5);
    width: var(--iso-card-depth);
    background: var(--iso-card-depth-color);
    border: 2px solid var(--charcoal);
    border-left: none;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    transform: skewY(40deg);
    transform-origin: top left;
    z-index: 1;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(241, 245, 249, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--charcoal);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.nav-main.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--charcoal);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-cube {
    width: 40px;
    height: 40px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(30deg);
    animation: cubeFloat 4s ease-in-out infinite;
}

.logo-cube.small {
    width: 32px;
    height: 32px;
}

@keyframes cubeFloat {
    0%, 100% { transform: rotateX(-20deg) rotateY(30deg); }
    50% { transform: rotateX(-15deg) rotateY(35deg) translateY(-2px); }
}

.cube-face {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--charcoal);
}

.logo-cube.small .cube-face {
    font-size: 0.8rem;
}

.cube-face.cube-front {
    width: 100%;
    height: 100%;
    background: var(--blue);
    color: var(--white);
    transform: translateZ(20px);
    border-radius: var(--radius-sm);
}

.logo-cube.small .cube-face.cube-front {
    transform: translateZ(16px);
}

.cube-face.cube-top {
    width: 100%;
    height: 100%;
    background: var(--blue-light);
    color: var(--white);
    transform: rotateX(90deg) translateZ(20px);
    border-radius: var(--radius-sm);
}

.logo-cube.small .cube-face.cube-top {
    transform: rotateX(90deg) translateZ(16px);
}

.cube-face.cube-right {
    width: 100%;
    height: 100%;
    background: var(--blue-dark);
    color: var(--white);
    transform: rotateY(90deg) translateZ(20px);
    border-radius: var(--radius-sm);
}

.logo-cube.small .cube-face.cube-right {
    transform: rotateY(90deg) translateZ(16px);
}

.logo-text {
    letter-spacing: -0.5px;
}

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

.nav-link {
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--blue);
    background: var(--blue-ghost);
}

.nav-link.nav-cta {
    background: var(--blue);
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border: 2px solid var(--charcoal);
    font-weight: 600;
    box-shadow: 4px 4px 0 var(--charcoal);
    transition: all var(--transition-fast);
}

.nav-link.nav-cta:hover {
    background: var(--blue-dark);
    color: var(--white);
    box-shadow: 2px 2px 0 var(--charcoal);
    transform: translate(2px, 2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 1001;
}

.toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--charcoal);
    border-radius: var(--radius-md);
    box-shadow: 5px 5px 0 var(--charcoal);
    transition: all var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s ease;
}

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

.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
    box-shadow: 2px 2px 0 var(--charcoal);
    transform: translate(3px, 3px);
}

.btn-primary:active {
    box-shadow: 0 0 0 var(--charcoal);
    transform: translate(5px, 5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--white);
    color: var(--charcoal);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--charcoal);
    border-radius: var(--radius-md);
    box-shadow: 5px 5px 0 var(--charcoal);
    transition: all var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--offwhite);
    color: var(--charcoal);
    box-shadow: 2px 2px 0 var(--charcoal);
    transform: translate(3px, 3px);
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--offwhite) 0%, var(--blue-ghost) 50%, var(--offwhite) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-30px) translateX(10px); opacity: 0.6; }
    50% { transform: translateY(-15px) translateX(-10px); opacity: 0.4; }
    75% { transform: translateY(-40px) translateX(5px); opacity: 0.5; }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--yellow-pale);
    color: var(--yellow-dark);
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid var(--yellow-dark);
    border-radius: 50px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--blue);
    position: relative;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--yellow);
    opacity: 0.4;
    border-radius: 4px;
    z-index: -1;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--slate);
    max-width: 500px;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-lg) var(--space-xl);
    background: var(--white);
    border: 2px solid var(--charcoal);
    border-radius: var(--radius-lg);
    box-shadow: 6px 6px 0 var(--charcoal);
    transform: perspective(800px) rotateX(4deg) rotateY(-3deg);
}

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

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

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 2px;
    height: 30px;
    background: var(--silver);
    border-radius: 1px;
}

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

.iso-device {
    position: relative;
    transform: rotateX(5deg) rotateY(-10deg) rotateZ(2deg);
    transition: transform 0.6s ease;
}

.iso-device:hover {
    transform: rotateX(2deg) rotateY(-5deg) rotateZ(0deg);
}

.device-frame {
    position: relative;
    width: 260px;
    height: 520px;
    background: var(--charcoal);
    border-radius: 36px;
    padding: 12px;
    border: 3px solid var(--charcoal);
    box-shadow:
        inset 0 0 0 2px var(--charcoal-light),
        12px 24px 48px rgba(0,0,0,0.3),
        -4px -4px 0 var(--slate);
}

.device-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: var(--charcoal);
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 40%, #1e293b 100%);
    border-radius: 26px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    width: 100%;
    height: 100%;
    padding: var(--space-xl) var(--space-md);
    display: flex;
    flex-direction: column;
}

.game-preview {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: var(--space-lg);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
}

.preview-hp {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
}

.hp-bar {
    width: 80px;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
}

.hp-fill {
    width: 72%;
    height: 100%;
    background: linear-gradient(90deg, var(--success), #34d399);
    border-radius: 4px;
    animation: hpPulse 2s ease-in-out infinite;
}

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

.preview-coins {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--yellow);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.preview-wheel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wheel-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
}

.wheel-outer {
    width: 160px;
    height: 160px;
    border-color: rgba(245,158,11,0.4);
    animation: wheelSpin 12s linear infinite;
}

.wheel-middle {
    width: 120px;
    height: 120px;
    border-color: rgba(59,130,246,0.5);
    animation: wheelSpin 8s linear infinite reverse;
}

.wheel-inner {
    width: 80px;
    height: 80px;
    border-color: rgba(255,255,255,0.3);
    animation: wheelSpin 6s linear infinite;
}

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

.wheel-center {
    width: 40px;
    height: 40px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 0 20px rgba(245,158,11,0.5);
}

.wheel-segment {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--yellow);
    border-radius: 50%;
    animation: segFloat 3s ease-in-out infinite;
}

.seg-1 { top: 20%; left: 30%; animation-delay: 0s; }
.seg-2 { top: 15%; right: 25%; animation-delay: 0.5s; }
.seg-3 { bottom: 35%; left: 20%; animation-delay: 1s; }
.seg-4 { bottom: 30%; right: 20%; animation-delay: 1.5s; }
.seg-5 { top: 40%; left: 15%; animation-delay: 0.8s; }
.seg-6 { top: 35%; right: 15%; animation-delay: 1.2s; }

@keyframes segFloat {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 1; }
}

.preview-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    padding-bottom: var(--space-md);
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.15);
}

.action-btn i {
    font-size: 0.9rem;
}

.action-spin { background: rgba(245,158,11,0.3); border-color: rgba(245,158,11,0.4); }
.action-build { background: rgba(59,130,246,0.3); border-color: rgba(59,130,246,0.4); }
.action-attack { background: rgba(239,68,68,0.3); border-color: rgba(239,68,68,0.4); }

.device-shadow {
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.3) 0%, transparent 70%);
    filter: blur(8px);
}

/* Floating elements around device */
.floating-element {
    position: absolute;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 2px solid var(--charcoal);
    font-size: 1.2rem;
    box-shadow: 4px 4px 0 var(--charcoal);
    animation: floatBounce 3s ease-in-out infinite;
}

.float-1 {
    top: 10%;
    right: 5%;
    background: var(--yellow);
    color: var(--charcoal);
    animation-delay: 0s;
}

.float-2 {
    bottom: 20%;
    left: 0;
    background: var(--blue);
    color: var(--white);
    animation-delay: 1s;
}

.float-3 {
    top: 40%;
    left: -10%;
    background: var(--white);
    color: var(--blue);
    animation-delay: 2s;
}

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

/* Scroll Indicator */
.hero-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);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--blue);
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -50%; }
    100% { top: 150%; }
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    color: var(--slate-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ============================================
   TICKER / SOCIAL PROOF
   ============================================ */

.ticker-section {
    background: var(--charcoal);
    border-top: 2px solid var(--charcoal);
    border-bottom: 2px solid var(--charcoal);
    overflow: hidden;
    padding: var(--space-md) 0;
}

.ticker-track {
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    gap: var(--space-3xl);
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

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

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    flex-shrink: 0;
}

.ticker-item i {
    color: var(--yellow);
    font-size: 0.9rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-lg);
    background: var(--blue-ghost);
    color: var(--blue);
    font-weight: 600;
    font-size: 0.8rem;
    border: 2px solid var(--blue);
    border-radius: 50px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.tag-light {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--slate);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: var(--space-5xl) 0;
    position: relative;
}

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

.about-card .card-body {
    padding: var(--space-2xl);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    margin-bottom: var(--space-lg);
    border: 2px solid var(--charcoal);
    box-shadow: 3px 3px 0 var(--charcoal);
}

.card-icon.icon-accent {
    background: var(--yellow);
    color: var(--charcoal);
}

.card-icon.icon-danger {
    background: var(--danger);
    color: var(--white);
}

.card-icon.icon-success {
    background: var(--success);
    color: var(--white);
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--charcoal);
}

.about-card p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: var(--space-5xl) 0;
    position: relative;
    background: var(--blue-ghost);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-5xl);
}

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

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--blue-pale);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.feature-info h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

.feature-info p {
    color: var(--slate);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--success);
    font-size: 0.85rem;
}

/* Isometric Block Stack Visual */
.iso-block-stack {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    align-items: flex-end;
    perspective: 800px;
}

.iso-block {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(30deg);
    animation: blockBounce 3s ease-in-out infinite;
}

.iso-block.block-1 { animation-delay: 0s; }
.iso-block.block-2 { animation-delay: 0.3s; }
.iso-block.block-3 { animation-delay: 0.6s; }

@keyframes blockBounce {
    0%, 100% { transform: rotateX(-20deg) rotateY(30deg) translateY(0); }
    50% { transform: rotateX(-20deg) rotateY(30deg) translateY(-10px); }
}

.block-face {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--charcoal);
}

.block-face.block-top {
    width: 80px;
    height: 80px;
    background: var(--blue-light);
    color: var(--white);
    font-size: 1.5rem;
    transform: rotateX(90deg) translateZ(40px);
}

.block-face.block-front {
    width: 80px;
    height: 80px;
    background: var(--blue);
    transform: translateZ(40px);
}

.block-face.block-side {
    width: 80px;
    height: 80px;
    background: var(--blue-dark);
    transform: rotateY(90deg) translateZ(40px);
}

/* Card Display Visual */
.iso-card-display {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    perspective: 800px;
}

.display-card {
    width: 100px;
    border: 2px solid var(--charcoal);
    border-radius: var(--radius-md);
    overflow: hidden;
    transform: perspective(600px) rotateY(-8deg);
    transition: transform var(--transition-normal);
    box-shadow: 5px 5px 0 var(--charcoal);
}

.display-card:hover {
    transform: perspective(600px) rotateY(0deg) translateY(-5px);
}

.dc-1 .dc-header { background: linear-gradient(135deg, #ef4444, #f97316); }
.dc-2 .dc-header { background: linear-gradient(135deg, var(--blue), #8b5cf6); }
.dc-3 .dc-header { background: linear-gradient(135deg, var(--yellow), #f59e0b); }

.dc-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.dc-body {
    background: var(--white);
    padding: var(--space-sm);
    text-align: center;
}

.dc-name {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--charcoal);
    font-family: var(--font-display);
}

.dc-stat {
    display: block;
    font-size: 0.6rem;
    color: var(--slate-light);
    font-family: var(--font-display);
}

/* Trophy Display Visual */
.iso-trophy-display {
    display: flex;
    justify-content: center;
    perspective: 800px;
}

.trophy-podium {
    display: flex;
    align-items: flex-end;
    gap: var(--space-sm);
    transform: perspective(600px) rotateX(5deg) rotateY(-5deg);
}

.podium-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--white);
    border: 2px solid var(--charcoal);
    border-radius: var(--radius-md);
    box-shadow: 4px 4px 0 var(--charcoal);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
}

.step-1 {
    padding: var(--space-xl) var(--space-lg);
    background: var(--yellow-pale);
}

.step-medal {
    font-size: 1.5rem;
    color: var(--gray);
}

.step-medal.gold {
    color: var(--yellow);
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */

.community-section {
    padding: var(--space-5xl) 0;
    position: relative;
}

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

.testimonial-card .card-body {
    padding: var(--space-2xl);
}

.test-stars {
    display: flex;
    gap: 2px;
    color: var(--yellow);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.test-quote {
    color: var(--charcoal);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.9rem;
    border: 2px solid var(--charcoal);
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.author-loc {
    font-size: 0.8rem;
    color: var(--slate-light);
}

/* Live Counter */
.live-counter {
    display: flex;
    justify-content: center;
}

.counter-inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    background: var(--white);
    border: 2px solid var(--charcoal);
    border-radius: 50px;
    box-shadow: 4px 4px 0 var(--charcoal);
    position: relative;
}

.live-dot {
    color: var(--success);
    font-size: 0.6rem;
    animation: livePulse 1.5s ease-in-out infinite;
}

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

.counter-text {
    font-size: 0.95rem;
    color: var(--charcoal);
}

.counter-text strong {
    font-family: var(--font-display);
    color: var(--blue);
}

/* ============================================
   ROADMAP / TIMELINE
   ============================================ */

.roadmap-section {
    padding: var(--space-5xl) 0;
    background: var(--blue-ghost);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--silver);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
}

.timeline-marker {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 3px solid var(--silver);
    border-radius: 50%;
    color: var(--gray);
    font-size: 0.9rem;
    z-index: 2;
    position: relative;
}

.timeline-marker.completed {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.timeline-marker.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    box-shadow: 0 0 0 6px rgba(37,99,235,0.2);
}

.timeline-card {
    flex: 1;
}

.timeline-card .card-body {
    padding: var(--space-lg) var(--space-xl);
}

.timeline-date {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: var(--space-xs) 0 var(--space-sm);
}

.timeline-card p {
    color: var(--slate);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: var(--space-5xl) 0;
    position: relative;
}

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

.faq-item {
    --iso-rotate-x: 3deg;
    --iso-rotate-y: -2deg;
}

.faq-item .card-body {
    padding: 0;
    overflow: hidden;
}

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

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

.faq-icon {
    font-size: 0.9rem;
    color: var(--blue);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

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

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

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

/* ============================================
   REGISTRATION SECTION
   ============================================ */

.register-section {
    padding: var(--space-5xl) 0;
    position: relative;
    background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 50%, var(--charcoal) 100%);
    color: var(--white);
    overflow: hidden;
}

.register-bg::before {
    opacity: 0.15;
}

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

.register-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.register-desc {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
}

.register-perks {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.register-perks li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.perk-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    color: var(--yellow);
    font-size: 1rem;
}

.register-perks li strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.register-perks li span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* Countdown */
.register-countdown {
    padding: var(--space-lg) var(--space-xl);
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
}

.countdown-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-display);
    margin-bottom: var(--space-md);
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}

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

.countdown-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    min-width: 50px;
}

.countdown-text {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-sep {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: rgba(255,255,255,0.3);
    margin-top: -10px;
}

/* Form Card */
.register-form-wrapper .form-card {
    --iso-rotate-x: 4deg;
    --iso-rotate-y: -4deg;
    --iso-card-depth-color: var(--yellow-dark);
    --iso-card-top-color: var(--yellow);
}

.register-form-wrapper .card-body {
    padding: var(--space-2xl) var(--space-xl);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: var(--space-xs);
}

.form-subtitle {
    color: var(--slate);
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
}

.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: 600;
    color: var(--charcoal);
    margin-bottom: var(--space-xs);
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--silver);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--offwhite);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

.form-group input.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}

.form-error {
    display: block;
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 4px;
    min-height: 1em;
}

/* Checkbox styling */
.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--slate);
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--blue);
    margin-top: 2px;
    cursor: pointer;
}

.form-checkbox a {
    color: var(--blue);
    text-decoration: underline;
}

.form-message {
    margin-top: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.form-note {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    font-size: 0.8rem;
    color: var(--gray);
    justify-content: center;
}

.form-note i {
    color: var(--success);
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    padding: var(--space-5xl) 0;
    background: var(--offwhite);
}

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

.trust-item {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--white);
    border: 2px solid var(--silver);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.trust-item:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
    transform: translateY(-4px);
}

.trust-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-ghost);
    color: var(--blue);
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    margin: 0 auto var(--space-lg);
    border: 2px solid var(--blue-pale);
}

.trust-item h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

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

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--charcoal);
    color: var(--white);
    padding-top: var(--space-4xl);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    text-decoration: none;
}

.footer-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 300px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal-light);
    color: var(--gray);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    border: 1px solid var(--charcoal-light);
}

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

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.footer-links a i {
    font-size: 0.8rem;
    width: 16px;
}

.footer-address {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.footer-address i {
    margin-top: 4px;
    color: var(--blue-light);
}

.footer-bottom {
    padding: var(--space-xl) 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray);
}

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

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--yellow);
    color: var(--charcoal);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--yellow-dark);
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    border-top: 3px solid var(--charcoal);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.15);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

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

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

.cookie-text strong {
    display: block;
    margin-bottom: 4px;
    color: var(--charcoal);
    font-family: var(--font-display);
}

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

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

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

.btn-cookie-accept {
    padding: var(--space-sm) var(--space-lg);
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid var(--charcoal);
    border-radius: var(--radius-md);
    box-shadow: 3px 3px 0 var(--charcoal);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.btn-cookie-accept:hover {
    box-shadow: 1px 1px 0 var(--charcoal);
    transform: translate(2px, 2px);
}

.btn-cookie-reject {
    padding: var(--space-sm) var(--space-lg);
    background: var(--white);
    color: var(--charcoal);
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid var(--charcoal);
    border-radius: var(--radius-md);
    box-shadow: 3px 3px 0 var(--charcoal);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.btn-cookie-reject:hover {
    box-shadow: 1px 1px 0 var(--charcoal);
    transform: translate(2px, 2px);
}

.btn-cookie-settings {
    padding: var(--space-sm) var(--space-lg);
    background: transparent;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid var(--blue);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.btn-cookie-settings:hover {
    background: var(--blue-ghost);
}

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

.cookie-setting-item {
    padding: var(--space-sm) 0;
}

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

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

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: var(--white);
    border: 2px solid var(--charcoal);
    border-radius: var(--radius-md);
    box-shadow: 4px 4px 0 var(--charcoal);
    font-size: 1rem;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    cursor: pointer;
}

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

.back-to-top:hover {
    box-shadow: 2px 2px 0 var(--charcoal);
    transform: translate(2px, 2px);
    background: var(--blue-dark);
}

/* ============================================
   LIVE TOAST NOTIFICATION
   ============================================ */

.live-toast {
    position: fixed;
    bottom: var(--space-xl);
    left: var(--space-xl);
    z-index: 950;
    animation: toastIn 0.5s ease;
}

@keyframes toastIn {
    from { transform: translateX(-120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    border: 2px solid var(--charcoal);
    border-radius: var(--radius-md);
    box-shadow: 5px 5px 0 var(--charcoal);
    max-width: 320px;
}

.toast-icon {
    color: var(--success);
    font-size: 1.2rem;
}

.toast-content strong {
    display: block;
    font-size: 0.85rem;
    color: var(--charcoal);
}

.toast-content span {
    font-size: 0.78rem;
    color: var(--slate-light);
}

.toast-close {
    color: var(--gray);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--charcoal);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   LEGAL CONTENT (for legal pages)
   ============================================ */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: calc(72px + var(--space-4xl)) var(--space-xl) var(--space-4xl);
}

.legal-content .legal-card {
    background: var(--white);
    border: 2px solid var(--charcoal);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl) var(--space-4xl);
    box-shadow: 8px 8px 0 var(--charcoal);
    transform: perspective(1200px) rotateX(2deg) rotateY(-1deg);
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.legal-content .legal-updated {
    font-size: 0.85rem;
    color: var(--slate-light);
    margin-bottom: var(--space-2xl);
    font-family: var(--font-display);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--blue-pale);
}

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

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

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

.legal-content li {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: var(--space-xs);
    list-style: disc;
}

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

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

.legal-content strong {
    color: var(--charcoal);
}

.legal-content .contact-box {
    background: var(--blue-ghost);
    border: 2px solid var(--blue-pale);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-xl) 0;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-stats {
        justify-content: center;
        display: inline-flex;
        margin: 0 auto;
    }

    .hero-visual {
        order: -1;
    }

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

    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .feature-row-reverse {
        direction: ltr;
    }

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

    .register-wrapper {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 2px solid var(--charcoal);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-sm);
        transform: translateY(-120%);
        transition: transform var(--transition-normal);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link.nav-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-3xl);
    }

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

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

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

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

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

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

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

    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
    }

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

    .legal-content .legal-card {
        padding: var(--space-xl);
        transform: none;
        box-shadow: 4px 4px 0 var(--charcoal);
    }

    .iso-card {
        transform: perspective(1000px) rotateX(4deg) rotateY(-3deg);
    }

    .live-toast {
        left: var(--space-md);
        right: var(--space-md);
        bottom: var(--space-md);
    }

    .toast-inner {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 1.25rem;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
        --space-4xl: 3rem;
        --space-5xl: 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

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

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .iso-block-stack {
        transform: scale(0.8);
    }

    .iso-card-display {
        transform: scale(0.85);
    }

    .countdown-num {
        font-size: 1.5rem;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

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

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   FOCUS STYLES (Accessibility)
   ============================================ */

*:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

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

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .nav-main,
    .cookie-banner,
    .back-to-top,
    .live-toast,
    .hero-particles,
    .iso-grid-bg,
    .ticker-section {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .iso-card {
        transform: none;
        box-shadow: none;
    }
}
