/* ========================================
   BBATTL.com - Digital Colosseum
   Sci-Fi HUD Overlay Stats Design
   ======================================== */

/* CSS Custom Properties */
:root {
    --void-black: #0a0a0f;
    --challenger-red: #e63946;
    --defender-blue: #2d6aff;
    --clash-gold: #f5a623;
    --arena-chrome: #3a3a4a;
    --phosphor-green: #39ff14;
    --smoke-gray: #b0b0c0;
    --deep-purple: #6c2dc7;

    --font-display: 'Bebas Neue', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --font-body: 'Chakra Petch', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Scanline Overlay */
#scanline-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 7px,
        rgba(255, 255, 255, 0.03) 7px,
        rgba(255, 255, 255, 0.03) 8px
    );
    animation: scanlineDrift 4s linear infinite;
}

@keyframes scanlineDrift {
    0% { transform: translateY(0); }
    100% { transform: translateY(8px); }
}

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

/* Typography Utilities */
.mono {
    font-family: var(--font-mono);
    opacity: 0.85;
    text-shadow: 0 0 6px rgba(57, 255, 20, 0.15);
}

.red-text { color: var(--challenger-red); }
.blue-text { color: var(--defender-blue); }
.gold-text { color: var(--clash-gold); }
.green-text { color: var(--phosphor-green); }

/* ========================================
   NAVIGATION
   ======================================== */
#main-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--arena-chrome);
    border-radius: 50px;
    padding: 10px 28px;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.15em;
    color: var(--clash-gold);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--smoke-gray);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 20px;
    transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
    color: var(--clash-gold);
    background-color: rgba(245, 166, 35, 0.1);
}

/* Nav stagger animation */
.nav-link:nth-child(1) { animation: navSlideLeft 0.5s ease-out 0.1s both; }
.nav-link:nth-child(2) { animation: navSlideRight 0.5s ease-out 0.2s both; }
.nav-link:nth-child(3) { animation: navSlideLeft 0.5s ease-out 0.3s both; }
.nav-link:nth-child(4) { animation: navSlideRight 0.5s ease-out 0.4s both; }

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

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

/* ========================================
   SECTION 1: THE GATES (Hero)
   ======================================== */
.section-gates {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
    height: 100%;
    align-items: center;
}

.hero-side {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.hero-left {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
}

.hero-right {
    background: linear-gradient(225deg, rgba(45, 106, 255, 0.08) 0%, transparent 70%);
}

.combatant-panel {
    text-align: center;
    padding: 40px;
}

.shield-avatar {
    width: 120px;
    height: 144px;
    margin: 0 auto 24px;
    position: relative;
}

.shield-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 12px currentColor);
}

.avatar-red .shield-svg {
    filter: drop-shadow(0 0 12px rgba(230, 57, 70, 0.5));
}

.avatar-blue .shield-svg {
    filter: drop-shadow(0 0 12px rgba(45, 106, 255, 0.5));
}

.combatant-name {
    font-family: var(--font-display);
    font-size: 56px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.combatant-tag {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 500;
    color: var(--smoke-gray);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.stat-readout {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.stat-label {
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--arena-chrome);
    text-transform: uppercase;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 42px;
    color: var(--clash-gold);
    text-shadow: 0 0 8px rgba(245, 166, 35, 0.4);
}

.stat-unit {
    font-family: var(--font-mono);
    font-size: 20px;
    color: var(--clash-gold);
    opacity: 0.7;
}

/* Hero Fissure */
.hero-fissure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;
    position: relative;
    z-index: 10;
}

.fissure-line {
    width: 4px;
    flex: 1;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--clash-gold),
        var(--clash-gold),
        transparent
    );
    box-shadow: 0 0 8px rgba(245, 166, 35, 0.6);
    animation: fissurePulse 2s ease-in-out infinite;
}

@keyframes fissurePulse {
    0%, 100% { box-shadow: 0 0 4px rgba(245, 166, 35, 0.4); }
    50% { box-shadow: 0 0 12px rgba(245, 166, 35, 0.9), 0 0 24px rgba(245, 166, 35, 0.3); }
}

.vs-emblem {
    position: relative;
    padding: 16px 8px;
}

