/* ROOT VARIABLES & COLOR PALETTE - GLOSSY TRANSPARENT IN ORANGE & GREEN */
:root {
    --primary-bg: #07120a; /* Deep Cyberpunk Forest Green Black */
    --window-bg: rgba(20, 35, 25, 0.65); /* Translucent Green Glass */
    --window-bg-orange: rgba(45, 20, 10, 0.65); /* Translucent Orange Glass */
    
    --window-dark: rgba(0, 255, 136, 0.3); /* Glowing Green Outline */
    --window-light: rgba(255, 109, 0, 0.4); /* Glowing Orange Outline */
    --window-deep-shadow: rgba(0, 0, 0, 0.7);
    --window-bright-accent: rgba(0, 255, 136, 0.8);
    
    --text-primary: #f0fbf5; /* Bright Minty Silver */
    --text-muted: #a5d6a7; /* Soft Green */
    
    --link-blue: #ff7300; /* Neon Orange */
    --link-visited: #ffa726; /* Soft Orange */
    --link-hover: #00ff87; /* Neon Green */
    
    --title-navy-start: #ff5722;
    --title-navy-end: #4caf50;
    
    --neon-green: #00ff87;
    --neon-orange: #ff7300;
    
    --font-heading: "Arial Black", Impact, Haettenschweiler, sans-serif;
    --font-body: "MS Sans Serif", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --font-mono: "Courier New", Courier, monospace;
    
    --header-height: 40px;
    --max-width: 1024px;
}

/* CUSTOM SCROLLBAR FOR GLOSSY THEME */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #07120a;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--neon-orange), var(--neon-green));
    border: 1px solid #000;
}

/* RESET & BASE STYLES - PRESERVING RETRO STRUCTURE WITH MODERN GLOSS GLOW */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0px !important; /* Preserving classic non-negotiable sharp-edge design */
}

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

