:root {
  --bg: #0b0e15;
  --panel: #161d2a;
  --panel2: #202a3b;
  --line: #33415a;
  --line2: #4a5b78;
  --gold: #ffb81c;
  --gold2: #ffd061;
  --text: #f7f9fc;
  --muted: #c8d0dd;
  --soft: #8e9bb0;
  --green: #3ddc8e;
  --blue: #5ba3ff;
  --display: "Barlow Condensed", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 15% -8%, rgba(255,184,28,.1), transparent 60%),
    radial-gradient(ellipse 55% 42% at 88% 3%, rgba(91,163,255,.08), transparent 62%),
    var(--bg);
}
a { color: inherit; }
button, select { font: inherit; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  background: rgba(11,14,21,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  font: 900 24px/1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
}
.brand span { color: var(--gold); }
.site-nav-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.site-nav-links a:hover, .site-nav-links a[aria-current="page"] { color: var(--gold); }
.nav-business {
  padding: 8px 11px;
  border: 1px solid var(--line2);
  border-radius: 4px;
}
.nav-menu { display: none; }

.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,14,21,.98) 0%, rgba(11,14,21,.9) 46%, rgba(11,14,21,.26) 100%);
  pointer-events: none;
}
.hero-art {
  position: absolute;
  right: max(3vw, calc((100vw - 1180px) / 2));
  top: 50%;
  width: min(45vw, 520px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  display: block;
  opacity: .72;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255,184,28,.22);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(255,184,28,.1), inset 0 0 80px rgba(91,163,255,.08);
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 25%;
  border: 1px dashed rgba(91,163,255,.24);
  border-radius: 50%;
}
.hero-mark {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  background: rgba(247,249,252,.96);
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 50%;
  box-shadow: 0 18px 48px rgba(0,0,0,.4);
}
.hero-mark img { width: 68px; height: 68px; object-fit: contain; }
.hero-mark:nth-child(1) { left: 11%; top: 14%; }
.hero-mark:nth-child(2) { right: 4%; top: 32%; width: 132px; height: 132px; }
.hero-mark:nth-child(2) img { width: 82px; height: 82px; }
.hero-mark:nth-child(3) { left: 25%; bottom: 3%; width: 92px; height: 92px; }
.hero-mark:nth-child(3) img { width: 58px; height: 58px; }
.hero-mark:nth-child(4) { left: 45%; top: 36%; width: 78px; height: 78px; }
.hero-mark:nth-child(4) img { width: 50px; height: 50px; }
.hero-inner { position: relative; z-index: 1; width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 68px 0 62px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font: 700 11px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
h1 {
  max-width: 760px;
  margin-top: 18px;
  font: 900 clamp(64px, 9vw, 108px)/.85 var(--display);
  text-transform: uppercase;
}
h1 em { color: var(--gold); font-style: normal; }
.hero-copy { max-width: 620px; margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.62; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.hero-meta span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 4px; background: rgba(22,29,42,.82); color: var(--muted); font-size: 12px; font-weight: 700; }

.league-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.league-switcher::-webkit-scrollbar { display: none; }
.league-switcher strong { flex: 0 0 auto; margin-right: 8px; color: var(--soft); font: 700 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.league-tab {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.league-tab:hover, .league-tab.active { border-color: var(--gold); background: var(--gold); color: #11151d; }

.content { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 80px; }
.schedule-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: 24px; }
.section-kicker { color: var(--gold); font: 700 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
h2 { margin-top: 7px; font: 900 42px/1 var(--display); text-transform: uppercase; }
.schedule-head p { margin-top: 9px; color: var(--soft); font-size: 13px; line-height: 1.5; }
.timezone-control { display: grid; gap: 6px; min-width: 220px; }
.timezone-control label { color: var(--soft); font: 700 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.timezone-control select { min-height: 42px; padding: 0 34px 0 11px; border: 1px solid var(--line2); border-radius: 4px; background: var(--panel); color: var(--text); font-weight: 700; }

.lead-fixture {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 160px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  overflow: hidden;
}
.lead-fixture::after { content: "NEXT"; position: absolute; right: 20px; bottom: -24px; color: rgba(255,255,255,.025); font: 900 112px var(--display); pointer-events: none; }
.lead-time { color: var(--gold); font: 700 32px/1 var(--mono); }
.lead-time small { display: block; margin-top: 8px; color: var(--soft); font: 700 11px var(--mono); text-transform: uppercase; }
.lead-info { position: relative; z-index: 1; }
.lead-info span { color: var(--soft); font: 700 11px var(--mono); text-transform: uppercase; }
.lead-info h3 { margin-top: 9px; font-size: clamp(22px, 4vw, 34px); line-height: 1.08; }
.lead-date { position: relative; z-index: 1; color: var(--muted); font-size: 13px; font-weight: 700; text-align: right; }

.schedule { margin-top: 34px; }
.day-group { margin-top: 30px; }
.day-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.day-head strong { font: 900 22px var(--display); text-transform: uppercase; }
.day-head span { color: var(--soft); font: 700 11px var(--mono); text-transform: uppercase; }
.day-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fixture {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 13px 16px;
  margin-top: 7px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.fixture-time { color: var(--gold); font: 700 16px var(--mono); }
.fixture-name { min-width: 0; font-size: 15px; font-weight: 800; line-height: 1.35; }
.fixture-league { color: var(--soft); font: 700 10px var(--mono); text-align: right; text-transform: uppercase; }
.empty { padding: 42px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--muted); text-align: center; line-height: 1.6; }
.loading { display: grid; place-items: center; min-height: 220px; color: var(--muted); }
.loading::before { content: ""; width: 26px; height: 26px; margin-right: 12px; border: 3px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.more-link { display: block; width: max-content; margin: 30px auto 0; padding: 11px 15px; border: 1px solid var(--line2); border-radius: 4px; color: var(--text); font-weight: 800; text-decoration: none; }
.more-link:hover { border-color: var(--gold); color: var(--gold); }

.context-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.context-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0; display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; }
.context-inner h2 { font-size: 35px; }
.context-inner p { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.related { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.related a { padding: 18px; color: var(--muted); text-decoration: none; font-weight: 800; }
.related a:nth-child(even) { border-left: 1px solid var(--line); }
.related a:nth-child(n+3) { border-top: 1px solid var(--line); }
.related a:hover { background: rgba(255,184,28,.08); color: var(--gold); }

footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 32px 0 44px; display: flex; justify-content: space-between; gap: 20px; color: var(--soft); font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
footer nav a { text-decoration: none; }
footer a:hover { color: var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  .hero-inner { animation: rise .45s cubic-bezier(.22,1,.36,1) both; }
  .hero-art { animation: reveal .6s .08s cubic-bezier(.22,1,.36,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes reveal { from { opacity: 0; transform: translateY(-48%) scale(.96); } to { opacity: .72; transform: translateY(-50%) scale(1); } }
}

@media (max-width: 760px) {
  .site-nav { height: 54px; padding: 0 14px; }
  .site-nav-links { display: none; position: absolute; top: 54px; left: 0; right: 0; padding: 12px 14px 18px; background: var(--panel); border-bottom: 1px solid var(--line); }
  .site-nav-links.open { display: grid; }
  .site-nav-links a { padding: 7px 0; }
  .nav-menu { display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--text); font-size: 20px; cursor: pointer; }
  .hero { min-height: 410px; align-items: end; }
  .hero::after { background: linear-gradient(0deg, rgba(11,14,21,.99) 0%, rgba(11,14,21,.8) 70%, rgba(11,14,21,.36) 100%); }
  .hero-art { right: -70px; top: 29%; width: 370px; opacity: .48; }
  .hero-mark { transform: scale(.78); }
  .hero-inner { width: calc(100% - 28px); padding: 140px 0 36px; }
  h1 { font-size: clamp(54px, 18vw, 76px); }
  .hero-copy { font-size: 15px; line-height: 1.55; }
  .content { width: calc(100% - 28px); padding: 40px 0 58px; }
  .schedule-head { grid-template-columns: 1fr; gap: 18px; }
  .timezone-control { min-width: 0; }
  h2 { font-size: 35px; }
  .lead-fixture { grid-template-columns: 1fr; gap: 13px; padding: 20px; }
  .lead-time { font-size: 27px; }
  .lead-date { text-align: left; }
  .fixture { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .fixture-league { grid-column: 2; text-align: left; }
  .context-inner { width: calc(100% - 28px); grid-template-columns: 1fr; gap: 30px; padding: 38px 0; }
  footer { width: calc(100% - 28px); flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-meta span:last-child { display: none; }
  .league-switcher { padding: 14px; }
  .related { grid-template-columns: 1fr; }
  .related a:nth-child(even) { border-left: 0; }
  .related a:nth-child(n+2) { border-top: 1px solid var(--line); }
}
