:root {
    /* Color Palette */
    --bg-deep: #0B0B0C;
    --bg-surface: #121214;
    --bg-surface-elevated: #1A1A1E;
    --bg-surface-lux: #202026;
    
    --gold-primary: #C8A24A;
    --gold-light: #F1D483;
    --gold-dark: #AA7C11;
    --gold-gradient: linear-gradient(135deg, #AA7C11 0%, #C8A24A 50%, #F1D483 100%);
    --gold-glow: rgba(200, 162, 74, 0.15);
    --gold-border: rgba(200, 162, 74, 0.3);
    
    --bronze-primary: #CD7F32;
    --bronze-gradient: linear-gradient(135deg, #A0522D 0%, #CD7F32 50%, #E9967A 100%);
    --bronze-border: rgba(205, 127, 50, 0.3);

    --text-primary: #F4F4F6;
    --text-secondary: #A0A0A5;
    --text-muted: #6E6E73;
    --white: #FFFFFF;
    
    /* Layout & Styling Metrics */
    --container-max-width: 1280px;
    --header-height: 64px; /* Slimmer refined header */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* -------------------------------------------------------------------------- */
/* 1. RESET & BASE STYLES                                                     */
/* -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-deep);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-deep);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface-elevated);
    border: 2px solid var(--bg-deep);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* -------------------------------------------------------------------------- */
/* 2. REUSABLE COMPONENTS & UTILITIES                                        */
/* -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-light { color: var(--text-primary); }
.text-light-muted { color: var(--text-secondary); }
.text-gold {
    color: var(--gold-primary);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-sub {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layout Utility */
.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .grid-two-cols {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Metallic Badges */
.badge-gold {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    background: rgba(200, 162, 74, 0.1);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-bronze {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    background: rgba(205, 127, 50, 0.1);
    border: 1px solid var(--bronze-primary);
    color: var(--bronze-primary);
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* -------------------------------------------------------------------------- */
/* 3. PREMIUM SITE HEADER                                                     */
/* -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(11, 11, 12, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(200, 162, 74, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.brand-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.brand-logo .gold-accent {
    color: var(--gold-primary);
    font-weight: 400;
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        gap: 2rem;
        align-items: center;
    }
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-gradient);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--gold-light);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Premium Buttons */
.cta-button {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    display: inline-block;
}

.gold-btn-outline {
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    background: transparent;
}

.gold-btn-outline:hover {
    background: var(--gold-gradient);
    color: var(--bg-deep);
    border-color: transparent;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.gold-btn-filled {
    background: var(--gold-gradient);
    color: var(--bg-deep);
    border: 1px solid transparent;
}

.gold-btn-filled:hover {
    background: transparent;
    color: var(--gold-light);
    border-color: var(--gold-primary);
}

/* Burger Trigger */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    z-index: 1010;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

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

/* Active State for Mobile Toggle */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--gold-primary);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--gold-primary);
}

/* -------------------------------------------------------------------------- */
/* 4. MOBILE NAVIGATION DRAWER                                                */
/* -------------------------------------------------------------------------- */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--gold-border);
    z-index: 999;
    padding: 100px 2rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav-link:hover {
    color: var(--gold-primary);
    padding-left: 8px;
}

/* -------------------------------------------------------------------------- */
/* 5. 3D LUXURY HERO SECTION                                                  */
/* -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    background-color: var(--bg-deep);
    overflow: hidden;
}

/* WebGL / 3D Scene Simulation Styling */
.hero-3d-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Interactive Floating Elements */
.floating-object {
    position: absolute;
    border: 1px solid rgba(200, 162, 74, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.luxury-sphere-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, rgba(200, 162, 74, 0.15) 0%, rgba(11, 11, 12, 0.8) 70%);
    box-shadow: inset -10px -10px 30px rgba(0,0,0,0.8), 0 0 40px var(--gold-glow);
    top: 15%;
    left: -50px;
    animation: floatVertical 12s ease-in-out infinite alternate;
}

.luxury-torus-1 {
    width: 220px;
    height: 220px;
    border-width: 25px;
    border-color: rgba(200, 162, 74, 0.08);
    top: 55%;
    right: -30px;
    animation: rotate3D 20s linear infinite;
}

.luxury-cube-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(200,162,74,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(200, 162, 74, 0.2);
    top: 25%;
    right: 15%;
    transform: rotate(45deg);
    animation: floatHorizontal 8s ease-in-out infinite alternate;
}

.luxury-pyramid-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(200, 162, 74, 0.05);
    position: absolute;
    bottom: 20%;
    left: 15%;
    animation: rotate3D 25s linear infinite;
}

.floating-light-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gold-primary);
    filter: blur(8px);
    opacity: 0.3;
}

