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

:root {
    /* FUTURE MATERIAL EXP - MONOCHROME METALLIC WITH GOLD BRONZE */
    --bg-dark: #07090e;
    --bg-card: #0e131f;
    --bg-card-alt: #141c2d;
    --accent-gold: #c2a378;
    --accent-gold-hover: #dec49e;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-active: rgba(255, 255, 255, 0.15);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --font-heading: 'Sora', 'Space Grotesk', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --transition-material: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
}

body {
    overflow-x: hidden;
}

/* TYPOGRAPHY OVERWRITES */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mono-label {
    font-family: var(--font-mono);
    color: var(--accent-gold);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* CONTAINER DEFINITIONS */
.section-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px 40px;
}

@media (max-width: 768px) {
    .section-container {
        padding: 60px 24px;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 40px 16px;
    }
}

/* BUTTONS & LINKS */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-material);
    cursor: pointer;
}

.primary-cta {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border: 1px solid var(--accent-gold);
}

.primary-cta:hover {
    background: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(194, 163, 120, 0.2);
}

.secondary-cta {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color-active);
}

.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

/* IMPROVED SLIM HEADER */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    transition: all 0.3s var(--transition-material);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity 0.3s;
}

.brand-logo:hover {
    opacity: 0.9;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-gold);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s var(--transition-material);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.2s var(--transition-material);
}

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

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

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

.header-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle .bar {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s, opacity 0.3s;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 110px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(194, 163, 120, 0.04) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: 1;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

.hero-label-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(194, 163, 120, 0.8); }
    70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(194, 163, 120, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(194, 163, 120, 0); }
}

.hero-title {
    font-size: 4.25rem;
    line-height: 1.15;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

/* 3D Material-Like Hero Sphere */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

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

.material-sphere {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
}

.sphere-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #564837 0%, var(--bg-card) 65%, #020305 100%);
    box-shadow: inset -12px -12px 50px rgba(0,0,0,0.95), 0 24px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.06);
}

.sphere-ring-1, .sphere-ring-2 {
    position: absolute;
    border: 1px solid rgba(194, 163, 120, 0.22);
    border-radius: 50%;
    transform-style: preserve-3d;
    animation: rotateRing1 15s linear infinite;
}

.sphere-ring-1 {
    width: 340px;
    height: 340px;
    transform: rotateX(70deg) rotateY(15deg);
}

.sphere-ring-2 {
    width: 380px;
    height: 380px;
    transform: rotateX(-45deg) rotateY(45deg);
    animation: rotateRing2 20s linear infinite;
}

@keyframes rotateRing1 {
    0% { transform: rotateX(70deg) rotateY(0deg); }
    100% { transform: rotateX(70deg) rotateY(360deg); }
}

@keyframes rotateRing2 {
    0% { transform: rotateX(-45deg) rotateY(360deg); }
    100% { transform: rotateX(-45deg) rotateY(0deg); }
}

.sphere-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--accent-gold);
    filter: blur(90px);
    opacity: 0.18;
    pointer-events: none;
}

.material-data-card {
    position: absolute;
    bottom: -15px;
    right: -10px;
    background: rgba(14, 19, 31, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: 6px;
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-metric-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
}

.card-metric-val {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 600;
}

/* SECTION HEADER COMPACT */
.section-header-compact {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px auto;
}

.section-title-compact {
    font-size: 2.5rem;
    margin-top: 12px;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.section-subtitle-compact {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* TITLE RACE GRID */
.title-race-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.title-favorite-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s var(--transition-material);
}

.title-favorite-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(194, 163, 120, 0.05);
}

.title-favorite-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.favorite-group-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-gold);
    background: rgba(194, 163, 120, 0.08);
    padding: 2px 8px;
    border-radius: 2px;
}