.vs-text {
    font-family: var(--font-display);
    font-size: 120px;
    letter-spacing: 0.15em;
    color: var(--clash-gold);
    text-shadow:
        0 0 20px rgba(245, 166, 35, 0.6),
        2px 2px 0 var(--challenger-red),
        -2px -2px 0 var(--challenger-red),
        4px 4px 0 rgba(230, 57, 70, 0.3);
    transform: rotate(-2deg);
    animation: vsEntrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    display: block;
    line-height: 1;
}

@keyframes vsEntrance {
    0% {
        transform: rotate(-2deg) scale(3);
        opacity: 0;
    }
    100% {
        transform: rotate(-2deg) scale(1);
        opacity: 1;
    }
}

@keyframes vsPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(245, 166, 35, 0.6), 2px 2px 0 var(--challenger-red), -2px -2px 0 var(--challenger-red); }
    50% { text-shadow: 0 0 40px rgba(245, 166, 35, 0.9), 2px 2px 0 var(--challenger-red), -2px -2px 0 var(--challenger-red), 0 0 60px rgba(245, 166, 35, 0.3); }
}

.vs-text.loaded {
    animation: vsPulse 2s ease-in-out infinite;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    opacity: 0;
    animation: scrollHintAppear 0.5s ease-out 1.5s forwards;
    z-index: 10;
}

@keyframes scrollHintAppear {
    to { opacity: 1; }
}

.scroll-hint svg {
    animation: chevronBounce 1.5s ease-in-out infinite;
}

.scroll-hint .chevron-delayed {
    animation-delay: 0.15s;
    margin-top: -12px;
}

@keyframes chevronBounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* ========================================
   SECTION 2: THE ARENA FLOOR (Battles)
   ======================================== */
.section-arena-floor {
    position: relative;
    z-index: 2;
    padding: 120px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--smoke-gray);
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.lightning-icon {
    flex-shrink: 0;
}

/* Bout Cards */
.bout-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid var(--arena-chrome);
    margin-bottom: 32px;
    position: relative;
    transition: border-color 0.3s;
}

.bout-card:hover {
    border-color: var(--clash-gold);
}

.bout-side {
    padding: 32px 28px;
    position: relative;
}

.bout-red {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.06) 0%, transparent 60%);
}

.bout-blue {
    background: linear-gradient(225deg, rgba(45, 106, 255, 0.06) 0%, transparent 60%);
    text-align: right;
}

.bout-argument {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e8;
    margin-bottom: 16px;
    line-height: 1.4;
}

.bout-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--smoke-gray);
    opacity: 0.85;
}

.bout-blue .bout-author {
    justify-content: flex-end;
}

.mini-shield {
    width: 16px;
    height: 18px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 67%, 50% 100%, 0% 67%, 0% 25%);
}

.mini-shield.red { background: var(--challenger-red); }
.mini-shield.blue { background: var(--defender-blue); }

/* Bout Center / Score */
.bout-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    border-left: 1px solid var(--arena-chrome);
    border-right: 1px solid var(--arena-chrome);
    min-width: 180px;
    background: rgba(10, 10, 15, 0.8);
}

.bout-score {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.gauge-container {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radial-gauge {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: var(--arena-chrome);
    stroke-width: 5;
    opacity: 0.3;
}

.gauge-fill {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 213.628;
    stroke-dashoffset: 213.628;
    transition: stroke-dashoffset 1.2s ease-out;
}

.red-gauge {
    stroke: var(--challenger-red);
    filter: drop-shadow(0 0 4px rgba(230, 57, 70, 0.5));
}

.blue-gauge {
    stroke: var(--defender-blue);
    filter: drop-shadow(0 0 4px rgba(45, 106, 255, 0.5));
}

.gauge-label {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 16px;
    color: #e0e0e8;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.bout-vs-mini {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.1em;
    color: var(--clash-gold);
    text-shadow: 0 0 8px rgba(245, 166, 35, 0.4);
}

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

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--phosphor-green);
    text-transform: uppercase;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--phosphor-green);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--phosphor-green);
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--phosphor-green); }
    50% { opacity: 0.4; box-shadow: 0 0 2px var(--phosphor-green); }
}

.bout-timer {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--smoke-gray);
}

