/* =====================================================================
   Unibet Belgium — Sportsbook UI
   Stack: plain HTML / CSS / JS
   Aesthetic: dark premium sportsbook, brand green + acid-lime CTA,
   red "live" pulse, hairline borders, gradient-mesh + grain atmosphere.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* surfaces */
  --bg:        #080b0a;
  --bg-2:      #0c110f;
  --elev:      #111815;
  --surface:   #141c19;
  --surface-2: #18211d;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .14);

  /* brand */
  --green:      #17c37b;
  --green-deep: #0f7a4d;
  --green-dim:  #0c3d29;
  --lime:       #c6f135;
  --gold:       #f5c451;
  --live:       #ff4d4f;

  /* text */
  --text:  #eef3f0;
  --muted: #9aaaa3;
  --faint: #64756e;

  /* effects */
  --glow-green: 0 0 0 1px rgba(23,195,123,.35), 0 12px 40px -12px rgba(23,195,123,.45);
  --shadow:     0 24px 60px -24px rgba(0,0,0,.75);
  --shadow-sm:  0 8px 24px -12px rgba(0,0,0,.6);

  /* geometry */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --maxw: 1220px;
  --header-h: 118px;

  --ease: cubic-bezier(.22, 1, .36, .58);

  /* type */
  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

/* ---------- Atmosphere ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 15% -5%, rgba(23,195,123,.16), transparent 60%),
    radial-gradient(50% 45% at 100% 0%, rgba(198,241,53,.08), transparent 55%),
    radial-gradient(70% 60% at 50% 120%, rgba(15,122,77,.14), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(48px, 8vw, 104px); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green); display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 46px); margin-top: 16px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.center { text-align: center; margin-inline: auto; }

/* language visibility — hide only the INACTIVE language so the active block keeps
   its natural display (block/inline/flex) regardless of more specific rules */
html[data-lang="fr"] [data-lang-block="nl"],
html[data-lang="nl"] [data-lang-block="fr"] { display: none !important; }

/* utility */
.tnum { font-variant-numeric: tabular-nums; }
.hide { display: none !important; }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  --pad: 13px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad);
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  border-radius: var(--r-pill);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; border: 1px solid transparent; will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green); color: #04120c; box-shadow: 0 10px 30px -12px rgba(23,195,123,.75); }
.btn-primary:hover { background: #23d98a; box-shadow: 0 16px 44px -12px rgba(23,195,123,.9); }
.btn-lime { background: var(--lime); color: #14200a; box-shadow: 0 10px 30px -12px rgba(198,241,53,.7); }
.btn-lime:hover { background: #d3fb4f; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--green); color: #fff; background: rgba(23,195,123,.08); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-block { width: 100%; }

/* =====================================================================
   Badges / chips
   ===================================================================== */
.badge-18 {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: -.03em;
  color: #04120c; background: var(--lime);
  box-shadow: 0 0 0 3px rgba(198,241,53,.18);
  flex: none;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); font-weight: 600;
}
.chip svg { width: 15px; height: 15px; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 0 rgba(255,77,79,.6); animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,77,79,.55); }
  70% { box-shadow: 0 0 0 7px rgba(255,77,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,77,79,0); }
}

/* =====================================================================
   Top compliance strip
   ===================================================================== */
