:root {
    /* Sleek Cyber-Athletic Dark Mode Palette */
    --bg-primary: #0a0c14;      /* Pure slate-black atmosphere */
    --bg-secondary: #111422;    /* Deep premium dynamic background */
    --bg-surface: #181c30;      /* Elevated sports dashboard glass element */
    --bg-surface-alt: #232946;  /* High contrast dark element */
    --accent-primary: #00ff66;  /* High energy laser green (primary action) */
    --accent-secondary: #00f0ff;/* High voltage cyber cyan */
    --accent-tertiary: #a044ff; /* Futuristic neon violet */
    --accent-alert: #ff2a5f;    /* Power alert coral */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-glow: rgba(0, 255, 102, 0.25);
    --text-primary: #ffffff;
    --text-secondary: #9aa5b8;  /* Clean modern slate text */
    --text-muted: #57657a;
    
    /* Elegant Transitions & Modern Border Radius */
    --max-width: 1200px;
    --transition-fast: 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 18px;
    
    /* Premium Geometric Typography */
    --font-header: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Drop Shadows and Outer Glows */
    --box-shadow-retro: 0 10px 30px rgba(0, 0, 0, 0.4);
    --glow-primary: 0 0 15px rgba(0, 255, 102, 0.3);
    --glow-secondary: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Beautiful dark aesthetic space setting */
body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(160, 68, 255, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 102, 0.02) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color var(--transition-fast), background var(--transition-fast);
}

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

img {
    max-width: 100%;
    display: inline-block;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 20px;
}

/* Sleek Premium Live Ticker */
.retro-banner-strip {
    background: #0d0f1a;
    color: var(--accent-primary);
    border-bottom: 1px solid rgba(0, 255, 102, 0.2);
    padding: 10px 20px;
    text-align: center;
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1010;
}

.inline-gif {
    height: 18px;
    border: none;
    filter: drop-shadow(0 0 5px var(--accent-primary));
}

.inline-gif-tape {
    height: 8px;
    border: none;
    opacity: 0.3;
}

/* MODERN DYNAMIC PULSE AND SHINE */
.blink-fast {
    animation: neonGlowPulse 1.5s infinite alternate;
}

.blink-slow {
    color: var(--accent-secondary);
    font-weight: 700;
}

@keyframes neonGlowPulse {
    0% {
        text-shadow: 0 0 2px var(--accent-primary), 0 0 10px rgba(0,255,102,0.4);
    }
    100% {
        text-shadow: 0 0 8px var(--accent-primary), 0 0 20px rgba(0,255,102,0.8);
    }
}

/* GLASSMORPHIC NAV BAR */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 12, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    transition: background var(--transition-fast);
}

