/* =============================================================
   Betting Service BV — design system
   Institutional trust × stadium energy.
   Light paper surfaces, deep navy chrome, royal blue CTAs,
   green odds. Archivo (display) + Public Sans (body).
   ============================================================= */

/* ---------- tokens ---------- */
:root {
  --ink: #0b1526;
  --navy: #0c1626;
  --navy-2: #101d33;
  --navy-3: #16263f;
  --brand: #0052cc;
  --brand-dark: #0047b3;
  --brand-bright: #3e8bff;
  --brand-050: #eaf1fc;
  --green: #2e7d32;
  --green-bright: #3ecf74;
  --green-050: #e9f5ea;
  --amber: #ffb100;
  --red: #d93025;
  --paper: #f6f8fc;
  --card: #ffffff;
  --line: #e3e8f2;
  --line-dark: rgba(255, 255, 255, 0.08);
  --text: #1a1a1a;
  --muted: #5a6478;
  --muted-dark: #93a1bd;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 21, 38, 0.06), 0 8px 24px -12px rgba(11, 21, 38, 0.18);
  --shadow-lift: 0 2px 4px rgba(11, 21, 38, 0.08), 0 18px 40px -16px rgba(11, 21, 38, 0.28);
  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Public Sans", "Segoe UI", sans-serif;
  --head-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: inline-block; }
[hidden] { display: none !important; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.ic { width: 18px; height: 18px; vertical-align: -3px; flex: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

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

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  padding: 11px 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s;
  line-height: 1.2; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(0, 82, 204, 0.55); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--brand); background: transparent; }
.site-head .btn-outline, .site-foot .btn-outline, .age-modal .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost { color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(11, 21, 38, 0.06); }
.site-head .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #256b29; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.86rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

.chip-21 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 24px; padding: 0 7px;
  border: 2px solid currentColor; border-radius: 6px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.02em;
}
.tag {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px; background: var(--brand-050); color: var(--brand);
}
.tag-boost { background: #fff3d6; color: #9a6a00; }
.tag-live { background: #fde8e6; color: var(--red); }
.tag-green { background: var(--green-050); color: var(--green); }

.dot-live {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-bright); margin-right: 6px;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.nav-live .dot-live, .tag-live .dot-live { background: #ff5247; }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 207, 116, 0.55); }
  50% { box-shadow: 0 0 0 5px rgba(62, 207, 116, 0); }
}

/* ---------- licence micro-bar ---------- */
.licence-bar {
  background: #060d19; color: var(--muted-dark);
  font-size: 0.78rem; border-bottom: 1px solid var(--line-dark);
}
.licence-bar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.lic-left { display: inline-flex; align-items: center; gap: 8px; }
.lic-left .ic { width: 15px; height: 15px; color: var(--green-bright); }
.lic-right { display: inline-flex; align-items: center; gap: 18px; }
.lic-link, .lic-chat { color: var(--muted-dark); }
.lic-chat { display: inline-flex; align-items: center; }
.licence-bar .chip-21 { color: #fff; border-width: 1.5px; min-width: 30px; height: 20px; font-size: 0.7rem; }

/* ---------- masthead ---------- */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 6px 24px -12px rgba(6, 13, 25, 0.7);
}
.site-head-in { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); height: var(--head-h); }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; flex: none; }
.logo:hover { text-decoration: none; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word-top {
  font-family: var(--font-display); font-weight: 900; font-size: 1.18rem;
  letter-spacing: 0.42em; color: #fff;
}
.logo-word-bot {
  font-family: var(--font-display); font-weight: 500; font-size: 0.64rem;
  letter-spacing: 0.19em; color: var(--muted-dark); margin-top: 3px;
}
.logo-word-bot i { font-style: normal; color: var(--green-bright); font-weight: 700; letter-spacing: 0.05em; }
.logo-shield { animation: shield-in 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both; transform-origin: center; }
.logo-line {
  stroke-dasharray: 58; stroke-dashoffset: 58;
  animation: draw-line 1s 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.logo-cross {
  stroke-dasharray: 26; stroke-dashoffset: 26;
  animation: draw-line 0.55s 1.05s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.logo-arrow {
  stroke-dasharray: 12; stroke-dashoffset: 12;
  animation: draw-line 0.35s 1.5s ease-out forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes shield-in { from { opacity: 0; transform: scale(0.82); } to { opacity: 1; transform: scale(1); } }

/* nav */
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav-link {
  position: relative; color: #cfd9ea; font-family: var(--font-display); font-weight: 600;
  font-size: 0.9rem; padding: 8px 10px; border-radius: 8px; white-space: nowrap;
}
@media (max-width: 1340px) {
  .nav-link { font-size: 0.84rem; padding: 8px 7px; }
  .site-head-in { gap: 12px; }
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.07); text-decoration: none; }
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 1px; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--brand-bright), var(--green-bright));
}

