:root {
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.25);
  --border-glow: rgba(148, 163, 184, 0.4);
  --text: #0f172a;
  --text-dim: #475569;
  --text-faint: #64748b;
  --accent: hsl(250, 84%, 54%);
  --accent-soft: hsla(250, 84%, 54%, 0.05);
  --accent-strong: hsl(250, 84%, 44%);
  --gold: hsl(38, 92%, 40%);
  --gold-soft: hsla(38, 92%, 40%, 0.06);
  --sage: hsl(150, 84%, 32%);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --max-w: 1200px;
  --content-w: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  font-variation-settings: "opsz" 16;
  line-height: 1.65;
  background-image:
    radial-gradient(at 0% 0%, hsla(220, 100%, 97%, 0.6) 0px, transparent 50%),
    radial-gradient(at 50% 0%, hsla(200, 100%, 98%, 0.7) 0px, transparent 50%),
    radial-gradient(at 100% 0%, hsla(240, 100%, 97%, 0.6) 0px, transparent 50%),
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 24px 24px, 24px 24px;
  background-attachment: fixed;
  position: relative;
}

body::before {
  display: none;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #ffffff; }
em { color: var(--accent); font-family: var(--font-display); font-style: normal; font-weight: 700; background: linear-gradient(120deg, var(--accent) 0%, var(--accent-strong) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-soft); border: 2px solid var(--bg); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  overflow-x: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.01),
    0 4px 20px -5px rgba(15, 23, 42, 0.02);
}
.topnav .brand { display: flex; align-items: center; gap: 14px; min-width: 0; color: var(--text-dim); white-space: nowrap; }
.topnav .brand a { color: var(--text); transition: color 0.2s, text-shadow 0.2s; }
.topnav .brand a:hover { color: var(--accent); }
.topnav .dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.topnav-links { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.topnav-links::-webkit-scrollbar { display: none; }
.topnav-links a {
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-dim);
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.topnav-links a:hover, .topnav-links a.active { border-color: var(--border-strong); background: var(--bg-soft); color: var(--accent); }
.topnav-links a.cta { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 15px rgba(255, 255, 255, 0.05); }
.topnav-links a.cta:hover { border-color: var(--accent-strong); background: var(--accent); color: #ffffff; box-shadow: 0 4px 16px hsla(250, 84%, 54%, 0.3); }

.container { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.content { max-width: var(--content-w); margin: 0 auto; }
.hero { padding: 128px 0 64px; }
.hero > .content:not(.hero-shell):not(.hero-meta-wrap),
.hero-copy,
.roadmap-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.01),
    0 4px 24px -2px rgba(15, 23, 42, 0.02);
}
.hero > .content:not(.hero-shell):not(.hero-meta-wrap), .hero-copy { padding: 48px; position: relative; overflow: hidden; }
.hero > .content:not(.hero-shell):not(.hero-meta-wrap)::before, .hero-copy::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.hero-shell { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: 32px; align-items: stretch; }
.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-eyebrow span { display: flex; align-items: center; gap: 8px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 10px var(--sage); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); box-shadow: 0 0 6px var(--sage); }
  50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 12px var(--sage); }
}

.hero-title {
  margin-bottom: 20px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.02em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}
.hero-title em {
  background: linear-gradient(135deg, var(--text) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-deck { max-width: 760px; margin-bottom: 32px; color: var(--text-dim); font-size: 19px; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 1.2;
  padding: 10px 18px;
  text-transform: uppercase;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); box-shadow: 0 4px 12px var(--accent-soft); }
.btn.primary { border-color: var(--accent); background: var(--accent); color: #ffffff; box-shadow: 0 2px 8px hsla(250, 84%, 54%, 0.2); font-weight: 700; }
.btn.primary:hover { border-color: var(--accent-strong); background: var(--accent-strong); color: #ffffff; box-shadow: 0 4px 16px hsla(250, 84%, 54%, 0.3); }
.btn.gold { border-color: var(--gold); background: var(--gold-soft); color: var(--gold); }
.btn.gold:hover { border-color: var(--gold); background: var(--gold); color: #ffffff; box-shadow: 0 4px 16px hsla(38, 92%, 40%, 0.3); font-weight: 700; }

.btn-mono {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-mono:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--accent-soft);
}
.btn-mono.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px hsla(250, 84%, 54%, 0.2);
}
.btn-mono.primary:hover {
  background: var(--accent-strong);
  color: #ffffff;
  box-shadow: 0 4px 16px hsla(250, 84%, 54%, 0.3);
}

.roadmap-panel { display: flex; flex-direction: column; gap: 20px; padding: 24px; }
.site-visual { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--bg-soft); position: relative; }
.site-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.95; transition: transform 0.5s ease, opacity 0.5s ease; }
.site-visual:hover img { transform: scale(1.05); opacity: 1; }
.site-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 20px rgba(148, 163, 184, 0.1);
  pointer-events: none;
}