body {
    background-color: var(--primary-bg);
    background-image: 
        radial-gradient(at 10% 20%, rgba(255, 109, 0, 0.15) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(0, 230, 118, 0.15) 0px, transparent 50%),
        linear-gradient(rgba(18, 18, 18, 0.4) 50%, rgba(0, 0, 0, 0.85) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.4;
    overflow-x: hidden;
    padding-bottom: 40px;
}

/* GLOSSY TRANSPARENT BEVELS */
.bevel-outset {
    border: 2px solid;
    border-color: rgba(255, 255, 255, 0.2) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bevel-inset {
    border: 2px solid;
    border-color: rgba(0, 0, 0, 0.4) rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.2) rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* HYPERLINKS - GLOSSY HIGHLIGHTS */
a {
    color: var(--neon-orange);
    text-decoration: underline;
    transition: all 0.2s ease;
}

a:visited {
    color: var(--link-visited);
}

a:hover {
    color: var(--neon-green);
    text-shadow: 0 0 8px rgba(0, 255, 135, 0.6);
}

/* BUTTONS - TACTILE GLOSSY GREEN/ORANGE OPTIONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(0, 255, 135, 0.2) 0%, rgba(0, 100, 50, 0.5) 100%);
    color: #ffffff;
    text-decoration: none !important;
    border: 2px solid var(--neon-green);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 15px rgba(0, 255, 135, 0.15);
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.2s ease;
}

.btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 135, 0.4) 0%, rgba(0, 100, 50, 0.6) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 20px rgba(0, 255, 135, 0.35);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 115, 0, 0.35) 0%, rgba(150, 50, 0, 0.6) 100%);
    border-color: var(--neon-orange);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 15px rgba(255, 115, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 115, 0, 0.5) 0%, rgba(150, 50, 0, 0.7) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 20px rgba(255, 115, 0, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 15px rgba(255, 255, 255, 0.1);
}

.btn-sm {
    padding: 3px 8px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 10px 24px;
    font-size: 1.1rem;
}

/* WINDOW APPLICATION CHASSIS - GLOSSY AND TRANSPARENT ALTERNATING SYSTEM */
.win95-window {
    background: linear-gradient(135deg, rgba(20, 35, 25, 0.75) 0%, rgba(10, 18, 14, 0.9) 100%);
    backdrop-filter: blur(15px) saturate(160%);
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    border: 2px solid rgba(0, 255, 135, 0.35);
    box-shadow: 
        inset 1px 1px 0 rgba(255, 255, 255, 0.15),
        0 8px 32px 0 rgba(0, 0, 0, 0.5);
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease;
}

/* Alternate Windows get the Premium Glowing Orange Theme */
.win95-window:nth-of-type(even) {
    background: linear-gradient(135deg, rgba(40, 20, 10, 0.7) 0%, rgba(20, 10, 5, 0.9) 100%);
    border-color: rgba(255, 115, 0, 0.35);
}

.win95-title-bar {
    background: linear-gradient(to right, var(--neon-green), rgba(0, 100, 50, 0.8));
    color: #ffffff;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-weight: bold;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.win95-window:nth-of-type(even) .win95-title-bar {
    background: linear-gradient(to right, var(--neon-orange), rgba(150, 40, 0, 0.85));
}

.win95-title-text {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.win95-title-controls {
    display: flex;
    gap: 2px;
}

.win95-btn-control {
    width: 18px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
}

.win95-btn-control:hover {
    background: rgba(255, 255, 255, 0.3);
}

.win95-body {
    padding: 20px;
}

/* WINDOW PANEL MENU STRIP */
.win95-menu-strip {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.15);
}

.win95-menu-item {
    cursor: pointer;
    color: var(--text-muted);
}

.win95-menu-item:hover {
    color: var(--neon-green);
}

.win95-menu-item span {
    text-decoration: underline;
}

/* GLOSSY SCROLL MARQUEE */
.marquee-container {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--neon-green);
    font-family: var(--font-mono);
    padding: 8px 0;
    overflow: hidden;
    border-top: 2px solid var(--neon-orange);
    border-bottom: 2px solid var(--neon-green);
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-scroll 25s linear infinite;
    padding-left: 100%;
}

@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.marquee-content span {
    font-weight: bold;
    margin-right: 2rem;
    text-shadow: 0 0 6px rgba(0, 255, 135, 0.5);
}

/* GLOSSY DUAL GROW SCAN ANIMATION */
@keyframes glossy-glow {
    0% { color: var(--neon-orange); text-shadow: 0 0 10px rgba(255, 109, 0, 0.6); }
    50% { color: var(--neon-green); text-shadow: 0 0 10px rgba(0, 255, 135, 0.6); }
    100% { color: var(--neon-orange); text-shadow: 0 0 10px rgba(255, 109, 0, 0.6); }
}

.text-gradient {
    animation: glossy-glow 4s infinite ease-in-out;
    font-family: var(--font-heading);
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

/* RETRO BLINK BADGE */
@keyframes blink {
    50% { opacity: 0; }
}

.blink-badge {
    animation: blink 1.2s step-start infinite;
    background-color: var(--neon-orange);
    color: #000000;
    font-family: var(--font-mono);
    font-weight: bold;
    padding: 2px 6px;
    font-size: 0.8rem;
    border: 1px solid #ffffff;
    display: inline-block;
    vertical-align: middle;
}

/* GLOSSY NEON HIT COUNTER */
.hit-counter {
    background-color: #000000;
    color: var(--neon-green);
    text-shadow: 0 0 6px var(--neon-green);
    font-family: var(--font-mono);
    font-size: 1.2rem;
    padding: 4px 12px;
    display: inline-flex;
    letter-spacing: 4px;
    border: 1px solid var(--neon-green);
    box-shadow: inset 0 0 10px rgba(0, 255, 135, 0.4);
    margin: 8px 0;
}

/* CONSTRUCTION STRIPES BAR IN GLOSSY STYLE */
.bg-construction {
    background: repeating-linear-gradient(
        45deg,
        var(--neon-orange),
        var(--neon-orange) 12px,
        #07120a 12px,
        #07120a 24px,
        var(--neon-green) 24px,
        var(--neon-green) 36px,
        #07120a 36px,
        #07120a 48px
    );
    height: 16px;
    border-top: 1px solid var(--neon-orange);
    border-bottom: 1px solid var(--neon-green);
    width: 100%;
    margin: 16px 0;
    opacity: 0.7;
}

/* ETCHED GROOVE HR */
.hr-groove {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--neon-orange), var(--neon-green), transparent);
    margin: 24px 0;
}

/* UTILITIES */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 12px;
}

.font-bold {
    font-weight: bold;
}

.text-right {
    text-align: right;
}

/* HEADER STYLE - TASKBAR STYLE AT TOP (GLOSSY) */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(10, 20, 15, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--neon-orange);
    z-index: 100;
    padding: 8px 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

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

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-accent {
    color: var(--neon-orange);
    text-shadow: 0 0 8px rgba(255, 115, 0, 0.5);
}

