/* ROOT VARIABLES & RESET */
:root {
    --bg-primary: #0A0A0A;
    --bg-secondary: #050505;
    --card-bg: rgba(26, 26, 26, 0.45);
    --surface-alt: rgba(40, 40, 40, 0.4);
    --accent-primary: #00FF88;
    --accent-secondary: #00E577;
    --accent-tertiary: #FFFFFF;
    --accent-alert: #FF3B30;
    --border-color: rgba(0, 255, 136, 0.15);
    --border-color-heavy: rgba(0, 255, 136, 0.35);
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #777777;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* GLOBAL HEADER STYLE - OPTIMIZED, SLIM & PROFESSIONAL */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color-heavy);
    transition: var(--transition-fast);
}

.site-header.scrolled {
    background-color: #0A0A0A;
    box-shadow: 0 2px 20px rgba(0, 255, 136, 0.15);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 30px; /* Slimmer Padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    font-family: var(--font-mono);
    font-size: 17px; /* Scaled down logo text */
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px; /* Slightly reduced gap */
    color: var(--text-primary);
    flex-shrink: 0;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
}

.brand-icon svg {
    display: block;
}

.brand-accent {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

.nav-menu {
    display: flex;
    gap: 16px; /* Optimized spacing for slim header */
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 11px; /* Slightly refined text size to fit cleanly */
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.8px;
    transition: var(--transition-fast);
    padding: 4px 6px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-primary);
    transition: var(--transition-fast);
    box-shadow: 0 0 8px var(--accent-primary);
}

.nav-link:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cta-button-header {
    background-color: transparent;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 12px; /* Slimmer text */
    text-transform: uppercase;
    padding: 7px 15px; /* Compact padding */
    border-radius: 0;
    letter-spacing: 0.8px;
    transition: var(--transition-fast);
    border: 1px solid var(--accent-primary);
    box-shadow: inset 0 0 8px rgba(0, 255, 136, 0.1);
    clip-path: polygon(0 0, 93% 0, 100% 30%, 100% 100%, 7% 100%, 0 70%);
}

.cta-button-header:hover {
    background-color: var(--accent-primary);
    color: #0A0A0A;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
    text-shadow: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--accent-primary);
    transition: var(--transition-fast);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 140px 40px 80px 40px; /* Shifted up due to slim header */
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(26, 26, 26, 0.8) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color-heavy);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.terminal-grid-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 18, 18, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(0, 255, 136, 0.02), rgba(0, 0, 0, 0.02));
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
}

.hero-container {
    max-width: 1000px;
    z-index: 2;
    width: 100%;
}

.app-store-today-card {
    background: rgba(18, 18, 18, 0.7);
    border: 1px solid var(--border-color-heavy);
    padding: 48px 40px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 255, 136, 0.05);
    backdrop-filter: blur(12px);
    position: relative;
}

.app-store-today-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    box-shadow: 0 0 10px var(--accent-primary);
}

.card-editorial-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.matrix-blink {
    animation: matrixFlash 1s infinite alternate;
}

