:root {
  /* Color Palette - Hacker Terminal Theme */
  --bg-dark: #000000;
  --bg-dark-secondary: #000a00;
  --bg-light: #000000;
  --bg-light-secondary: #001a00;
  
  --surface-dark: #000a00;
  --surface-dark-hover: #002200;
  --surface-light: #000500;
  --surface-light-border: #00ff00;
  
  --accent-cyan: #00ff00;
  --accent-green: #39ff14;
  --accent-orange: #ffaa00;
  --accent-gold: #ffaa00;
  --accent-silver: #a2ffa2;
  --accent-bronze: #558855;
  
  --text-white: #00ff00;
  --text-light-gray: #88ff88;
  --text-dark-navy: #00ff00;
  --text-dark-gray: #a2ffa2;
  
  --border-light: rgba(0, 255, 0, 0.35);
  --border-dark: #00ff00;
  
  --font-display: 'Share Tech Mono', 'Courier New', Courier, monospace;
  --font-body: 'Fira Code', 'Courier New', Courier, monospace;
  
  --transition-smooth: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 15px rgba(0, 255, 0, 0.5);
  --shadow-glow-green: 0 0 15px rgba(57, 255, 20, 0.6);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light-gray);
  line-height: 1.6;
  overflow-x: hidden;
  text-shadow: 0 0 2px rgba(0, 255, 0, 0.3);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* CRT Screen Effect Overlays */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle, rgba(0, 0, 0, 0) 60%, rgba(0, 20, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 9999;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 9998;
  animation: flicker 0.15s infinite;
}

@keyframes flicker {
  0% { opacity: 0.98; }
  50% { opacity: 1; }
  100% { opacity: 0.99; }
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Utilities */
.section-container {
  padding: 5rem 0;
  border-bottom: 1px dashed var(--border-light);
}

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

/* Theme Background Modifiers */
.bg-surface-dark {
  background-color: var(--bg-dark-secondary);
}

.bg-surface {
  background-color: var(--bg-dark);
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
}

.text-light {
  color: var(--text-light-gray);
}

.text-dark {
  color: var(--text-light-gray);
}

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

.text-navy {
  color: var(--text-white) !important;
}

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

.border-top {
  border-top: 1px dashed var(--border-light);
}

.border-top-dark {
  border-top: 1px dashed var(--border-light);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 10, 0, 0.95);
  border-bottom: 2px solid var(--accent-green);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--text-white);
}

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

.nav-menu {
  display: none; /* Mobile hidden by default */
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  color: var(--text-light-gray);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

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

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid var(--border-light);
}

.hamburger {
  position: relative;
  width: 20px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-smooth);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--text-white);
  left: 0;
  transition: var(--transition-smooth);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* Interactive Toggle States */
.mobile-toggle[aria-expanded="true"] .hamburger {
  background-color: transparent;
}
.mobile-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.mobile-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Responsive Nav for tablet+ */
@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
  .nav-menu {
    display: flex;
    gap: 0.5rem;
  }
}

/* Responsive mobile menu slide-down state */
@media (max-width: 991px) {
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 10, 0, 0.98);
    border-bottom: 2px solid var(--accent-green);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    z-index: 999;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 6rem 0 4rem 0;
  background-color: var(--bg-dark);
  overflow: hidden;
  border-bottom: 1px dashed var(--border-light);
}

.hero-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(0, 255, 0, 0.05) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(0, 255, 0, 0.03) 0%, transparent 45%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-green);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  background: rgba(0, 255, 0, 0.1);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-light-gray);
  margin-bottom: 2.5rem;
}

/* Hero Actions & Buttons */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-green);
  color: #000000;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--accent-green);
}

.btn-primary:hover {
  background: #000000;
  color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.8);
}

.btn-secondary {
  background: rgba(0, 255, 0, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(0, 255, 0, 0.15);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Hero Media & Stats Card */
.hero-media {
  position: relative;
}

.hero-stats-card {
  position: relative;
  background: #000000;
  border: 1.5px solid var(--accent-green);
  border-radius: 8px;
  padding: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.card-glow-green {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 255, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.stat-row {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 0;
  border-bottom: 1px dashed var(--border-light);
}

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

.stat-row:first-child {
  padding-top: 0;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-green);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-shadow: 0 0 5px var(--accent-green);
}

/* ==========================================================================
   COMMON SECTION HEADER
   ========================================================================== */
.section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag-light, .section-tag-dark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.section-tag-light {
  color: var(--accent-cyan);
  background: rgba(0, 255, 0, 0.15);
  border: 1px solid var(--accent-green);
}

.section-tag-dark {
  color: var(--accent-cyan);
  background: rgba(0, 255, 0, 0.15);
  border: 1px solid var(--accent-green);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  opacity: 0.85;
  color: var(--text-light-gray);
}

/* ==========================================================================
   EDITORIAL MATCH INDEX
   ========================================================================== */
.match-index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.index-card {
  display: flex;
  flex-direction: column;
  background: #000000;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.index-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-green);
  box-shadow: var(--shadow-glow-green);
}

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

.group-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-white);
}

.rank-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.index-card-title {
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.3px;
}

.index-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 255, 0, 0.04);
  border: 1px solid var(--border-light);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.team-stat-brief {
  display: flex;
  flex-direction: column;
}

.team-stat-brief .team-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.95rem;
}

.team-stat-brief .team-chance {
  font-size: 0.75rem;
  color: var(--text-light-gray);
}

.vs-divider {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent-orange);
  background: rgba(255, 170, 0, 0.15);
  border: 1px solid var(--accent-orange);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.index-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.index-card-footer .arrow-icon {
  transition: var(--transition-smooth);
}