.main-header.scrolled {
    background: rgba(10, 12, 20, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.brand-logo {
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-accent {
    color: var(--bg-primary);
    background: var(--accent-primary);
    padding: 2px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-sub {
    color: var(--accent-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-left: 2px;
}

.logo-gif {
    height: 20px;
    border: none;
    border-radius: 0;
}

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

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border-radius: var(--border-radius-sm);
    padding: 6px 12px;
    font-family: var(--font-header);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    background: var(--bg-surface-alt);
    color: var(--accent-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-btn-sm {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 16px;
    transition: var(--transition-fast);
}

.cta-btn-sm:hover {
    background-color: var(--accent-secondary);
    box-shadow: var(--glow-secondary);
}

/* Hamburger menu */
.mobile-toggle {
    display: none;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 5px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    flex-direction: column;
    justify-content: space-around;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* HERO SECTION - Futuristic Arena Vibe */
.hero-section {
    position: relative;
    padding: 40px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.vintage-marquee {
    width: 100%;
    background: var(--bg-secondary);
    color: var(--accent-secondary);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: var(--border-radius-md);
    padding: 8px;
    font-family: var(--font-header);
    font-weight: 500;
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.hero-content-grid {
    width: 100%;
    max-width: var(--max-width);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(0, 255, 102, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 102, 0.2);
    margin-bottom: 20px;
    font-family: var(--font-header);
    letter-spacing: 0.05em;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--accent-primary);
}

.wordart-title {
    max-width: 100%;
    border-radius: 0;
    border: none;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.hero-headline {
    font-family: var(--font-header);
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.text-glow {
    color: var(--accent-primary);
    background: transparent;
    padding: 0;
    text-shadow: var(--glow-primary);
}

/* System integration status block */
.under-construction-badge {
    background: rgba(255, 42, 95, 0.05);
    border: 1px solid rgba(255, 42, 95, 0.2);
    border-radius: var(--border-radius-md);
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ff4a7d;
    font-size: 0.85rem;
    font-weight: 500;
}

.construction-gif {
    height: 36px;
    border: none;
}

.hero-subheading {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-actions-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-primary {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    text-transform: uppercase;
    transition: var(--transition-smooth);
    box-shadow: var(--glow-primary);
}

.cta-primary:hover {
    background-color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.cta-secondary {
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.cta-secondary:hover {
    background-color: var(--bg-surface-alt);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
}

/* Premium Dashboard Window Card */
.retro-frame {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 15px;
    box-shadow: var(--box-shadow-retro);
    transition: border-color var(--transition-smooth);
}

.retro-frame:hover {
    border-color: rgba(0, 240, 255, 0.3);
}

.frame-titlebar {
    color: var(--text-secondary);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0 0 10px 0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

.hero-stadium-img {
    border-radius: var(--border-radius-md);
    border: none;
    max-width: 100%;
    object-fit: cover;
    height: 280px;
    width: 100%;
}

.frame-caption {
    background: rgba(0, 255, 102, 0.04);
    color: var(--accent-primary);
    font-family: monospace;
    font-size: 0.75rem;
    padding: 6px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    margin-top: 12px;
}

/* Sleek Digital Analytic Visitor Counter */
.retro-counter-wrapper {
    margin: 40px 0 20px 0;
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    width: 100%;
    max-width: 600px;
}

.counter-label {
    display: block;
    color: var(--text-secondary);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.counter-label-sub {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 10px;
    font-weight: 500;
}

.counter-box {
    display: inline-flex;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 8px 16px;
    gap: 6px;
}

.counter-digit {
    background: var(--bg-surface);
    color: var(--accent-primary);
    font-family: "Courier New", Courier, monospace;
    font-size: 2rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-shadow: var(--glow-primary);
}

/* Premium Dashboard stats metric bar */
.hero-stats-bar {
    display: flex;
    width: 100%;
    max-width: var(--max-width);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.stat-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    min-width: 200px;
    flex: 1;
    transition: var(--transition-fast);
}

.stat-bar-item:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
}

.stat-bar-val {
    font-family: var(--font-header);
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 700;
    color: var(--accent-secondary);
    text-shadow: var(--glow-secondary);
}

.stat-bar-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 8px;
    letter-spacing: 0.05em;
}

/* SECTION HEADERS */
.section-header {
    margin-bottom: 40px;
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(0, 255, 102, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 102, 0.15);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.section-tag-glow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-secondary);
    background: rgba(0, 240, 255, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.section-headline {
    font-family: var(--font-header);
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.section-subtext {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* TITLE RACE STRIP */
.title-race-section {
    background-color: transparent;
}

.section-header-compact {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.section-title-sm {
    font-family: var(--font-header);
    font-size: 1.3rem;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-desc-sm {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 6px;
}

.title-favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.fav-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    position: relative;
    box-shadow: var(--box-shadow-retro);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.fav-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.fav-rank {
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.fav-body {
    padding: 20px;
}

.fav-team {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding-right: 30px;
}

.fav-team h3 {
    font-family: var(--font-header);
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.fav-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}

.val-highlight {
    color: var(--text-primary);
    font-weight: 600;
}

.text-primary-glow {
    color: var(--accent-primary);
}

/* Rank Glow Highlights */
.ranking-1 { border-color: rgba(0, 255, 102, 0.4); }
.ranking-2 { border-color: rgba(0, 240, 255, 0.4); }
.ranking-3 { border-color: rgba(160, 68, 255, 0.4); }

/* MATCH PREVIEWS GRID SECTION */
.matchups-grid-section {
    background-color: transparent;
}

.matchups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
}

.match-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: var(--box-shadow-retro);
    transition: var(--transition-smooth);
}

.match-card:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-4px);
}

.match-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.match-group {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bg-primary);
    background-color: var(--accent-tertiary);
    padding: 3px 8px;
    border-radius: var(--border-radius-sm);
}

.match-edge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bg-primary);
    background-color: var(--accent-secondary);
    padding: 3px 8px;
    border-radius: var(--border-radius-sm);
}

.match-card-teams {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.team-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-name {
    font-family: var(--font-header);
    font-size: 1.15rem;
    text-transform: uppercase;
    color: var(--text-primary);
    font-weight: 700;
}

.badge-rank {
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--accent-primary);
    background-color: rgba(0, 255, 102, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

.team-stat {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.vs-divider {
    font-family: var(--font-header);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    position: relative;
    margin: 4px 0;
}

.vs-divider::before, .vs-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}
.vs-divider::before { left: 0; }
.vs-divider::after { right: 0; }

.match-card-summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.match-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    text-align: right;
}

.btn-read-preview {
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    background: var(--bg-surface);
    padding: 8px 16px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    display: inline-block;
    transition: var(--transition-fast);
}

.btn-read-preview:hover {
    background: var(--accent-secondary);
    color: var(--bg-primary) !important;
    border-color: var(--accent-secondary);
}

/* EXPANDED PREVIEW BLOCKS */
.expanded-previews-section {
    background-color: transparent;
}

.preview-block {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow-retro);
    transition: var(--transition-smooth);
}

.preview-block-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.group-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.preview-title {
    font-family: var(--font-header);
    font-size: 1.8rem;
    text-transform: uppercase;
    color: var(--text-primary);
}

.preview-comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.preview-team-pane {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    color: var(--text-primary);
}

.preview-team-pane.dominant {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(0, 255, 102, 0.03) 100%);
}

.pane-flag {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.preview-team-pane h4 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.pane-indicator {
    font-size: 0.7rem;
    color: var(--bg-primary);
    background-color: var(--accent-primary);
    padding: 2px 8px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
}

.pane-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
}

.pane-stat-row strong {
    color: var(--text-primary);
}

.vs-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 1px solid var(--accent-alert);
    color: var(--accent-alert);
    font-family: var(--font-header);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 42, 95, 0.2);
}

.preview-text-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.text-paragraph {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.text-paragraph strong {
    color: var(--accent-secondary);
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-family: var(--font-header);
    letter-spacing: 0.05em;
}

/* GROUP RACE SNAPSHOT */
.group-race-section {
    background-color: transparent;
}

.group-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 15px;
}

.group-snapshot-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--box-shadow-retro);
    transition: var(--transition-fast);
}

.group-snapshot-card:hover {
    border-color: var(--accent-tertiary);
}

.group-card-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    background-color: var(--bg-surface);
    padding: 3px 8px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.group-favorites-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.group-fav-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.group-fav-row.favorite {
    font-weight: 700;
    color: var(--accent-primary);
}

.group-status-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.group-status-footer .text-glow {
    color: var(--accent-primary);
    font-weight: 700;
}

/* HOST NATIONS WATCH */
.hosts-section {
    background-color: transparent;
}

.hosts-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.hosts-info {
    max-width: 100%;
}

.hosts-image-wrapper {
    margin-top: 20px;
}

.host-side-img {
    border-radius: var(--border-radius-lg);
    border: none;
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.hosts-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 15px;
}

.host-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    padding: 20px;
    box-shadow: var(--box-shadow-retro);
    transition: var(--transition-smooth);
}

.host-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.host-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.host-flag {
    font-size: 1.6rem;
}

.host-card-head h3 {
    font-family: var(--font-header);
    font-size: 1.05rem;
    text-transform: uppercase;
    font-weight: 700;
}

.host-card-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.h-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.h-label {
    color: var(--text-secondary);
}

.h-val {
    color: var(--text-primary);
    font-weight: 600;
}

.h-val.text-primary-glow {
    color: var(--accent-primary);
}

/* TOURNAMENT GUIDE */
.guide-section {
    background-color: transparent;
}

.guide-wrapper {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    padding: 30px;
}

.guide-intro-flex {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.tactical-board-img {
    border-radius: var(--border-radius-lg);
    border: none;
    height: 140px;
    width: 100%;
    object-fit: cover;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

.guide-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    padding: 20px;
    transition: var(--transition-fast);
}

.guide-card:hover {
    border-color: var(--accent-secondary);
}

.guide-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.guide-card h4 {
    font-family: var(--font-header);
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--accent-secondary);
    margin-bottom: 8px;
    font-weight: 700;
}

.guide-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* FAQ SECTION */
.faq-section {
    background-color: transparent;
}

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

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    box-shadow: var(--box-shadow-retro);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--accent-tertiary);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-header);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.faq-trigger:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    transition: transform var(--transition-smooth);
}

.faq-item.active {
    border-color: var(--accent-secondary);
}

.faq-item.active .faq-chevron {
    transform: rotate(-135deg);
    border-color: var(--accent-secondary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.faq-content p {
    padding: 0 20px 20px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* DYNAMIC ULTRA-THIN GRADIENT DIVIDER */
.rainbow-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary), transparent);
    border: none;
    margin: 40px 0;
}

/* CHIP MATRIX WEB-RING */
.retro-webring-strip {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    margin: 40px auto;
    max-width: var(--max-width);
    text-align: center;
    box-shadow: var(--box-shadow-retro);
}

.webring-title {
    color: var(--accent-primary);
    font-family: var(--font-header);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.webring-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.ring-btn {
    background: var(--bg-surface);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.85rem;
}

.ring-btn:hover {
    background: var(--accent-tertiary);
    color: var(--text-primary);
    border-color: var(--accent-tertiary);
}

.webring-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.retro-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.retro-badges:hover {
    opacity: 0.85;
}

.badge-img {
    border: none !important;
    height: 28px;
    border-radius: 4px;
}

/* PREMIUM FOOTER */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 20px 30px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-pane {
    max-width: 320px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}

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

.footer-links-pane h4, .footer-address-pane h4 {
    font-family: var(--font-header);
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--accent-secondary);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link-list a {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-link-list a:hover {
    color: var(--accent-primary);
}

.footer-text-muted {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-detail-row {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-divider {
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 20px;
}

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

.copyright-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    flex: 1;
}

.footer-legal-links {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legal-trigger-btn {
    background: none;
    border: none;
    color: var(--accent-secondary);
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0 4px;
    transition: color var(--transition-fast);
}

.legal-trigger-btn:hover {
    color: var(--accent-primary);
}

/* GLASS-RETRO MODAL (HIGH TECH DASHBOARD INTERFACE) */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.legal-modal.open {
    display: flex;
}

.legal-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 12, 20, 0.85);
    backdrop-filter: blur(8px);
}

.legal-modal-container {
    position: relative;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    z-index: 2001;
    color: var(--text-primary);
    overflow: hidden;
    box-shadow: var(--box-shadow-retro);
}

.legal-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.legal-modal-close:hover {
    background: var(--accent-alert);
    color: #ffffff;
    border-color: var(--accent-alert);
}

.legal-modal-tabs {
    display: flex;
    background: var(--bg-surface);
    padding: 12px 16px 0 16px;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.legal-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    transition: var(--transition-fast);
}

.legal-tab-btn:hover, .legal-tab-btn.active {
    background: var(--bg-secondary);
    color: var(--accent-primary);
}

.legal-modal-content {
    padding: 24px;
    overflow-y: auto;
    background: var(--bg-secondary);
}

.legal-tab-pane {
    display: none;
}

.legal-tab-pane.active {
    display: block;
}

.legal-tab-pane h3 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.legal-tab-pane .last-updated {
    font-size: 0.8rem;
    color: var(--accent-secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-tab-pane p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.legal-tab-pane h4 {
    font-family: var(--font-header);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}

.legal-tab-pane ul {
    margin-bottom: 15px;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.legal-tab-pane li {
    margin-bottom: 6px;
}

.legal-address {
    font-style: normal;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* CYBER SECURITY-PROMPT COOKIE CONSENT BANNER */
.retro-cookie-banner {
    position: fixed;
    bottom: -400px;
    right: 20px;
    width: 440px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.retro-cookie-banner.visible {
    bottom: 20px;
}

.cookie-banner-titlebar {
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.titlebar-text {
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.titlebar-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
}

.titlebar-close:hover {
    color: var(--accent-alert);
}

.cookie-banner-body {
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.cookie-banner-icon {
    flex-shrink: 0;
}

.cookie-icon-gif {
    width: 32px;
    height: 32px;
    border: none !important;
    filter: drop-shadow(0 0 4px var(--accent-primary));
}

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

.cookie-alert-heading {
    font-family: var(--font-header);
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.cookie-banner-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 15px 20px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.cookie-banner-actions button {
    font-family: var(--font-header);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.cookie-banner-actions button:hover {
    background: var(--bg-surface-alt);
    border-color: var(--accent-secondary);
}

.cookie-banner-actions .retro-btn-accept {
    background: var(--accent-primary) !important;
    border-color: var(--accent-primary) !important;
    color: var(--bg-primary) !important;
}

.cookie-banner-actions .retro-btn-accept:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
}

.cookie-banner-actions .retro-btn-decline {
    background: var(--accent-alert) !important;
    border-color: var(--accent-alert) !important;
    color: #ffffff !important;
}

.cookie-banner-actions .retro-btn-decline:hover {
    background: #ff557f !important;
}

/* RESPONSIVENESS BREAKPOINTS */

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
    }
    .hero-stadium-img {
        height: 260px;
    }
    .hosts-layout {
        grid-template-columns: 1fr;
    }
    .guide-intro-flex {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2rem;
    }
    .mobile-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 56px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 56px);
        background-color: var(--bg-secondary);
        flex-direction: column;
        align-items: stretch;
        padding: 30px;
        transition: var(--transition-smooth);
        z-index: 999;
        overflow-y: auto;
        border-right: 1px solid var(--border-color);
        gap: 10px;
    }
    .nav-menu.open {
        left: 0;
    }
    .preview-comparison-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .vs-circle {
        margin: 0 auto;
    }
    .preview-text-block {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .brand-sub {
        display: none;
    }
    .retro-cookie-banner {
        width: calc(100% - 30px);
        left: 15px;
        right: 15px;
    }
}