@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;700&family=Oswald:wght@500;700&display=swap');

:root {
  /* Color Palette */
  --stadium-black: #071015;
  --tunnel-navy: #101D27;
  --pitch-green: #1F6B4F;
  --electric-lime: #B8D94A;
  --floodlight-white: #F5F7F2;
  --steel: #8B98A1;
  --signal-orange: #E66A3D;
  --deep-red: #A9363B;
  --cool-cyan: #4EA7B8;
  --concrete: #D7DDD9;
  --primary-dark-text: #142027;
  --muted-text: #718087;

  /* Typography */
  --font-display: 'Oswald', sans-serif;
  --font-ui: 'Inter', sans-serif;
  --font-signal: 'JetBrains Mono', monospace;

  /* Spacing & Layout */
  --ribbon-height: 32px;
  --header-height: 80px;
  --container-max: 1400px;
  --pulse-line-width: 2px;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-ui);
  background-color: var(--stadium-black);
  color: var(--floodlight-white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* Typography Classes */
.font-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
}

.font-signal {
  font-family: var(--font-signal);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.text-muted {
  color: var(--steel);
}

.text-accent {
  color: var(--electric-lime);
}

/* Layout Utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Top Match Ribbon */
.top-ribbon {
  height: var(--ribbon-height);
  background-color: var(--tunnel-navy);
  border-bottom: 1px solid rgba(139, 152, 161, 0.2);
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: var(--steel);
  position: relative;
  z-index: 100;
}

.top-ribbon .container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.top-ribbon .desktop-only {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.top-ribbon .mobile-only {
  display: none;
  width: 100%;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .top-ribbon .desktop-only { display: none; }
  .top-ribbon .mobile-only { display: flex; }
}

/* Header */
.site-header {
  height: var(--header-height);
  background-color: rgba(7, 16, 21, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(245, 247, 242, 0.05);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-logo {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  gap: 2.5rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.main-nav a:hover, .main-nav a:focus-visible {
  color: var(--electric-lime);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--pitch-green);
  transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
  width: 100%;
}

.header-right {
  color: var(--electric-lime);
}

.mobile-menu-trigger {
  display: none;
  background: none;
  border: none;
  color: var(--floodlight-white);
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.mobile-menu-trigger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .main-nav, .header-right { display: none; }
  .mobile-menu-trigger { display: flex; }
}

/* Mobile Menu Panel */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--stadium-black);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.mobile-menu-panel.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.close-menu {
  background: none;
  border: none;
  color: var(--floodlight-white);
  font-size: 2rem;
  cursor: pointer;
}

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

.mobile-nav-links a {
  font-size: 2.5rem;
  border-bottom: 1px solid var(--tunnel-navy);
  padding-bottom: 1rem;
  color: var(--steel);
}

.mobile-nav-links a.active, .mobile-nav-links a:hover {
  color: var(--floodlight-white);
  border-color: var(--pitch-green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--floodlight-white);
  color: var(--stadium-black);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--electric-lime);
}

.btn-secondary {
  background-color: transparent;
  color: var(--floodlight-white);
  border-color: var(--steel);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  border-color: var(--floodlight-white);
  background-color: rgba(245, 247, 242, 0.1);
}

/* Hero Section */
.hero {
  height: 94vh;
  min-height: 700px;
  position: relative;
  background-color: var(--stadium-black);
  display: flex;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/hero-floodlight-gate.webp');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--stadium-black) 0%, rgba(7, 16, 21, 0.4) 50%, rgba(7, 16, 21, 0.2) 100%);
  z-index: 2;
}

.hero-field-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  padding-right: clamp(100px, 15vw, 200px); /* Leave room for ticker */
}

.hero-text-block {
  max-width: 800px;
}

.hero-eyebrow {
  color: var(--electric-lime);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  margin-bottom: 1.5rem;
  color: var(--floodlight-white);
}

.hero-subtext {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--concrete);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-legal {
  font-size: 0.75rem;
  color: var(--steel);
  max-width: 500px;
  border-top: 1px solid rgba(139, 152, 161, 0.3);
  padding-top: 1rem;
}

/* Hero Ticker */
.hero-ticker {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: clamp(100px, 12vw, 140px);
  background-color: rgba(16, 29, 39, 0.85);
  backdrop-filter: blur(5px);
  border-left: 1px solid rgba(139, 152, 161, 0.2);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ticker-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(139, 152, 161, 0.2);
  position: relative;
  text-align: center;
  padding: 1rem 0;
}

.ticker-item:last-child {
  border-bottom: none;
}

.ticker-date {
  font-size: 0.75rem;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.ticker-time {
  font-size: 1.5rem;
  color: var(--electric-lime);
  line-height: 1;
  margin-bottom: 1rem;
}

.ticker-flags {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.ticker-flag {
  width: 32px;
  height: 24px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-teams {
  font-size: 0.75rem;
  color: var(--concrete);
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .hero-content { padding-right: 0; }
  .hero-ticker { display: none; }
}

/* Pulse Track System */
.pulse-track-wrapper {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

/* Desktop Pulse Line Logic */
@media (min-width: 1025px) {
  .pulse-line-system {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
  }
  .pl-segment {
    position: absolute;
    background-color: var(--pitch-green);
    opacity: 0.5;
  }
  /* Approximate visual routing for desktop */
  .pl-1 { top: 0; right: 10%; width: 2px; height: 150px; }
  .pl-2 { top: 150px; right: 10%; width: 30%; height: 2px; right: auto; left: 60%; }
  .pl-3 { top: 150px; left: 60%; width: 2px; height: 600px; }
  .pl-4 { top: 750px; left: 20%; width: 40%; height: 2px; }
  .pl-5 { top: 750px; left: 20%; width: 2px; height: 500px; }
}

/* Mobile Pulse Line Logic */
@media (max-width: 1024px) {
  .pulse-track-wrapper {
    padding-left: 1.5rem;
    border-left: 2px solid var(--pitch-green);
    margin-left: 1rem;
  }
  .pulse-line-system { display: none; }
}

.pulse-module {
  position: relative;
  z-index: 10;
  margin-bottom: 8rem;
}

/* Pulse 01: France vs Morocco (Split) */
.pulse-01 {
  display: flex;
  background-color: var(--tunnel-navy);
  border: 1px solid rgba(139, 152, 161, 0.2);
  min-height: 500px;
}

.p01-image {
  flex: 0 0 58%;
  position: relative;
}

.p01-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p01-image::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, transparent, var(--tunnel-navy));
}

.p01-content {
  flex: 0 0 42%;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.p01-bg-time {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 15rem;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  line-height: 1;
}

.pulse-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--electric-lime);
}

.p01-teams {
  font-size: 4rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.p01-teams span {
  display: block;
  color: var(--steel);
  font-size: 2rem;
  font-family: var(--font-ui);
  text-transform: none;
  margin: 0.5rem 0;
}

.flag-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.flag-row img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 1024px) {
  .pulse-01 { flex-direction: column; }
  .p01-image, .p01-content { flex: none; width: 100%; }
  .p01-image { height: 300px; }
  .p01-image::after { background: linear-gradient(0deg, var(--tunnel-navy), transparent); }
  .p01-content { padding: 2rem; }
  .p01-bg-time { display: none; }
}

/* Pulse 02: Spain vs Belgium (Horizontal Banner) */
.pulse-02 {
  background-color: var(--stadium-black);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  padding: 4rem 0;
  position: relative;
  text-align: center;
}

.p02-top {
  color: var(--signal-orange);
  margin-bottom: 2rem;
}

.p02-middle-strip {
  position: relative;
  height: 120px;
  background-image: url('images/spain-belgium-pulse.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.p02-middle-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(7, 16, 21, 0.7);
}

.p02-vs {
  font-size: 3rem;
  color: var(--floodlight-white);
  position: relative;
  z-index: 2;
  background-color: var(--stadium-black);
  padding: 0 2rem;
  border: 1px solid var(--steel);
}

.p02-team {
  font-size: 5rem;
  line-height: 1;
}

.p02-right {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  color: var(--steel);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .p02-team { font-size: 3rem; }
  .p02-right { position: static; transform: none; margin-top: 2rem; opacity: 1; font-size: 2rem; color: var(--electric-lime); }
}

/* Pulse 03: Norway vs England (Lower Wall) */
.pulse-03 {
  position: relative;
  min-height: 600px;
  background-color: var(--tunnel-navy);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem;
  overflow: hidden;
}

.p03-bg-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40vw;
  color: rgba(255, 255, 255, 0.02);
  line-height: 0.8;
  pointer-events: none;
}

.p03-image-strip {
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('images/norway-england-pulse.webp');
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.6;
}

.p03-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 2px solid var(--cool-cyan);
  padding-bottom: 2rem;
}

.p03-teams-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.p03-team {
  font-size: 5rem;
}

.p03-vs {
  font-size: 2rem;
  color: var(--cool-cyan);
}

.p03-timing {
  text-align: right;
  color: var(--floodlight-white);
}

@media (max-width: 1024px) {
  .pulse-03 { padding: 2rem; min-height: 400px; }
  .p03-content { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .p03-teams-wrap { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .p03-team { font-size: 3.5rem; }
  .p03-timing { text-align: left; }
}

/* Six Team Wall */
.six-team-wall {
  padding: 6rem 0;
  background-color: var(--stadium-black);
  border-top: 1px solid rgba(245, 247, 242, 0.1);
}

.wall-header {
  text-align: center;
  margin-bottom: 4rem;
}

.wall-strip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background-color: var(--tunnel-navy);
}

.wall-row {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  background-color: var(--stadium-black);
  align-items: center;
  transition: background-color 0.3s;
}

.wall-row:hover {
  background-color: rgba(31, 107, 79, 0.1);
}

.wr-num {
  padding: 2rem;
  color: var(--steel);
  font-size: 1.5rem;
  border-right: 1px solid rgba(245, 247, 242, 0.05);
}

.wr-match {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wr-team {
  font-size: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wr-team img {
  width: 48px;
  height: 32px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
}

.wr-vs {
  color: var(--steel);
}

.wr-action {
  padding: 2rem;
  border-left: 1px solid rgba(245, 247, 242, 0.05);
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
  .wall-row { grid-template-columns: 1fr; }
  .wr-num, .wr-action { display: none; }
  .wr-match { flex-direction: column; gap: 1rem; text-align: center; }
  .wr-team { font-size: 2rem; flex-direction: column; }
}

/* Match Clock Wall */
.clock-wall {
  padding: 8rem 0;
  background-color: var(--tunnel-navy);
  position: relative;
  overflow: hidden;
}

.clock-item {
  position: relative;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(245, 247, 242, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 15vw, 15rem);
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  white-space: nowrap;
}

.clock-fg {
  position: relative;
  z-index: 2;
  text-align: center;
}

.clock-date {
  color: var(--electric-lime);
  margin-bottom: 1rem;
}

.clock-match {
  font-size: 2.5rem;
}

/* Static Snapshot Section */
.snapshot-section {
  padding: 6rem 0;
  background-color: var(--stadium-black);
  border-top: 1px solid var(--steel);
}

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

.snap-title {
  color: var(--signal-orange);
  font-size: 2rem;
}

.snap-content {
  color: var(--concrete);
  font-size: 1.125rem;
}

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

.snap-list li {
  position: relative;
  padding-left: 1.5rem;
}

.snap-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--steel);
}

@media (max-width: 768px) {
  .snapshot-grid, .snap-list { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background-color: var(--stadium-black);
  border-top: 4px solid var(--tunnel-navy);
  padding: 4rem 0 2rem;
}

.footer-rail {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--floodlight-white);
}

.footer-brand p {
  color: var(--steel);
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  gap: 4rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

footer a, footer a:visited {
  color: var(--concrete);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover, footer a:focus-visible {
  color: var(--electric-lime);
}

.footer-bottom {
  border-top: 1px solid rgba(139, 152, 161, 0.2);
  padding-top: 2rem;
  font-size: 0.75rem;
  color: var(--steel);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-rail { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 2rem; }
}

/* Generic Inner Page Header */
.page-header {
  padding: 6rem 0;
  background-color: var(--tunnel-navy);
  text-align: center;
  border-bottom: 1px solid rgba(245, 247, 242, 0.05);
}

.page-title {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Fixtures Page - Tunnel Schedule */
.tunnel-schedule {
  padding: 6rem 0;
  position: relative;
}

.tunnel-line {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background-color: rgba(139, 152, 161, 0.2);
  transform: translateX(-50%);
}

.ts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 4rem;
  position: relative;
}

.ts-card {
  background-color: var(--tunnel-navy);
  padding: 3rem;
  border: 1px solid rgba(139, 152, 161, 0.2);
  position: relative;
}

.ts-row.left .ts-card { margin-right: 4rem; }
.ts-row.right .ts-card { margin-left: 4rem; grid-column: 2; }
.ts-row.center .ts-card { grid-column: 1 / -1; text-align: center; max-width: 800px; margin: 0 auto; background-color: rgba(31, 107, 79, 0.1); border-color: var(--pitch-green); }

.ts-dot {
  position: absolute;
  top: 50%;
  width: 12px; height: 12px;
  background-color: var(--electric-lime);
  border-radius: 50%;
  transform: translateY(-50%);
}

.ts-row.left .ts-dot { right: -4rem; transform: translate(50%, -50%); }
.ts-row.right .ts-dot { left: -4rem; transform: translate(-50%, -50%); }

@media (max-width: 768px) {
  .tunnel-line { left: 1rem; }
  .ts-row { grid-template-columns: 1fr; margin-bottom: 2rem; padding-left: 3rem; }
  .ts-row.left .ts-card, .ts-row.right .ts-card, .ts-row.center .ts-card { margin: 0; grid-column: 1; text-align: left; }
  .ts-dot { left: -2rem !important; transform: translateY(-50%) !important; }
}

/* Match Detail Page Hero */
.match-hero {
  height: 70vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mh-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.mh-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(7, 16, 21, 0.8);
  z-index: 2;
}

.mh-content {
  position: relative;
  z-index: 3;
}

.mh-label {
  color: var(--electric-lime);
  margin-bottom: 2rem;
}

.mh-teams {
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1;
  margin-bottom: 2rem;
}

.mh-vs {
  display: block;
  font-size: 2rem;
  color: var(--steel);
  margin: 1rem 0;
  font-family: var(--font-ui);
}

.mh-meta {
  font-size: 1.25rem;
  color: var(--concrete);
}

/* Pulseboard Page */
.pb-interface {
  padding: 2rem;
  background-color: var(--stadium-black);
}

.pb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  background-color: var(--steel);
  border: 2px solid var(--steel);
}

.pb-cell {
  background-color: var(--tunnel-navy);
  padding: 3rem 2rem;
}

.pb-num {
  color: var(--steel);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.pb-teams {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pb-time {
  color: var(--electric-lime);
  font-size: 1.5rem;
}

/* Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--steel);
  font-size: 0.875rem;
}

.form-control {
  background-color: var(--tunnel-navy);
  border: 1px solid rgba(139, 152, 161, 0.3);
  padding: 1rem;
  color: var(--floodlight-white);
  font-family: var(--font-ui);
}

.form-control:focus {
  outline: none;
  border-color: var(--pitch-green);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.legal-content h2 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: var(--floodlight-white);
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.5rem;
  color: var(--concrete);
}

.legal-content ul {
  padding-left: 2rem;
  list-style: disc;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--tunnel-navy);
  border-top: 1px solid var(--pitch-green);
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

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

.cookie-text {
  flex: 1;
  min-width: 300px;
  font-size: 0.875rem;
  color: var(--concrete);
}

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

@media (max-width: 768px) {
  .cookie-actions { width: 100%; flex-direction: column; }
  .cookie-actions .btn { width: 100%; }
}