.favorite-country {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.favorite-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

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

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

.stat-value {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.stat-value.highlight-gold {
    color: var(--accent-gold);
    font-weight: 600;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent-gold);
    border-radius: 2px;
}

/* SECTION HEADER STANDARD */
.section-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.section-title {
    font-size: 2.85rem;
    margin-top: 12px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* TOP 10 MATCH CARDS GRID */
.matchups-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.match-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s var(--transition-material);
}

.match-card:hover {
    border-color: rgba(194, 163, 120, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.match-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-group {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.card-tag.gold-tag {
    background: rgba(194, 163, 120, 0.08);
    color: var(--accent-gold);
    border: 1px solid rgba(194, 163, 120, 0.15);
}

.match-card-title {
    font-size: 1.9rem;
    margin-bottom: 24px;
}

.match-teams-flow {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card-alt);
    padding: 18px;
    border-radius: 6px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.03);
}

.team-flow-item {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-name {
    font-size: 1.05rem;
    font-weight: 600;
}

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

.vs-divider {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-gold);
    padding: 3px 10px;
    border-radius: 2px;
    background: rgba(194, 163, 120, 0.12);
}

.match-card-preview-text {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.match-edge-box {
    display: flex;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 28px;
}

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

.edge-value {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.read-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s;
}

.read-preview-link:hover {
    color: var(--accent-gold);
}

.arrow-icon {
    transition: transform 0.3s var(--transition-material);
}

.read-preview-link:hover .arrow-icon {
    transform: translateX(5px);
}

/* EXPANDED PREVIEWS SECTION */
.expanded-previews-section {
    background: #090c13;
}

.expanded-hubs-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.preview-hub-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 44px;
    scroll-margin-top: 100px;
}

.hub-header {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hub-group {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-gold);
}

.hub-title {
    font-size: 2.35rem;
}

.higher-rank-badge {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 2px;
    border-left: 2px solid var(--accent-gold);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

.comp-team-box {
    background: var(--bg-card-alt);
    padding: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.03);
}

.comp-team-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.comp-team-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    display: block;
    margin-bottom: 18px;
}

.comp-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.95rem;
}

.comp-stat-row:last-child {
    border-bottom: none;
}

.mono-stat {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-weight: 500;
}

.preview-analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--border-color);
}

.analysis-col h4 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: var(--accent-gold);
}

.analysis-col p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* GROUPS SNAPSHOT */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.group-snap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.group-snap-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.group-letter {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.favorite-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-gold);
}

.group-snap-teams {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.snap-team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.snap-team-name {
    color: var(--text-secondary);
}

.snap-team-pct {
    font-family: var(--font-mono);
    color: var(--accent-gold);
    font-weight: 500;
}

.group-snap-footer {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* HOST WATCH */
.hosts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.host-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.host-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.host-group-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-gold);
    background: rgba(194, 163, 120, 0.08);
    padding: 2px 8px;
    border-radius: 2px;
}

.host-name {
    font-size: 1.9rem;
    margin-bottom: 28px;
}

.host-stats-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.host-stat-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.host-stat-row:last-child {
    border-bottom: none;
}

.host-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.host-stat-value {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-weight: 500;
}

/* GUIDE SECTION */
.guide-section {
    background: #090c13;
}

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

.guide-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 6px;
}

.guide-box h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

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

/* FAQ SECTION */
.faq-accordion {
    max-width: 850px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.faq-icon {
    font-size: 1.6rem;
    color: var(--accent-gold);
}

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

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

.faq-item.active .faq-content {
    max-height: 250px; /* Safe upper limit for accordion content */
}

/* FOOTER */
.main-footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding-top: 90px;
    padding-bottom: 40px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    align-self: flex-start;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 440px;
    line-height: 1.6;
}

.address-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.address-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links-col h4 {
    font-size: 1.15rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

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

.footer-links a, .footer-links button {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.disclaimer {
    max-width: 850px;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(14, 19, 31, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    transition: bottom 0.6s var(--transition-material);
}

.cookie-consent-banner.show {
    bottom: 0;
}

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

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

.inline-btn {
    background: transparent;
    border: none;
    color: var(--accent-gold);
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 24px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.reject-btn {
    background: transparent;
    border: 1px solid var(--border-color-active);
    color: var(--text-primary);
}

.reject-btn:hover {
    background: rgba(255,255,255,0.05);
}

.accept-btn {
    background: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    color: var(--bg-dark);
}

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

/* MODALS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

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

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 780px;
    max-height: 85vh;
    border-radius: 6px;
    position: relative;
    padding: 48px;
    overflow-y: auto;
    transform: translateY(30px);
    transition: transform 0.3s var(--transition-material);
}

.modal-overlay.open .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}

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

/* LEGAL TEXT STYLING */
.legal-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--accent-gold);
}

.legal-content .last-updated {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.65;
}

.legal-content h3 {
    font-size: 1.3rem;
    margin-top: 28px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 24px;
    color: var(--text-secondary);
}

.legal-content li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1300px) {
    .title-race-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .groups-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-visual {
        margin-top: 20px;
    }
    .matchups-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .header-cta {
        display: none;
    }
    .title-race-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hosts-grid {
        grid-template-columns: 1fr;
    }
    .guide-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .preview-analysis {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .cookie-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* MOBILE NAV SHOW STATE */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.mobile-nav-cta {
    margin-top: 20px;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .title-race-grid {
        grid-template-columns: 1fr;
    }
    .groups-grid {
        grid-template-columns: 1fr;
    }
    .modal-card {
        padding: 32px 20px;
    }
}