/* ======================================================
   BBATTL.com - Styles
   Sci-Fi HUD Arena / Split-Screen Duality
   ====================================================== */

/* CSS Custom Properties */
:root {
    --void-black: #0a0a0f;
    --deep-gunmetal: #1a1a2e;
    --electric-cyan: #00f0ff;
    --neon-crimson: #ff1744;
    --plasma-blue: #2979ff;
    --reactor-green: #00e676;
    --hot-magenta: #ff00aa;
    --bright-white: #e8e8f0;
    --faded-steel: #6b6b8d;
    --amber-alert: #ffab00;

    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3);
    --glow-red: 0 0 20px rgba(255, 23, 68, 0.3);
    --glow-blue: 0 0 20px rgba(41, 121, 255, 0.3);
    --glow-magenta: 0 0 20px rgba(255, 0, 170, 0.3);
    --glow-green: 0 0 20px rgba(0, 230, 118, 0.3);
    --glow-amber: 0 0 20px rgba(255, 171, 0, 0.3);

    --font-headline: 'Orbitron', sans-serif;
    --font-body: 'Exo 2', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    --font-accent: 'Bebas Neue', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--void-black);
    color: var(--bright-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ======================================================
   Scanline Overlay
   ====================================================== */
#scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.05) 2px,
        rgba(0, 0, 0, 0.05) 4px
    );
}

/* ======================================================
   Particle Grid Canvas
   ====================================================== */
#particle-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ======================================================
   HUD Frame
   ====================================================== */
#hud-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

#hud-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hud-line {
    fill: none;
    stroke: var(--electric-cyan);
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5));
}

.hud-line.animated {
    animation: drawHudLine 1.5s ease-out forwards;
}

@keyframes drawHudLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* HUD Navigation */
#hud-nav {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    pointer-events: all;
    z-index: 1001;
}

.hud-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    text-decoration: none;
    color: var(--faded-steel);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.hud-tab:hover {
    color: var(--electric-cyan);
    border-color: rgba(0, 240, 255, 0.3);
    text-shadow: var(--glow-cyan);
}

.hud-tab.active {
    color: var(--electric-cyan);
    border-color: var(--electric-cyan);
    text-shadow: var(--glow-cyan);
}

.tab-indicator {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--faded-steel);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transition: all 0.3s ease;
}

.hud-tab.active .tab-indicator,
.hud-tab:hover .tab-indicator {
    background: var(--electric-cyan);
    box-shadow: var(--glow-cyan);
}

.tab-label {
    position: relative;
}

/* HUD Status Bar */
#hud-status {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 24px;
    align-items: center;
    pointer-events: none;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--faded-steel);
    letter-spacing: 0.1em;
}

.status-pip {
    display: inline-block;
    width: 8px;
    height: 8px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: rgba(107, 107, 141, 0.3);
    transition: all 0.3s ease;
}

.status-pip.filled {
    background: var(--electric-cyan);
    box-shadow: var(--glow-cyan);
}

.status-value {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--reactor-green);
    text-shadow: var(--glow-green);
    letter-spacing: 0.1em;
}

.status-value.blink {
    animation: blink 1.5s step-end infinite;
}

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

/* ======================================================
   Sections - General
   ====================================================== */
.section {
    position: relative;
    min-height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding: 20px 40px;
}

.section-title {
    font-family: var(--font-headline);
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bright-white);
    text-shadow: var(--glow-cyan);
}

.title-line {
    width: 120px;
    height: 2px;
    background: var(--electric-cyan);
    margin: 16px auto 0;
    box-shadow: var(--glow-cyan);
}

/* HUD Card Brackets */
.hud-card-brackets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bracket-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bracket-line {
    fill: none;
    stroke: var(--electric-cyan);
    stroke-width: 2;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 0.6s ease;
    filter: drop-shadow(0 0 4px rgba(0, 240, 255, 0.4));
}

.reveal-visible .bracket-line,
.arena-side .bracket-line {
    stroke-dashoffset: 0;
}

/* Reveal animations */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================================================
   Section 1: Arena / Hero
   ====================================================== */
.section-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--void-black);
}

.arena-split {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}

.arena-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
}

.arena-side-red {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.08) 0%, transparent 60%);
    animation: breatheRed 4s ease-in-out infinite;
}

.arena-side-blue {
    background: linear-gradient(225deg, rgba(41, 121, 255, 0.08) 0%, transparent 60%);
    animation: breatheBlue 4s ease-in-out infinite;
}

