/* ============================================================
   Betting Service BV — main stylesheet
   Methodology: BEM (block__element--modifier), mobile-first.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --c-primary: #0052CC;
  --c-primary-dark: #003D99;
  --c-primary-soft: #E8F0FE;
  --c-navy: #0A1F44;
  --c-navy-deep: #071633;
  --c-green: #2E7D32;
  --c-green-dark: #1F5C23;
  --c-green-soft: #E8F3E9;
  --c-bg: #FFFFFF;
  --c-bg-soft: #F5F7FA;
  --c-text: #1A1A1A;
  --c-text-soft: #55606E;
  --c-muted: #BDBDBD;
  --c-line: #E2E7EF;
  --c-danger: #C62828;
  --c-danger-soft: #FCEBEB;
  --c-warn: #B26A00;
  --c-warn-soft: #FFF4E0;
  --c-flash-up: #DCF2DD;
  --c-flash-down: #FBE2E2;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --s-1: 4px;  --s-2: 8px;  --s-3: 16px;
  --s-4: 24px; --s-5: 32px; --s-6: 48px; --s-7: 64px;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, .08);
  --shadow-md: 0 4px 16px rgba(10, 31, 68, .10);
  --shadow-lg: 0 12px 40px rgba(10, 31, 68, .18);

  --header-h: 64px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: inline-block; vertical-align: middle; max-width: 100%; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; }

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

[hidden] { display: none !important; }

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

.skip-link {
  position: absolute; left: var(--s-3); top: -48px; z-index: 200;
  padding: var(--s-2) var(--s-3);
  background: var(--c-navy); color: #fff; border-radius: 0 0 var(--radius) var(--radius);
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--s-3); }
.container--narrow { max-width: 920px; }

.main { min-height: 60vh; }

/* ---------- 3. Badges ---------- */
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; line-height: 1;
  border-radius: 999px;
}
.badge--age {
  width: 30px; height: 30px; flex: 0 0 auto;
  border: 2px solid currentColor; color: var(--c-danger);
  letter-spacing: .02em;
}
.badge--age-light { color: #fff; }
.badge--pending {
  padding: 5px 12px;
  background: var(--c-warn-soft); color: var(--c-warn);
  font-size: 13px;
}

/* ---------- 4. Topbar ---------- */
.topbar { background: var(--c-navy-deep); color: rgba(255, 255, 255, .85); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 36px; }
.topbar__license { display: none; align-items: center; gap: var(--s-2); letter-spacing: .02em; }
.topbar__shield { color: #4A8FE8; flex: 0 0 auto; }
.topbar__right { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; }
.topbar__support { color: inherit; font-weight: 600; }
.topbar__support:hover { color: #fff; }
.topbar .badge--age { width: 24px; height: 24px; font-size: 11px; color: #FF8A80; border-width: 1.5px; }

.lang-switch { display: flex; align-items: center; gap: var(--s-2); }
.lang-switch__item { color: rgba(255, 255, 255, .7); font-weight: 600; letter-spacing: .04em; }
.lang-switch__item:hover { color: #fff; text-decoration: none; }
.lang-switch__item--active { color: #fff; border-bottom: 2px solid var(--c-green); }
.lang-switch__sep { color: rgba(255, 255, 255, .3); }

@media (min-width: 768px) {
  .topbar__license { display: inline-flex; }
}

/* ---------- 5. Header & logo ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}
.header__inner { display: flex; align-items: center; gap: var(--s-2); min-height: var(--header-h); }
.header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; min-width: 0; }
@media (min-width: 768px) {
  .header__inner { gap: var(--s-3); }
  .header__actions { gap: var(--s-2); }
}

.logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo:hover { text-decoration: none; }
.logo__mark { flex: 0 0 auto; }

.logo__trajectory {
  stroke: var(--c-muted); stroke-width: 1.4;
  stroke-dasharray: 2 6; stroke-linecap: round;
}
.logo__stroke {
  stroke: var(--c-primary); stroke-width: 3.4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 90; stroke-dashoffset: 90;
  animation: logo-draw 1.2s ease-out forwards;
}
.logo__stroke--top { animation-delay: .15s; }
.logo__stroke--bottom { animation-delay: .35s; }
.logo__ball {
  fill: var(--c-green);
  transform-origin: 41px 11px;
  opacity: 0;
  animation: logo-ball .5s ease-out 1.1s forwards, logo-pulse 1.6s ease-in-out 1.7s 2;
}
.logo:hover .logo__ball { animation: logo-hop .5s ease-in-out; opacity: 1; }

@keyframes logo-draw { to { stroke-dashoffset: 0; } }
@keyframes logo-ball { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes logo-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes logo-hop {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-7px, 7px) scale(.9); }
}

.logo__word { display: inline; font-size: 16px; font-weight: 800; color: var(--c-navy); letter-spacing: -.02em; line-height: 1; }
.logo__tld { display: none; }
/* Logged-in header carries balance + avatar: no room for the wordmark on narrow screens */
@media (max-width: 479px) {
  body.is-auth .logo__word { display: none; }
  .header__auth--guest .btn--ghost { display: none; }
}
@media (min-width: 480px) { .logo__word { font-size: 19px; } .logo__tld { display: inline; } }
.logo__word em { font-style: normal; color: var(--c-primary); }
.logo__tld { font-size: 12px; font-weight: 700; color: var(--c-green); margin-left: 2px; }

/* Navigation */
.nav {
  display: none;
  position: fixed; inset: 0; top: var(--header-h); z-index: 90;
  background: var(--c-bg);
  padding: var(--s-4) var(--s-3);
  overflow-y: auto;
}
.nav--open { display: block; animation: nav-in .22s ease; }
@keyframes nav-in { from { opacity: 0; transform: translateX(28px); } }
.nav__list { display: flex; flex-direction: column; gap: var(--s-1); }
.nav__link {
  display: block; padding: 12px var(--s-3);
  color: var(--c-text); font-weight: 600; font-size: 17px;
  border-radius: var(--radius);
}
.nav__link:hover { background: var(--c-bg-soft); text-decoration: none; }
.nav__link--active { color: var(--c-primary); background: var(--c-primary-soft); }
.nav__item--mobile { border-top: 1px solid var(--c-line); margin-top: var(--s-2); padding-top: var(--s-2); }
@media (min-width: 1024px) { .nav__item--mobile { display: none; } }
.nav__pulse {
  display: inline-block; width: 7px; height: 7px; margin-left: 6px;
  border-radius: 50%; background: var(--c-danger); vertical-align: 2px;
  animation: live-pulse 1.4s ease-in-out infinite;
}

.burger { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px 8px; }
.burger__line { width: 22px; height: 2px; background: var(--c-navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__chat {
  display: none; align-items: center; gap: 6px;
  color: var(--c-green); font-weight: 700; font-size: 14px;
  padding: 8px 10px; border-radius: var(--radius);
}
.header__chat:hover { background: var(--c-green-soft); }

.header__auth { display: flex; align-items: center; gap: var(--s-2); }
.header__balance {
  font-variant-numeric: tabular-nums;
  font-weight: 800; font-size: 15px; color: var(--c-green);
  padding: 8px 12px; background: var(--c-green-soft); border-radius: var(--radius);
}
.header__balance:hover { text-decoration: none; background: #DCEEDD; }

.dropdown { position: relative; }
.dropdown__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--radius); font-weight: 600; }
.dropdown__toggle:hover { background: var(--c-bg-soft); }
.dropdown__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.dropdown__name { display: none; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown__caret { color: var(--c-text-soft); }
.dropdown__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 110;
  min-width: 200px; padding: var(--s-2);
  background: var(--c-bg); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  display: none;
}
.dropdown--open .dropdown__menu { display: block; }
.dropdown__link {
  display: block; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: var(--radius);
  color: var(--c-text); font-weight: 500;
}
.dropdown__link:hover { background: var(--c-bg-soft); text-decoration: none; }
.dropdown__link--logout { color: var(--c-danger); border-top: 1px solid var(--c-line); border-radius: 0 0 var(--radius) var(--radius); margin-top: var(--s-1); }

@media (min-width: 768px) {
  .dropdown__name { display: inline; }
  .header__chat { display: inline-flex; }
}

@media (min-width: 1024px) {
  .nav {
    display: block; position: static; padding: 0;
    background: transparent; overflow: visible;
  }
  .nav__list { flex-direction: row; gap: 2px; }
  .nav__link { font-size: 15px; padding: 10px 13px; }
  .burger { display: none; }
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-weight: 700; font-size: 15px; line-height: 1.2;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--green { background: var(--c-green); color: #fff; }
.btn--green:hover { background: var(--c-green-dark); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: transparent; }
.btn--ghost:hover { background: var(--c-primary-soft); }
.btn--outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary-soft); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--danger { background: var(--c-danger); color: #fff; }
.btn--danger:hover { background: #A31F1F; }
.btn--link { color: var(--c-primary); text-decoration: underline; padding: 12px 8px; }

.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 26px),
    linear-gradient(115deg, var(--c-navy) 0%, var(--c-primary-dark) 58%, var(--c-primary) 100%);
  color: #fff;
  overflow: hidden;
}
.hero__inner { position: relative; padding: var(--s-6) var(--s-3); }
.hero__content { position: relative; z-index: 2; max-width: 640px; }
.hero__title { font-size: clamp(30px, 5.4vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin-bottom: var(--s-3); }
.hero__sub { font-size: clamp(16px, 2vw, 18px); color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: var(--s-4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.hero__note { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .75); }

.hero__arc { position: absolute; right: -40px; bottom: -10px; width: 420px; max-width: 70%; z-index: 1; pointer-events: none; }
.hero__arc-ball { animation: arc-float 4s ease-in-out infinite; transform-origin: 400px 30px; }
@keyframes arc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-primary); margin-bottom: var(--s-3);
}
.kicker--light { color: #A9CBFF; }

@media (min-width: 768px) {
  .hero__inner { padding: var(--s-7) var(--s-3); }
}

/* ---------- 8. Sections ---------- */
.section { padding: var(--s-6) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--flush { padding: var(--s-5) 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.section__title { font-size: clamp(21px, 3vw, 27px); font-weight: 800; letter-spacing: -.01em; color: var(--c-navy); margin-bottom: var(--s-3); }
.section__head .section__title { margin-bottom: 0; }
.section__more { font-weight: 700; font-size: 15px; white-space: nowrap; }

/* ---------- 9. Features ---------- */
.features { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
.features__item {
  padding: var(--s-4);
  border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  background: var(--c-bg);
  box-shadow: var(--shadow-sm);
}
.features__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: var(--s-3);
  border-radius: var(--radius-lg);
  background: var(--c-primary-soft); color: var(--c-primary);
}
.features__h { font-size: 17px; font-weight: 700; margin-bottom: var(--s-1); }
.features__t { font-size: 14px; color: var(--c-text-soft); }

@media (min-width: 768px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 10. Match cards & odds ---------- */
.match-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
@media (min-width: 768px) { .match-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.match-card {
  padding: var(--s-3);
  border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  background: var(--c-bg);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.match-card:hover { box-shadow: var(--shadow-md); border-color: #C8D4E8; }
.match-card__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-bottom: 10px; font-size: 12px; color: var(--c-text-soft); }
.match-card__comp { font-weight: 700; letter-spacing: .03em; text-transform: uppercase; font-size: 11px; color: var(--c-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-card__time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.match-card__teams { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--s-3); font-weight: 700; font-size: 15px; line-height: 1.3; }
.match-card__score { color: var(--c-green); font-variant-numeric: tabular-nums; }
.match-card__minute {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--c-danger); font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums;
}
.match-card__odds { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s-2); }

.odds-btn {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 8px 4px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-bg-soft);
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.odds-btn:hover { border-color: var(--c-primary); background: var(--c-primary-soft); transform: translateY(-1px); }
.odds-btn__label { font-size: 11px; font-weight: 600; color: var(--c-text-soft); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odds-btn__value { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c-navy); }
.odds-btn--active { background: var(--c-primary); border-color: var(--c-primary); }
.odds-btn--active .odds-btn__label { color: rgba(255, 255, 255, .8); }
.odds-btn--active .odds-btn__value { color: #fff; }
.odds-btn--up { animation: flash-up 1.1s ease; }
.odds-btn--down { animation: flash-down 1.1s ease; }
@keyframes flash-up { 0% { background: var(--c-flash-up); border-color: var(--c-green); } 100% { background: var(--c-bg-soft); } }
@keyframes flash-down { 0% { background: var(--c-flash-down); border-color: var(--c-danger); } 100% { background: var(--c-bg-soft); } }

.odds-btn__delta { font-size: 10px; line-height: 1; font-weight: 700; }
.odds-btn__delta--up { color: var(--c-green); }
.odds-btn__delta--down { color: var(--c-danger); }

/* Markets with 4+ outcomes wrap into a 2-column grid on small screens (#8) */
@media (max-width: 479px) {
  .match-card__odds:has(> .odds-btn:nth-child(4)) {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .match-card__comp { white-space: normal; line-height: 1.3; }
}

/* Red LIVE chip on in-play cards */
.live-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px;
  background: var(--c-danger); color: #fff;
  border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
}
.live-chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.4s ease-in-out infinite;
}

/* ---------- 11. Sport tiles ---------- */
.sport-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 768px) { .sport-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sport-tiles { grid-template-columns: repeat(6, 1fr); } }

.sport-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: var(--s-4) var(--s-3);
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  color: var(--c-navy); font-weight: 700; font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.sport-tile:hover { text-decoration: none; border-color: var(--c-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sport-tile__icon { color: var(--c-primary); }

/* ---------- 12. SEO block, about ---------- */
.seo { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 1024px) { .seo { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.seo__text p { margin-bottom: var(--s-3); color: var(--c-text-soft); }
.seo__text p:last-child { margin-bottom: 0; }
.seo__card {
  padding: var(--s-4);
  background: var(--c-navy); color: #fff;
  border-radius: var(--radius-lg);
}
.seo__card-h { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7EB2FF; margin-bottom: var(--s-3); }
.seo__facts { display: flex; flex-direction: column; gap: var(--s-3); }
.seo__fact dt { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; opacity: .65; margin-bottom: 2px; }
.seo__fact dd { font-weight: 700; font-size: 15px; }
.seo__card a { color: #9CC3FF; }

.about { display: grid; grid-template-columns: 1fr; gap: var(--s-4); padding-bottom: var(--s-6); }
@media (min-width: 1024px) { .about { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.about__text p { margin-bottom: var(--s-3); }
.about__facts { padding: var(--s-4); background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
.about__facts .seo__fact dt { opacity: 1; color: var(--c-text-soft); }
.about__facts-h { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--c-navy); margin-bottom: var(--s-3); }

/* ---------- 13. RG banner & page ---------- */
.rg-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3);
  padding: var(--s-4);
  background: var(--c-green-soft); border: 1px solid #CBE3CD; border-radius: var(--radius-lg);
}
.rg-banner__icon { color: var(--c-green); flex: 0 0 auto; }
.rg-banner__body { flex: 1 1 300px; }
.rg-banner__h { font-size: 17px; font-weight: 800; color: var(--c-green-dark); margin-bottom: 2px; }
.rg-banner__t { font-size: 14px; color: var(--c-text-soft); }

.rg-slogan-box {
  padding: var(--s-4);
  background: var(--c-navy); color: #fff;
  border-radius: var(--radius-lg); text-align: center;
  margin-bottom: var(--s-5);
}
.rg-slogan-box__text { font-size: clamp(17px, 2.6vw, 22px); font-weight: 800; margin-bottom: var(--s-1); }
.rg-slogan-box__sub { font-size: 14px; opacity: .75; }

.rg-section { margin-bottom: var(--s-5); }
.rg-section__h { font-size: 21px; font-weight: 800; color: var(--c-navy); margin-bottom: var(--s-2); }
.rg-section__lead { color: var(--c-text-soft); margin-bottom: var(--s-3); }

.rg-tools { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 768px) { .rg-tools { grid-template-columns: repeat(3, 1fr); } }
.rg-tools__item { padding: var(--s-3); border: 1px solid var(--c-line); border-left: 4px solid var(--c-green); border-radius: var(--radius); background: var(--c-bg); }
.rg-tools__h { font-size: 16px; font-weight: 700; margin-bottom: var(--s-1); }
.rg-tools__t { font-size: 14px; color: var(--c-text-soft); }

.sign-list { display: grid; grid-template-columns: 1fr; gap: var(--s-2); }
@media (min-width: 768px) { .sign-list { grid-template-columns: 1fr 1fr; } }
.sign-list__item {
  position: relative; padding: 12px var(--s-3) 12px 40px;
  background: var(--c-bg-soft); border-radius: var(--radius);
  font-size: 15px;
}
.sign-list__item::before {
  content: ""; position: absolute; left: 14px; top: 18px;
  width: 12px; height: 12px; border-radius: 50%;
  border: 3px solid var(--c-warn); box-sizing: border-box;
}

.help-cards { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 768px) { .help-cards { grid-template-columns: repeat(3, 1fr); } }
.help-card { padding: var(--s-3); border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
.help-card--phone { background: var(--c-green-soft); border-color: #CBE3CD; }
.help-card__h { font-size: 16px; font-weight: 700; margin-bottom: var(--s-1); }
.help-card__t { font-size: 14px; color: var(--c-text-soft); margin-bottom: var(--s-2); }
.help-card__link { font-weight: 700; font-size: 14px; word-break: break-all; }
.help-card__link--tel { font-size: 21px; color: var(--c-green-dark); }

.rg-age-note { display: flex; align-items: center; gap: 10px; padding: var(--s-3) 0 var(--s-6); color: var(--c-text-soft); font-size: 14px; }

/* ---------- 14. Sports layout ---------- */
.sports-layout { display: grid; grid-template-columns: 1fr; gap: var(--s-4); padding-top: var(--s-4); padding-bottom: var(--s-6); }
@media (min-width: 768px) {
  .sports-layout { grid-template-columns: 200px 1fr; }
  .sports-layout--live { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .sports-layout { grid-template-columns: 210px 1fr 320px; align-items: start; }
  .sports-layout--live { grid-template-columns: 1fr 320px; }
}

.sports-main { min-width: 0; }

.sidebar { display: none; }
@media (min-width: 768px) { .sidebar { display: block; position: sticky; top: calc(var(--header-h) + var(--s-3)); } }
.sidebar__title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-soft); margin-bottom: var(--s-2); }
.sidebar__list { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--s-4); }
.sidebar__link {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; color: var(--c-text);
}
.sidebar__link:hover { background: var(--c-bg-soft); }
.sidebar__link--active { background: var(--c-primary-soft); color: var(--c-primary); }
.sidebar__note { padding: var(--s-3); background: var(--c-bg-soft); border-radius: var(--radius); font-size: 13px; color: var(--c-text-soft); }

/* Mobile sport filter (rendered by JS above match list) */
.sport-filter { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: var(--s-2); margin-bottom: var(--s-3); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sport-filter::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .sport-filter { display: none; } }
.chip {
  flex: 0 0 auto;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--c-line); background: var(--c-bg);
  font-weight: 600; font-size: 14px; white-space: nowrap;
}
.chip--active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.page-head { padding: var(--s-4) 0; }
.page-head--account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.page-head__title { display: flex; align-items: center; gap: 12px; font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -.02em; color: var(--c-navy); margin-bottom: var(--s-2); }
.page-head__intro { color: var(--c-text-soft); max-width: 720px; }
.sports-layout .page-head { padding-top: 0; }

.live-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c-danger); animation: live-pulse 1.4s ease-in-out infinite; flex: 0 0 auto; }
@keyframes live-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, .4); } 50% { box-shadow: 0 0 0 7px rgba(198, 40, 40, 0); } }

.matches { display: flex; flex-direction: column; gap: var(--s-4); }
.matches--live .match-card__meta { margin-bottom: var(--s-2); }
.matches__legal { margin-top: var(--s-4); font-size: 13px; color: var(--c-text-soft); }

.comp__head {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-text-soft);
  padding-bottom: var(--s-2); margin-bottom: var(--s-2);
  border-bottom: 2px solid var(--c-line);
}
.comp__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
@media (min-width: 1280px) { .comp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.matches .match-card__odds { grid-auto-columns: minmax(0, 1fr); }
.matches__empty { padding: var(--s-5); text-align: center; color: var(--c-text-soft); background: var(--c-bg-soft); border-radius: var(--radius-lg); }

/* ---------- 15. Betslip ---------- */
.betslip {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -6px 24px rgba(10, 31, 68, .12);
}
.betslip__bar {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 12px var(--s-3);
  font-weight: 700;
}
.betslip__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 24px; padding: 0 7px;
  background: var(--c-primary); color: #fff;
  border-radius: 999px; font-size: 13px; font-variant-numeric: tabular-nums;
}
.betslip__chevron { margin-left: auto; transition: transform .2s ease; }
.betslip--open .betslip__chevron { transform: rotate(180deg); }
.betslip__panel { display: none; padding: 0 var(--s-3) var(--s-3); max-height: 62vh; overflow-y: auto; }
.betslip--open .betslip__panel { display: block; }

.betslip__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-2); }
.betslip__title { font-size: 16px; font-weight: 800; color: var(--c-navy); }
.betslip__clear { font-size: 13px; font-weight: 600; color: var(--c-danger); }
.betslip__empty { padding: var(--s-4) 0; color: var(--c-text-soft); font-size: 14px; text-align: center; }
.betslip__list { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-3); }

.slip-item { position: relative; padding: 10px 34px 10px 12px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg-soft); }
.slip-item__match { font-size: 13px; color: var(--c-text-soft); margin-bottom: 2px; }
.slip-item__pick { display: flex; justify-content: space-between; gap: var(--s-2); font-weight: 700; font-size: 14px; }
.slip-item__odds { font-variant-numeric: tabular-nums; color: var(--c-primary); }
.slip-item__remove {
  position: absolute; right: 6px; top: 6px;
  width: 24px; height: 24px; border-radius: 50%;
  color: var(--c-text-soft); font-size: 16px; line-height: 1;
}
.slip-item__remove:hover { background: var(--c-danger-soft); color: var(--c-danger); }

.betslip__foot { border-top: 1px solid var(--c-line); padding-top: var(--s-3); display: flex; flex-direction: column; gap: var(--s-2); }
.betslip__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.betslip__row--total { font-size: 16px; }
.betslip__label { font-size: 14px; font-weight: 600; color: var(--c-text-soft); }
.betslip__odds { font-weight: 800; font-variant-numeric: tabular-nums; }
.betslip__stake { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.betslip__stake-wrap { position: relative; display: inline-flex; }
.betslip__input {
  width: 130px; padding: 9px 30px 9px 12px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  font-weight: 700; font-variant-numeric: tabular-nums; text-align: right;
}
.betslip__input:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px var(--c-primary-soft); }
.betslip__cur { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--c-text-soft); }
.betslip__potential { font-size: 18px; font-variant-numeric: tabular-nums; color: var(--c-green-dark); }
.betslip__presets { display: flex; gap: 6px; }
.betslip__preset {
  flex: 1;
  padding: 7px 4px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-bg-soft);
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
  transition: background .15s ease, border-color .15s ease;
}
.betslip__preset:hover { border-color: var(--c-primary); background: var(--c-primary-soft); }
.betslip__error { font-size: 13px; color: var(--c-danger); }
.betslip__note { font-size: 12px; color: var(--c-text-soft); text-align: center; }

@media (min-width: 1024px) {
  .betslip {
    position: sticky; top: calc(var(--header-h) + var(--s-3));
    border: 1px solid var(--c-line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
  }
  .betslip__bar { display: none; }
  .betslip__panel { display: block; padding: var(--s-3); max-height: none; }
}

/* ---------- 15b. Home: combi of the day & popular competitions ---------- */
.combi { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 1024px) { .combi { grid-template-columns: 1.5fr 1fr; align-items: start; } }

.combi__card {
  padding: var(--s-4);
  border: 1px solid var(--c-line); border-left: 4px solid var(--c-green);
  border-radius: var(--radius-lg);
  background: var(--c-bg); box-shadow: var(--shadow-sm);
}
.combi__card .kicker { margin-bottom: var(--s-1); }
.combi__h { font-size: 21px; font-weight: 800; color: var(--c-navy); margin-bottom: var(--s-1); }
.combi__t { font-size: 14px; color: var(--c-text-soft); margin-bottom: var(--s-3); }
.combi__list { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-3); }
.combi__row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  padding: 10px 12px;
  background: var(--c-bg-soft); border-radius: var(--radius);
}
.combi__match { font-size: 13px; color: var(--c-text-soft); }
.combi__pick { font-weight: 700; font-size: 14px; }
.combi__val { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c-primary); }
.combi__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.combi__total { display: flex; flex-direction: column; }
.combi__odds { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c-green-dark); }
.combi__note { margin-top: var(--s-3); font-size: 12px; color: var(--c-text-soft); }

.comps { padding: var(--s-4); background: var(--c-navy); border-radius: var(--radius-lg); color: #fff; }
.comps__h { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7EB2FF; margin-bottom: var(--s-2); }
.comps__list { display: flex; flex-direction: column; }
.comps__list li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
.comps__link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  padding: 12px 2px;
  color: #fff; font-weight: 600; font-size: 15px;
}
.comps__link:hover { color: #9CC3FF; text-decoration: none; }
.comps__link svg { color: rgba(255, 255, 255, .45); flex: 0 0 auto; }

/* ---------- 16. News ---------- */
.news-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 768px) { .news-grid { grid-template-columns: 1fr 1fr; } }
.news-card { padding: var(--s-4); border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-bg); }
.news-card__meta { display: flex; align-items: center; gap: var(--s-2); margin-bottom: 10px; }
.news-card__tag {
  padding: 4px 10px; border-radius: 999px;
  background: var(--c-primary-soft); color: var(--c-primary);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.news-card__date { font-size: 13px; color: var(--c-text-soft); }
.news-card__title { font-size: 18px; font-weight: 800; color: var(--c-navy); margin-bottom: var(--s-2); line-height: 1.3; }
.news-card__text { font-size: 15px; color: var(--c-text-soft); margin-bottom: var(--s-2); }
.news-card__text:last-child { margin-bottom: 0; }
.news-note { padding: var(--s-4) 0 var(--s-6); font-size: 13px; color: var(--c-text-soft); }

/* ---------- 17. Contact ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr; gap: var(--s-3); margin-bottom: var(--s-5); }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { padding: var(--s-3); border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
.contact-card__h { font-size: 15px; font-weight: 700; margin-bottom: var(--s-1); }
.contact-card__t { font-size: 14px; color: var(--c-text-soft); margin-bottom: var(--s-2); }
.contact-card__link { font-weight: 700; font-size: 15px; word-break: break-word; }
.contact-card__link--btn { color: var(--c-green); }
.contact-card__link--btn:hover { text-decoration: underline; }
.contact-form-wrap { max-width: 640px; padding-bottom: var(--s-6); }

/* ---------- 18. FAQ ---------- */
.faq-cat { margin-bottom: var(--s-5); }
.faq-cat__h { font-size: 19px; font-weight: 800; color: var(--c-navy); margin-bottom: var(--s-3); }
.accordion { border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; }
.accordion__item + .accordion__item { border-top: 1px solid var(--c-line); }
.accordion__heading { font-size: inherit; }
.accordion__btn {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  width: 100%; padding: 15px var(--s-3);
  text-align: left; font-weight: 600; font-size: 15px;
}
.accordion__btn:hover { background: var(--c-bg-soft); }
.accordion__btn[aria-expanded="true"] { color: var(--c-primary); }
.accordion__icon { flex: 0 0 auto; transition: transform .2s ease; }
.accordion__btn[aria-expanded="true"] .accordion__icon { transform: rotate(180deg); }
.accordion__panel { padding: 0 var(--s-3) var(--s-3); color: var(--c-text-soft); font-size: 15px; }
.faq-more { padding: 0 0 var(--s-6); color: var(--c-text-soft); }

/* ---------- 19. Legal ---------- */
.legal { padding-bottom: var(--s-6); }
.legal__updated { font-size: 13px; color: var(--c-text-soft); }
.legal__intro { font-size: 17px; color: var(--c-text-soft); margin-bottom: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--c-line); }
.legal__section { margin-bottom: var(--s-4); }
.legal__h { font-size: 18px; font-weight: 800; color: var(--c-navy); margin-bottom: var(--s-2); }
.legal__section p { margin-bottom: var(--s-2); font-size: 15px; color: #333B47; }

/* ---------- 20. Forms & auth ---------- */
.auth { display: flex; justify-content: center; padding: var(--s-5) var(--s-3) var(--s-6); }
.auth__card {
  width: 100%; max-width: 460px;
  padding: var(--s-4);
  border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.auth--wide .auth__card { max-width: 640px; }
.auth__title { font-size: 25px; font-weight: 800; color: var(--c-navy); margin-bottom: var(--s-1); }
.auth__intro { color: var(--c-text-soft); font-size: 15px; margin-bottom: var(--s-3); }
.auth__age-strip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; margin-bottom: var(--s-4);
  background: var(--c-danger-soft); border-radius: var(--radius);
  font-size: 14px; font-weight: 600; color: #7C1D1D;
}
.auth__switch { margin-top: var(--s-3); font-size: 15px; text-align: center; }
.auth__note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: var(--s-3); font-size: 13px; color: var(--c-text-soft); }

