/* ==========================================================================
   ClubScore — hoja de estilos principal
   Paleta tomada de VoleyScore: fondo oscuro + amarillo #F5C842
   ========================================================================== */

:root {
  --bg:          #08090D;
  --bg-soft:     #0C0E14;
  --surface:     #11131A;
  --surface-2:   #161922;
  --line:        rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  --text:        #F2F3F6;
  --muted:       #98A0AE;
  --muted-2:     #6E7684;

  --brand:       #F5C842;
  --brand-soft:  #FFE27A;
  --green:       #43D17C;
  --red:         #FF5F5F;

  --radius:      20px;
  --radius-sm:   12px;
  --max:         1180px;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;

  --shadow:      0 24px 60px -20px rgba(0, 0, 0, .85);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--brand); color: #131313; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #111; padding: .75rem 1.2rem;
  z-index: 200; font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.25; }

h1 em {
  font-style: normal;
  color: var(--brand);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(245, 200, 66, .14);
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  color: var(--muted);
  max-width: 34rem;
  margin-top: 1.5rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #14140F;
  box-shadow: 0 10px 30px -12px rgba(245, 200, 66, .7);
}
.btn-primary:hover { background: var(--brand-soft); transform: translateY(-2px); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .02);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-play svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(8, 9, 13, .74);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(8, 9, 13, .92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.brand-mark { width: 30px; height: 30px; color: var(--brand); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -.02em;
}
.brand-word b { font-weight: 700; color: var(--brand); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  font-size: .92rem;
  color: var(--muted);
}
.nav a { position: relative; transition: color .18s ease; }
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .7rem; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menu-toggle span {
  display: block; width: 17px; height: 1.6px;
  background: var(--text); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.2rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% 20% 40% -10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(245, 200, 66, .13), transparent 70%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--brand);
  opacity: .05;
}
.court { width: 100%; height: 100%; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 0; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--muted);
}
.hero-facts strong { color: var(--text); font-weight: 600; display: block; font-size: 1.05rem; }

/* ---------- Marcador demo ---------- */
.hero-demo { position: relative; margin-top: 2.8rem; }

.score-card {
  position: relative;
  background: linear-gradient(160deg, #171A23 0%, #101219 65%);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1.4rem 1.5rem 1.15rem;
  box-shadow: var(--shadow);
  z-index: 2;
}

.score-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.live { display: inline-flex; align-items: center; gap: .45rem; color: var(--green); }
.live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(67, 209, 124, .5); }
  50%      { box-shadow: 0 0 0 5px rgba(67, 209, 124, 0); }
}

.score-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 1.35rem;
}

.team { display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.team:last-child { align-items: flex-end; text-align: right; }

.team-tag {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.team-tag.local { color: var(--brand); }

.team-name { font-size: .86rem; color: var(--muted); }

.team-score {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  transition: transform .16s ease, color .2s ease;
}
.team-score.bump { transform: scale(1.12); color: var(--brand); }

.score-sep {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--muted-2);
  padding-top: .6rem;
}

.score-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }

.point-btn {
  padding: .85rem .6rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: .87rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  transition: transform .12s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.point-btn:hover { transform: translateY(-2px); }
.point-btn:active { transform: translateY(0) scale(.98); }
.point-btn.local:hover { border-color: var(--brand); color: var(--brand); background: rgba(245, 200, 66, .08); }
.point-btn.away:hover { border-color: var(--red); color: var(--red); background: rgba(255, 95, 95, .07); }

.score-foot {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.mini { display: flex; flex-direction: column; gap: .1rem; }
.mini-label { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); }
.mini-value { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.video-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(245, 200, 66, .1);
  border: 1px solid rgba(245, 200, 66, .28);
  color: var(--brand);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
  transition: background .18s ease, transform .18s ease;
}
.video-chip:hover { background: rgba(245, 200, 66, .18); transform: translateY(-1px); }
.video-chip svg { width: 16px; height: 16px; }

/* tarjetas flotantes */
.float-card {
  position: absolute;
  background: rgba(20, 23, 31, .92);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .75rem .95rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
  z-index: 3;
  animation: floaty 7s ease-in-out infinite;
}
.fc-1 { left: -1.6rem; top: -3rem; min-width: 148px; }
.fc-2 { right: -1.1rem; bottom: -1.6rem; min-width: 168px; animation-delay: -3.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.fc-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); }
.fc-value { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; }
.fc-value small { font-size: .72rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.fc-bar { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .08); margin-top: .3rem; overflow: hidden; }
.fc-bar i { display: block; height: 100%; background: var(--brand); border-radius: 2px; }
.fc-trend { font-size: .7rem; color: var(--green); }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: .9rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: scroll 38s linear infinite;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: var(--brand); opacity: .8; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-lead { margin-top: 1.2rem; color: var(--muted); font-size: 1.02rem; max-width: 38rem; }