@keyframes breatheRed {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

@keyframes breatheBlue {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

.side-content {
    text-align: center;
    position: relative;
    padding: 40px;
    z-index: 2;
}

.side-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.faction-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px currentColor);
}

.arena-side-red .faction-icon {
    filter: drop-shadow(0 0 10px rgba(255, 23, 68, 0.5));
}

.arena-side-blue .faction-icon {
    filter: drop-shadow(0 0 10px rgba(41, 121, 255, 0.5));
}

.side-title {
    font-family: var(--font-headline);
    font-size: 56px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.red-glow {
    color: var(--neon-crimson);
    text-shadow: 0 0 30px rgba(255, 23, 68, 0.5), 0 0 60px rgba(255, 23, 68, 0.2);
}

.blue-glow {
    color: var(--plasma-blue);
    text-shadow: 0 0 30px rgba(41, 121, 255, 0.5), 0 0 60px rgba(41, 121, 255, 0.2);
}

.side-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--faded-steel);
    margin-bottom: 32px;
    letter-spacing: 0.05em;
}

.side-stats {
    margin-top: 16px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-family: var(--font-accent);
    font-size: 72px;
    line-height: 1;
    color: var(--bright-white);
}

.arena-side-red .stat-value {
    color: var(--neon-crimson);
    text-shadow: var(--glow-red);
}

.arena-side-blue .stat-value {
    color: var(--plasma-blue);
    text-shadow: var(--glow-blue);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--faded-steel);
    letter-spacing: 0.15em;
}

/* Center Divide */
.center-divide {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 60px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-line-glow {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: var(--electric-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.6), 0 0 40px rgba(0, 240, 255, 0.3);
    animation: pulseCenter 2s ease-in-out infinite;
}

@keyframes pulseCenter {
    0%, 100% { opacity: 0.8; box-shadow: 0 0 15px rgba(0, 240, 255, 0.6), 0 0 40px rgba(0, 240, 255, 0.3); }
    50% { opacity: 1; box-shadow: 0 0 25px rgba(0, 240, 255, 0.8), 0 0 60px rgba(0, 240, 255, 0.5); }
}

#center-sparks {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.vs-badge {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
}

.vs-hex {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.5));
    animation: rotateVS 20s linear infinite;
}

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

.vs-text {
    font-family: var(--font-accent);
    font-size: 36px;
    color: var(--electric-cyan);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
    z-index: 12;
    letter-spacing: 0.1em;
}

/* Next Battle Countdown */
.next-battle {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
}

.next-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--amber-alert);
    letter-spacing: 0.2em;
    text-shadow: var(--glow-amber);
    display: block;
    margin-bottom: 8px;
    animation: blink 2s step-end infinite;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.countdown-num {
    font-family: var(--font-accent);
    font-size: 48px;
    color: var(--bright-white);
    text-shadow: 0 0 10px rgba(232, 232, 240, 0.3);
    min-width: 60px;
    text-align: center;
}

.countdown-sep {
    font-family: var(--font-accent);
    font-size: 48px;
    color: var(--amber-alert);
    animation: blink 1s step-end infinite;
}

/* ======================================================
   Section 2: Concept
   ====================================================== */
.section-concept {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--void-black);
    padding: 100px 40px;
    position: relative;
}

.concept-inner {
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.concept-terminal {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 32px;
    position: relative;
    backdrop-filter: blur(10px);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.terminal-prompt {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--electric-cyan);
    text-shadow: var(--glow-cyan);
}

.terminal-cursor {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--electric-cyan);
    animation: cursorBlink 1s step-end infinite;
}

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

.terminal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.typewriter-line {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--bright-white);
    line-height: 1.8;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
}

.typewriter-line.typing {
    opacity: 1;
    border-right-color: var(--electric-cyan);
    animation: typewriterCursor 0.7s step-end infinite;
}

.typewriter-line.typed {
    opacity: 1;
    border-right-color: transparent;
    white-space: normal;
}

@keyframes typewriterCursor {
    0%, 100% { border-right-color: var(--electric-cyan); }
    50% { border-right-color: transparent; }
}

/* Radar Sweep */
.radar-sweep {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 240, 255, 0.08) 30deg,
        transparent 60deg
    );
    animation: radarSpin 6s linear infinite;
    pointer-events: none;
}

.concept-radar {
    top: 50%;
    right: -150px;
    transform: translateY(-50%);
    opacity: 0.5;
}