.particle-1 { width: 120px; height: 120px; top: 10%; right: 30%; background: var(--gold-primary); filter: blur(100px); }
.particle-2 { width: 180px; height: 180px; bottom: 10%; left: 20%; background: var(--gold-dark); filter: blur(120px); }
.particle-3 { width: 80px; height: 80px; top: 45%; left: 50%; background: var(--gold-light); filter: blur(70px); }

/* Animation Keyframes */
@keyframes floatVertical {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-30px) rotate(15deg); }
}

@keyframes floatHorizontal {
    0% { transform: translateX(0px) rotate(45deg); }
    100% { transform: translateX(40px) rotate(85deg); }
}

@keyframes rotate3D {
    0% { transform: rotate(0deg) rotateY(0deg); }
    100% { transform: rotate(360deg) rotateY(360deg); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 3rem 0;
}

.hero-badge {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-primary);
    background: rgba(200, 162, 74, 0.06);
    border: 1px solid var(--gold-border);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-actions-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 576px) {
    .hero-actions-group {
        flex-direction: row;
    }
}

.btn-premium {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1.1rem 2.2rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-solid-gold {
    background: var(--gold-gradient);
    color: var(--bg-deep);
    border: 1px solid transparent;
}

.btn-solid-gold:hover {
    box-shadow: 0 8px 25px var(--gold-glow);
    transform: translateY(-2px);
    background: var(--gold-light);
}

.btn-outline-ivory {
    border: 1px solid rgba(244, 244, 246, 0.3);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline-ivory:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
    background: rgba(200, 162, 74, 0.05);
}

.hero-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-deep) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* 6. MATCH INDEX GRID SECTION                                               */
/* -------------------------------------------------------------------------- */
.section-match-index {
    padding: 8rem 0;
    background-color: var(--bg-deep);
}

.match-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .match-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .match-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Match Card Structure */
.match-index-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    overflow: hidden;
}

.match-index-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.match-index-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.match-index-card:hover::before {
    opacity: 1;
}

.card-group-badge {
    align-self: flex-start;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.card-teams {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

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

.team-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.team-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.vs-divider {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vs-divider::before, .vs-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
}

.card-footer-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    margin-top: auto;
}

.stat-highlight {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
}

.view-link {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.match-index-card:hover .view-link {
    color: var(--gold-primary);
    transform: translateX(4px);
}

/* -------------------------------------------------------------------------- */
/* 7. TITLE CONTENDER RACE CONTEXT                                             */
/* -------------------------------------------------------------------------- */
.section-title-context {
    padding: 8rem 0;
    background-color: var(--bg-surface);
    border-top: 1px solid rgba(200, 162, 74, 0.1);
    border-bottom: 1px solid rgba(200, 162, 74, 0.1);
}

/* Abstract Architectural Card Visual */
.context-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-abstract-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--gold-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    width: 100%;
    max-width: 440px;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.abstract-ring {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px dashed rgba(200, 162, 74, 0.15);
    animation: rotate3D 30s linear infinite;
}

.abstract-sphere {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,162,74,0.08) 0%, transparent 70%);
}

.abstract-tag {
    align-self: flex-start;
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.floating-abstract-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    z-index: 2;
}

.abstract-meta {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    z-index: 2;
}

/* Favorites Leaderboard List */
.context-data-col {
    display: flex;
    flex-direction: column;
}

.favorites-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.favorite-item {
    background-color: var(--bg-deep);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--border-radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.favorite-item:hover {
    border-color: rgba(200, 162, 74, 0.25);
    transform: translateX(5px);
}

.fav-rank {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-primary);
    width: 40px;
}

.fav-details {
    flex: 1;
    margin-left: 0.5rem;
}