.start-btn {
    background: linear-gradient(135deg, rgba(255, 115, 0, 0.25) 0%, rgba(0, 255, 135, 0.25) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
}

.start-btn:active {
    transform: translateY(1px);
}

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

.nav-link {
    font-size: 0.85rem;
    font-weight: bold;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 4px 10px;
    border: 1px solid transparent;
    background-color: transparent;
    transition: all 0.2s ease;
}

.nav-link:hover {
    border-color: var(--neon-green);
    background-color: rgba(0, 255, 135, 0.1);
    color: var(--neon-green) !important;
}

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

/* MOBILE NAV OVERLAY */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.mobile-nav-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(8, 16, 12, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 95;
    display: none;
    border-top: 2px solid var(--neon-orange);
    padding: 16px;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: bold;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-nav-link:hover {
    border-color: var(--neon-green);
    color: var(--neon-green) !important;
}

/* HERO SECTION */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.pulse-icon {
    width: 10px;
    height: 10px;
    background-color: var(--neon-orange);
    box-shadow: 0 0 8px var(--neon-orange);
    animation: blink 0.8s step-start infinite;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subheading {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-actions-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* LEGAL PAGES */
.legal-page {
    padding: 32px 0;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 24px;
}

.legal-page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #ffffff;
}

.legal-meta {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legal-content {
    background-color: rgba(10, 15, 12, 0.8);
    border: 1px solid rgba(0, 255, 135, 0.2);
    padding: 24px;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 24px 0 12px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--neon-orange);
    color: #ffffff;
    padding-bottom: 4px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-content ul {
    margin: 12px 0 16px 24px;
    list-style-type: square;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.back-btn-wrapper {
    margin-bottom: 16px;
}

/* SECTION GLOBAL HEADERS */
.section-header-compact, .section-header-centered {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;
}

.section-subtitle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--neon-orange);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.section-title, .section-title-compact {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.section-description, .section-desc-compact {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* TITLE RACE GRID */
.title-race-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.race-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 135, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.race-card:hover {
    border-color: var(--neon-orange);
    box-shadow: 0 6px 20px rgba(255, 115, 0, 0.15);
    transform: translateY(-2px);
}

.race-rank-badge {
    background-color: var(--neon-orange);
    color: #000000;
    font-weight: bold;
    font-family: var(--font-mono);
    padding: 2px 8px;
    float: right;
    box-shadow: 0 0 5px var(--neon-orange);
}

.race-team-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.race-team-flag {
    width: 32px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    display: inline-block;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

.race-team-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
}

.race-meta {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.race-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.race-stat-col {
    padding: 4px;
    text-align: center;
}

.race-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    display: block;
    color: var(--text-muted);
}

.race-stat-val {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: bold;
}

.text-accent {
    color: var(--neon-orange);
}

.text-secondary {
    color: var(--neon-green);
}

/* TOP 10 MATCHES GRID */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.preview-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 135, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.preview-card:hover {
    border-color: var(--neon-orange);
    box-shadow: 0 6px 20px rgba(255, 115, 0, 0.15);
    transform: translateY(-2px);
}

.card-header {
    background-color: rgba(255, 115, 0, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.group-pill {
    background-color: var(--neon-orange);
    color: #000000;
    padding: 2px 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 0 5px var(--neon-orange);
}

.match-edge {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--neon-green);
}

.card-vs-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.3);
}

.vs-team {
    width: 42%;
}

.vs-team .team-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    display: block;
    line-height: 1.1;
    color: #ffffff;
}

.vs-team .team-meta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.vs-divider {
    width: 16%;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neon-orange);
}

.card-body {
    padding: 12px;
    flex-grow: 1;
}

.card-text {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.progress-bar-container {
    margin-top: 8px;
}

.progress-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    margin-bottom: 2px;
    color: var(--text-muted);
}

.progress-track {
    height: 12px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--neon-orange), var(--neon-green));
}

.card-footer {
    padding: 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.15);
    text-align: right;
}