.topstrip {
  background: linear-gradient(90deg, #05100b, #0a1712);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.topstrip .wrap { display: flex; align-items: center; gap: 18px; min-height: 40px; flex-wrap: wrap; }
.topstrip .ts-lic { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.topstrip .ts-lic b { color: var(--text); font-weight: 700; }
.topstrip .ts-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.topstrip a { color: var(--muted); }
.topstrip a:hover { color: var(--green); }

/* language switch */
.langsw { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); overflow: hidden; }
.langsw button {
  padding: 5px 12px; font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: .04em; color: var(--muted); transition: background .2s, color .2s;
}
.langsw button[aria-pressed="true"] { background: var(--green); color: #04120c; }
.langsw button:not([aria-pressed="true"]):hover { color: var(--text); }

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8,11,10,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 26px; min-height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(150deg, var(--green), var(--green-deep));
  display: grid; place-items: center; box-shadow: 0 6px 18px -8px rgba(23,195,123,.8);
}
.logo .mark svg { width: 20px; height: 20px; }
.logo .word { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.logo .word span { color: var(--green); }
.logo .tag { font-size: 10.5px; color: var(--muted); font-weight: 600; letter-spacing: .06em; margin-top: -3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 13px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--muted);
  transition: color .18s, background .18s; position: relative;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px;
  background: var(--green); border-radius: 2px;
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line-2); }
.burger span { display: block; width: 19px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; transition: .25s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { position: relative; padding-block: clamp(48px, 8vw, 92px); overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-copy h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 900; letter-spacing: -.035em; }
.hero-copy h1 .hl { color: var(--green); }
.hero-copy .lede { color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); margin-top: 22px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; }
.hero-meta .m span { font-size: 12.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }

.reveal { opacity: 0; transform: translateY(18px); animation: reveal .8s var(--ease) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; }
.d4 { animation-delay: .35s; } .d5 { animation-delay: .45s; }

/* Live betslip card in hero */
.betcard {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.betcard-top {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  border-bottom: 1px solid var(--line); background: rgba(255,77,79,.06);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.betcard-top .min { margin-left: auto; color: var(--live); font-variant-numeric: tabular-nums; }
.match { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.match .lg { font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.match .teams { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.match .team { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.match .team .sc { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.odds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.odd {
  border: 1px solid var(--line); border-radius: 11px; padding: 9px 6px; text-align: center;
  background: rgba(255,255,255,.02); transition: border-color .2s, background .2s, transform .15s;
}
.odd:hover { border-color: var(--green); background: rgba(23,195,123,.08); transform: translateY(-1px); }
.odd .k { display: block; font-size: 11px; color: var(--faint); margin-bottom: 3px; }
.odd .v { font-family: var(--font-display); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.odd.up .v { color: var(--green); } .odd.down .v { color: var(--live); }
.betcard-foot { padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }

/* =====================================================================
   Cards / grids
   ===================================================================== */
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card .ic {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(23,195,123,.1); border: 1px solid rgba(23,195,123,.22); margin-bottom: 16px;
}
.card .ic svg { width: 24px; height: 24px; color: var(--green); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { margin-top: 14px; color: var(--green); font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(3px); }

/* sport tiles */
.sport-tile {
  position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; transition: transform .3s var(--ease), border-color .3s;
  background: linear-gradient(160deg, var(--surface-2), var(--bg));
}
.sport-tile:hover { transform: translateY(-4px); border-color: var(--green); }
.sport-tile .sic { position: absolute; top: 16px; right: 16px; opacity: .5; }
.sport-tile .sic svg { width: 40px; height: 40px; color: var(--green); }
.sport-tile h4 { font-size: 18px; }
.sport-tile .cnt { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.sport-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 60% at 80% 20%, rgba(23,195,123,.14), transparent 60%);
}

/* =====================================================================
   Photo slots — drop bright editorial images into assets/img/.
   If a file is missing the underlying gradient simply shows through.
   ===================================================================== */
.sport-tile.photo { background-size: cover; background-position: center; }
.sport-tile.photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(6,10,9,.9) 0%, rgba(6,10,9,.35) 42%, rgba(6,10,9,0) 72%);
}
.sport-tile.photo h4, .sport-tile.photo .cnt { position: relative; z-index: 2; }
.sport-tile.photo .sic { z-index: 2; }
.sport-tile.photo .sic svg { color: #fff; opacity: .92; }

/* Home hero background image */
.hero-photo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center right;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(8,11,10,.78) 40%, rgba(8,11,10,.42) 66%, rgba(8,11,10,.12) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 46%);
}

/* Page-hero background image */
.page-hero.photo { position: relative; background-size: cover; background-position: center; }
.page-hero.photo::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,11,10,.5), rgba(8,11,10,.8)),
    linear-gradient(90deg, rgba(8,11,10,.62), transparent 72%);
}
.page-hero.photo .wrap { position: relative; z-index: 1; }

/* Auth side panel background image */
.auth-visual.photo { background-size: cover; background-position: center; }
.auth-visual.photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,11,10,.32), rgba(8,11,10,.85));
}
.auth-visual > * { position: relative; z-index: 1; }