.panel-label, .card-kicker, .hero-meta-label, .team-role, .footer-col-title, .player-meta-item .k, .player-overlay {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.panel-label { color: var(--text-faint); display: flex; align-items: center; gap: 6px; }
.panel-label::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.panel-stat { display: grid; gap: 4px; }
.panel-stat strong { color: var(--accent); font-family: var(--font-display); font-size: 52px; font-weight: 800; line-height: 0.9; text-shadow: 0 0 20px hsla(250, 84%, 54%, 0.15); }
.panel-stat span { color: var(--text-dim); font-size: 14px; line-height: 1.4; }
.mini-route { display: grid; gap: 12px; border-top: 1px solid var(--border); padding-top: 18px; }
.mini-route div { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: baseline; color: var(--text-dim); font-size: 14px; line-height: 1.4; }
.mini-route span { color: var(--accent); font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.01),
    0 4px 24px -2px rgba(15, 23, 42, 0.02);
}
.hero-meta-item { min-width: 0; border-right: 1px solid var(--border); padding: 20px 24px; }
.hero-meta-item:last-child { border-right: none; }
.hero-meta-label { margin-bottom: 6px; color: var(--text-faint); }
.hero-meta-value { color: var(--text); font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.15; }

section { position: relative; z-index: 2; padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-mark {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.section-mark .num { color: var(--accent); font-weight: 700; }
.section-mark .line { flex: 1; max-width: 180px; height: 1px; background: var(--border-strong); }
.section-title {
  margin-bottom: 24px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  letter-spacing: -0.01em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.section-title em {
  background: linear-gradient(135deg, var(--text) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-intro { max-width: 680px; margin-bottom: 40px; color: var(--text-dim); font-size: 18px; line-height: 1.6; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  min-width: 0;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 28px;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.01),
    0 4px 24px -2px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  border-color: var(--accent);
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow:
    0 12px 30px -10px hsla(250, 84%, 54%, 0.15);
}
.card-kicker { margin-bottom: 12px; color: var(--text-faint); display: flex; align-items: center; gap: 6px; }
.card-kicker::before { content: "["; color: var(--accent); }
.card-kicker::after { content: "]"; color: var(--accent); }
.card-kicker.accent { color: var(--accent); }
.card-kicker.gold { color: var(--gold); }
.card-kicker.gold::before, .card-kicker.gold::after { color: var(--gold); }
.card-title { margin-bottom: 14px; color: var(--text); font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; overflow-wrap: anywhere; }
.card-body { color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.card-body a { color: var(--accent); border-bottom: 1px dashed var(--accent); transition: color 0.2s, border-color 0.2s; }
.card-body a:hover { color: var(--accent-strong); border-bottom-style: solid; }
.card-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; list-style: none; }
.card-list li {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
}

.prose p { max-width: 760px; margin-bottom: 24px; color: var(--text-dim); font-size: 17px; line-height: 1.65; }
.prose p strong { color: var(--text); font-weight: 700; }
.prose h3 { margin: 48px 0 20px; color: var(--text); font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.prose h4 { margin: 32px 0 14px; color: var(--accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
.prose ul { margin-bottom: 28px; padding-left: 24px; color: var(--text-dim); }
.prose ul li { margin-bottom: 10px; line-height: 1.6; }
.prose ul li::marker { color: var(--accent); }
.pullquote {
  max-width: 760px;
  margin: 56px 0;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  padding: 36px 0;
  position: relative;
}
.pullquote em {
  background: linear-gradient(135deg, var(--accent) 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Team Section */
.team-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 32px; align-items: start; border-top: 1px solid var(--border); padding: 32px 24px; transition: background 0.3s ease; border-radius: 8px; }
.team-row:hover { background: rgba(255, 255, 255, 0.5); }
.team-row:last-child { border-bottom: 1px solid var(--border); }
.team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  box-shadow: inset 0 0 12px hsla(250, 84%, 54%, 0.05);
  transition: all 0.3s ease;
}
.team-row:hover .team-avatar {
  border-color: var(--accent);
  box-shadow: 0 0 15px hsla(250, 84%, 54%, 0.2);
  transform: scale(1.05);
}
.team-name { margin-bottom: 4px; color: var(--text); font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.team-role { margin-bottom: 12px; color: var(--text-faint); }
.team-body { max-width: 680px; color: var(--text-dim); font-size: 15px; line-height: 1.6; }

/* Player Shell UI Dashboard */
.player-shell { margin-bottom: 28px; border: 1px solid var(--border-strong); border-radius: 12px; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 20px; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.01), 0 4px 24px -2px rgba(15, 23, 42, 0.02); }
.player-aspect { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--border-strong); border-radius: 8px; background: #020305; box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9); }
.player-aspect video, .player-aspect iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-overlay { position: absolute; top: 16px; left: 16px; border: 1px solid hsla(250, 84%, 54%, 0.25); border-radius: 6px; background: rgba(255, 255, 255, 0.85); color: var(--accent); padding: 4px 10px; backdrop-filter: blur(6px); display: flex; align-items: center; gap: 8px; }
.player-overlay::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.player-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 20px; }
.player-meta-item { border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.5); padding: 14px; transition: border-color 0.2s; }
.player-meta-item:hover { border-color: var(--border-strong); }
.player-meta-item .k { display: block; margin-bottom: 6px; color: var(--text-faint); }
.player-meta-item .v { color: var(--text); font-family: var(--font-mono); font-size: 13px; font-weight: 500; }

footer { margin-top: 80px; border-top: 1px solid var(--border); padding: 64px 0 40px; background: rgba(248, 250, 252, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-col-title { margin-bottom: 18px; color: var(--text-faint); }
.footer-col a, .footer-col p { display: block; margin-bottom: 10px; color: var(--text-dim); font-size: 15px; transition: all 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); color: var(--text-faint); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; padding-top: 24px; }

/* Media Queries */
@media (max-width: 980px) {
  .hero-shell { grid-template-columns: 1fr; }
  .hero-title { font-size: 56px; }
  .section-title { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 0; }
  .topnav { position: sticky; flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 20px; }
  .topnav .brand { justify-content: flex-start; }
  .topnav-links { justify-content: flex-start; width: 100%; margin: 0; padding: 0 0 4px; }
  .container { padding: 0 20px; }
  .hero { padding: 40px 0 48px; }
  .hero-copy, .roadmap-panel, .hero > .content:not(.hero-shell):not(.hero-meta-wrap) { padding: 32px 24px; }
  .hero-title { font-size: 40px; line-height: 1.05; }
  .hero-deck { font-size: 17px; }
  .hero-cta { display: grid; grid-template-columns: 1fr; }
  .btn, .btn-mono { width: 100%; }
  .mini-route div { grid-template-columns: 1fr; gap: 4px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta-item { border-bottom: 1px solid var(--border); }
  .hero-meta-item:nth-child(2n) { border-right: none; }
  .hero-meta-item:nth-last-child(-n + 2) { border-bottom: none; }
  section { padding: 48px 0; }
  .section-title { font-size: 32px; }
  .section-intro { font-size: 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .pullquote { font-size: 22px; padding: 28px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .topnav { font-size: 9px; padding: 10px 16px; }
  .topnav .brand strong { font-size: 10px; }
  .topnav-links { gap: 4px; }
  .topnav-links a { padding: 6px 8px; }
  .hero-copy, .roadmap-panel, .hero > .content:not(.hero-shell):not(.hero-meta-wrap), .card, .player-shell { padding: 20px; }
  .hero-title { font-size: 34px; }
  .section-title { font-size: 28px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta-item, .hero-meta-item:nth-child(2n), .hero-meta-item:nth-last-child(-n + 2) { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-meta-item:last-child { border-bottom: none; }
  .team-row { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .team-avatar { width: 60px; height: 60px; font-size: 18px; }
  .player-meta { grid-template-columns: 1fr; }
}