.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
}
.lang-switch a { color: var(--muted-dark); padding: 6px 10px; }
.lang-switch a:hover { text-decoration: none; color: #fff; }
.lang-switch a.is-on { background: var(--brand); color: #fff; }
.head-balance {
  display: inline-flex; align-items: center; gap: 7px; color: var(--green-bright);
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  padding: 7px 12px; border: 1px solid rgba(62, 207, 116, 0.35); border-radius: 8px;
  background: rgba(62, 207, 116, 0.08);
}
.head-balance:hover { text-decoration: none; background: rgba(62, 207, 116, 0.16); }

.burger { display: none; background: none; border: 0; padding: 10px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(0, 82, 204, 0.55), transparent 60%),
    radial-gradient(700px 380px at 88% 0%, rgba(46, 125, 50, 0.38), transparent 55%),
    linear-gradient(165deg, var(--navy) 30%, var(--navy-3) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 420px at 30% 20%, #000 0%, transparent 75%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 64px); padding: clamp(44px, 6vw, 84px) 0 clamp(36px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--green-bright); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display);
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-bright); margin-bottom: 18px;
  padding: 6px 13px; border: 1px solid rgba(62, 139, 255, 0.35); border-radius: 99px;
  background: rgba(62, 139, 255, 0.1);
}
.hero-lead { color: #c4cfe2; font-size: 1.06rem; max-width: 54ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 20px; }
.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--muted-dark); font-size: 0.82rem; }
.hero-trust img { opacity: 0.92; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ic { color: var(--green-bright); }

/* hero featured card stack */
.hero-card {
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line-dark);
  border-radius: 16px; backdrop-filter: blur(6px); padding: 18px 18px 8px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.hero-card h2 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hero-card h2 a { color: var(--brand-bright); font-size: 0.78rem; letter-spacing: 0.03em; text-transform: none; }
.hero-card .match-row { background: rgba(255, 255, 255, 0.03); border-color: var(--line-dark); }
.hero-card .match-row:hover { border-color: rgba(62, 139, 255, 0.5); }
.hero-card .match-teams b, .hero-card .match-league { color: #e8edf6; }
.hero-card .match-league { color: var(--muted-dark); }
.hero-card .odd-btn { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: #fff; }
.hero-card .odd-btn em { color: var(--muted-dark); }
.hero-card .odd-btn b { color: var(--green-bright); }
.hero-card .odd-btn:hover { border-color: var(--brand-bright); background: rgba(62, 139, 255, 0.15); }
.hero-card .odd-btn.is-picked { background: var(--brand); border-color: var(--brand); }
.hero-card .odd-btn.is-picked b { color: #fff; }

/* odds ticker */
.ticker { background: #060d19; border-top: 1px solid var(--line-dark); overflow: hidden; position: relative; }
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, #060d19, transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, #060d19, transparent); }
.ticker-track {
  display: flex; gap: 40px; width: max-content; padding: 9px 0;
  animation: ticker-scroll 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 9px; color: #b9c5da; font-size: 0.8rem; white-space: nowrap; font-family: var(--font-display); }
.ticker-item b { color: var(--green-bright); font-weight: 700; }
.ticker-item .tag-live { padding: 1px 7px; font-size: 0.62rem; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(36px, 5vw, 64px) 0; }
.section-alt { background: #eef2f9; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin: 4px 0 0; max-width: 70ch; }
.section-link { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.kicker {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px;
}

/* ---------- match rows & odds ---------- */
.league-block { margin-bottom: 26px; }
.league-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--ink);
}
.league-head .flag { font-size: 1rem; }
.league-head small { color: var(--muted); font-weight: 600; }

.match-list { display: grid; gap: 10px; }
.match-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 16px; transition: border-color 0.15s, box-shadow 0.2s, transform 0.15s;
}
.match-row:hover { border-color: #b9c9e6; box-shadow: var(--shadow); transform: translateY(-1px); }
.match-meta { display: flex; align-items: center; gap: 9px; font-size: 0.76rem; color: var(--muted); margin-bottom: 5px; flex-wrap: wrap; }
.match-league { font-family: var(--font-display); font-weight: 600; }
.match-teams { display: flex; align-items: center; gap: 8px; font-size: 0.98rem; flex-wrap: wrap; }
.match-teams b { font-family: var(--font-display); font-weight: 700; }
.match-teams .vs { color: var(--muted); font-size: 0.8rem; }
.match-score { font-family: var(--font-display); font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; }

.odds-group { display: flex; gap: 8px; }
.odd-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 64px; padding: 7px 10px; border-radius: 9px;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink);
  transition: border-color 0.13s, background 0.13s, transform 0.13s;
}
.odd-btn em { font-style: normal; font-size: 0.68rem; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }
.odd-btn b {
  font-family: var(--font-display); font-weight: 800; font-size: 0.98rem;
  color: var(--green); font-variant-numeric: tabular-nums;
}
.odd-btn:hover { border-color: var(--brand); background: var(--brand-050); transform: translateY(-1px); }
.odd-btn.is-picked { background: var(--brand); border-color: var(--brand); }
.odd-btn.is-picked em, .odd-btn.is-picked b { color: #fff; }
.odd-btn.flash { animation: odd-flash 0.5s ease; }
@keyframes odd-flash { 0% { box-shadow: 0 0 0 0 rgba(0, 82, 204, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(0, 82, 204, 0); } }

.match-more { font-size: 0.78rem; color: var(--brand); font-family: var(--font-display); font-weight: 700; white-space: nowrap; }

/* sports page rail */
.sports-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.sports-rail {
  position: sticky; top: calc(var(--head-h) + 16px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.sports-rail h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 14px 16px 6px; margin: 0; }
.sports-rail a {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 16px; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  border-left: 3px solid transparent;
}
.sports-rail a:hover { background: var(--brand-050); text-decoration: none; }
.sports-rail a.is-on { border-left-color: var(--brand); background: var(--brand-050); color: var(--brand); }
.sports-rail a small { color: var(--muted); font-weight: 600; background: var(--paper); border-radius: 99px; padding: 1px 8px; font-size: 0.72rem; }

/* live cards */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.live-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; position: relative; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}
.live-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.live-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #ff5247, var(--amber));
}
.live-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 0.76rem; color: var(--muted); }
.live-minute { font-family: var(--font-display); font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; }
.live-teams { display: grid; gap: 5px; margin-bottom: 12px; }
.live-team { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.live-team span.sc { color: var(--red); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- promotions ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.promo-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px;
  overflow: hidden; transition: box-shadow 0.2s, transform 0.15s;
}
.promo-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.promo-card::after {
  content: ""; position: absolute; right: -34px; top: -34px; width: 108px; height: 108px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0, 82, 204, 0.1), transparent 70%);
}
.promo-card h3 { margin: 0; font-size: 1.06rem; }
.promo-card p { color: var(--muted); font-size: 0.9rem; margin: 0; flex: 1; }
.promo-expiry { font-size: 0.76rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.promo-legal { font-size: 0.7rem; color: #8b94a8; border-top: 1px dashed var(--line); padding-top: 9px; margin: 4px 0 0; }

/* ---------- editorial photo bands ---------- */
.photo-band {
  position: relative; margin: 0; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lift);
}
.photo-band img { width: 100%; height: clamp(240px, 34vw, 440px); object-fit: cover; display: block; }
.photo-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 13px;
  color: #fff; font-size: 0.8rem; font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.04em; background: linear-gradient(transparent, rgba(6, 13, 25, 0.72));
}
.sport-photo img { height: clamp(170px, 22vw, 280px); }
.sport-photo { margin-bottom: 16px; }

/* ---------- trust strip / steps ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 14px; }
.trust-item {
  display: flex; gap: 13px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 17px;
}
.trust-item .ic { width: 26px; height: 26px; color: var(--brand); margin-top: 2px; }
.trust-item b { font-family: var(--font-display); display: block; margin-bottom: 3px; }
.trust-item small { color: var(--muted); line-height: 1.45; display: block; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step {
  counter-increment: step; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px 18px; position: relative;
}
.step::before {
  content: "0" counter(step); font-family: var(--font-display); font-weight: 900;
  font-size: 1.9rem; color: var(--brand-050); -webkit-text-stroke: 1.5px var(--brand);
  display: block; margin-bottom: 8px; letter-spacing: 0.02em;
}
.step b { font-family: var(--font-display); display: block; margin-bottom: 5px; }
.step small { color: var(--muted); }

/* seo prose block */
.prose-cols { columns: 2; column-gap: 44px; color: var(--muted); font-size: 0.94rem; }
.prose-cols p { break-inside: avoid; }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
.field > span .req { color: var(--red); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="password"],
.field input[type="date"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.12);
}
.field input.is-bad { border-color: var(--red); }
.field .hint { font-size: 0.78rem; color: var(--muted); margin-top: 5px; display: block; }
.field .err { font-size: 0.8rem; color: var(--red); margin-top: 5px; display: none; }
.field.show-err .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .span2 { grid-column: 1 / -1; }

.check { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; font-size: 0.9rem; }
.check input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--brand); flex: none; }

