/* ══════════════════════════════════════════
   Landing Page — Central Fader Layout
   ══════════════════════════════════════════ */
.landing-body { overflow-x: hidden; }

/* ── Hero ────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background media (images + videos) */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-media {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
}
.hero-media.active { opacity: 0.4; }
.hero-media[data-type="video"] video {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,14,26,0.5) 0%, rgba(10,14,26,0.7) 50%, rgba(10,14,26,0.95) 100%);
    z-index: 1;
}

/* ── Hero 3-column layout ────────────────── */
.hero-layout {
    position: relative; z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
    padding: 2rem;
    min-height: 100vh;
}
.hero-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    align-self: center;
}
.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Center column — compact, everything tight together */
.hero-center {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
}
.hero-logo-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease infinite;
}
@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}

/* ── Equalizer ───────────────────────────── */
/* Meter Bridge — wide and tall */
.eq-container {
    width: 120%;
    overflow: hidden;
    z-index: 1;
    margin: 0.25rem 0;
}
.hero-logo {
    position: relative;
    z-index: 1;
}
.eq-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 140px;
}
.eq-bar {
    width: 6px;
    height: 3px;
    border-radius: 2px;
    opacity: 0.25;
    transition: height 0.08s ease;
    /* Red at bottom, orange in middle, yellow at top — via gradient */
    background: linear-gradient(to top, #ff2200, #ff6600, #ffaa00, #ffcc00);
    background-size: 100% 200px;
    background-position: bottom;
}
.eq-bars.active .eq-bar { opacity: 0.85; }

/* ── Central Fader ───────────────────────── */
.fader-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.25rem;
}
.fader-glow {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: radial-gradient(circle, rgba(255,77,0,0.15) 0%, rgba(255,200,0,0.05) 50%, transparent 70%);
}
.fader-glow.active { opacity: 1; }
.fader-track {
    position: relative;
    width: 56px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 16px 0;
}
.fader-groove {
    position: absolute;
    top: 20px; bottom: 20px;
    width: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
}
.fader-fill {
    position: absolute;
    bottom: 20px;
    width: 6px;
    height: 0;
    border-radius: 3px;
    transition: height 0.05s linear;
    background: linear-gradient(to top, #ffcc00, #ff6600, #ff2200);
    box-shadow: 0 0 12px rgba(255, 100, 0, 0.4);
}
.fader-knob {
    position: absolute;
    bottom: 16px;
    width: 36px;
    height: 16px;
    background: linear-gradient(180deg, #4a5568, #2d3748);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: grab;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    transition: bottom 0.05s linear, box-shadow 0.2s ease;
}
.fader-knob:hover, .fader-knob.dragging {
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 100, 0, 0.4), 0 2px 8px rgba(0,0,0,0.5);
    cursor: grabbing;
}
.fader-knob::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 16px; height: 2px;
    background: rgba(255,255,255,0.3); border-radius: 1px;
}

/* Hint — large and pulsing */
.fader-hint {
    display: flex; align-items: center; gap: 0.4rem;
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    animation: hintPulse 1.8s ease infinite;
    text-shadow: 0 0 15px rgba(255, 100, 0, 0.5);
}
.fader-hint svg { width: 20px; height: 20px; animation: hintArrow 1.2s ease infinite; }
@keyframes hintPulse {
    0%,100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}
@keyframes hintArrow { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.fader-hint.hidden { opacity: 0; transform: scale(1); transition: opacity 0.5s; animation: none; }

/* Fader scale marks */
.fader-scale {
    position: absolute;
    right: -32px;
    top: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    pointer-events: none;
}
.fader-scale-mark {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.25);
    line-height: 1;
    position: relative;
}
.fader-scale-mark::before {
    content: '';
    position: absolute;
    right: calc(100% + 4px);
    top: 50%;
    width: 6px;
    height: 1px;
    background: rgba(255,255,255,0.15);
}

/* Fader idle pulse — knob bobs up and down */
.fader-track.idle {
    animation: faderPulse 2.5s ease-in-out infinite;
}
@keyframes faderPulse {
    0%, 100% {
        border-color: rgba(255, 100, 0, 0.08);
        box-shadow: 0 0 20px rgba(255, 100, 0, 0.05);
    }
    50% {
        border-color: rgba(255, 100, 0, 0.4);
        box-shadow: 0 0 40px rgba(255, 100, 0, 0.2);
    }
}
.fader-knob.idle {
    animation: knobBob 2s ease-in-out infinite;
}
@keyframes knobBob {
    0%, 100% {
        bottom: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }
    50% {
        bottom: 28px;
        box-shadow: 0 0 22px rgba(255, 100, 0, 0.5), 0 2px 8px rgba(0,0,0,0.5);
    }
}

/* Mobile layout */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .hero-col { order: 3; }
    .hero-center { order: 1; }
    .hero-col-left { order: 2; }
    .hero-col-right { order: 3; }
    .fader-track { height: 150px; width: 48px; }
    .eq-bars { height: 35px; }
}

/* ── Sports Grid ─────────────────────────── */
.sports-section { padding: 6rem 0; }
.section-title { margin-bottom: 0.5rem; }
.section-subtitle { margin-bottom: 3rem; font-size: 1.1rem; }
.sports-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 1rem; max-width: 800px; margin: 0 auto;
}
.sport-card {
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    padding: 1.25rem 0.75rem;
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius); cursor: pointer; transition: all 0.3s ease;
}
.sport-card:hover {
    transform: translateY(-4px); border-color: var(--accent-cyan);
    box-shadow: 0 8px 30px rgba(0,240,255,0.1);
}
.sport-icon { font-size: 2rem; }
.sport-name { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 640px) { .sports-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 400px) { .sports-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── How It Works ────────────────────────── */
.how-section { padding: 6rem 0; background: linear-gradient(180deg, transparent, rgba(0,240,255,0.02), transparent); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.step-card { text-align: center; padding: 2rem 1rem; }
.step-number { font-family: var(--font-display); font-size: 3rem; font-weight: 700; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; }
.step-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.step-card p { color: var(--text-secondary); font-size: 0.95rem; }
@media (max-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

/* ── Features ────────────────────────────── */
.features-section { padding: 6rem 0; }
.feature-card { padding: 2rem; border-radius: var(--radius); transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(0,240,255,0.2); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ── CTA ─────────────────────────────────── */
.cta-section { padding: 6rem 0; }
.cta-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }

/* Login button orange-gold gradient */
.hero-col-right .btn-secondary {
    background: linear-gradient(135deg, #ff8c00, #ffcc00);
    color: var(--bg-dark) !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
}
.hero-col-right .btn-secondary:hover {
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.4);
    transform: translateY(-2px);
    color: var(--bg-dark) !important;
}

/* ── Footer ──────────────────────────────── */
.landing-footer { padding: 4rem 0 2rem; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.footer-brand .brand-icon { margin-right: 0.5rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-secondary); font-size: 0.95rem; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.85rem; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ── Scroll Animations ───────────────────── */
.animate-in { opacity: 0; transform: translateY(20px); }
.animate-in.visible { animation: fadeInUp 0.6s ease forwards; }