.form { display: flex; flex-direction: column; gap: var(--s-3); }
.form__group { display: flex; flex-direction: column; gap: var(--s-2); }
.form__legend { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-soft); margin-bottom: var(--s-1); }
.form__row { display: grid; grid-template-columns: 1fr; gap: var(--s-2); }
@media (min-width: 560px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .form__row--street { grid-template-columns: 2.2fr 1fr; }
}
.form__group--checks { gap: var(--s-2); }
.form__alert {
  padding: 11px 14px; border-radius: var(--radius);
  background: var(--c-danger-soft); color: #7C1D1D;
  font-size: 14px; font-weight: 600;
}
.form__legal { font-size: 12px; color: var(--c-text-soft); }

.field { display: flex; flex-direction: column; gap: 5px; }
.field--inline { flex-direction: row; align-items: center; gap: var(--s-2); }
.field__label { font-size: 14px; font-weight: 600; }
.field__input {
  padding: 11px 13px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-bg);
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field__input:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px var(--c-primary-soft); }
.field__input--area { resize: vertical; min-height: 110px; }
.field--invalid .field__input { border-color: var(--c-danger); }
.field__error { font-size: 13px; color: var(--c-danger); min-height: 1em; }
.field__error:empty { display: none; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkbox__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox__box {
  flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px;
  border: 2px solid var(--c-muted); border-radius: 4px;
  position: relative; transition: background .15s ease, border-color .15s ease;
}
.checkbox__input:checked + .checkbox__box { background: var(--c-primary); border-color: var(--c-primary); }
.checkbox__input:checked + .checkbox__box::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.checkbox__input:focus-visible + .checkbox__box { outline: 3px solid var(--c-primary-soft); }
.checkbox__label { font-size: 14px; }

.switch { display: inline-flex; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
  width: 44px; height: 24px; border-radius: 999px;
  background: var(--c-muted); position: relative; transition: background .15s ease;
}
.switch__track::after {
  content: ""; position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm); transition: transform .15s ease;
}
.switch input:checked + .switch__track { background: var(--c-green); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--c-primary-soft); }