.howto-radar {
    bottom: -100px;
    left: -100px;
    opacity: 0.4;
}

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

.concept-radar {
    top: 50%;
    right: -150px;
    animation: radarSpin 6s linear infinite;
    transform-origin: center center;
}

.howto-radar {
    bottom: -100px;
    left: -100px;
    transform-origin: center center;
}

/* ======================================================
   Section 3: Battle Archive
   ====================================================== */
.section-archive {
    background: var(--void-black);
    padding: 120px 40px;
    position: relative;
}

.archive-inner {
    max-width: 700px;
    margin: 0 auto;
}

/* Diagonal section divider */
.section-archive::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--void-black);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--electric-cyan), transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-entry {
    margin-bottom: 40px;
    position: relative;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--electric-cyan);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: var(--glow-cyan);
}

.battle-card {
    background: rgba(26, 26, 46, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 24px;
    position: relative;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.battle-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-id {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--electric-cyan);
    text-shadow: var(--glow-cyan);
    letter-spacing: 0.1em;
}

.card-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--faded-steel);
    letter-spacing: 0.05em;
}

.card-matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.card-fighter {
    font-family: var(--font-headline);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.red-text {
    color: var(--neon-crimson);
    text-shadow: var(--glow-red);
}

.blue-text {
    color: var(--plasma-blue);
    text-shadow: var(--glow-blue);
}

.card-vs {
    font-family: var(--font-accent);
    font-size: 24px;
    color: var(--electric-cyan);
    text-shadow: var(--glow-cyan);
}

.card-scores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-score {
    font-family: var(--font-accent);
    font-size: 42px;
    line-height: 1;
}

.card-score-sep {
    font-family: var(--font-accent);
    font-size: 36px;
    color: var(--faded-steel);
}

.card-result {
    text-align: center;
}

.result-badge {
    display: inline-block;
    font-family: var(--font-headline);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 4px 20px;
    border: 1px solid;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-visible .result-badge {
    transform: scale(1);
}

.badge-win {
    color: var(--reactor-green);
    border-color: var(--reactor-green);
    text-shadow: var(--glow-green);
    background: rgba(0, 230, 118, 0.1);
}

[data-result="red-win"] .badge-win {
    color: var(--neon-crimson);
    border-color: var(--neon-crimson);
    text-shadow: var(--glow-red);
    background: rgba(255, 23, 68, 0.1);
}

[data-result="blue-win"] .badge-win {
    color: var(--plasma-blue);
    border-color: var(--plasma-blue);
    text-shadow: var(--glow-blue);
    background: rgba(41, 121, 255, 0.1);
}

.badge-draw {
    color: var(--amber-alert);
    border-color: var(--amber-alert);
    text-shadow: var(--glow-amber);
    background: rgba(255, 171, 0, 0.1);
}

/* ======================================================
   Section 4: How It Works / Tactical Briefing
   ====================================================== */
.section-howto {
    background: var(--void-black);
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

.section-howto::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--void-black);
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
    z-index: 2;
}

.howto-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.step-card {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.1);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.08);
}

.step-reticle {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    position: relative;
}

.reticle-svg {
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.5);
    transition: all 0.6s ease;
}

.reveal-visible .reticle-svg {
    opacity: 1;
    transform: scale(1);
    animation: reticleSpin 20s linear infinite;
}

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

.reticle-label {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--reactor-green);
    text-shadow: var(--glow-green);
    letter-spacing: 0.2em;
    opacity: 0;
    transition: opacity 0.3s ease 0.6s;
}

.reveal-visible .reticle-label {
    opacity: 1;
}

.step-number {
    font-family: var(--font-accent);
    font-size: 72px;
    color: rgba(0, 240, 255, 0.1);
    line-height: 1;
    margin-bottom: 8px;
}

.step-title {
    font-family: var(--font-headline);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--bright-white);
    text-shadow: 0 0 10px rgba(232, 232, 240, 0.2);
    margin-bottom: 16px;
}

.step-desc {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--faded-steel);
    line-height: 1.7;
}

/* ======================================================
   Section 5: Call to Arms
   ====================================================== */
.section-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--void-black);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 3;
    padding: 40px;
}

