/* ═══════════════════════════════════════════════════════════
   Allgäuer Sportsbar · Kempten / 23
   Tokens carried over from the original theme.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:        hsl(210 6% 4%);
  --card:      hsl(210 6% 6%);
  --border:    hsl(210 6% 14%);
  --fg:        hsl(130 18% 96%);
  --muted:     hsl(130 8% 65%);
  --alpine:    hsl(150 27% 24%);
  --neon:      #cbff00;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 62ch;
  --rule: 1px solid var(--border);
}

/* ── Reset ─────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, dl, dd, figure, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -110%);
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--neon); color: #000;
  font-family: var(--font-mono); font-size: .75rem;
  text-transform: uppercase; letter-spacing: .18em;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ── Shared type ───────────────────────────────────────── */

.meta {
  font-family: var(--font-mono);
  font-size: .6875rem;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--muted);
}
@media (min-width: 48em) { .meta { font-size: .75rem; } }

.section__head h2,
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.04em;
  line-height: .85;
  text-wrap: balance;
}

.section__head em,
.hero h1 em,
.gastro__claim em,
.betcta__head em,
.footer__display em {
  font-style: normal;
  color: var(--neon);
}

/* ── Navigation ────────────────────────────────────────── */

.pillnav {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: none;
  align-items: center;
  gap: .25rem;
  padding: .5rem;
  border: 1px solid hsl(210 6% 14% / .8);
  border-radius: 999px;
  background: hsl(210 6% 4% / .4);
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / .5);
}
@media (min-width: 48em) { .pillnav { display: flex; } }

.pillnav a {
  padding: .5rem 1rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.pillnav a:hover { color: var(--fg); }

.pillnav__brand {
  font-family: var(--font-display) !important;
  font-size: .875rem !important;
  font-weight: 700;
  letter-spacing: .12em !important;
  color: var(--fg) !important;
}
.pillnav__brand:hover { color: var(--neon) !important; }

.pillnav__cta {
  background: var(--neon);
  color: #000 !important;
  font-weight: 700;
}
.pillnav__cta:hover { background: #fff; }

/* Mobile bar */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  background: hsl(210 6% 4% / .72);
  backdrop-filter: blur(16px);
  border-bottom: var(--rule);
}
@media (min-width: 48em) { .topbar { display: none; } }

.topbar__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.topbar__toggle { padding: .5rem; margin: -.5rem; }
.topbar__bars,
.topbar__bars::before,
.topbar__bars::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--fg);
  transition: transform .25s, opacity .2s;
}
.topbar__bars { position: relative; }
.topbar__bars::before,
.topbar__bars::after { content: ""; position: absolute; left: 0; }
.topbar__bars::before { top: -7px; }
.topbar__bars::after  { top: 7px; }

[aria-expanded="true"] .topbar__bars { background: transparent; }
[aria-expanded="true"] .topbar__bars::before { transform: translateY(7px) rotate(45deg); }
[aria-expanded="true"] .topbar__bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* An author-level display value outranks the UA's [hidden] rule,
   so the attribute has to be honoured explicitly. */
.mobile-nav[hidden] { display: none; }

.mobile-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  padding: .5rem var(--gutter) 1.5rem;
  background: hsl(210 6% 4% / .97);
  border-bottom: var(--rule);
}
.mobile-nav a {
  padding: .875rem 0;
  font-family: var(--font-mono);
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  border-bottom: var(--rule);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav__cta {
  margin-top: 1rem;
  text-align: center;
  background: var(--neon);
  color: #000 !important;
  font-weight: 700;
}

/* ── Hero ──────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
}

.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* A portrait crop of this landscape shot otherwise lands on flat
     ball leather, so aim it at the floodlight and the stands. */
  object-position: 48% 38%;
  transform: scale(1.08);
}
@media (min-width: 48em) {
  .hero__media img { object-position: 65% 40%; }
}
/* Narrow screens: the headline spans the full width, so only a vertical
   scrim is needed and the ball keeps as much room as possible. */
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, hsl(210 6% 4% / .35) 0%, hsl(210 6% 4% / .12) 28%, hsl(210 6% 4% / .5) 62%, var(--bg) 100%);
}

/* Wider screens: the headline sits left, so darken that side instead. */
@media (min-width: 48em) {
  .hero__media::after {
    background:
      linear-gradient(to right, hsl(210 6% 4% / .82) 0%, hsl(210 6% 4% / .35) 45%, transparent 75%),
      linear-gradient(to bottom, hsl(210 6% 4% / .55) 0%, transparent 25%, transparent 55%, var(--bg) 100%);
  }
}

.hero__watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22vw;
  line-height: 1;
  letter-spacing: -.05em;
  color: hsl(130 18% 96% / .06);
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  padding: 6rem var(--gutter) 8rem;
}
@media (min-width: 48em) {
  .hero__inner { padding: 3rem var(--gutter) 10rem; }
}

.hero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.meta--right { text-align: right; }
.hero__status { display: none; }
@media (min-width: 48em) { .hero__status { display: block; } }