/* promo cards */
.promo {
  position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 26px;
  border: 1px solid var(--line-2); background: linear-gradient(155deg, var(--surface-2), var(--bg-2));
}
.promo.feat { background: linear-gradient(150deg, rgba(23,195,123,.22), rgba(8,11,10,.9)); border-color: rgba(23,195,123,.4); }
.promo .tagline { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.promo h3 { font-size: clamp(24px, 3vw, 34px); margin: 12px 0 8px; }
.promo p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.promo .fine { font-size: 11.5px; color: var(--faint); margin-top: 14px; }

/* =====================================================================
   Live board
   ===================================================================== */
.board { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.board-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.board-head h3 { font-size: 18px; }
.board-row {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.board-row:last-child { border-bottom: 0; }
.board-row .info { min-width: 0; }
.board-row .lg { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; display: flex; align-items: center; gap: 7px; }
.board-row .mt { display: flex; align-items: center; gap: 14px; margin-top: 7px; font-weight: 700; }
.board-row .mt .sc { color: var(--green); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.board-row .odds-row { grid-template-columns: repeat(3, 62px); }

/* =====================================================================
   Steps / info bands
   ===================================================================== */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--green);
  display: inline-block; margin-bottom: 14px; letter-spacing: .05em;
}
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

.band {
  border: 1px solid rgba(23,195,123,.3); border-radius: var(--r-lg); padding: clamp(28px,4vw,48px);
  background: linear-gradient(150deg, rgba(23,195,123,.14), rgba(8,11,10,.6));
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.band .bt { flex: 1 1 340px; }
.band h2 { font-size: clamp(24px, 3.4vw, 38px); }
.band p { color: var(--muted); margin-top: 12px; max-width: 520px; }
.band .ba { display: flex; gap: 12px; flex-wrap: wrap; }

/* trust row */
.trust { display: flex; gap: 14px 34px; flex-wrap: wrap; align-items: center; justify-content: center; opacity: .85; }
.trust .t { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.trust .t svg { width: 22px; height: 22px; color: var(--green); }

/* =====================================================================
   Content / legal pages
   ===================================================================== */
.page-hero { border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px); background: linear-gradient(180deg, rgba(23,195,123,.06), transparent); }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); }
.page-hero p { color: var(--muted); margin-top: 16px; max-width: 620px; font-size: 17px; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--green); }

.prose { max-width: 780px; }
.prose h2 { font-size: 26px; margin: 42px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul.bul { list-style: none; margin: 0 0 16px; }
.prose ul.bul li { position: relative; padding-left: 24px; margin-bottom: 9px; color: var(--muted); }
.prose ul.bul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 2px; background: var(--green); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.legal-updated { font-size: 13px; color: var(--faint); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 14px; display: inline-block; }

.toc { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--surface); }
.toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0; font-size: 14px; color: var(--muted); }
.toc a:hover { color: var(--green); }
.doc-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }

/* callout */
.callout {
  border: 1px solid rgba(245,196,81,.35); border-radius: var(--r); padding: 18px 20px;
  background: rgba(245,196,81,.06); display: flex; gap: 14px; margin: 22px 0;
}
.callout svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.callout p { color: var(--text); font-size: 14.5px; margin: 0; }
.callout.green { border-color: rgba(23,195,123,.35); background: rgba(23,195,123,.06); }
.callout.green svg { color: var(--green); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-cat { font-family: var(--font-display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 34px 0 14px; }
.acc { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 10px; background: var(--surface); }
.acc summary {
  list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 16px; transition: background .2s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: rgba(255,255,255,.02); }
.acc summary .ai { margin-left: auto; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .25s var(--ease); }
.acc summary .ai::before, .acc summary .ai::after { content: ""; position: absolute; width: 9px; height: 2px; background: var(--green); border-radius: 2px; transition: .25s; }
.acc summary .ai { position: relative; }
.acc summary .ai::after { transform: rotate(90deg); }
.acc[open] summary .ai { background: var(--green); border-color: var(--green); }
.acc[open] summary .ai::before, .acc[open] summary .ai::after { background: #04120c; }
.acc[open] summary .ai::after { transform: rotate(0); opacity: 0; }
.acc .acc-body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.acc .acc-body p { margin-bottom: 10px; }

/* =====================================================================
   Forms
   ===================================================================== */
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.auth-visual {
  position: relative; padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, rgba(23,195,123,.16), var(--bg-2));
  border-right: 1px solid var(--line);
}
.auth-visual .qt { font-family: var(--font-display); font-size: clamp(28px,3.2vw,42px); font-weight: 800; letter-spacing: -.03em; max-width: 460px; }
.auth-visual ul { display: grid; gap: 14px; margin-top: 28px; }
.auth-visual ul li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; }
.auth-visual ul li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.auth-form-wrap { display: grid; place-items: center; padding: 48px 24px; }
.auth-form { width: 100%; max-width: 460px; }
.auth-form h1 { font-size: 32px; margin-bottom: 8px; }
.auth-form > p.sub { color: var(--muted); margin-bottom: 28px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field label .req { color: var(--live); }
.field .ctrl {
  width: 100%; padding: 13px 15px; border-radius: 11px; background: var(--surface);
  border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s;
}
.field .ctrl:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,195,123,.16); }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field .hint { font-size: 12px; color: var(--faint); margin-top: 6px; }
.field .err { font-size: 12.5px; color: var(--live); margin-top: 6px; display: none; }
.field.invalid .ctrl { border-color: var(--live); }
.field.invalid .err { display: block; }
.row-3 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }

.check { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; font-size: 13.5px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: none; }
.check a { color: var(--green); text-decoration: underline; }
.form-note { font-size: 12.5px; color: var(--faint); margin-top: 16px; text-align: center; }
.form-alt { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }
.form-alt a { color: var(--green); font-weight: 700; }
.age-ok { color: var(--green); font-weight: 700; } .age-bad { color: var(--live); font-weight: 700; }
.stmark { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; vertical-align: -3px; margin-right: 7px; }
.stmark svg { width: 15px; height: 15px; }

/* =====================================================================
   Account (mock cabinet)
   ===================================================================== */
.acct { display: grid; grid-template-columns: 250px 1fr; gap: 26px; }
.acct-nav { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: var(--surface); align-self: start; position: sticky; top: 96px; }
.acct-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.acct-nav a svg { width: 18px; height: 18px; }
.acct-nav a.on, .acct-nav a:hover { background: rgba(23,195,123,.1); color: var(--text); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--surface); }
.stat .lb { font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.stat .vl { font-family: var(--font-display); font-size: 30px; font-weight: 800; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat .vl.green { color: var(--green); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--faint); padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.tbl td { padding: 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.tbl .st { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); }
.st.win { background: rgba(23,195,123,.14); color: var(--green); }
.st.lose { background: rgba(255,77,79,.12); color: var(--live); }
.st.open { background: rgba(245,196,81,.14); color: var(--gold); }

/* limits sliders (mock) */
.limit { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 14px; background: var(--surface); }
.limit .lh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.limit .lh b { font-size: 15px; } .limit .lh span { color: var(--green); font-weight: 700; }
.limit input[type=range] { width: 100%; accent-color: var(--green); }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(12,17,15,.7)); margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-block: 54px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-col h5 { font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--green); }