.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* evita que un hijo ancho (tablas, texto largo) estire la grilla */
.grid > *, .steps > *, .sports > *, .duo > *, .hero-grid > *,
.stats-grid > *, .footer-grid > *, .cta-inner > *, .score-actions > * { min-width: 0; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 85% 0%, rgba(245, 200, 66, .1), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245, 200, 66, .3); }
.card:hover::after { opacity: 1; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(245, 200, 66, .1);
  border: 1px solid rgba(245, 200, 66, .2);
  color: var(--brand);
  margin-bottom: 1.15rem;
}
.card-icon svg { width: 21px; height: 21px; }

.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .93rem; }

/* ---------- Duo: planilla + video ---------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 1rem;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
  min-width: 0;
  overflow-x: auto;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.panel-title { font-size: .84rem; color: var(--muted); }
.badge {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .22rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 200, 66, .35);
  color: var(--brand);
}

table.stats {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
  font-variant-numeric: tabular-nums;
}
table.stats th {
  text-align: right;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: .5rem .45rem;
  border-bottom: 1px solid var(--line);
}
table.stats th:first-child, table.stats td:first-child { text-align: left; padding-left: 0; }
table.stats td {
  text-align: right;
  padding: .62rem .45rem;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  color: var(--muted);
}
table.stats tbody tr:last-child td { border-bottom: 0; }
table.stats td:first-child { color: var(--text); font-weight: 600; }
table.stats td:first-child span { color: var(--muted-2); font-weight: 400; margin-left: .3rem; }
table.stats .pos { color: var(--green); }
table.stats .neg { color: var(--red); }
table.stats .total { color: var(--text); font-weight: 700; }

.panel-foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .74rem;
  color: var(--muted);
}
.legend { display: inline-flex; align-items: center; gap: .38rem; }
.legend i { width: 7px; height: 7px; border-radius: 50%; }
.legend i.g { background: var(--green); }
.legend i.r { background: var(--red); }
.legend.muted { margin-left: auto; color: var(--muted-2); }

/* video */
.panel-video { padding: 1rem; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(245, 200, 66, .16), transparent 70%),
    linear-gradient(160deg, #1B1F2A, #0D0F15);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-top {
  position: absolute; top: .8rem; left: .9rem; right: .9rem;
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .7rem; color: var(--muted-2);
}
.video-title { color: var(--muted); }
.video-src { color: var(--red); font-weight: 600; letter-spacing: .06em; }

.video-play {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--brand);
  color: #131313;
  display: grid; place-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 0 0 0 rgba(245, 200, 66, .35);
}
.video-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-play:hover { transform: scale(1.07); box-shadow: 0 0 0 10px rgba(245, 200, 66, .12); }