/* ---------- 21. Account ---------- */
.account { padding-bottom: var(--s-6); }
.account__h { font-size: 19px; font-weight: 800; color: var(--c-navy); margin: var(--s-4) 0 var(--s-3); }
.account__panel { padding-top: var(--s-4); }
.account__filter { display: flex; gap: var(--s-2); margin-bottom: var(--s-3); }

.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--c-line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn {
  padding: 12px 18px; margin-bottom: -2px;
  font-weight: 700; font-size: 15px; color: var(--c-text-soft);
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.tabs__btn:hover { color: var(--c-text); }
.tabs__btn--active { color: var(--c-primary); border-bottom-color: var(--c-primary); }

.stats { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat {
  display: flex; flex-direction: column; gap: 5px;
  padding: var(--s-4);
  border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  background: var(--c-bg); box-shadow: var(--shadow-sm);
}
.stat__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-soft); }
.stat__value { font-size: 27px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c-navy); }
.stat__value--badge { display: flex; }
.stat__hint { font-size: 13px; color: var(--c-text-soft); }

.bets { display: flex; flex-direction: column; gap: var(--s-2); }
.bets__empty { padding: var(--s-4); text-align: center; color: var(--c-text-soft); background: var(--c-bg-soft); border-radius: var(--radius-lg); font-size: 15px; }
.bet-item { padding: var(--s-3); border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
.bet-item__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-bottom: var(--s-2); font-size: 13px; color: var(--c-text-soft); }
.bet-item__type { font-weight: 700; color: var(--c-navy); text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
.bet-item__status { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.bet-item__status--open { background: var(--c-primary-soft); color: var(--c-primary); }
.bet-item__status--won { background: var(--c-green-soft); color: var(--c-green-dark); }
.bet-item__status--lost { background: var(--c-danger-soft); color: var(--c-danger); }
.bet-item__sel { display: flex; justify-content: space-between; gap: var(--s-2); padding: 4px 0; font-size: 14px; }
.bet-item__sel-pick { font-weight: 600; }
.bet-item__sel-odds { font-variant-numeric: tabular-nums; color: var(--c-text-soft); }
.bet-item__foot { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); padding-top: var(--s-2); border-top: 1px dashed var(--c-line); font-size: 14px; }
.bet-item__foot strong { font-variant-numeric: tabular-nums; }

.limit-card { padding: var(--s-4); border: 1px solid var(--c-line); border-radius: var(--radius-lg); margin-bottom: var(--s-3); }
.limit-card--danger { border-color: #EBC5C5; background: #FDF7F7; }
.limit-card__h { font-size: 17px; font-weight: 800; color: var(--c-navy); margin-bottom: var(--s-1); }
.limit-card__t { font-size: 14px; color: var(--c-text-soft); margin-bottom: var(--s-2); }
.limit-card__current { font-size: 15px; margin-bottom: var(--s-2); }
.limit-card__current strong { font-variant-numeric: tabular-nums; }
.limit-card__pending { padding: 9px 12px; margin-bottom: var(--s-2); background: var(--c-warn-soft); color: var(--c-warn); border-radius: var(--radius); font-size: 14px; font-weight: 600; }
.limit-card__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-2); margin-bottom: var(--s-2); }
.limit-card__form .field__input { max-width: 150px; }
.limit-card__note { font-size: 13px; color: var(--c-text-soft); }
.limit-card__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.pay-select { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); margin-bottom: var(--s-3); }
@media (min-width: 560px) { .pay-select { grid-template-columns: repeat(3, 1fr); } }
.pay-select__item { display: flex; cursor: pointer; }
.pay-select__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay-select__item .pay-badge { width: 100%; justify-content: center; border: 2px solid var(--c-line); transition: border-color .15s ease, box-shadow .15s ease; }
.pay-select__item input:checked + .pay-badge { border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
.pay-select__item input:focus-visible + .pay-badge { outline: 3px solid var(--c-primary); outline-offset: 2px; }

/* ---------- 22. Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: var(--s-3); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7, 22, 51, .55); animation: fade-in .2s ease; }
.modal__box {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px; max-height: 86vh; overflow-y: auto;
  padding: var(--s-4);
  background: var(--c-bg); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: modal-in .22s ease;
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__close {
  position: absolute; right: 12px; top: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  font-size: 21px; line-height: 1; color: var(--c-text-soft);
}
.modal__close:hover { background: var(--c-bg-soft); }
.modal__title { font-size: 20px; font-weight: 800; color: var(--c-navy); margin-bottom: var(--s-2); padding-right: var(--s-4); }
.modal__text { color: var(--c-text-soft); margin-bottom: var(--s-3); }
.modal__label { font-size: 14px; font-weight: 600; margin-bottom: var(--s-2); }
.modal__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.modal__hint { font-size: 13px; color: var(--c-text-soft); margin-top: var(--s-2); }

/* ---------- 22b. Age gate ---------- */
.agegate {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-3);
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 26px),
    linear-gradient(115deg, var(--c-navy-deep) 0%, var(--c-navy) 60%, var(--c-primary-dark) 100%);
  overflow-y: auto;
}
.agegate__card {
  width: 100%; max-width: 480px;
  padding: var(--s-5) var(--s-4);
  background: var(--c-bg); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: modal-in .25s ease;
}
.agegate__logo { margin-bottom: var(--s-3); }
.agegate__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: var(--s-3);
  border: 4px solid var(--c-danger); border-radius: 50%;
  color: var(--c-danger); font-size: 21px; font-weight: 800;
}
.agegate__badge--stop { background: var(--c-danger); color: #fff; }
.agegate__title { font-size: 24px; font-weight: 800; color: var(--c-navy); margin-bottom: var(--s-2); }
.agegate__text { font-size: 15px; color: var(--c-text-soft); margin-bottom: var(--s-4); }
.agegate__actions { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-4); }
.agegate__note { font-size: 13px; font-weight: 600; color: var(--c-text); margin-bottom: var(--s-2); }
.agegate__license { font-size: 12px; color: var(--c-text-soft); }
.agegate__links { display: flex; flex-direction: column; gap: var(--s-1); font-weight: 700; }