.alert { border-radius: var(--radius-sm); padding: 13px 16px; margin-bottom: 18px; font-size: 0.92rem; border: 1px solid; }
.alert-error { background: #fdecea; border-color: #f5c6c0; color: #8f1d12; }
.alert-ok { background: var(--green-050); border-color: #bfe0c1; color: #1d5220; }
.alert-info { background: var(--brand-050); border-color: #c4d8f5; color: #0a3d8f; }

/* password meter */
.pw-meter { height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; margin-top: 7px; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 5px; background: var(--red); transition: width 0.25s, background 0.25s; }
.pw-meter[data-level="1"] i { width: 33%; background: var(--red); }
.pw-meter[data-level="2"] i { width: 66%; background: var(--amber); }
.pw-meter[data-level="3"] i { width: 100%; background: var(--green); }
.pw-label { font-size: 0.75rem; color: var(--muted); margin-top: 4px; display: block; }

/* auth layout */
.auth-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: calc(100vh - var(--head-h) - 34px); }
.auth-side {
  position: relative; color: #fff; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(600px 400px at 80% 10%, rgba(0, 82, 204, 0.5), transparent 60%),
    radial-gradient(500px 400px at 10% 90%, rgba(46, 125, 50, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-3));
}
.auth-side h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2.1rem); max-width: 17ch; }
.auth-side ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 13px; color: #c4cfe2; font-size: 0.94rem; }
.auth-side li { display: flex; gap: 10px; align-items: flex-start; }
.auth-side li .ic { color: var(--green-bright); margin-top: 3px; }
.auth-side-foot { color: var(--muted-dark); font-size: 0.78rem; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.auth-form { padding: clamp(28px, 4vw, 56px); max-width: 640px; width: 100%; margin: 0 auto; }
.auth-form h1 { margin-bottom: 6px; }
.auth-form .sub { color: var(--muted); margin-bottom: 26px; }

/* stepper */
.stepper { display: flex; gap: 6px; margin-bottom: 26px; }
.stepper li {
  list-style: none; flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 0.76rem;
  color: var(--muted); padding-top: 9px; border-top: 3px solid var(--line); transition: color 0.2s, border-color 0.2s;
}
.stepper li.is-on { color: var(--brand); border-top-color: var(--brand); }
.stepper li.is-done { color: var(--green); border-top-color: var(--green); }
.reg-step { display: none; }
.reg-step.is-on { display: block; animation: fade-up 0.35s ease both; }
.reg-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; }