.video-bar {
  position: absolute; left: 0; right: 0; bottom: 2.1rem;
  height: 3px;
  background: rgba(255, 255, 255, .1);
}
.video-progress { position: absolute; inset: 0 auto 0 0; background: var(--brand); opacity: .35; }
.marker {
  position: absolute; top: 50%;
  width: 7px; height: 7px;
  background: var(--muted);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.marker.active {
  background: var(--brand);
  width: 9px; height: 9px;
  box-shadow: 0 0 0 4px rgba(245, 200, 66, .18);
}

.video-timecode {
  position: absolute; bottom: .55rem; right: .9rem;
  font-size: .72rem;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.anchors { margin-top: .9rem; display: grid; gap: .2rem; }
.anchors li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .55rem .65rem;
  border-radius: 10px;
  font-size: .82rem;
  color: var(--muted);
  transition: background .18s ease, color .18s ease;
}
.anchors li:hover { background: rgba(255, 255, 255, .03); color: var(--text); }
.anchors li.is-active { background: rgba(245, 200, 66, .09); color: var(--text); }
.an-time {
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
  color: var(--muted-2);
  min-width: 4.6rem;
}
.anchors li.is-active .an-time { color: var(--brand); }

/* ---------- Para quién ---------- */
.who {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  transition: border-color .25s ease, transform .25s ease;
}
.who:hover { border-color: rgba(245, 200, 66, .3); transform: translateY(-3px); }
.who h3 { color: var(--brand); margin-bottom: .55rem; }
.who p { color: var(--muted); font-size: .9rem; }
.who ul { margin-top: .9rem; display: grid; gap: .35rem; }
.who li {
  position: relative;
  padding-left: 1rem;
  font-size: .82rem;
  color: var(--muted-2);
}
.who li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .6;
}

/* ---------- Pasos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.step {
  position: relative;
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step:hover { border-color: rgba(245, 200, 66, .3); }
.step-no {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .12em;
}
.step h3 { margin: .7rem 0 .5rem; }
.step p { color: var(--muted); font-size: .9rem; }

/* ---------- Números ---------- */
.stats-band {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245, 200, 66, .045), transparent 70%);
  padding: clamp(2.6rem, 5vw, 3.8rem) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--muted); }

/* ---------- Deportes ---------- */
.sports {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.sport {
  padding: 1.5rem 1.35rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .012);
  transition: border-color .25s ease, background .25s ease;
}
.sport.is-on {
  border-style: solid;
  border-color: rgba(245, 200, 66, .35);
  background: linear-gradient(170deg, rgba(245, 200, 66, .07), rgba(245, 200, 66, .015));
}
.sport-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
}
.sport-ico svg { width: 24px; height: 24px; }
.sport.is-on .sport-ico {
  color: var(--brand);
  border-color: rgba(245, 200, 66, .32);
  background: rgba(245, 200, 66, .09);
}
.sport h3 { margin: .75rem 0 .4rem; }
.sport p { color: var(--muted); font-size: .85rem; margin-bottom: .9rem; }
.tag {
  font-size: .68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line-strong);
  padding: .2rem .55rem;
  border-radius: 999px;
}
.tag-on { color: #131313; background: var(--brand); border-color: var(--brand); font-weight: 600; }

/* ---------- CTA ---------- */
.cta {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background:
    radial-gradient(60% 90% at 15% 20%, rgba(245, 200, 66, .12), transparent 65%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cta-copy h2 { margin-bottom: 1rem; }
.cta-copy p:not(.eyebrow) { color: var(--muted); max-width: 32rem; }
.cta-actions { display: flex; flex-direction: column; gap: .7rem; align-items: stretch; }
.cta-note { font-size: .78rem; color: var(--muted-2); text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(2.6rem, 5vw, 3.6rem) 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand p { color: var(--muted-2); font-size: .86rem; margin-top: 1rem; max-width: 22rem; }

.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-2);
  margin-bottom: .3rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col a { font-size: .87rem; color: var(--muted); transition: color .18s ease; }
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted-2);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .hero-demo { max-width: 520px; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .sports { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .panel { padding: .95rem; }
  table.stats { font-size: .75rem; }
  table.stats th, table.stats td { padding-inline: .28rem; }
  .panel-foot { gap: .7rem; }

  .nav {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: .5rem clamp(1.15rem, 4vw, 2.5rem) 1.2rem;
    background: rgba(8, 9, 13, .97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  .menu-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }

  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .sports { grid-template-columns: 1fr; }

  .hero-facts { gap: 1.2rem 1.6rem; }
  .score-foot { gap: .9rem; }
  .mini:nth-child(2) { display: none; }

  .float-card { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .panel-foot .legend.muted { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