.index-card:hover .index-card-footer .arrow-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   TITLE CONTEXT TABLE
   ========================================================================== */
.table-container {
  width: 100%;
  overflow-x: auto;
  background: #000000;
  border: 1.5px solid var(--accent-green);
  border-radius: 8px;
  box-shadow: var(--shadow-glow);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  color: var(--text-dark-gray);
  min-width: 700px;
}

.data-table th, .data-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.data-table th {
  background-color: var(--bg-light-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--accent-green);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background-color: rgba(0, 255, 0, 0.05);
}

/* Rank Badges in Table */
.rank-badge-table {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #000000;
  background: var(--accent-green);
}

.rank-badge-table.gold {
  background: var(--accent-gold);
}

.rank-badge-table.silver {
  background: var(--accent-silver);
}

.rank-badge-table.bronze {
  background: var(--accent-bronze);
}

.numeric-odds {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-white);
}

/* High-tech percentage bar indicator */
.percentage-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--text-white);
}

.percentage-bar {
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-orange));
  border-radius: 4px;
}

/* ==========================================================================
   EXPANDED MATCH PREVIEWS
   ========================================================================== */
.expanded-previews-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.preview-block {
  background: #000000;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition-smooth);
  scroll-margin-top: 100px;
}

.preview-block:hover {
  border-color: var(--accent-green);
  box-shadow: var(--shadow-glow-green);
}

.preview-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--border-light);
}

@media (min-width: 576px) {
  .preview-header {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.group-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-orange);
  background: rgba(255, 170, 0, 0.1);
  border: 1px solid rgba(255, 170, 0, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  width: max-content;
}

.preview-match-title {
  font-size: 1.6rem;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

/* Comparison visual grids inside previews */
.preview-comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

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

.team-column {
  background: rgba(0, 255, 0, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
}

.team-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.team-meta-list {
  list-style: none;
}

.team-meta-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(0, 255, 0, 0.2);
}

.team-meta-list li:last-child {
  border-bottom: none;
}

.team-meta-list strong {
  color: var(--text-light-gray);
  font-weight: 500;
}

.vs-circle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-white);
  background: #000000;
  border: 1px solid var(--accent-green);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: var(--shadow-glow);
}

.preview-editorial {
  font-size: 1rem;
  color: var(--text-light-gray);
  background: rgba(0, 255, 0, 0.02);
  border-left: 3px solid var(--accent-cyan);
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
}

/* ==========================================================================
   GROUP RACE CONTEXT
   ========================================================================== */
.group-analysis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.group-card {
  background: #000a00;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.group-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-green);
  box-shadow: var(--shadow-glow);
}

.group-title {
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-cyan);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.group-card p {
  font-size: 0.95rem;
  color: var(--text-light-gray);
}

.group-card strong {
  color: var(--accent-green);
}

/* ==========================================================================
   HOST NATIONS WATCH
   ========================================================================== */
.host-nations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.host-card {
  background: #000000;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.host-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.host-country {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
}

.host-rank {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 255, 0, 0.15);
  border: 1px solid var(--accent-green);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.host-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.metric-label {
  color: var(--text-light-gray);
}

.metric-val {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ==========================================================================
   METHODOLOGY NOTE & FAQ
   ========================================================================== */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .grid-2-col {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.editorial-text {
  font-size: 1.1rem;
  color: var(--text-light-gray);
  margin-top: 1rem;
}

.methodology-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.method-item {
  background: var(--bg-light-secondary);
  border-left: 4px solid var(--accent-cyan);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem;
  border-radius: 0 4px 4px 0;
}

.method-title {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.method-desc {
  font-size: 0.95rem;
  color: var(--text-light-gray);
}

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

.faq-item {
  background: #000000;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  background: rgba(0, 255, 0, 0.08);
  color: var(--accent-green);
}

.faq-question::after {
  content: '[ + ]';
  font-size: 1rem;
  color: var(--accent-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  opacity: 0;
  font-size: 0.95rem;
  color: var(--text-light-gray);
  line-height: 1.6;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  opacity: 1;
}

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

/* ==========================================================================
   LEGAL PAGES STYLING
   ========================================================================== */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.legal-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  text-shadow: 0 0 10px var(--accent-green);
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--text-white);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 0.5rem;
}

.legal-content p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: #000000;
  border-top: 2px solid var(--accent-green);
  padding: 4rem 0 2rem 0;
  color: var(--text-light-gray);
}

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

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.footer-note {
  font-size: 0.9rem;
  max-width: 400px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

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

.footer-nav-list a {
  font-size: 0.9rem;
  color: var(--text-light-gray);
}

.footer-nav-list a:hover {
  color: var(--accent-green);
  padding-left: 4px;
}

.address-block {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.email-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-green);
  font-size: 0.95rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px dashed var(--border-light);
}

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .footer-bottom-flex {
    flex-direction: row;
  }
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.policy-link:hover {
  color: var(--text-white);
}

/* ==========================================================================
   SCROLLBAR & FOCUS EFFECTS
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #002200;
  border-radius: 4px;
  border: 1px solid var(--accent-green);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green);
}

/* Basic Accessibility Focus outline */
*:focus-visible {
  outline: 2px dashed var(--accent-green);
  outline-offset: 4px;
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: calc(100% - 40px);
  max-width: 850px;
  background: rgba(0, 10, 0, 0.98);
  border: 2px solid var(--accent-green);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.4);
  border-radius: 8px;
  z-index: 10000;
  padding: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

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

.cookie-banner-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-light-gray);
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-banner-text {
    text-align: left;
  }
}

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

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}