@font-face {
  font-family: 'Inter-fb';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0a0a0b;
  --surface: #111114;
  --surface-high: #1a1a1f;
  --surface-higher: #353436;
  --surface-lowest: #0e0e0f;
  --surface-low: #1c1b1c;
  --line: #2a2a32;
  --primary: #ff2d55;
  --secondary: #00e5ff;
  --primary-deep: #e0284b;
  --on-secondary: #00363d;
  --ink: #e5e2e3;
  --ink-mute: #e6bcbd;
  --ink-dim: #a9a2a6;
  --pad: 16px;
  --stack: 32px;
  --radius: 12px;
  --cookie-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', 'Inter-fb', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

[hidden] { display: none !important; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: break-word;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; overflow-wrap: break-word; word-break: break-word; }

img, svg { max-width: 100%; }
img { height: auto; display: block; }

button, a, summary, .chip {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Type scale (mockup: h1-mobile 32/900, h2-mobile 26/800, h3 22/700, label-caps 12/700) */
.t-h1 { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: .95; text-transform: uppercase; }
.t-h2 { font-size: 18px; font-weight: 600; line-height: 1.3; text-transform: uppercase; color: #fff; }
.t-h3 { font-size: 22px; font-weight: 600; line-height: 1.4; }
.t-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.t-caption { font-size: 13px; color: var(--ink-mute); }
.t-mute { color: var(--ink-mute); }
.t-cyan { color: var(--secondary); }
.t-red { color: var(--primary); }
.t-italic { font-style: italic; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.95); }
.btn--primary { background: var(--primary-deep); color: #fff; box-shadow: 0 0 15px rgba(255, 45, 85, .3); }
.btn--primary:hover { filter: brightness(1.1); }
.btn--ghost { border-color: var(--secondary); color: var(--secondary); box-shadow: 0 0 15px rgba(0, 229, 255, .2); }
.btn--ghost:hover { background: rgba(0, 229, 255, .1); }
.btn--quiet { background: var(--surface-high); border-color: var(--line); color: var(--ink); }
.btn--quiet:hover { border-color: var(--secondary); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 24px; font-size: 22px; }

/* Marquee strip */
.alert-strip {
  margin: 0;
  background: var(--primary-deep);
  color: #fff;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  z-index: 60;
}
.alert-strip__track { display: inline-block; animation: marquee 34s linear infinite; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .alert-strip__track { animation: none; } }

/* Header (mockup: h-16, backdrop blur, bottom border) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: auto; height: 16px; flex: none; }
.brand__mark--sm { height: 20px; }
.brand__name {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--primary);
}

.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color .2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a[aria-current='page'] { color: var(--primary); }

.burger {
  display: none;
  position: relative;
  z-index: 110;
  width: 40px; height: 40px;
  flex-shrink: 0;
  padding: 0;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .2s ease, top .3s cubic-bezier(.22,1,.36,1);
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded='true'] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }



/* Shared bits */
.section__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.section__head p { margin-bottom: 0; }
.section__rule { width: 48px; height: 4px; background: var(--secondary); margin-top: 4px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 45, 85, .1);
  border: 1px solid rgba(255, 45, 85, .2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { .pulse-dot { animation: none; } }

/* Hero (mockup: min-h 751px, brightness-50 photo, bottom fade) */
.hero-arena {
  position: relative;
  min-height: 751px;
  display: flex;
  align-items: center;
  padding-block: var(--stack);
  overflow: hidden;
}
.hero-arena__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-arena::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, transparent, rgba(10,10,11,.6) 55%, var(--bg)),
    rgba(10, 10, 11, .35);
}
.hero-arena .container { position: relative; z-index: 2; width: 100%; }
.hero-arena__inner > * + * { margin-top: 24px; }
.hero-arena h1 { margin: 0; }
.hero-arena__grad {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-arena__lead { width: 70%; color: var(--ink-mute); margin: 0; }
.hero-arena__cta { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.hero-arena__cta .btn { padding-block: 14px; font-size: 22px; font-weight: 600; line-height: 1.4; text-transform: uppercase; }
.hero-arena__cta .btn svg { width: 24px; height: 24px; }

/* Next puck drop (mockup: pulled up over the hero) */
.puck-drop { position: relative; z-index: 20; margin-top: -64px; }
.puck-drop__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.puck-drop__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--secondary);
}
.puck-drop__clock { display: flex; align-items: flex-start; gap: 16px; }
.puck-drop__unit { margin: 0; text-align: center; }
.puck-drop__unit b { display: block; font-size: 24px; font-weight: 600; line-height: 1.3; color: #fff; font-variant-numeric: tabular-nums; }
.puck-drop__unit span { font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--ink-mute); }
.puck-drop__sep { font-size: 24px; font-weight: 600; color: var(--primary); line-height: 1.3; margin-top: -2px; }
.puck-drop__match {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.puck-drop__team { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.puck-drop__team img { width: 24px; height: 24px; object-fit: contain; }
.puck-drop__vs { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }

/* Game modes bento (mockup: 2 cols, wide card on top) */
.game-modes { padding-top: var(--stack); }
.game-modes h2 { margin-bottom: 16px; }
.game-modes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mode-card {
  position: relative;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: border-color .25s ease, transform .25s ease;
}
.mode-card:hover { border-color: var(--secondary); transform: translateY(-2px); }
.mode-card--wide { grid-column: 1 / -1; height: 192px; justify-content: flex-end; }
.mode-card__media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mode-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000, transparent 55%, transparent);
}
.mode-card__icon { position: relative; z-index: 2; width: 30px; height: 30px; color: var(--secondary); }
.mode-card__icon--red { color: var(--primary); }
.mode-card__body { position: relative; z-index: 2; }
.mode-card__body h3 { font-size: 14px; font-weight: 600; line-height: 1.15; text-transform: uppercase; color: #fff; }
.mode-card__body p { margin: 2px 0 0; font-size: 10px; color: var(--ink-mute); }
.mode-card--wide .mode-card__body h3 { font-size: 22px; font-weight: 600; line-height: 1; }
.mode-card--wide .mode-card__body p { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--secondary); }
.mode-card__tag {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  background: var(--primary-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Draft room */
.squad-tracker [disabled] { opacity: .5; pointer-events: none; }
.draft-rules { padding-top: var(--stack); }
.draft-rules .panel h3 { margin-bottom: 12px; }
.draft-lab { padding-top: var(--stack); }
.draft-lab__tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.draft-lab__tabs::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 8px 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-high);
  color: var(--ink-mute);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip[aria-selected='true'] { background: var(--secondary); border-color: var(--secondary); color: var(--on-secondary); }

.player-list { display: grid; gap: 12px; margin-top: 12px; }
.player-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.player-card:hover { border-color: var(--secondary); }
.player-card.is-picked { border-color: var(--secondary); box-shadow: 0 0 8px rgba(0, 229, 255, .2); }
.player-card__id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.player-card__photo {
  position: relative;
  width: 64px; height: 64px;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-high);
}
.player-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.player-card__team {
  position: absolute;
  right: 0; bottom: 0;
  background: var(--secondary);
  color: var(--on-secondary);
  font-size: 10px;
  font-weight: 600;
  padding: 0 4px;
  border-top-left-radius: 6px;
}
.player-card__name { display: block; font-size: 15px; font-weight: 600; text-transform: uppercase; color: #fff; }
.player-card__meta { display: block; font-size: 10px; text-transform: uppercase; color: var(--ink-mute); }
.player-card__meta b { color: var(--secondary); font-weight: 600; }
.player-card__stats { display: flex; gap: 12px; margin-top: 4px; }
.player-card__stats > span { display: flex; flex-direction: column; }
.player-card__stats > span > span { font-size: 9px; text-transform: uppercase; color: var(--ink-mute); }
.player-card__stats b { font-size: 14px; color: #fff; }
.player-card__stats > span:first-child b { color: var(--secondary); }

.pick-btn {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 8px;
  border: none;
  background: var(--primary-deep);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255, 45, 85, .3);
  transition: transform .15s ease;
}
.pick-btn:active { transform: scale(.9); }
.pick-btn svg { width: 22px; height: 22px; }
.pick-btn[aria-pressed='true'] { background: var(--secondary); color: var(--on-secondary); box-shadow: none; }

.squad-tracker {
  margin-top: 24px;
  background: rgba(17, 17, 20, .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5);
}
.squad-tracker__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.squad-tracker__top p { margin: 0; display: flex; flex-direction: column; }
.squad-tracker__caption { max-width: 13ch; font-size: 13px; font-weight: 600; line-height: 1.2; text-transform: uppercase; color: var(--ink-mute); }
.squad-tracker__count { font-size: 22px; font-weight: 900; color: var(--secondary); }
.squad-tracker__count span { font-size: 14px; font-weight: 400; color: var(--ink-mute); margin-left: 4px; }
.squad-tracker__bar {
  margin: 0;
  display: flex;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-low);
}
.squad-tracker__bar i { flex: 1; background: var(--surface-high); border-right: 1px solid var(--bg); }
.squad-tracker__bar i:last-child { border-right: none; }
.squad-tracker__bar i.is-on { background: var(--secondary); }
.squad-tracker__slots { display: flex; justify-content: space-between; padding-inline: 4px; }
.squad-tracker__slots div { display: flex; flex-direction: column; align-items: center; font-size: 9px; font-weight: 600; color: var(--ink-mute); }
.squad-tracker__slots div.is-on { color: var(--secondary); }
.squad-tracker__slots svg { width: 18px; height: 18px; }

/* Puckhead edge */
.puckhead-edge { padding-top: var(--stack); }
.edge-block {
  background: var(--surface-high);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px;
}
.edge-block h2 { margin-bottom: 16px; }
.edge-block p { color: var(--ink-mute); }
.edge-crew { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.edge-crew__dots { display: flex; }
.edge-crew__dots i {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: -12px;
  color: var(--primary);
}
.edge-crew__dots i:nth-child(2) { color: var(--secondary); }
.edge-crew__dots i:nth-child(3) { color: #fff; }
.edge-crew__dots i svg { width: 20px; height: 20px; }
.edge-crew__count { font-size: 12px; font-weight: 600; color: var(--ink); }

/* Ice insights */
.ice-insights { padding-top: var(--stack); }
.ice-insights h2 { margin-bottom: 16px; }
.insight-list { display: grid; gap: 16px; }
.insight-card {
  display: flex;
  height: 112px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.insight-card:hover { border-color: var(--secondary); background: var(--surface-high); }
.insight-card__media { width: 33.333%; flex: none; background-size: cover; background-position: center; }
.insight-card__body { width: 66.667%; padding: 12px; display: flex; flex-direction: column; justify-content: center; }
.insight-card__kicker { margin: 0 0 4px; font-size: 10px; font-weight: 900; text-transform: uppercase; color: var(--primary); }
.insight-card__kicker--cyan { color: var(--secondary); }
.insight-card__body h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Inner-page helpers */
.section { padding-block: 40px; }
.page-head { padding-block: 32px 8px; }
.page-head h1 { margin-bottom: 12px; }
.page-head p { color: var(--ink-mute); }
.crumbs { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--secondary); }

.prose h2 { font-size: 20px; text-transform: uppercase; margin: 28px 0 10px; color: #fff; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-mute); }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--secondary); }
.legal-meta { font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }

.steps { display: grid; gap: 12px; counter-reset: step; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 18px 60px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px; top: 18px;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(0, 229, 255, .12);
  border: 1px solid rgba(0, 229, 255, .35);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 15px; text-transform: uppercase; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--ink-mute); margin: 0; }

.insight-posts { display: grid; gap: 22px; }
.insight-post {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 20px;
}
.insight-post img { width: 100%; height: 190px; object-fit: cover; }
.insight-post > p, .insight-post > h2 { padding-inline: 20px; }
.insight-post > .insight-card__kicker { margin-top: 18px; }
.insight-post h2 { margin: 8px 0 12px; font-size: 20px; text-transform: uppercase; }
.insight-post p { color: var(--ink-mute); font-size: 14px; }

.x-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 460px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
td b { color: #fff; }

.faq { display: grid; gap: 10px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
details summary { list-style: none; padding: 16px 46px 16px 18px; position: relative; font-weight: 600; font-size: 14px; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '';
  position: absolute;
  right: 18px; top: 50%;
  width: 9px; height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
details.is-open summary::after { transform: rotate(-135deg); margin-top: -2px; }
details .details__body { padding: 0 18px 16px; font-size: 13px; color: var(--ink-mute); }

.form-grid { display: grid; gap: 14px; }
label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
input[type='text'], input[type='email'], textarea, select {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-high);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
textarea { resize: none; min-height: 130px; }
input:focus, textarea:focus, select:focus { border-color: var(--secondary); outline: none; }
.cselect { position: relative; }
.cselect select { appearance: none; padding-right: 40px; cursor: pointer; }
.cselect::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Footer (mockup: brand, address, map, RG block, legal links, copyright) */
.site-footer {
  margin-top: var(--stack);
  border-top: 1px solid var(--line);
  background: var(--surface-lowest);
  padding-block: var(--stack);
}
.site-footer > .container > * + * { margin-top: var(--stack); }
.footer-brand { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; }
.footer-brand__icon { width: 24px; height: 24px; flex: none; color: var(--primary); }
.footer-brand__name { font-size: 16px; font-weight: 600; text-transform: uppercase; color: #fff; }
.footer-address { font-size: 14px; font-style: normal; color: var(--ink-mute); }
.footer-map, .footer-map iframe {
  display: block;
  width: 100%;
  height: 160px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.footer-map {
  overflow: hidden;
  padding: 0;
  position: relative;
  background: var(--surface-high);
}
.footer-map__link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  text-decoration: none;
}
.footer-map__link svg { color: var(--primary); flex: none; }
.footer-map__link:hover { color: var(--secondary); }
.footer-map.is-loaded .footer-map__link { display: none; }
.footer-map iframe { filter: invert(.92) grayscale(1) contrast(1.05); }
.footer-map iframe { margin: 0; border: 0; }

.rg-box { padding-top: 16px; border-top: 1px solid rgba(42, 42, 50, .3); }
.rg-box__top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--primary); flex-wrap: wrap; }
.rg-box__phone { margin-left: auto; }
.rg-box__phone + .rg-badge { margin-left: 0; }
.rg-box__logo { width: auto; height: 18px; flex: none; }
.rg-box__title { margin: 0; font-size: 16px; font-weight: 600; text-transform: uppercase; }
.rg-badge {
  width: 48px; height: 48px;
  margin-left: auto;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 45, 85, .3);
  object-fit: cover;
  box-shadow: 0 0 15px rgba(255, 45, 85, .3);
}
.rg-box p { font-size: 12px; line-height: 1.6; color: var(--ink-mute); margin-bottom: 16px; }


.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-legal a { font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: var(--ink-mute); }
.footer-legal a:hover { color: var(--primary); }
.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* Age gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 11, .96);
  background-image:
    linear-gradient(to right, #1a1a1f 1px, transparent 1px),
    linear-gradient(to bottom, #1a1a1f 1px, transparent 1px);
  background-size: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.age-gate__card {
  width: 100%;
  max-width: 448px;
  background: rgba(17, 17, 20, .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.age-gate__card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--secondary);
  box-shadow: 0 0 15px rgba(0, 229, 255, .2);
}
.age-gate__icon { width: 48px; height: 48px; color: var(--secondary); margin: 0 auto 8px; }
.age-gate__card h2 { margin-bottom: 32px; text-transform: none; }
.age-gate__actions { display: grid; gap: 16px; }
.age-gate__actions .btn { padding-block: 14px; font-size: 18px; }
.age-gate__note { margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-mute); }

/* Cookie banner */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: rgba(14, 14, 15, .97);
  border-top: 1px solid var(--line);
  padding: 14px 16px;
}
.cookie-bar__inner { display: flex; flex-direction: column; gap: 12px; max-width: 1280px; margin-inline: auto; }
.cookie-bar h2 { margin: 0 0 4px; }
.cookie-bar p { font-size: 12px; color: var(--ink-mute); margin: 0; }
.cookie-bar a { color: var(--secondary); }
.cookie-bar__actions { display: flex; gap: 10px; }

/* Support chat */
.chat-toggle {
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--cookie-h));
  z-index: 130;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, .45);
  background: var(--surface-high);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 229, 255, .28);
  transition: transform .2s ease, box-shadow .2s ease, bottom .25s ease;
}
.chat-toggle:hover { transform: scale(1.06); box-shadow: 0 0 26px rgba(0, 229, 255, .45); }
.chat-toggle svg { width: 26px; height: 26px; }
.chat-toggle__badge {
  position: absolute;
  top: 2px; right: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--surface-high);
}
.chat-panel {
  position: fixed;
  right: 16px;
  bottom: calc(84px + var(--cookie-h));
  z-index: 131;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 460px;
  max-height: calc(100vh - 140px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}
.chat-panel__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-high); }
.chat-panel__avatar {
  width: 36px; height: 36px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
}
.chat-panel__who b { display: block; font-size: 13px; color: #fff; }
.chat-panel__who span { font-size: 11px; color: var(--secondary); }
.chat-panel__close {
  margin-left: auto;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 82%; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; margin: 0; }
.chat-msg--bot { background: var(--surface-high); border: 1px solid var(--line); border-bottom-left-radius: 3px; align-self: flex-start; }
.chat-msg--user { background: var(--primary-deep); color: #fff; border-bottom-right-radius: 3px; align-self: flex-end; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.chat-quick button {
  background: rgba(0, 229, 255, .08);
  border: 1px solid rgba(0, 229, 255, .3);
  color: var(--secondary);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
}
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; padding: 10px 12px; font-size: 13px; }
.chat-form button {
  width: 42px;
  border: none;
  border-radius: 8px;
  background: var(--secondary);
  color: var(--on-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chat-form button svg { width: 18px; height: 18px; }

/* Simulate match modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(10, 10, 11, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .6);
}
.modal-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--secondary);
  border-radius: var(--radius) 0 0 var(--radius);
}
.modal-card h3 { margin-bottom: 8px; color: #fff; }
.modal-card > p { font-size: 14px; color: var(--ink-mute); margin-bottom: 20px; }
.modal-card__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-card__close:hover { border-color: var(--secondary); color: var(--secondary); }

/* Toast */
.toast-backdrop {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(10, 10, 11, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.toast-card {
  background: var(--surface);
  border: 1px solid var(--secondary);
  border-radius: var(--radius);
  padding: 26px;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 229, 255, .2);
}
.toast-card h3 { margin-bottom: 8px; }
.toast-card p { font-size: 13px; color: var(--ink-mute); margin: 0; }

/* ---------- Tablet ---------- */
@media (min-width: 821px) {
  :root { --pad: 24px; --stack: 48px; }
  .brand__mark { height: 20px; }
  .brand__name { font-size: 20px; }
  body { font-size: 16px; }
  .t-h1 { font-size: 42px; letter-spacing: -0.02em; line-height: 1.1; }
  .t-h2 { font-size: 26px; letter-spacing: -0.01em; }
  .section { padding-block: 56px; }
  .hero-arena__lead { width: auto; font-size: 18px; }
  .hero-arena__cta { flex-direction: row; }
  .hero-arena__cta .btn { min-width: 260px; }
  .puck-drop__card { flex-direction: row; justify-content: space-between; padding: 24px; }
  .puck-drop__match { width: auto; border-top: none; border-left: 1px solid var(--line); padding: 0 0 0 24px; }
  .mode-card { height: 190px; }
  .mode-card--wide { height: 260px; }
  .player-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-post img { height: 220px; }
  .footer-map, .footer-map iframe { height: 200px; }
  .cookie-bar__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-bar__actions { flex: none; }
  .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Desktop ---------- */
@media (min-width: 1221px) {
  :root { --pad: 48px; }
  .burger { display: none; }
  .t-h1 { font-size: 54px; }
  .hero-arena { min-height: 700px; }
  .mode-card { height: 180px; }
  .mode-card--wide { height: 333px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
  .footer-brand-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    gap: 8px 32px;
    align-items: start;
  }
  .footer-brand { grid-column: 1; grid-row: 1; }
  .footer-address { grid-column: 1; grid-row: 2; }
  .footer-map { grid-column: 2; grid-row: 1 / span 2; }
  .footer-map, .footer-map iframe { margin-top: 0; height: 100%; min-height: 200px; }
}


@media (max-width: 1220px) {
  .burger { display: block; }

  .site-header .container { position: relative; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    max-height: calc(100dvh - var(--header-offset, 96px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--pad) 24px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .25s ease, visibility 0s linear .3s;
  }
  .nav[data-open='true'] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .25s ease, visibility 0s linear 0s;
  }
  .nav a {
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }

  /* no scroll-lock: sticky header keeps the alert strip in place, nothing jumps */
  body[data-nav-open='true'] .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: var(--bg);
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 430px) {
  .t-h1 { font-size: 28px; }
  .t-h2 { font-size: 17px; }
  .hero-arena { min-height: 620px; }
  .hero-arena__cta .btn { font-size: 18px; }
  .puck-drop__clock { gap: 12px; }
  .player-card { padding: 12px; }
  .player-card__photo { width: 56px; height: 56px; }
  .player-card__id { gap: 12px; }
  .chat-panel { right: 10px; left: 10px; width: auto; }
  .chat-toggle { right: 12px; }
}

@media (max-width: 360px) {
  :root { --pad: 12px; }
  .t-h1 { font-size: 25px; }
  .btn { padding: 12px 16px; font-size: 15px; }
  .hero-arena__cta .btn { font-size: 17px; }
}