.footer-legal { border-top: 1px solid var(--line); padding-block: 30px; }
.footer-legal .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.footer-legal .lc h6 { font-family: var(--font-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.footer-legal .lc address { font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-legal .lc address b { color: var(--text); font-weight: 700; }
.lic-line { color: var(--muted); font-size: 12.5px; margin-top: 12px; }
.lic-line b { color: var(--text); }

.rg-band { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border: 1px solid rgba(255,77,79,.28); background: rgba(255,77,79,.05); border-radius: var(--r); padding: 16px 20px; margin-block: 24px; }
.rg-band .badge-18 { background: var(--live); color: #fff; box-shadow: 0 0 0 3px rgba(255,77,79,.2); }
.rg-band p { font-size: 13.5px; color: var(--text); margin: 0; }
.rg-band a { color: var(--live); font-weight: 700; text-decoration: underline; }

/* payments + compliance badges strip */
.footer-pay { border-top: 1px solid var(--line); padding-block: 26px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.pay-block { display: flex; flex-direction: column; gap: 10px; }
.pay-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pay-chip { background: #fff; border-radius: 7px; height: 30px; padding: 0 9px; display: inline-flex; align-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.pay-chip img { height: 18px; width: auto; display: block; }
.badge-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cbadge { height: 30px; width: auto; opacity: .82; transition: opacity .2s; }
.cbadge:hover { opacity: 1; }
.cbadge.b21 { height: 40px; }
.cbadge.bcom { height: 26px; }

.footer-base { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); }
.footer-base .fb-warn { color: var(--muted); font-weight: 600; }

/* =====================================================================
   Overlays: age gate + cookie banner + mobile menu
   ===================================================================== */
.overlay {
  position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 22px;
  background: rgba(4,7,6,.86); backdrop-filter: blur(8px);
}
.overlay.show { display: grid; }
.gate {
  max-width: 460px; width: 100%; text-align: center; border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 40px 34px; background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow); animation: reveal .5s var(--ease);
}
.gate .glogo { display: inline-flex; margin-bottom: 22px; }
.gate .big18 { width: 66px; height: 66px; margin: 0 auto 20px; font-size: 22px; }
.gate h2 { font-size: 26px; margin-bottom: 12px; }
.gate p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.gate .g-actions { display: flex; gap: 12px; }
.gate .g-actions .btn { flex: 1; }
.gate .fine { font-size: 12px; color: var(--faint); margin-top: 20px; }
.gate .fine a { color: var(--green); }
.gate.deny .big18 { background: var(--live); color: #fff; }

/* age-gate date-of-birth entry */
.gate-dob { margin-top: 4px; text-align: left; }
.gate-dob .dob-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 9px; }
.dob3 { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 10px; }
.dob3 input {
  width: 100%; text-align: center; padding: 14px 8px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line-2); font-size: 18px;
  font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums;
  letter-spacing: .06em; transition: border-color .2s, box-shadow .2s;
}
.dob3 input::placeholder { color: var(--faint); font-weight: 600; letter-spacing: .04em; }
.dob3 input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,195,123,.16); }
.gate-err { min-height: 18px; margin: 8px 2px 12px; font-size: 13px; font-weight: 600; color: var(--live); }

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; margin-inline: auto;
  border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px 24px;
  background: rgba(12,17,15,.96); backdrop-filter: blur(14px); box-shadow: var(--shadow);
  display: none; animation: slideup .5s var(--ease);
}
.cookie.show { display: block; }
@keyframes slideup { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cookie h4 { font-size: 17px; margin-bottom: 8px; }
.cookie p { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.cookie p a { color: var(--green); text-decoration: underline; }
.cookie .c-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .c-prefs { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; display: none; }
.cookie .c-prefs.show { display: block; }
.cookie .pref { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 13.5px; }
.cookie .pref span.desc { color: var(--faint); font-size: 12px; display: block; }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .sl { position: absolute; inset: 0; background: var(--line-2); border-radius: 999px; transition: .2s; cursor: pointer; }
.switch .sl::before { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .sl { background: var(--green); }
.switch input:checked + .sl::before { transform: translateX(18px); }
.switch input:disabled + .sl { opacity: .55; cursor: not-allowed; }

/* =====================================================================
   Odds interaction + betslip (betting feel)
   ===================================================================== */
.odd { cursor: pointer; user-select: none; }
.odd.sel { border-color: var(--green); background: var(--green); box-shadow: 0 8px 22px -10px rgba(23,195,123,.85); }
.odd.sel .k { color: rgba(4,18,12,.65); }
.odd.sel .v { color: #04120c; }
.odd.oflash-up { animation: oflashUp .7s ease; }
.odd.oflash-down { animation: oflashDown .7s ease; }
@keyframes oflashUp { 0% { background: rgba(23,195,123,.32); } 100% { background: rgba(255,255,255,.02); } }
@keyframes oflashDown { 0% { background: rgba(255,77,79,.28); } 100% { background: rgba(255,255,255,.02); } }

.betslip-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  display: none; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: var(--r-pill); background: var(--green); color: #04120c;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  box-shadow: 0 16px 44px -12px rgba(23,195,123,.9); border: 0; cursor: pointer;
  transition: transform .18s var(--ease);
}
.betslip-fab.show { display: inline-flex; animation: slideup .4s var(--ease); }
.betslip-fab:hover { transform: translateY(-2px); }
.betslip-fab svg { width: 20px; height: 20px; }
.betslip-fab .bs-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #04120c; color: var(--green); font-size: 13px; }

.betslip-panel {
  position: fixed; right: 18px; bottom: 76px; z-index: 121; width: 352px; max-width: calc(100vw - 32px);
  max-height: min(72vh, 640px); overflow: auto;
  border: 1px solid var(--line-2); border-radius: var(--r-lg); background: rgba(12,17,15,.98);
  backdrop-filter: blur(14px); box-shadow: var(--shadow); display: none;
}
.betslip-panel.show { display: block; animation: slideup .35s var(--ease); }
.bs-head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(12,17,15,.98); }
.bs-head svg { width: 20px; height: 20px; color: var(--green); }
.bs-head h4 { font-size: 16px; }
.bs-head .bs-close { margin-left: auto; color: var(--muted); font-size: 22px; line-height: 1; background: none; border: 0; cursor: pointer; }
.bs-head .bs-close:hover { color: var(--text); }
.bs-list { padding: 4px 0; }
.bs-item { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.bs-item .bi-main { min-width: 0; flex: 1; }
.bs-item .bi-name { font-size: 13.5px; color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-item .bi-pick { font-size: 12px; color: var(--muted); margin-top: 2px; }
.bs-item .bi-odd { font-family: var(--font-display); font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.bs-item .bi-rm { background: none; border: 0; color: var(--faint); cursor: pointer; font-size: 20px; line-height: 1; padding: 0 2px; }
.bs-item .bi-rm:hover { color: var(--live); }
.bs-empty { padding: 34px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.bs-foot { padding: 14px 18px 18px; }
.bs-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; font-size: 13.5px; color: var(--muted); }
.bs-row .bs-odd, .bs-row .bs-gain { font-family: var(--font-display); font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; font-size: 17px; }
.bs-row .bs-gain { color: var(--green); }
.bs-stake { width: 96px; text-align: right; padding: 9px 11px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.bs-stake:focus { outline: none; border-color: var(--green); }
.bs-illus { font-size: 11px; color: var(--faint); margin: 6px 0 12px; text-align: center; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1040px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .betcard { max-width: 460px; }
  /* stronger bottom scrim so hero text stays legible over the photo on 1-col layouts */
  .hero-photo { background-position: center; }
  .hero-photo::after { background: linear-gradient(0deg, var(--bg) 12%, rgba(8,11,10,.62) 55%, rgba(8,11,10,.4) 100%); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .acct { grid-template-columns: 1fr; }
  .acct-nav { position: static; display: flex; flex-wrap: wrap; }
}
@media (max-width: 860px) {
  .nav, .header-actions .btn-desktop { display: none; }
  .burger { display: block; }
  /* backdrop-filter creates a containing block for fixed children — drop it so the drawer anchors to the viewport */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .footer-legal .cols { grid-template-columns: 1fr; }

  /* mobile nav drawer — top/height set inline by JS from the live header bottom */
  .nav.open {
    display: flex; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 0; padding: 18px;
    background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto;
  }
  .nav.open a { padding: 15px 14px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.open a[aria-current="page"]::after { display: none; }
  .nav.open .m-cta { display: flex; gap: 10px; margin-top: 18px; }
  .nav.open .m-cta .btn { flex: 1; }
}
@media (max-width: 560px) {
  :root { --header-h: 104px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .field.two, .row-3 { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 40px; }
  .topstrip .ts-lic span.long { display: none; }
  .band { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .wrap { padding-inline: 16px; }
  /* board: stack match info above a full-width odds row (no overlap) */
  .board-row { grid-template-columns: 1fr; gap: 12px; }
  .board-row .mt { flex-wrap: wrap; }
  .board-row .odds-row { display: flex !important; width: 100%; }
  .board-row .odds-row .odd { flex: 1 1 0; min-width: 0; }
  /* betslip as bottom sheet */
  .betslip-panel { left: 12px; right: 12px; width: auto; bottom: 74px; }
  .betslip-fab { right: 14px; bottom: 14px; }
}
.m-cta { display: none; }

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