@keyframes matrixFlash {
    0% { opacity: 0.2; }
    100% { opacity: 1; text-shadow: 0 0 8px var(--accent-primary); }
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-badge, .hero-badge-alt {
    font-family: var(--font-mono);
    background-color: rgba(0, 255, 136, 0.08);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-badge-alt {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* LIVE DATE BADGE */
.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-primary);
    border-radius: 0;
    box-shadow: 0 0 8px var(--accent-primary);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(0, 255, 136, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

.date-badge-text {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.hero-headline .highlight {
    color: var(--accent-primary);
    display: inline-block;
    position: relative;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.35);
}

.hero-subheading {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-btn-primary {
    background-color: var(--accent-primary);
    color: #0A0A0A;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 0;
    letter-spacing: 1.5px;
    transition: var(--transition-fast);
    border: 1.5px solid var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    clip-path: polygon(0 0, 95% 0, 100% 25%, 100% 100%, 5% 100%, 0 75%);
}

.hero-btn-primary:hover {
    background-color: transparent;
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
}

.hero-btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 0;
    letter-spacing: 1.5px;
    transition: var(--transition-fast);
    border: 1.5px solid var(--border-color-heavy);
    clip-path: polygon(0 0, 95% 0, 100% 25%, 100% 100%, 5% 100%, 0 75%);
}

.hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.editorial-footer-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.footer-stat-pill {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-stat-pill strong {
    color: var(--accent-primary);
    margin-left: 6px;
}

/* TITLE RACE STRIP */
.title-race-section {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-bottom: 1px solid var(--border-color-heavy);
    position: relative;
    z-index: 10;
}

.section-header-compact {
    max-width: 1440px;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-header-compact h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.section-header-compact p {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.compact-supertitle {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-primary);
    letter-spacing: 1.5px;
    display: block;
}

.line-accent {
    width: 2px;
    height: 32px;
    background-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.title-strip-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.title-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 16px;
    position: relative;
    transition: var(--transition-normal);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.title-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--accent-primary);
    opacity: 0;
    transition: var(--transition-fast);
    box-shadow: 0 0 10px var(--accent-primary);
}

.title-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: inset 0 0 15px rgba(0, 255, 136, 0.05), 0 4px 20px rgba(0, 255, 136, 0.15);
}

.title-card:hover::before {
    opacity: 1;
}

.card-badge-trend {
    font-family: var(--font-mono);
    font-size: 11px;
    margin-bottom: 12px;
}

.card-badge-trend.text-green {
    color: var(--accent-primary);
}

.card-icon-avatar {
    font-family: var(--font-mono);
    width: 36px;
    height: 36px;
    background: var(--surface-alt);
    border: 1px solid var(--border-color);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    box-shadow: inset 0 0 10px rgba(0, 255, 136, 0.05);
}

.card-rank {
    font-family: var(--font-mono);
    font-size: 28px;
    font-weight: 700;
    color: rgba(0, 255, 136, 0.04);
    position: absolute;
    right: 12px;
    top: 8px;
    line-height: 1;
    transition: var(--transition-fast);
}

.title-card:hover .card-rank {
    color: rgba(0, 255, 136, 0.12);
}

.card-flag-row {
    margin-bottom: 12px;
}

.card-country {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    display: block;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.card-group-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

.card-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* MATCHUPS GRID */
.matchups-grid-section {
    padding: 84px 40px;
    max-width: 1440px;
    margin: 0 auto;
}

.section-container {
    width: 100%;
}

.section-header {
    margin-bottom: 48px;
}

.section-tagline {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 600px;
}

.matchups-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.matchup-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 24px;
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
}

.matchup-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(0, 255, 136, 0.05);
}

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

.group-pill {
    background-color: var(--surface-alt);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.edge-indicator {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-vs-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.team-block {
    flex: 1;
}

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

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

.team-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    letter-spacing: 0.5px;
}

.team-meta-inline {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}

.vs-badge {
    background-color: transparent;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border: 1px solid var(--accent-primary);
    margin: 0 16px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.match-short-summary {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.match-stats-minimal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background-color: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(0, 255, 136, 0.1);
    padding: 12px;
    border-radius: 0;
    margin-bottom: 20px;
}

.stat-mini {
    display: flex;
    flex-direction: column;
}

.stat-mini .label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-mini .val {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
}

.text-green-glow {
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.apple-btn-get {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    transition: var(--transition-fast);
    border: 1px solid var(--border-color-heavy);
    padding: 8px 16px;
    box-shadow: inset 0 0 5px rgba(0, 255, 136, 0.05);
}

.apple-btn-get:hover {
    color: #0A0A0A;
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

/* EXPANDED PREVIEWS */
.expanded-previews-section {
    background-color: var(--bg-secondary);
    padding: 84px 40px;
    border-top: 1px solid var(--border-color-heavy);
    border-bottom: 1px solid var(--border-color-heavy);
}

.preview-block {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 32px;
    margin-bottom: 40px;
    scroll-margin-top: 100px;
    transition: var(--transition-normal);
    backdrop-filter: blur(8px);
}

.preview-block:hover {
    border-color: var(--accent-primary);
}

.preview-block:last-child {
    margin-bottom: 0;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.group-badge {
    background-color: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 12px;
    padding: 4px 12px;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.2);
}

.preview-header h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.comp-team-card {
    background-color: var(--surface-alt);
    border-radius: 0;
    padding: 20px;
    border: 1px solid transparent;
}

.comp-team-card.primary-edge {
    border-color: rgba(0, 255, 136, 0.3);
    background: linear-gradient(135deg, var(--surface-alt) 0%, rgba(0, 255, 136, 0.04) 100%);
}

.comp-rank {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 4px;
}

.comp-team-card h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edge-tag {
    background-color: var(--accent-primary);
    color: #0A0A0A;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 0;
    letter-spacing: 0.5px;
}

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

.cs-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 6px;
}

.cs-row span {
    color: var(--text-secondary);
}

.comp-versus-divider {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
    padding: 0 16px;
}

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

.content-col h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.content-col p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* GROUP RACE SNAPSHOT */
.group-race-section {
    padding: 84px 40px;
}

.group-snapshots-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.group-snapshot-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: var(--transition-normal);
}

.group-snapshot-card:hover {
    border-color: var(--accent-primary);
    box-shadow: inset 0 0 10px rgba(0, 255, 136, 0.05);
}

.group-card-title {
    background-color: var(--surface-alt);
    padding: 12px 16px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-primary);
}

.group-card-teams {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.team-prob-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-mono);
}

.group-card-footer {
    border-top: 1px solid var(--border-color);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(10, 10, 10, 0.4);
}

.footer-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.footer-val {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-primary);
}

/* HOST WATCH SECTION */
.host-watch-section {
    background-color: var(--bg-secondary);
    padding: 84px 40px;
    border-top: 1px solid var(--border-color-heavy);
    border-bottom: 1px solid var(--border-color-heavy);
}

.hosts-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.host-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 32px;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
    backdrop-filter: blur(8px);
}