/* ---------- account ---------- */
.acc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; padding: 34px 0 60px; }
.acc-side { position: sticky; top: calc(var(--head-h) + 16px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc-user { padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.acc-user b { font-family: var(--font-display); display: block; font-size: 1.02rem; }
.acc-user small { color: var(--muted); }
.acc-side nav a {
  display: flex; align-items: center; gap: 11px; padding: 11px 18px;
  color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  border-left: 3px solid transparent;
}
.acc-side nav a:hover { background: var(--brand-050); text-decoration: none; }
.acc-side nav a.is-on { border-left-color: var(--brand); background: var(--brand-050); color: var(--brand); }
.acc-side nav a .ic { width: 17px; height: 17px; color: var(--muted); }
.acc-side nav a.is-on .ic { color: var(--brand); }
.acc-side .acc-logout { border-top: 1px solid var(--line); color: var(--red); }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 17px 18px; }
.stat-card small { color: var(--muted); font-size: 0.78rem; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.stat-card b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat-card b.green { color: var(--green); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.card > h2 { font-size: 1.15rem; margin-bottom: 14px; }
.card-danger { border-color: #f2c4bf; background: #fffafa; }

.table-wrap { overflow-x: auto; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 0.9rem; white-space: nowrap; }
.table th { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.table td b { font-variant-numeric: tabular-nums; }
.amount-plus { color: var(--green); font-weight: 700; }
.amount-minus { color: var(--red); font-weight: 700; }

.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 0.74rem; font-family: var(--font-display); font-weight: 700; }
.pill-open { background: var(--brand-050); color: var(--brand); }
.pill-won { background: var(--green-050); color: var(--green); }
.pill-lost { background: #fdecea; color: var(--red); }
.pill-pending { background: #fff3d6; color: #9a6a00; }

.bet-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 10px; background: #fff; }
.bet-card-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; }
.bet-sel { display: flex; justify-content: space-between; gap: 10px; font-size: 0.9rem; padding: 5px 0; border-top: 1px dashed var(--line); }
.bet-sel b { font-variant-numeric: tabular-nums; color: var(--green); }
.bet-card-foot { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; }

.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 12px 0 18px; }
.pay-method {
  display: flex; align-items: center; justify-content: center; padding: 14px 10px;
  background: var(--navy); border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color 0.15s, transform 0.13s;
}
.pay-method:hover { transform: translateY(-1px); }
.pay-method img { height: 24px; }
.pay-method input { position: absolute; opacity: 0; }
.pay-method.is-on { border-color: var(--green-bright); box-shadow: 0 0 0 4px rgba(62, 207, 116, 0.18); }
.quick-amounts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.quick-amounts button {
  padding: 8px 16px; border: 1.5px solid var(--line); background: #fff; border-radius: 99px;
  font-family: var(--font-display); font-weight: 700; transition: border-color 0.13s, background 0.13s;
}
.quick-amounts button:hover, .quick-amounts button.is-on { border-color: var(--brand); background: var(--brand-050); color: var(--brand); }

/* ---------- legal pages ---------- */
.page-hero {
  color: #fff; padding: clamp(34px, 5vw, 56px) 0;
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(0, 82, 204, 0.4), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-3));
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #c4cfe2; max-width: 76ch; margin: 0; }
.page-hero .meta-line { margin-top: 14px; font-size: 0.8rem; color: var(--muted-dark); display: flex; gap: 18px; flex-wrap: wrap; }

.legal-layout { display: grid; grid-template-columns: 265px 1fr; gap: 40px; align-items: start; padding: 40px 0 70px; }
.legal-toc {
  position: sticky; top: calc(var(--head-h) + 16px); max-height: calc(100vh - var(--head-h) - 40px); overflow: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 0;
}
.legal-toc h2 { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 0 18px; margin-bottom: 8px; }
.legal-toc a { display: block; padding: 6px 18px; font-size: 0.84rem; color: var(--text); border-left: 3px solid transparent; line-height: 1.4; }
.legal-toc a:hover { background: var(--brand-050); text-decoration: none; }
.legal-body { max-width: 82ch; }
.legal-body h2 {
  font-size: 1.25rem; margin: 2.2em 0 0.6em; padding-top: 0.6em; border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--head-h) + 20px);
}
.legal-body h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.legal-body h3 { font-size: 1.02rem; margin: 1.6em 0 0.5em; scroll-margin-top: calc(var(--head-h) + 20px); }
.legal-body p, .legal-body li { color: #333c4d; font-size: 0.95rem; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body table th, .legal-body table td { border: 1px solid var(--line); padding: 9px 12px; font-size: 0.86rem; text-align: left; vertical-align: top; }
.legal-body table th { background: var(--paper); font-family: var(--font-display); }
.legal-note {
  background: var(--brand-050); border-left: 4px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 13px 16px; font-size: 0.88rem; margin: 18px 0;
}
.legal-note-warn { background: #fff3d6; border-left-color: var(--amber); }

/* FAQ accordion */
.faq-cat { margin-bottom: 30px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); margin-bottom: 9px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 15px 18px; background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 0.97rem; color: var(--ink);
}
.faq-q::after { content: "+"; font-size: 1.3rem; color: var(--brand); flex: none; transition: transform 0.25s; }
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-in { padding: 0 18px 16px; color: var(--muted); font-size: 0.92rem; }

/* ---------- RG band & footer ---------- */
.rg-band { background: #071020; border-top: 1px solid var(--line-dark); color: #c4cfe2; }
.rg-band-in { display: flex; align-items: center; gap: 16px; padding: 14px 0; font-size: 0.86rem; }
.rg-band p { margin: 0; }
.rg-band a { color: var(--green-bright); }
.rg-band img { flex: none; }

.site-foot { background: var(--navy); color: #b9c5da; padding: 46px 0 26px; font-size: 0.9rem; }
.site-foot a { color: #b9c5da; }
.site-foot a:hover { color: #fff; }
.site-foot h3 { color: #fff; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 13px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line-dark); }
.foot-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-brand address { color: var(--muted-dark); line-height: 1.55; margin: 14px 0 10px; }
.foot-contact { color: var(--muted-dark); line-height: 1.7; }
.logo-foot .logo-word-top { font-size: 1rem; }
.logo-foot .logo-word-bot { font-size: 0.56rem; }

.foot-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.foot-badges p { color: var(--muted-dark); font-size: 0.8rem; margin-bottom: 12px; }
.badge-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.badge-row img { opacity: 0.9; transition: opacity 0.15s, transform 0.15s; }
.badge-row img:hover { opacity: 1; transform: translateY(-2px); }
.badge-row-pay { gap: 18px; }

.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 20px; flex-wrap: wrap; font-size: 0.78rem; color: var(--muted-dark); }
.foot-bottom p { margin: 0; }
.foot-bottom-lic { display: inline-flex; align-items: center; gap: 10px; }
.foot-bottom .chip-21 { color: #fff; min-width: 30px; height: 20px; font-size: 0.68rem; border-width: 1.5px; }

/* ---------- betslip ---------- */
.slip-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 60px; height: 60px; border-radius: 50%; border: 0;
  background: var(--brand); color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 82, 204, 0.65);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.18s, background 0.15s;
}
.slip-fab:hover { transform: translateY(-2px) scale(1.04); background: var(--brand-dark); }
.slip-fab .ic { width: 24px; height: 24px; }
.slip-fab-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px;
  background: var(--green-bright); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 0.76rem;
  border-radius: 99px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--navy);
}
.slip-fab.bump { animation: bump 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.16); } 100% { transform: scale(1); } }

.betslip {
  position: fixed; right: 22px; bottom: 94px; z-index: 96;
  width: min(370px, calc(100vw - 32px)); max-height: min(72vh, 640px);
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 70px -20px rgba(11, 21, 38, 0.45);
  display: flex; flex-direction: column; overflow: hidden;
  animation: slip-in 0.28s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}
@keyframes slip-in { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.betslip-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px; background: var(--navy); color: #fff;
}
.betslip-head h2 { color: #fff; font-size: 0.95rem; margin: 0; display: flex; align-items: center; gap: 9px; }
.slip-count-badge { background: var(--green-bright); color: var(--ink); border-radius: 99px; min-width: 21px; height: 21px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.74rem; padding: 0 5px; }
.betslip-close { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; padding: 2px 6px; }
.betslip-body { overflow-y: auto; padding: 12px 14px; flex: 1; }
.betslip-empty { color: var(--muted); font-size: 0.87rem; text-align: center; padding: 18px 8px; }
.slip-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; position: relative; animation: fade-up 0.25s ease both; }
.slip-item small { color: var(--muted); font-size: 0.72rem; display: block; }
.slip-item-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.88rem; }
.slip-item-row b { font-family: var(--font-display); }
.slip-item-odd { color: var(--green); font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.slip-item-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--muted); font-size: 1rem; padding: 2px; }
.slip-item-x:hover { color: var(--red); }
.betslip-foot { border-top: 1px solid var(--line); padding: 13px 14px; display: grid; gap: 9px; background: var(--paper); }
.slip-row { display: flex; justify-content: space-between; font-size: 0.9rem; }
.slip-row b { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.slip-row-pot b { color: var(--green); font-size: 1.05rem; }
.slip-stake { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.slip-stake input {
  width: 110px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--font-display); font-weight: 700; text-align: right;
}
.slip-note { font-size: 0.68rem; color: var(--muted); text-align: center; margin: 2px 0 0; }

/* ---------- modals ---------- */
.modal-veil {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  background: rgba(4, 9, 18, 0.82); backdrop-filter: blur(7px); padding: 18px;
}
.modal { animation: fade-up 0.35s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
.age-modal {
  max-width: 480px; text-align: center; color: #fff;
  background: linear-gradient(165deg, var(--navy-2), var(--navy-3));
  border: 1px solid var(--line-dark); border-radius: 20px; padding: 36px 32px 26px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.7);
}
.age-modal h2 { color: #fff; margin: 16px 0 10px; }
.age-modal p { color: #c4cfe2; font-size: 0.92rem; }
.age-badge { filter: drop-shadow(0 6px 18px rgba(62, 139, 255, 0.4)); }
.age-actions { display: grid; gap: 10px; margin: 22px 0 14px; }
.age-rg { font-size: 0.78rem; }
.age-rg a { color: var(--green-bright); }

/* cookie banner */
.cookie-banner {
  position: fixed; z-index: 110; left: 18px; right: 18px; bottom: 18px;
  display: flex; justify-content: center; pointer-events: none;
}
.cookie-in {
  pointer-events: auto; max-width: 720px; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 70px -18px rgba(11, 21, 38, 0.5); padding: 20px 22px;
  animation: fade-up 0.4s 0.2s ease both;
}
.cookie-in h2 { font-size: 1.02rem; margin-bottom: 6px; }
.cookie-in > p { font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.cookie-cats { display: grid; gap: 10px; margin-bottom: 14px; }
.cookie-cat { display: flex; gap: 11px; align-items: flex-start; font-size: 0.85rem; }
.cookie-cat input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.cookie-cat b { display: block; font-family: var(--font-display); }
.cookie-cat small { color: var(--muted); }

/* toasts */
.toasts { position: fixed; z-index: 130; top: 86px; right: 20px; display: grid; gap: 9px; }
.toast {
  background: var(--navy-2); color: #fff; border: 1px solid var(--line-dark);
  border-left: 4px solid var(--green-bright); border-radius: 10px; padding: 12px 18px;
  font-size: 0.9rem; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5);
  animation: toast-in 0.3s cubic-bezier(0.2, 0.9, 0.3, 1) both; max-width: 340px;
}
.toast-err { border-left-color: #ff5247; }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ---------- reveal animations ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; }
.reveal.is-in { animation: fade-up 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.hero-in > * { animation: fade-up 0.7s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.hero-in > *:nth-child(2) { animation-delay: 0.12s; }

/* ---------- responsive ---------- */
@media (max-width: 1160px) {
  .main-nav { display: none; position: absolute; top: var(--head-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-2);
    border-bottom: 1px solid var(--line-dark); padding: 8px 0 14px; box-shadow: 0 30px 40px -20px rgba(0,0,0,0.6); }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-link { padding: 13px 26px; border-radius: 0; font-size: 1rem; }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { background: rgba(62, 139, 255, 0.14); }
  .burger { display: block; }
  .hero-in { grid-template-columns: 1fr; }
  .sports-layout { grid-template-columns: 1fr; }
  .sports-rail { position: static; display: flex; overflow-x: auto; }
  .sports-rail h2 { display: none; }
  .sports-rail a { border-left: 0; border-bottom: 3px solid transparent; white-space: nowrap; }
  .sports-rail a.is-on { border-bottom-color: var(--brand); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; }
  .acc-layout { grid-template-columns: 1fr; }
  .acc-side { position: static; }
  .acc-side nav { display: flex; flex-wrap: wrap; }
  .acc-side nav a { border-left: 0; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-badges { grid-template-columns: 1fr; }
}
/* Logged-in header carries balance + account buttons — collapse nav earlier */
body[data-auth="1"] .nav-link { font-size: 0.84rem; padding: 8px 7px; }
@media (max-width: 1360px) {
  body[data-auth="1"] .main-nav { display: none; position: absolute; top: var(--head-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-2);
    border-bottom: 1px solid var(--line-dark); padding: 8px 0 14px; box-shadow: 0 30px 40px -20px rgba(0,0,0,0.6); }
  body[data-auth="1"] .main-nav.is-open { display: flex; }
  body[data-auth="1"] .main-nav .nav-link { padding: 13px 26px; border-radius: 0; font-size: 1rem; }
  body[data-auth="1"] .nav-link.is-active::after { display: none; }
  body[data-auth="1"] .nav-link.is-active { background: rgba(62, 139, 255, 0.14); }
  body[data-auth="1"] .burger { display: block; }
}

@media (max-width: 720px) {
  .licence-bar-in { justify-content: center; }
  .lic-right .lic-link { display: none; }
  .head-actions .btn-ghost { display: none; }
  .match-row { grid-template-columns: 1fr; }
  .odds-group { width: 100%; }
  .odd-btn { flex: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .prose-cols { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { justify-content: center; text-align: center; }
  .toasts { left: 16px; right: 16px; }
  .toast { max-width: none; }
  .head-balance b { font-size: 0.8rem; }
}

@media (max-width: 520px) {
  .logo-word { display: none; }
  .lic-chat { display: none; }
  .licence-bar { font-size: 0.68rem; }
  .hero-trust img { display: none; }
  .head-actions { gap: 7px; }
  .head-actions .btn-sm { padding: 8px 11px; font-size: 0.8rem; }
  .head-balance { padding: 6px 9px; font-size: 0.8rem; }
  .burger { padding: 8px 4px 8px 0; }
  .site-head-in { gap: 10px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .logo-line, .logo-cross, .logo-arrow { stroke-dashoffset: 0; }
  .reveal { opacity: 1; }
}

/* print: legal pages should print cleanly */
@media print {
  .licence-bar, .site-head, .site-foot, .rg-band, .betslip, .slip-fab, .cookie-banner, .modal-veil, .legal-toc { display: none !important; }
  body { background: #fff; }
  .legal-body { max-width: none; }
}
