:root {
  --background: #07110e;
  --foreground: #f4f7f5;
  --muted: #9aaba4;
  --line: rgba(230, 255, 242, 0.14);
  --live: #b9ff38;
  --live-soft: rgba(185, 255, 56, 0.15);
}

* { box-sizing: border-box; }

html {
  background: var(--background);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background:
    linear-gradient(rgba(185, 255, 56, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 255, 56, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 20%, rgba(70, 149, 109, 0.22), transparent 33%),
    #07110e;
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.site-shell::after {
  position: absolute;
  right: clamp(-15rem, -10vw, -4rem);
  bottom: -42vw;
  width: min(78vw, 72rem);
  aspect-ratio: 1;
  border: 1px solid rgba(185, 255, 56, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 6vw rgba(185, 255, 56, 0.025), 0 0 0 14vw rgba(185, 255, 56, 0.018);
  content: "";
  pointer-events: none;
}

.stadium-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 45%, rgba(185, 255, 56, 0.035) 46%, transparent 47%);
  pointer-events: none;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 4rem);
}

.site-header { border-bottom: 1px solid var(--line); }

.brand {
  display: inline-flex;
  gap: 0.32rem;
  align-items: center;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand-live {
  color: #07110e;
  background: var(--live);
  padding: 0.18rem 0.34rem 0.15rem;
  border-radius: 0.18rem;
}

.status-pill {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: #dfe8e3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: var(--live);
  box-shadow: 0 0 0 0.3rem var(--live-soft);
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 90rem);
  align-self: center;
  flex-direction: column;
  justify-self: center;
  padding: clamp(3.5rem, 10vh, 7rem) clamp(1.25rem, 7vw, 7rem);
}

.scoreboard {
  position: absolute;
  top: clamp(3.5rem, 10vh, 7rem);
  right: clamp(1.25rem, 7vw, 7rem);
  display: grid;
  width: 10.5rem;
  gap: 0.34rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  background: rgba(10, 25, 19, 0.68);
  backdrop-filter: blur(12px);
}

.scoreboard-label,
.scoreboard-state {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.15em;
}

.scoreboard-time {
  color: var(--live);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--live);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.4rem, 9.8vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.83;
  text-wrap: balance;
  text-transform: uppercase;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 247, 245, 0.62);
}

.hero-copy {
  max-width: 32rem;
  margin: clamp(1.8rem, 4vw, 3rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.6;
}

.site-footer {
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p { margin: 0; color: var(--foreground); }

.ticker { display: flex; flex-wrap: wrap; gap: 0.9rem 1.3rem; }
.ticker > span { display: inline-flex; gap: 1.3rem; }
.ticker b { color: var(--live); font-weight: 400; }

@media (max-width: 720px) {
  .site-header,
  .site-footer { padding: 1.15rem 1.25rem; }
  .scoreboard { position: static; width: 9.5rem; margin-bottom: 2.5rem; }
  .hero { padding: 2.8rem 1.25rem 3.4rem; }
  h1 { font-size: clamp(3.1rem, 18vw, 5.4rem); }
  .site-footer { align-items: flex-end; }
  .ticker { gap: 0.55rem 0.8rem; }
  .ticker > span { gap: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.error-code {
  margin: 0 0 1rem;
  color: var(--live);
  font: 700 0.72rem ui-monospace, monospace;
  letter-spacing: 0.2em;
}

.error-page h1 {
  max-width: none;
  font-size: clamp(2.8rem, 10vw, 6rem);
}

.error-page a {
  display: inline-block;
  margin-top: 2rem;
  border-bottom: 1px solid var(--live);
  padding-bottom: 0.3rem;
}