.host-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.15);
}

.host-badge {
    background-color: rgba(0, 255, 136, 0.05);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 6px 20px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    border-radius: 0;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

.host-rank {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.host-group-tag {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.host-stats-list {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.host-stat-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 13px;
}

.host-stat-row span {
    color: var(--text-secondary);
}

/* GUIDE SECTION */
.guide-section {
    padding: 84px 40px;
}

.guide-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.guide-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 24px;
    backdrop-filter: blur(8px);
}

.guide-number {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.guide-item h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.guide-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ SECTION */
.faq-section {
    background-color: var(--bg-secondary);
    padding: 84px 40px;
    border-top: 1px solid var(--border-color-heavy);
}

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

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 400;
    color: var(--accent-primary);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FOOTER SECTION */
.site-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color-heavy);
}

.footer-top {
    padding: 84px 40px 48px 40px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
}

.footer-brand-col .footer-logo {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 13px;
    max-width: 360px;
    margin-bottom: 16px;
}

.last-updated-text {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-col h5,
.footer-address-col h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

.address-block-container {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.address-title {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.address-detail {
    margin-bottom: 4px;
}

.address-link-inline {
    color: var(--accent-primary);
    transition: var(--transition-fast);
}

.address-link-inline:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 32px 40px;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    transition: var(--transition-fast);
    cursor: pointer;
}

.footer-legal-links a:hover {
    color: var(--accent-primary);
}

/* INTERACTIVE LEGAL MODAL WINDOWS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background-color: #111111;
    border: 1px solid var(--border-color-heavy);
    border-radius: 0;
    max-width: 720px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(0, 255, 136, 0.05);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
    z-index: 10;
}

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

.modal-content {
    padding: 40px;
    overflow-y: auto;
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.modal-date {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-top: 24px;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.modal-content ul {
    margin-left: 20px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.modal-content li {
    margin-bottom: 8px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    border-top: 1px solid var(--accent-primary);
    padding: 24px 40px;
    z-index: 1500;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-text-block {
    flex: 1;
}

.cookie-title {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-link {
    color: var(--accent-primary);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: 0.5px;
}

.cookie-btn-accept {
    background-color: var(--accent-primary);
    color: #0A0A0A;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.cookie-btn-accept:hover {
    background-color: transparent;
    color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.cookie-btn-essential {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color-heavy);
}

.cookie-btn-essential:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* RESPONSIVE DESIGN BREAKPOINTS */

@media (max-width: 1200px) {
    .title-strip-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .group-snapshots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-address-col {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .matchups-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-content-box {
        grid-template-columns: 1fr;
    }

    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Spacing Overrides */
    .hero-section {
        padding: 120px 24px 64px 24px;
    }
    
    .title-race-section,
    .matchups-grid-section,
    .expanded-previews-section,
    .group-race-section,
    .host-watch-section,
    .guide-section,
    .faq-section,
    .footer-top {
        padding: 56px 24px;
    }
    
    .hero-headline {
        font-size: 38px;
    }
    
    .hero-subheading {
        font-size: 14px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 56px; /* Adjusted due to slim header */
        left: -100%;
        width: 100%;
        height: calc(100vh - 56px);
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        transition: var(--transition-normal);
        z-index: 999;
        border-top: 1px solid var(--border-color-heavy);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .cta-button-header {
        display: none;
    }
    
    .title-strip-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comp-versus-divider {
        text-align: center;
        padding: 12px 0;
    }
    
    .group-snapshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hosts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-address-col {
        grid-column: span 1;
    }
    
    .footer-bottom .footer-container {
        flex-direction: column-reverse;
        gap: 16px;
        text-align: center;
    }

    .modal-box {
        max-height: 90vh;
    }

    .modal-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 110px 16px 48px 16px;
    }
    
    .title-race-section,
    .matchups-grid-section,
    .expanded-previews-section,
    .group-race-section,
    .host-watch-section,
    .guide-section,
    .faq-section,
    .footer-top {
        padding: 32px 16px;
    }
    
    .hero-headline {
        font-size: 28px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .title-strip-container {
        grid-template-columns: 1fr;
    }
    
    .group-snapshots-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-block {
        padding: 16px;
    }

    .cookie-banner {
        padding: 20px 16px;
    }
}