.hero__onair { display: inline-flex; align-items: center; gap: .5rem; }
.dot {
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--neon);
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(3.25rem, 15vw, 9rem);
  margin: 0;
}
@media (min-width: 48em) { .hero h1 { font-size: 10vw; } }

.hero__lede {
  margin-top: 1.5rem;
  max-width: 30rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}
@media (min-width: 48em) { .hero__lede { font-size: 1.125rem; } }

.hero__scroll { display: none; align-items: center; gap: .75rem; }
@media (min-width: 48em) { .hero__scroll { display: flex; } }
.chev { animation: bounce 1.6s infinite; }

/* ── Ticker ────────────────────────────────────────────── */

.ticker {
  overflow: hidden;
  border-top: var(--rule);
  border-bottom: var(--rule);
  background: hsl(210 6% 4% / .6);
  padding: .75rem 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker__track--rev { animation-direction: reverse; }
.ticker__group { display: flex; flex-shrink: 0; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 1.5rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  white-space: nowrap;
  color: var(--muted);
}
.ticker__item i { font-style: normal; color: var(--neon); }

/* ── Section scaffolding ───────────────────────────────── */

.section { padding: clamp(4rem, 10vw, 8rem) 0; }
.section__head,
.schedule__hint,
.gastro__hours,
.gastro__grid,
.odds,
.how,
.betcta,
.disclaimer { padding-inline: var(--gutter); }

.section__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section__head h2 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
}
.section__lede {
  margin-top: 1.5rem;
  max-width: var(--measure);
  color: var(--muted);
}

/* ── Spielplan ─────────────────────────────────────────── */

.matches {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.matches::-webkit-scrollbar { height: 6px; }
.matches::-webkit-scrollbar-thumb { background: var(--border); }

.match {
  flex: 0 0 auto;
  width: min(78vw, 22rem);
  scroll-snap-align: start;
}
.match > a {
  position: relative;
  display: block;
  height: clamp(20rem, 44vh, 26rem);
  overflow: hidden;
  border: var(--rule);
  background: var(--card);
  transition: border-color .25s;
}
.match > a:hover { border-color: hsl(130 18% 96% / .35); }

.match__flag {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--home) 0%, var(--home) 48%, var(--away) 52%, var(--away) 100%);
  opacity: .16;
  transition: opacity .3s;
}
.match > a:hover .match__flag { opacity: .28; }

.match__body {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, hsl(210 6% 4% / .92) 30%, transparent 85%);
}

.match__league,
.match__date,
.match__time,
.match__cta {
  font-family: var(--font-mono);
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.match__league { color: var(--neon); }
.match__date   { color: var(--muted); margin-top: .35rem; }

.match__tie {
  margin-top: auto;
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.match__tie i {
  display: block;
  margin: .25rem 0;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .6875rem;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--muted);
}

.match__time { margin-top: 1rem; color: var(--muted); }
.match__cta {
  margin-top: .75rem;
  color: var(--fg);
  transition: color .2s;
}
.match > a:hover .match__cta { color: var(--neon); }

.schedule__hint { margin-top: 1.5rem; }

/* ── Getränke ──────────────────────────────────────────── */

.gastro__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 60em) {
  .gastro__grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.pricelist__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.125rem 0;
  border-bottom: var(--rule);
}
.pricelist__row:first-child { border-top: var(--rule); }

.pricelist dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.pricelist__note {
  display: block;
  margin-top: .25rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .8125rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.pricelist dd {
  font-family: var(--font-mono);
  font-size: .9375rem;
  white-space: nowrap;
}
.pricelist__row--feature dd { color: var(--neon); }

.tag {
  display: inline-block;
  margin-left: .5rem;
  padding: .15rem .5rem;
  border: 1px solid var(--neon);
  font-family: var(--font-mono);
  font-size: .5625rem;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--neon);
  vertical-align: middle;
}

.gastro__side { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.shot { overflow: hidden; border: var(--rule); }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.shot--offset { margin-top: 2.5rem; }

.gastro__claim {
  grid-column: 1 / -1;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.03em;
}

.gastro__hours { margin-top: clamp(2rem, 5vw, 3rem); }

/* ── Sportwetten ───────────────────────────────────────── */

.odds {
  margin-bottom: clamp(3rem, 8vw, 5rem);
}
.odds__cap { margin-bottom: 1rem; }

/* Capped so the odds stay next to the fixture they belong to
   instead of drifting to the far edge on wide screens. */
.odds__table {
  max-width: 46rem;
  border-top: var(--rule);
  font-variant-numeric: tabular-nums;
}
.odds__table th,
.odds__table td {
  padding: 1.125rem .75rem;
  border-bottom: var(--rule);
  text-align: left;
  vertical-align: middle;
}
.odds__table thead th {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
}
.odds__table .num { text-align: right; width: 5rem; }
.odds__table tbody td {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--neon);
}
.odds__table tbody th { font-weight: 400; }

.odds__league {
  display: block;
  font-family: var(--font-mono);
  font-size: .625rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
}
.odds__tie {
  display: block;
  margin-top: .25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}
.odds__time {
  display: block;
  margin-top: .2rem;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .2em;
  color: var(--muted);
}
.odds__foot { margin-top: 1rem; }