.cta-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.section-cta {
    animation: ctaGlow 6s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% {
        background: radial-gradient(ellipse at 30% 50%, rgba(255, 23, 68, 0.08) 0%, transparent 50%),
                    radial-gradient(ellipse at 70% 50%, rgba(41, 121, 255, 0.08) 0%, transparent 50%),
                    var(--void-black);
    }
    50% {
        background: radial-gradient(ellipse at 30% 50%, rgba(255, 23, 68, 0.15) 0%, transparent 50%),
                    radial-gradient(ellipse at 70% 50%, rgba(41, 121, 255, 0.15) 0%, transparent 50%),
                    var(--void-black);
    }
}

.cta-title {
    font-family: var(--font-headline);
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bright-white);
    text-shadow: 0 0 30px rgba(232, 232, 240, 0.3);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--faded-steel);
    margin-bottom: 48px;
    letter-spacing: 0.03em;
}

.cta-buttons {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.cta-btn {
    position: relative;
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hex {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: filter 0.3s ease;
}

.cta-btn-red .btn-hex polygon {
    transition: all 0.3s ease;
}

.cta-btn-red:hover .btn-hex polygon {
    fill: rgba(255, 23, 68, 0.15);
    filter: drop-shadow(0 0 15px rgba(255, 23, 68, 0.5));
}

.cta-btn-red:hover .btn-hex {
    filter: drop-shadow(0 0 15px rgba(255, 23, 68, 0.5));
}

.cta-btn-blue .btn-hex polygon {
    transition: all 0.3s ease;
}

.cta-btn-blue:hover .btn-hex polygon {
    fill: rgba(41, 121, 255, 0.15);
}

.cta-btn-blue:hover .btn-hex {
    filter: drop-shadow(0 0 15px rgba(41, 121, 255, 0.5));
}

.btn-text {
    font-family: var(--font-headline);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2em;
    z-index: 2;
    transition: all 0.3s ease;
}

.cta-btn-red .btn-text {
    color: var(--neon-crimson);
}

.cta-btn-red:hover .btn-text {
    text-shadow: 0 0 20px rgba(255, 23, 68, 0.7);
}

.cta-btn-blue .btn-text {
    color: var(--plasma-blue);
}

.cta-btn-blue:hover .btn-text {
    text-shadow: 0 0 20px rgba(41, 121, 255, 0.7);
}

/* Impact cracks on click */
.cta-btn.impact::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    animation: impactFlash 0.4s ease-out forwards;
    pointer-events: none;
}

@keyframes impactFlash {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

/* ======================================================
   Footer
   ====================================================== */
.section-footer {
    position: relative;
    padding: 60px 40px 30px;
    text-align: center;
    overflow: hidden;
}

.footer-scanline-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 240, 255, 0.02) 3px,
        rgba(0, 240, 255, 0.02) 6px
    );
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-brand {
    font-family: var(--font-headline);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--electric-cyan);
    text-shadow: var(--glow-cyan);
}

.footer-divider {
    color: var(--faded-steel);
    opacity: 0.3;
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--faded-steel);
    letter-spacing: 0.15em;
}

.footer-signal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0.5;
}

.signal-text {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--faded-steel);
    letter-spacing: 0.1em;
    animation: signalFade 3s ease-in-out infinite;
}

@keyframes signalFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.2; }
}

.signal-bars {
    display: flex;
    gap: 3px;
    align-items: flex-end;
}

.signal-bar {
    width: 4px;
    background: var(--faded-steel);
    opacity: 0.3;
}

.signal-bar:nth-child(1) { height: 6px; }
.signal-bar:nth-child(2) { height: 10px; }
.signal-bar:nth-child(3) { height: 14px; }
.signal-bar:nth-child(4) { height: 18px; }
.signal-bar:nth-child(5) { height: 22px; }

.signal-bar.active {
    background: var(--electric-cyan);
    opacity: 0.7;
    box-shadow: 0 0 4px rgba(0, 240, 255, 0.5);
}

/* ======================================================
   Responsive
   ====================================================== */
@media (max-width: 900px) {
    .arena-split {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .center-divide {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        height: 80px;
        transform: none;
        flex-direction: row;
    }

    .center-line-glow {
        width: 100%;
        height: 2px;
        left: 0;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .side-title {
        font-size: 36px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    #hud-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card-matchup {
        flex-direction: column;
        gap: 6px;
    }

    .card-fighter {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .side-title {
        font-size: 28px;
    }

    .stat-value {
        font-size: 48px;
    }

    .countdown-num {
        font-size: 32px;
    }

    .section-title {
        font-size: 24px;
    }

    .cta-title {
        font-size: 28px;
    }

    .hud-tab {
        padding: 4px 10px;
        font-size: 9px;
    }
}