/* EXPANDED MATCHES INTEL */
.expanded-matches-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.expanded-match-block {
    background: linear-gradient(135deg, rgba(15, 25, 20, 0.8) 0%, rgba(5, 10, 8, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(0, 255, 135, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.emb-header {
    background: linear-gradient(to right, rgba(0, 100, 50, 0.8), rgba(150, 40, 0, 0.85));
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.emb-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.emb-group {
    background-color: var(--neon-orange);
    color: #000000;
    font-family: var(--font-mono);
    padding: 2px 6px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 0 5px var(--neon-orange);
}

.emb-headline {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-transform: uppercase;
}

.emb-favorite-badge {
    background-color: var(--neon-green);
    color: #000000;
    border: 1px solid #000000;
    padding: 2px 6px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 0 5px var(--neon-green);
}

.emb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.emb-stats-panel {
    padding: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.35);
}

.emb-panel-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #ffffff;
    border-bottom: 2px solid var(--neon-orange);
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.comparison-row.header {
    border-bottom: 2px solid var(--neon-green);
    font-weight: bold;
    font-family: var(--font-mono);
    color: #ffffff;
}

.emb-analysis-panel {
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.02);
}

.analysis-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.analysis-lead {
    font-weight: bold;
    font-size: 1rem;
    color: var(--neon-green);
}

.analysis-body {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* GROUP RACE SNAPSHOT */
.group-snapshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.group-snapshot-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 135, 0.15);
    padding: 12px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.gsc-header {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    border-bottom: 2px solid var(--neon-orange);
    padding-bottom: 4px;
    margin-bottom: 6px;
    color: #ffffff;
}

.gsc-match-label {
    font-size: 0.75rem;
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.gsc-team-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.gsc-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.gsc-badge.favorite {
    font-weight: bold;
    color: var(--neon-green);
}

/* HOST NATIONS WATCH */
.hosts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.host-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 135, 0.15);
    padding: 16px;
}

.host-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.host-flag {
    width: 48px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.4) !important;
    position: relative;
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.flag-usa {
    background: linear-gradient(to bottom, #bd3d44 15%, #ffffff 15%, #ffffff 30%, #bd3d44 30%, #bd3d44 45%, #ffffff 45%, #ffffff 60%, #bd3d44 60%, #bd3d44 75%, #ffffff 75%, #ffffff 90%, #bd3d44 90%);
}
.flag-canada {
    background: linear-gradient(to right, #d80621 25%, #ffffff 25%, #ffffff 75%, #d80621 75%);
}
.flag-mexico {
    background: linear-gradient(to right, #006847 33%, #ffffff 33%, #ffffff 66%, #c8102e 66%);
}

.host-identity {
    display: flex;
    flex-direction: column;
}

.host-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #ffffff;
}

.host-rank {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.host-details {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
}

.host-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* TOURNAMENT GUIDE */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.guide-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 135, 0.15);
    padding: 16px;
}

.guide-icon-box {
    margin-bottom: 12px;
}

.guide-svg {
    stroke: var(--neon-green);
    filter: drop-shadow(0 0 4px var(--neon-green));
}

.guide-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #ffffff;
}

.guide-text {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* FAQ SECTION */
.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid rgba(0, 255, 135, 0.2);
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-trigger {
    width: 100%;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 1rem;
    text-align: left;
    color: #ffffff;
    cursor: pointer;
    border: none;
}

.faq-trigger:hover {
    background-color: rgba(0, 255, 135, 0.05);
    color: var(--neon-green);
}

.faq-icon-plus {
    width: 12px;
    height: 12px;
    position: relative;
}

.faq-icon-plus::before, .faq-icon-plus::after {
    content: '';
    position: absolute;
    background-color: var(--neon-orange);
}

.faq-icon-plus::before {
    top: 5px; left: 0; width: 12px; height: 2px;
}

.faq-icon-plus::after {
    top: 0; left: 5px; width: 2px; height: 12px;
}

.faq-trigger[aria-expanded="true"] .faq-icon-plus::after {
    display: none;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: rgba(0, 0, 0, 0.35);
}

.faq-content p {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* FOOTER - MODERN GLOSSY CYBER-GRID & BUTTON LINKS */
.main-footer {
    background: rgba(8, 15, 11, 0.95);
    border-top: 2px solid var(--neon-orange);
    padding: 32px 0;
    margin-top: 48px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* IMPROVED FOOTER ACTION BUTTONS */
.footer-links {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    display: block;
    text-align: left;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(255, 115, 0, 0.12) 0%, rgba(0, 255, 135, 0.03) 100%);
    border-left: 3px solid var(--neon-orange);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-links a:hover {
    border-left-color: var(--neon-green);
    background: linear-gradient(135deg, rgba(0, 255, 135, 0.2) 0%, rgba(255, 115, 0, 0.05) 100%);
    color: var(--neon-green) !important;
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 255, 135, 0.2);
    text-shadow: 0 0 6px rgba(0, 255, 135, 0.5);
}

.footer-links a:active {
    transform: translateX(2px) translateY(1px);
    box-shadow: none;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 24px;
}

.footer-desc {
    color: var(--text-muted);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 6px;
}

.footer-middle {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    margin-bottom: 16px;
}

.info-note {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.address-wrapper {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.address-value {
    color: #ffffff;
}

.copyright-bar {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* RESPONSIVE LAYOUT adjustments */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .emb-grid {
        grid-template-columns: 1fr;
    }
    .emb-stats-panel {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
}