/* Steps — a genuine sequence, so they carry numbers. */
.how { margin-bottom: clamp(3rem, 8vw, 5rem); }
.how__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 2rem;
}
.how__steps {
  display: grid;
  gap: 2rem;
  counter-reset: step;
}
@media (min-width: 40em) { .how__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .how__steps { grid-template-columns: repeat(4, 1fr); } }

.how__steps li {
  counter-increment: step;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(130 18% 96% / .18);
}
.how__steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: .75rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--neon);
}
.how__steps h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.how__steps p {
  margin-top: .5rem;
  font-size: .9375rem;
  color: var(--muted);
}

.betcta {
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  border-top: var(--rule);
  border-bottom: var(--rule);
  background:
    radial-gradient(120% 140% at 0% 0%, hsl(150 27% 24% / .35), transparent 60%),
    var(--card);
}
.betcta__head {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.03em;
}
.betcta__body { margin-top: 1rem; max-width: var(--measure); color: var(--muted); }

.btn {
  display: inline-block;
  margin-top: 1.75rem;
  padding: .875rem 2rem;
  background: var(--neon);
  color: #000;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  transition: background-color .2s;
}
.btn:hover { background: #fff; }

.disclaimer {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  line-height: 1.8;
  letter-spacing: .12em;
  color: var(--muted);
}
.disclaimer a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* ── Footer ────────────────────────────────────────────── */

.footer { position: relative; overflow: hidden; border-top: var(--rule); }
.footer__media { position: absolute; inset: 0; }
.footer__media img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.footer__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, hsl(210 6% 4% / .82) 45%, var(--bg) 100%);
}

.footer__inner {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) var(--gutter) 3rem;
}

.footer__display {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 9vw, 6rem);
  line-height: .85;
  text-transform: uppercase;
  letter-spacing: -.04em;
}
.footer__sub { margin-top: 1rem; color: var(--muted); }

.footer__cols {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-top: 2.5rem;
  border-top: var(--rule);
}
@media (min-width: 48em) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }

.footer__col h2 { margin-bottom: 1rem; font-size: .6875rem; font-weight: 400; }
.footer__col address { line-height: 1.9; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--neon); }

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
}
.hours dt { color: var(--muted); }
.hours dd { font-family: var(--font-mono); font-size: .875rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: var(--rule);
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.social { display: flex; gap: 1.5rem; }
.social a {
  font-family: var(--font-mono);
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  transition: color .2s;
}
.social a:hover { color: var(--neon); }

/* Legal reachability (Task 18): Impressum/Datenschutz links, present in
   this footer on every page. Same mono/uppercase treatment as .social,
   kept as its own row so it reads as a distinct, secondary line rather
   than competing with the social links above it. */
.legal-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.legal-links a {
  font-family: var(--font-mono);
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  transition: color .2s;
}
.legal-links a:hover { color: var(--neon); }

.colophon {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: hsl(130 8% 65% / .7);
}
.colophon a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.colophon a:hover { color: var(--neon); }

/* Keep the fixed pill nav clear of the footer end. */
@media (min-width: 48em) { .footer__inner { padding-bottom: 6rem; } }

/* ── Legal (Impressum / Datenschutz) ──────────────────────
   The rest of this stylesheet is tuned for a one-page landing site -
   short lines, huge display type, no real body copy. Impressum and
   Datenschutz are ordinary prose pages, so this is a small, separate
   type scale built for reading rather than impact: body-width measure,
   left-aligned sentence case, and headings sized down from the
   landing page's display scale while staying on the same dark
   palette and the same font stack. */
.legal {
  padding: clamp(7rem, 14vw, 10rem) var(--gutter) clamp(4rem, 10vw, 6rem);
  max-width: var(--measure);
  margin-inline: auto;
}

.legal__head { margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.legal__head h1 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .95;
  font-size: clamp(2.25rem, 7vw, 3.75rem);
}

.legal__block { margin-top: clamp(2rem, 5vw, 2.75rem); }
.legal__block:first-of-type { margin-top: 0; }

.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.legal p,
.legal address {
  margin-top: .75rem;
  color: var(--muted);
}
.legal p:first-child,
.legal address:first-child { margin-top: 1rem; }

.legal address { line-height: 1.9; }

.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--neon); }

.legal strong { color: var(--fg); font-weight: 600; }

.legal code {
  padding: .1em .4em;
  font-family: var(--font-mono);
  font-size: .875em;
  color: var(--fg);
  background: var(--card);
  border: var(--rule);
}

/* ── Motion ────────────────────────────────────────────── */

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1;  box-shadow: 0 0 0 0 hsl(73 100% 50% / .5); }
  50%      { opacity: .6; box-shadow: 0 0 0 .5rem hsl(73 100% 50% / 0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(25%); }
}

/* Scroll reveal, limited to the section headings and the closing CTA —
   never to prices, odds or fixtures, which must be readable the instant
   they are on screen. Content is visible by default so it never depends
   on JS; the script opts in by setting .js-reveal. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease-out, transform .35s ease-out;
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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