/* Corner Brackets */
.corner-bracket {
    position: absolute;
    width: 16px;
    height: 16px;
    transition: all 0.2s ease-out;
}

.corner-bracket.top-left {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--arena-chrome);
    border-left: 2px solid var(--arena-chrome);
}

.corner-bracket.top-right {
    top: -1px;
    right: -1px;
    border-top: 2px solid var(--arena-chrome);
    border-right: 2px solid var(--arena-chrome);
}

.corner-bracket.bottom-left {
    bottom: -1px;
    left: -1px;
    border-bottom: 2px solid var(--arena-chrome);
    border-left: 2px solid var(--arena-chrome);
}

.corner-bracket.bottom-right {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--arena-chrome);
    border-right: 2px solid var(--arena-chrome);
}

/* Hover: corner brackets contract and glow gold */
[data-tilt]:hover .corner-bracket.top-left {
    top: 3px; left: 3px;
    border-color: var(--clash-gold);
    box-shadow: -2px -2px 6px rgba(245, 166, 35, 0.3);
}

[data-tilt]:hover .corner-bracket.top-right {
    top: 3px; right: 3px;
    border-color: var(--clash-gold);
    box-shadow: 2px -2px 6px rgba(245, 166, 35, 0.3);
}

[data-tilt]:hover .corner-bracket.bottom-left {
    bottom: 3px; left: 3px;
    border-color: var(--clash-gold);
    box-shadow: -2px 2px 6px rgba(245, 166, 35, 0.3);
}

[data-tilt]:hover .corner-bracket.bottom-right {
    bottom: 3px; right: 3px;
    border-color: var(--clash-gold);
    box-shadow: 2px 2px 6px rgba(245, 166, 35, 0.3);
}

/* Reveal Animations */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

.slide-left {
    transform: translateX(-60px) translateY(0);
    opacity: 0;
}

.slide-left.visible {
    transform: translateX(0) translateY(0);
    opacity: 1;
}

.slide-right {
    transform: translateX(60px) translateY(0);
    opacity: 0;
}

.slide-right.visible {
    transform: translateX(0) translateY(0);
    opacity: 1;
}

/* ========================================
   SECTION 3: THE SCOREBOARD
   ======================================== */
.section-scoreboard {
    position: relative;
    z-index: 2;
    padding: 100px 40px;
    background: linear-gradient(180deg, var(--void-black) 0%, #06060b 50%, var(--void-black) 100%);
}

.scoreboard-hud {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 32px;
    max-width: 1300px;
    margin: 0 auto;
}

.hud-panel {
    background: rgba(58, 58, 74, 0.1);
    border: 1px solid var(--arena-chrome);
    padding: 24px;
}

.hud-header {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--arena-chrome);
}

.hud-left .hud-header {
    color: var(--challenger-red);
}

.hud-right .hud-header {
    color: var(--defender-blue);
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(58, 58, 74, 0.3);
}

.rank {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--arena-chrome);
    min-width: 30px;
}

.player-name {
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 600;
    color: #e0e0e8;
    flex: 1;
}

.player-wins {
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--clash-gold);
}

.win-label {
    font-family: var(--font-secondary);
    font-size: 11px;
    font-weight: 700;
    color: var(--arena-chrome);
    letter-spacing: 0.1em;
}

/* HUD Center */
.hud-center {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.arena-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.big-stat {
    text-align: center;
    padding: 24px 16px;
    background: rgba(58, 58, 74, 0.08);
    border: 1px solid var(--arena-chrome);
}

.big-stat-value {
    font-family: var(--font-mono);
    font-size: 36px;
    color: var(--phosphor-green);
    display: block;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
    margin-bottom: 4px;
}

.big-stat-label {
    font-family: var(--font-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--arena-chrome);
    text-transform: uppercase;
}

/* Featured Battle */
.featured-battle {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid var(--arena-chrome);
    padding: 28px;
    position: relative;
}

.featured-label {
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--clash-gold);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.featured-title {
    font-family: var(--font-secondary);
    font-size: 22px;
    font-weight: 600;
    color: #e0e0e8;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.featured-stats .mono {
    font-size: 14px;
    min-width: 70px;
}

.featured-stats .mono:last-child {
    text-align: right;
}

.featured-bar {
    flex: 1;
    height: 8px;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    background: var(--arena-chrome);
}

.bar-red {
    background: var(--challenger-red);
    box-shadow: 0 0 6px rgba(230, 57, 70, 0.4);
    transition: width 1s ease-out;
}

.bar-blue {
    background: var(--defender-blue);
    box-shadow: 0 0 6px rgba(45, 106, 255, 0.4);
    transition: width 1s ease-out;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--smoke-gray);
}

