/* Custom CSS Design: Architectural Depth fused with Bold Athletic Palette (Brown & Pink) */

:root {
  /* Color System - Espresso, Rose, and Sand Tones */
  --bg-primary: #150c07;       /* Deepest Espresso Brown */
  --bg-secondary: #22140d;     /* Deep Cocoa Brown */
  --bg-card: #2e1b12;          /* Rich Warm Chocolate Clay */
  --bg-surface-alt: #3d251a;   /* Warm Terracotta Brown */
  --accent-primary: #ff6b9d;   /* Vibrant Orchid Pink */
  --accent-secondary: #ff8fa3; /* Soft Rose Pink */
  --accent-tertiary: #df9b85;  /* Dusty Sand Peach */
  --border-color: rgba(255, 107, 157, 0.12); /* Pink-Tinted Soft Border */
  
  --text-primary: #fff2f2;     /* Warm Roseate Cream */
  --text-secondary: #e5cfcf;   /* Soft Sand / Dusty Gray-Rose */
  --text-muted: #b89d9d;       /* Muted Taupe Pink */
  
  /* Layout Spacing */
  --desktop-gap: 84px;
  --tablet-gap: 56px;
  --mobile-gap: 32px;
  
  /* Architectural Grid Variables */
  --transition-speed: 0.35s;
}

/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.mono-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

/* Sticky Architectural Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(21, 12, 7, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-speed);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-primary);
  border-radius: 50%;
}

.logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-speed);
}

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

.cta-button-header {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bg-primary);
  background-color: var(--accent-primary);
  padding: 0.6rem 1.25rem;
  border-radius: 2px;
  text-decoration: none;
  transition: transform var(--transition-speed), background-color var(--transition-speed);
}

.cta-button-header:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-speed);
}

/* Hero Section with Interactive Layered Depth */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 2rem 60px;
  overflow: hidden;
  text-align: center;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
}

.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 155, 133, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 107, 157, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 107, 157, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.meta-separator {
  color: rgba(255,255,255,0.2);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.highlighted-text {
  color: var(--accent-primary);
  font-style: italic;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  transition: all var(--transition-speed);
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-2px);
}

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

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

.hero-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
}

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 107, 157, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 157, 0); }
}

/* Sections Global Headers */
.section-header-block {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--desktop-gap) 2rem 3rem;
  text-align: center;
}

.section-title-architectural {
  font-size: 2.75rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-subtitle-architectural {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* Title Race Strip Section */
.title-race-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--desktop-gap);
}

.favorites-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.favorite-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.favorite-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 157, 0.3);
}

.highlight-border {
  border-left: 3px solid var(--accent-primary);
}

.fav-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.fav-rank {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent-primary);
}

.fav-group {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.fav-country {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.fav-stats {
  margin-bottom: 1rem;
}

.fav-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

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

.stat-value {
  font-weight: 600;
}

.progress-bar-container {
  height: 4px;
  background-color: var(--bg-surface-alt);
  border-radius: 2px;
  overflow: hidden;
}

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

/* Matchups Overview Grid */
.matchups-section {
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: var(--desktop-gap);
}

.matchups-grid {
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.match-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.match-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 157, 0.25);
}

.match-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.match-group-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  background-color: var(--bg-surface-alt);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  color: var(--accent-secondary);
}

.match-edge-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent-tertiary);
  font-weight: 600;
}

.match-card-title {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.match-teams-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

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

.team-name {
  font-weight: 500;
  font-size: 1rem;
}

.team-rank-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.match-short-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.match-mini-stats {
  background-color: var(--bg-card);
  padding: 0.75rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.m-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.m-stat-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.m-stat-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
}

.match-card-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  transition: padding-left var(--transition-speed);
}

.match-card-cta:hover {
  padding-left: 5px;
}

/* Expanded Match Preview Sections */
.expanded-previews-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--desktop-gap);
}

.previews-list {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.preview-block {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 3rem;
  position: relative;
  transition: box-shadow var(--transition-speed);
}

.preview-block:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.preview-title {
  font-size: 2.25rem;
  margin-top: 0.25rem;
}

.favorite-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  background-color: rgba(255, 107, 157, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(255, 107, 157, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  font-weight: 600;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.comparison-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.border-right {
  border-right: 1px solid var(--border-color);
  padding-right: 3rem;
}

.comp-team-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.comp-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

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

.metric-val {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
}

.context-narratives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background-color: var(--bg-surface-alt);
  padding: 1.5rem;
  border-radius: 4px;
}

.narrative-box h5 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-tertiary);
}

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

/* Group Race Snapshot Section */
.group-race-snapshot {
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: var(--desktop-gap);
}

.group-snapshot-grid {
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.group-snap-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 4px;
}

.snap-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--accent-primary);
}

.snap-matchup {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.snap-stats {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.snap-val {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
}

.snap-favorite {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

/* Host Nations Watch */
.host-nations-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--desktop-gap);
}

.hosts-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.host-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 4px;
  position: relative;
  transition: transform var(--transition-speed);
}

.host-card:hover {
  transform: translateY(-5px);
}

.host-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  background-color: var(--accent-tertiary);
  color: var(--bg-primary);
  padding: 0.2rem 0.6rem;
  font-weight: 700;
  border-radius: 2px;
}

.host-name {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.host-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.h-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  padding-bottom: 0.4rem;
}

.font-highlight {
  font-weight: 600;
}

/* Tournament Guide Section */
.tournament-guide-section {
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: var(--desktop-gap);
}

.guide-grid {
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.guide-column {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 4px;
}

.guide-item-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.guide-item-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-bottom: var(--desktop-gap);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  border-radius: 4px;
}

.faq-question {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Footer & Legal styling */
.site-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.address-wrapper {
  margin-top: 1.5rem;
}

.address-block-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

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

.footer-links a, .footer-links button {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-speed);
}

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

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

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

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

/* Modals System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(21, 12, 7, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-speed), visibility var(--transition-speed);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  border-radius: 4px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.75rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
}

.modal-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

.modal-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(34, 20, 13, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem 2rem;
}

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

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

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

.inline-btn {
  background: none;
  border: none;
  color: var(--accent-primary);
  text-decoration: underline;
  cursor: pointer;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

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

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

.btn-accept {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  border: none;
}

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

/* Responsive Rules & Adaptability Layouts */

@media (max-width: 1200px) {
  .section-title-architectural {
    font-size: 2.25rem;
  }
  .favorites-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .comparison-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Layout Gaps */
  .section-header-block {
    padding-top: var(--tablet-gap);
  }
  .title-race-section, .matchups-section, .expanded-previews-section, .group-race-snapshot, .host-nations-section, .tournament-guide-section, .faq-section {
    padding-bottom: var(--tablet-gap);
  }

  /* Sticky Navigation adaptation */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    align-items: center;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  /* Hero Section */
  .hero-title {
    font-size: 2.5rem;
  }

  .favorites-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Comparison Grid adaptation */
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .border-right {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 2rem;
  }

  .context-narratives {
    grid-template-columns: 1fr;
  }

  /* Preview Blocks padding adjustment */
  .preview-block {
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .section-header-block {
    padding-top: var(--mobile-gap);
  }
  .title-race-section, .matchups-section, .expanded-previews-section, .group-race-snapshot, .host-nations-section, .tournament-guide-section, .faq-section {
    padding-bottom: var(--mobile-gap);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
  }

  .favorites-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}