/* ---------- 23. Cookie banner ---------- */
.cookiebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  background: var(--c-navy-deep); color: #fff;
  padding: var(--s-3) 0;
  box-shadow: 0 -6px 24px rgba(7, 22, 51, .3);
}
.cookiebar__inner { display: flex; flex-direction: column; gap: var(--s-3); }
.cookiebar__title { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.cookiebar__text p { font-size: 14px; color: rgba(255, 255, 255, .8); }
.cookiebar__text a { color: #9CC3FF; }
.cookiebar__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.cookiebar .btn--ghost { color: #fff; }
.cookiebar .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.cookiebar .btn--link { color: #9CC3FF; }
@media (min-width: 768px) {
  .cookiebar__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.ck-cat { padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
.ck-cat__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: 5px; }
.ck-cat__name { font-weight: 700; font-size: 15px; }
.ck-cat__state { font-size: 13px; font-weight: 700; color: var(--c-green); }
.ck-cat__desc { font-size: 14px; color: var(--c-text-soft); }

/* ---------- 24. Chat ---------- */
.chat-fab {
  position: fixed; right: var(--s-3); bottom: var(--s-3); z-index: 210;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease, background .15s ease;
}
.chat-fab:hover { background: var(--c-green-dark); transform: scale(1.06); }
.page--sports .chat-fab, .page--live .chat-fab { bottom: 76px; }
/* Never sit on top of the opened mobile bet slip */
body.betslip-open .chat-fab { display: none; }
@media (min-width: 1024px) {
  .page--sports .chat-fab, .page--live .chat-fab { bottom: var(--s-3); }
  body.betslip-open .chat-fab { display: flex; }
}

.chat { position: fixed; right: var(--s-3); bottom: 84px; z-index: 260; width: min(340px, calc(100vw - 32px)); }
.chat__panel {
  display: flex; flex-direction: column;
  height: 420px; max-height: 70vh;
  background: var(--c-bg); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modal-in .2s ease;
}
.chat__head { display: flex; align-items: center; gap: 10px; padding: 13px var(--s-3); background: var(--c-navy); color: #fff; }
.chat__status { width: 9px; height: 9px; border-radius: 50%; background: #4CAF50; animation: live-pulse 2s ease-in-out infinite; }
.chat__title { font-weight: 700; font-size: 15px; }
.chat__close { margin-left: auto; font-size: 20px; color: rgba(255, 255, 255, .8); width: 30px; height: 30px; }
.chat__body { flex: 1; overflow-y: auto; padding: var(--s-3); display: flex; flex-direction: column; gap: var(--s-2); background: var(--c-bg-soft); }
.chat__msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.chat__msg--in { background: var(--c-bg); border: 1px solid var(--c-line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat__msg--out { background: var(--c-primary); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat__form { display: flex; gap: var(--s-2); padding: 10px; border-top: 1px solid var(--c-line); }
.chat__input { flex: 1; padding: 9px 12px; border: 1px solid var(--c-line); border-radius: var(--radius); min-width: 0; }
.chat__input:focus { border-color: var(--c-primary); outline: none; }

/* ---------- 25. Toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: var(--s-4); transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: var(--s-2); width: min(420px, calc(100vw - 32px)); }
.toast {
  padding: 13px 18px;
  background: var(--c-navy); color: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  font-size: 15px; font-weight: 600; text-align: center;
  animation: toast-in .25s ease;
}
.toast--success { background: var(--c-green-dark); }
.toast--error { background: var(--c-danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- 26. Footer ---------- */
.footer { background: var(--c-navy-deep); color: rgba(255, 255, 255, .78); font-size: 14px; margin-top: var(--s-6); }
.footer a { color: rgba(255, 255, 255, .85); }
.footer a:hover { color: #fff; }

.footer__badges {
  display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__badges-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--s-2); }
.footer__badges-row .f-badge { min-height: 56px; }
@media (min-width: 1024px) {
  .footer__badges { flex-direction: row; justify-content: space-between; gap: var(--s-3); }
}
.f-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius);
  color: rgba(255, 255, 255, .9);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.25;
}
.f-badge--age { color: #FF9D95; border-color: rgba(255, 157, 149, .5); }
.f-badge--img { padding: 8px 12px; }
.f-badge--img img { display: block; width: auto; }

.footer__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); padding: var(--s-5) 0; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }

.footer__h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7EB2FF; margin-bottom: var(--s-3); }
.footer__addr { margin-bottom: var(--s-3); line-height: 1.7; }
.footer__list { display: flex; flex-direction: column; gap: 8px; }
.footer__license-no { margin-top: var(--s-2); font-weight: 700; color: #fff; }
.footer__slogan { font-weight: 700; color: #fff; margin-bottom: var(--s-2); }

.footer__pay { padding: var(--s-4) 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__pay-list { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--s-2); }
.pay-logo {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 7px 14px;
  background: #fff; border-radius: var(--radius);
}
.pay-logo img { display: block; width: auto; max-height: 24px; }
.pay-logo--text { font-size: 13px; font-weight: 700; color: var(--c-navy); letter-spacing: .02em; }

.pay-badge {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: #fff; color: var(--c-navy);
  border-radius: var(--radius);
  font-size: 13px; font-weight: 800; letter-spacing: .01em;
}
.pay-badge--bancontact { color: #004E91; font-style: italic; }
.pay-badge--ideal { color: #C06; }
.pay-badge--visa { color: #1A1F71; font-style: italic; letter-spacing: .08em; }
.pay-badge--mc { padding-left: 40px; color: #3B3B3B; }
.pay-badge__disc { position: absolute; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; border-radius: 50%; opacity: .9; }
.pay-badge__disc--l { left: 12px; background: #EB001B; }
.pay-badge__disc--r { left: 22px; background: #F79E1B; mix-blend-mode: multiply; }
.pay-badge--paypal { color: #003087; font-style: italic; }
.pay-badge--belfius { color: #C30045; }
.pay-badge--ing { color: #FF6200; }
.pay-badge--sofort { color: #EE7100; }
.pay-badge--psc { color: #008AC9; }

.footer__bottom {
  display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-4) 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; color: rgba(255, 255, 255, .55);
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- 27. Photo slots (glossy editorial images) ---------- */
.hero__inner--with-photo { display: grid; grid-template-columns: 1fr; gap: var(--s-4); align-items: center; }
@media (min-width: 1024px) { .hero__inner--with-photo { grid-template-columns: 1.15fr 1fr; } }
.hero__photo { position: relative; z-index: 2; }
.hero__img {
  display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  transform: rotate(1.6deg);
}
@media (max-width: 767px) { .hero__photo { display: none; } }

.news-card__media { margin: calc(var(--s-4) * -1) calc(var(--s-4) * -1) var(--s-3); border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.news-card__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
.news-card:hover .news-card__img { transform: scale(1.03); }

.about__media { margin-bottom: var(--s-4); }
.about__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- 28. Icon helpers ---------- */
.sidebar__link--icon { display: flex; align-items: center; gap: 9px; }
.sidebar__link--icon svg { color: var(--c-primary); flex: 0 0 auto; }
.sidebar__count {
  margin-left: auto;
  padding: 1px 8px;
  background: var(--c-bg-soft); border-radius: 999px;
  font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--c-text-soft);
}
.sidebar__link--active .sidebar__count { background: rgba(0, 82, 204, .12); color: var(--c-primary); }
.contact-card__icon { display: inline-flex; color: var(--c-primary); margin-bottom: var(--s-2); }
.rg-banner__icon svg { display: block; }

/* ---------- 29. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .logo__stroke { stroke-dashoffset: 0; }
  .logo__ball { opacity: 1; }
}