/* ========================================
   SECTION 4: THE ARCHIVE
   ======================================== */
.section-archive {
    position: relative;
    z-index: 2;
    padding: 100px 40px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.section-archive .section-title {
    color: var(--arena-chrome);
}

.archive-timeline {
    position: relative;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--arena-chrome), transparent);
}

.archive-entry {
    margin-bottom: 28px;
    position: relative;
}

.archive-entry::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 18px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--arena-chrome);
    background: var(--void-black);
    transform: rotate(45deg);
}

.archive-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--arena-chrome);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.archive-card {
    background: rgba(58, 58, 74, 0.08);
    border: 1px solid rgba(58, 58, 74, 0.3);
    padding: 20px 24px;
    position: relative;
    transition: border-color 0.2s;
}

.archive-card:hover {
    border-color: var(--arena-chrome);
}

.archive-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 600;
}

.archive-score {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--smoke-gray);
    padding: 0 16px;
}

.archive-topic {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(176, 176, 192, 0.6);
    margin-bottom: 8px;
    line-height: 1.4;
}

.archive-verdict {
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ========================================
   SECTION 5: THE LOCKER ROOM (Footer)
   ======================================== */
.section-locker-room {
    position: relative;
    z-index: 2;
    background: #060609;
    border-top: 1px solid var(--arena-chrome);
}

/* Ticker Bar */
.ticker-bar {
    overflow: hidden;
    background: rgba(58, 58, 74, 0.1);
    border-bottom: 1px solid rgba(58, 58, 74, 0.3);
    padding: 10px 0;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: tickerScroll 30s linear infinite;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--smoke-gray);
    opacity: 0.7;
}

.ticker-item {
    padding: 0 16px;
}

.ticker-sep {
    padding: 0 8px;
    vertical-align: middle;
}

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

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 40px;
}

.footer-heading {
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--arena-chrome);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-link {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(176, 176, 192, 0.5);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--smoke-gray);
}

.footer-bottom {
    text-align: center;
    padding: 20px 40px;
    border-top: 1px solid rgba(58, 58, 74, 0.2);
    font-size: 12px;
    color: rgba(176, 176, 192, 0.3);
}

/* ========================================
   3D Tilt Effect
   ======================================== */
[data-tilt] {
    transform-style: preserve-3d;
    perspective: 800px;
    transition: transform 0.15s ease-out;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .scoreboard-hud {
        grid-template-columns: 1fr;
    }

    .arena-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #main-nav {
        padding: 8px 16px;
        gap: 12px;
    }

    .nav-brand {
        font-size: 22px;
    }

    .nav-link {
        font-size: 11px;
        padding: 4px 10px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto 1fr;
    }

    .hero-fissure {
        width: 100%;
        height: 80px;
        flex-direction: row;
    }

    .fissure-line {
        width: auto;
        height: 4px;
        flex: 1;
    }

    .vs-text {
        font-size: 72px;
    }

    .combatant-name {
        font-size: 36px;
    }

    .bout-card {
        grid-template-columns: 1fr;
    }

    .bout-blue {
        text-align: left;
    }

    .bout-blue .bout-author {
        justify-content: flex-start;
    }

    .bout-center {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--arena-chrome);
        border-bottom: 1px solid var(--arena-chrome);
        flex-direction: row;
        padding: 16px 24px;
    }

    .bout-score {
        margin-bottom: 0;
    }

    .section-arena-floor {
        padding: 80px 20px 60px;
    }

    .section-scoreboard {
        padding: 80px 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 32px 20px;
    }

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

    .arena-stats {
        grid-template-columns: 1fr;
    }

    .featured-stats {
        flex-direction: column;
        gap: 8px;
    }

    .archive-timeline {
        padding-left: 32px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .combatant-name {
        font-size: 28px;
    }

    .vs-text {
        font-size: 56px;
    }

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