.fav-country {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.fav-group {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fav-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/* 8. EXPANDED PREVIEWS (DEEP DIVE EDITORIAL)                                 */
/* -------------------------------------------------------------------------- */
.section-expanded-previews {
    padding: 8rem 0;
}

.previews-list {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.preview-block {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    position: relative;
}

.preview-block::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(200,162,74,0.2), transparent);
}

.preview-header {
    margin-bottom: 2rem;
}

.preview-meta {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.preview-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
}

/* Comparison Segment Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .comparison-grid {
        grid-template-columns: 1fr auto 1fr;
    }
}

.comp-team-card {
    background-color: var(--bg-surface-elevated);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.75rem;
}

.comp-team-card .team-name {
    font-size: 1.25rem;
}

.team-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.comp-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.comp-stat .lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comp-stat .val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-light);
}

.vs-badge {
    justify-self: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-deep);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gold-primary);
}

.editorial-body {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
}

/* -------------------------------------------------------------------------- */
/* 9. GROUP RACE CONTEXT (PROGRESS SHARDS)                                     */
/* -------------------------------------------------------------------------- */
.section-group-race {
    padding: 8rem 0;
    background-color: var(--bg-deep);
}

.group-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .group-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .group-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.group-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
}

.group-header {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold-primary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.group-parties {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.party-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.party-row span:first-child {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Visual Bar Renderer */
.pct-bar {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.pct-bar::after {
    content: '';
    display: block;
    height: 4px;
    width: var(--val);
    background: var(--gold-gradient);
    border-radius: 2px;
    margin-top: 0.5rem;
}

.party-row.challenger .pct-bar::after {
    background: var(--text-secondary);
}

/* -------------------------------------------------------------------------- */
/* 10. HOST NATIONS WATCH SECTION                                             */
/* -------------------------------------------------------------------------- */
.section-host-watch {
    padding: 8rem 0;
    background-color: var(--bg-surface);
}

.host-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .host-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.host-card {
    background-color: var(--bg-deep);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.host-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
}

.host-badge {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.host-rank {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.host-group-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.host-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
}

.host-stat-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.host-stat-box .lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.host-stat-box .val {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-light);
}

/* -------------------------------------------------------------------------- */
/* 11. METHODOLOGY & GUIDE                                                   */
/* -------------------------------------------------------------------------- */
.section-guide-method {
    padding: 8rem 0;
    background-color: var(--bg-deep);
    border-top: 1px solid rgba(255,255,255,0.03);
}

.guide-content-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guide-block h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
}

.guide-block p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* -------------------------------------------------------------------------- */
/* 12. FAQ ACCORDION                                                         */
/* -------------------------------------------------------------------------- */
.section-faq {
    padding: 8rem 0;
    background-color: var(--bg-surface);
}

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

.faq-item {
    background-color: var(--bg-deep);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-trigger:hover {
    color: var(--gold-primary);
}

.faq-trigger .arrow {
    font-size: 0.85rem;
    color: var(--gold-primary);
    transition: var(--transition-smooth);
}

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

.faq-content p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Active class dynamically attached via JS */
.faq-item.active .faq-trigger .arrow {
    transform: rotate(180deg);
}

.faq-item.active .faq-content {
    max-height: 300px;
}

/* -------------------------------------------------------------------------- */
/* 13. PREMIUM SITE FOOTER                                                   */
/* -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--bg-deep);
    border-top: 1px solid rgba(200, 162, 74, 0.15);
    padding: 5rem 0 2rem;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-top-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand-col .footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 420px;
}

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

.footer-address .address-tag {
    font-family: var(--font-display);
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-address .business-id {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.footer-links-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-list a, 
.footer-links-list button {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: left;
}

.footer-links-list a:hover, 
.footer-links-list button:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* -------------------------------------------------------------------------- */
/* 14. STANDALONE LEGAL CONTAINER (FOR DEDICATED PAGES)                       */
/* -------------------------------------------------------------------------- */
.legal-main {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    min-height: 80vh;
}

.legal-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

@media (min-width: 768px) {
    .legal-card {
        padding: 4rem 3.5rem;
    }
}

.legal-card h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.legal-card h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(200, 162, 74, 0.15);
    padding-bottom: 0.5rem;
}

.legal-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.legal-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-card ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: square;
    color: var(--text-secondary);
}

.legal-card li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* -------------------------------------------------------------------------- */
/* 15. COOKIE CONSENT BANNER                                                 */
/* -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface-lux);
    border-top: 2px solid var(--gold-border);
    z-index: 1050;
    padding: 1.5rem 0;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .cookie-container {
        flex-direction: row;
        gap: 3rem;
    }
}

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

.cookie-link-btn {
    color: var(--gold-primary);
    text-decoration: underline;
    display: inline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .cookie-buttons {
        width: auto;
    }
}

.cookie-btn {
    padding: 0.65rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.cookie-btn.accept {
    background: var(--gold-gradient);
    color: var(--bg-deep);
}

.cookie-btn.accept:hover {
    background: var(--gold-light);
}

.cookie-btn.reject {
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-secondary);
}

.cookie-btn.reject:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}