/* ==========================================================================
   Bailrbet — main stylesheet (BEM). Desktop design 1440px, mobile design 390px.
   Breakpoint: 1024px. Figma inside strokes → CSS border with padding reduced by the border width.
   ========================================================================== */

@font-face { font-family: 'Geist'; src: url(../fonts/Geist.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(../fonts/GeistMono.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Big Shoulders Display'; src: url(../fonts/BigShouldersDisplay.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --navy: #050821;
  --navy-2: #0b103b;
  --navy-3: #080c2e;
  --line: #1d235c;
  --line-2: #2c347c;
  --yellow: #ffb800;
  --yellow-soft: #ffe27c;
  --yellow-dim: rgba(255, 184, 0, 0.12);
  --blue: #0047ff;
  --blue-overlay: rgba(0, 71, 255, 0.85);
  --cream: #f5f3ee;
  --grey: #f0f2f4;
  --line-light: #e1e4e6;
  --ink: #111315;
  --ink-2: #4e5459;
  --ink-3: #888e94;
  --ink-4: #b5bac0;
  --green: #10b981;
  --red: #e0245e;
  --white: #ffffff;

  --gutter: 16px;
  --content: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: .2s var(--ease);
  --shadow-modal: 0 24px 48px rgba(0, 0, 0, 0.5);
}
@media (min-width: 1024px) { :root { --gutter: clamp(24px, 5.5556vw, 80px); } }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.3;
  color: var(--white);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, h5, p, ul, ol, figure, hr { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--yellow); color: var(--navy); padding: 8px 16px; border-radius: 4px; font-weight: 800; font-size: 12px; }
.skip-link:focus { left: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { flex: none; }
.main { display: block; }
.container { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; }
.d-only { display: none; }
.m-only { display: inline; }
@media (min-width: 1024px) { .d-only { display: inline; } .m-only { display: none; } }
.display { font-family: var(--font-display); }
.mono { font-family: var(--font-mono); }

/* Logo */
.logo { font-family: var(--font-display); font-weight: 900; color: var(--white); white-space: nowrap; display: inline-block; line-height: 1.2; }
.logo__b { color: var(--yellow); }
.logo--header { font-size: 32px; line-height: 38px; }
.logo--mobile { font-size: 32px; line-height: 38px; }
.logo--footer { font-size: 36px; line-height: 43px; }
@media (min-width: 1024px) {
  .logo--header { font-size: 36px; line-height: 43px; }
  .logo--footer { font-size: 48px; line-height: 57px; letter-spacing: 0; }
}

/* Kickers / helper type */
.kicker { font-size: 11px; line-height: 14px; font-weight: 800; text-transform: uppercase; color: var(--yellow); }
.kicker--blue { color: var(--blue); }
@media (min-width: 1024px) { .kicker { font-size: 12px; line-height: 16px; } }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 12px; line-height: 16px; white-space: nowrap;
  padding: 12px 16px; border-radius: 4px; border: 1px solid transparent;
  transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:active { transform: translateY(1px); }
.btn--blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--blue:hover { background: #1a5bff; border-color: #1a5bff; box-shadow: 0 8px 20px rgba(0, 71, 255, .3); }
.btn--yellow { background: var(--yellow); color: var(--navy); border-color: var(--yellow); font-weight: 800; }
.btn--yellow:hover { background: #ffc733; border-color: #ffc733; box-shadow: 0 8px 20px rgba(255, 184, 0, .28); }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-white:hover { background: rgba(255, 255, 255, .08); }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--cream); }
.btn--xs { padding: 7px 13px; font-size: 11px; line-height: 14px; font-weight: 900; }
.btn--sm { padding: 9px 19px; font-size: 13px; line-height: 17px; }
.btn--lg { padding: 16px 20px; font-size: 14px; line-height: 18px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn.is-busy { opacity: .7; pointer-events: none; }
@media (min-width: 1024px) {
  .btn { font-size: 13px; line-height: 17px; padding: 13px 27px; }
  .btn--xs { padding: 7px 13px; font-size: 11px; line-height: 14px; }
  .btn--sm { padding: 9px 19px; font-size: 13px; line-height: 17px; }
  .btn--lg { padding: 16px 20px; font-size: 14px; line-height: 18px; }
}

.arrow-link { font-weight: 700; color: var(--yellow); white-space: nowrap; transition: opacity var(--t), transform var(--t); display: inline-block; }
.arrow-link:hover { opacity: .85; transform: translateX(2px); }
.arrow-link--blue { color: var(--blue); }
.arrow-link--white { color: var(--white); }

/* --------------------------------------------------------------------------
   Badges & tags
   -------------------------------------------------------------------------- */
.age-badge { display: inline-flex; align-items: center; background: var(--yellow); color: var(--navy); border-radius: 2px; padding: 2px 4px; font-size: 9px; line-height: 12px; font-weight: 900; white-space: nowrap; }
@media (min-width: 1024px) { .age-badge { border-radius: 3px; padding: 2px 6px; font-size: 10px; line-height: 13px; font-weight: 800; } }
.tag { display: inline-flex; align-items: center; border-radius: 3px; padding: 2px 6px; font-size: 10px; line-height: 13px; font-weight: 700; white-space: nowrap; }
.tag--blue { background: var(--blue); color: var(--white); }
.tag--navy { background: var(--navy-2); color: var(--ink-4); }
.tag--yellow { background: var(--yellow); color: var(--navy); font-weight: 800; }
.tag--outline-yellow { background: var(--yellow-dim); color: var(--yellow); border: 1px solid var(--yellow); padding: 3px 7px; border-radius: 4px; font-weight: 800; }

/* --------------------------------------------------------------------------
   Odds button (data-odds → bet slip)
   -------------------------------------------------------------------------- */
.odds {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: 1 1 0; min-width: 0;
  padding: 11px 15px; border-radius: 4px; background: var(--white); border: 1px solid var(--line-light);
  transition: background-color var(--t), border-color var(--t), box-shadow var(--t), transform var(--t);
}
.odds__label { font-size: 11px; line-height: 14px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.odds__price { font-size: 13px; line-height: 17px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.odds:hover { border-color: var(--blue); box-shadow: 0 4px 12px rgba(0, 71, 255, .12); }
.odds:active { transform: scale(.98); }
.odds--selected, .odds--selected:hover { background: var(--yellow); border-color: var(--yellow); }
.odds--selected .odds__label, .odds--selected .odds__price { color: var(--ink); }
.odds--price-only .odds__label { display: none; }
.odds.is-up .odds__price { animation: odds-up .9s var(--ease); }
.odds.is-down .odds__price { animation: odds-down .9s var(--ease); }
@keyframes odds-up { 0% { color: var(--green); } 100% { color: inherit; } }
@keyframes odds-down { 0% { color: var(--red); } 100% { color: inherit; } }
.odds[disabled] { opacity: .55; pointer-events: none; }

/* --------------------------------------------------------------------------
   Utility bar
   -------------------------------------------------------------------------- */
.utility-bar { background: var(--navy-2); border-bottom: 1px solid var(--line); color: var(--ink-4); position: relative; z-index: 45; }
.utility-bar__inner { display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; row-gap: 6px; padding: 8px 0 7px; }
.utility-bar__left, .utility-bar__right { display: contents; }
.utility-bar .age-badge { grid-column: 1; grid-row: 1; }
.utility-bar__help { grid-column: 2; grid-row: 1; justify-self: end; font-size: 10px; line-height: 13px; font-weight: 400; color: var(--ink-4); white-space: nowrap; }
@media (max-width: 359px) { .utility-bar__help-label { display: none; } }
.utility-bar__help strong { color: var(--white); font-weight: 700; }
.utility-bar__tagline { grid-column: 1; grid-row: 2; font-size: 10px; line-height: 13px; font-weight: 800; color: var(--yellow-soft); }
.utility-bar__limit { grid-column: 2; grid-row: 2; justify-self: end; font-size: 10px; line-height: 13px; font-weight: 700; color: var(--yellow); white-space: nowrap; }
.utility-bar a:hover { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 1024px) {
  .utility-bar__inner { display: flex; justify-content: space-between; align-items: center; padding: 0; height: 32px; }
  .utility-bar__left, .utility-bar__right { display: flex; align-items: center; }
  .utility-bar__left { gap: 12px; }
  .utility-bar__right { gap: 16px; }
  .utility-bar__tagline { font-size: 11px; line-height: 14px; font-weight: 700; }
  .utility-bar__limit { font-size: 11px; line-height: 14px; font-weight: 600; }
  .utility-bar__help { font-size: 11px; line-height: 14px; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header { background: var(--navy); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 59px; }
.header__left { display: flex; align-items: center; gap: 48px; min-width: 0; }
.header__logo { display: block; transition: opacity var(--t); }
.header__logo:hover { opacity: .85; }
.nav { display: none; }
.nav__list { display: flex; gap: 24px; }
.nav__link { display: block; padding: 8px 0; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 19px; color: var(--ink-4); transition: color var(--t); position: relative; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__item--active .nav__link { color: var(--yellow); }
.header__right { display: flex; align-items: center; gap: 12px; }
.header__help { display: none; gap: 16px; }
.header__help-link { font-size: 13px; line-height: 17px; color: var(--ink-4); transition: color var(--t); }
.header__help-link:hover { color: var(--white); }
.header__auth { display: flex; align-items: center; gap: 12px; }
.header__login { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--white); transition: color var(--t); }
.header__login:hover { color: var(--yellow); }
.header__join { padding: 7px 13px; font-size: 11px; line-height: 14px; font-weight: 900; }
.header__account { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.header__account-name { font-size: 11px; font-weight: 800; color: var(--white); }
.header__account-balance { font-size: 12px; font-weight: 700; color: var(--yellow); margin-top: 3px; font-family: var(--font-mono); }
.burger { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--white); border-radius: 4px; transition: background-color var(--t); }
.burger:hover { background: rgba(255, 255, 255, .06); }
@media (min-width: 1024px) {
  .header { position: relative; }
  .header__inner { height: 79px; }
  .nav { display: block; }
  .header__right { gap: 24px; }
  .header__help { display: flex; }
  .header__login { font-size: 13px; line-height: 17px; }
  .header__join { padding: 9px 19px; font-size: 13px; line-height: 17px; font-weight: 800; }
  .burger { display: none; }
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--navy); display: flex; flex-direction: column; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease); overflow-y: auto; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__utility { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 16px; background: var(--navy-2); border-bottom: 1px solid var(--line); flex: none; }
.mobile-menu__tagline { font-size: 10px; line-height: 13px; font-weight: 800; color: var(--yellow-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-menu__header { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 16px; border-bottom: 1px solid var(--line); flex: none; }
.mobile-menu__actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu__login { font-size: 13px; line-height: 17px; font-weight: 700; color: var(--white); }
.mobile-menu__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 32px 24px; gap: 32px; }
.mobile-menu__primary { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu__link { display: flex; align-items: center; height: 56px; font-family: var(--font-display); font-weight: 900; font-size: 30px; line-height: 36px; color: var(--white); transition: color var(--t); }
.mobile-menu__link:hover { color: var(--yellow); }
.mobile-menu__link.is-active { color: var(--yellow); border-left: 4px solid var(--yellow); padding-left: 16px; }
.mobile-menu__rule { height: 1px; background: var(--line); }
.mobile-menu__secondary { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu__sublink { display: flex; align-items: center; height: 32px; font-size: 16px; line-height: 21px; font-weight: 500; color: var(--ink-4); transition: color var(--t); }
.mobile-menu__sublink:hover { color: var(--white); }
.mobile-menu__bottom { display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; flex: 1 1 auto; }
.mobile-menu__auth { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu__compliance { text-align: center; font-size: 11px; line-height: 14px; color: var(--ink-4); }
.mobile-menu__compliance strong { color: var(--yellow); }
.mobile-menu__compliance-sub { font-size: 10px; line-height: 13px; opacity: .6; margin-top: 4px; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* --------------------------------------------------------------------------
   Bet slip (sidebar + mobile sheet) — sizes from the desktop sidebar / mobile expanded-sheet frames
   -------------------------------------------------------------------------- */
.slip { display: flex; flex-direction: column; gap: 16px; color: var(--white); }
.slip--sidebar { background: var(--navy-2); border: 1px solid var(--blue); border-radius: 6px; padding: 19px; }
.slip__header { display: flex; align-items: center; justify-content: space-between; }
.slip__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 26px; color: var(--white); }
.slip__badge { display: inline-flex; background: var(--yellow); color: var(--navy); border-radius: 4px; padding: 4px 8px; font-size: 11px; line-height: 14px; font-weight: 700; white-space: nowrap; }
.slip__items { display: flex; flex-direction: column; gap: 12px; }
.slip-item { background: var(--navy); border: 1px solid var(--line); border-radius: 4px; padding: 11px; display: flex; flex-direction: column; gap: 10px; }
.slip-item.is-new { animation: slip-in .3s var(--ease); }
@keyframes slip-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.slip-item.is-leaving { opacity: 0; transform: translateX(12px); transition: opacity .25s, transform .25s; }
.slip-item__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.slip-item__sport { display: flex; align-items: center; gap: 6px; min-width: 0; }
.slip-item__event { font-size: 11px; line-height: 14px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slip-item__remove { font-size: 11px; line-height: 14px; font-weight: 600; color: var(--yellow); white-space: nowrap; transition: opacity var(--t); }
.slip-item__remove:hover { opacity: .8; text-decoration: underline; }
.slip-item__info { display: flex; flex-direction: column; gap: 2px; }
.slip-item__market { font-size: 12px; line-height: 16px; color: var(--ink-4); }
.slip-item__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.slip-item__label { font-size: 14px; line-height: 18px; font-weight: 700; color: var(--white); }
.slip-item__odds { font-size: 14px; line-height: 18px; font-weight: 800; color: var(--yellow); }
.slip__empty { background: var(--navy); border: 1px dashed var(--line-2); border-radius: 4px; padding: 16px; text-align: center; }
.slip__empty-title { font-size: 13px; line-height: 17px; font-weight: 700; color: var(--white); }
.slip__empty-text { font-size: 11px; line-height: 14px; color: var(--ink-4); margin-top: 4px; }
.slip__stake { display: flex; flex-direction: column; gap: 6px; }
.slip__label { font-size: 11px; line-height: 14px; font-weight: 700; color: var(--ink-4); }
.slip__input { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 11px; background: var(--navy); border: 1px solid var(--line); border-radius: 4px; transition: border-color var(--t); }
.slip__input:focus-within { border-color: var(--blue); }
.slip__currency { font-size: 14px; line-height: 18px; font-weight: 700; color: var(--white); }
.slip__stake-field { flex: 1 1 auto; min-width: 0; background: none; border: 0; outline: 0; text-align: right; font-size: 14px; line-height: 18px; font-weight: 700; color: var(--white); padding: 0; }
.slip__divider { height: 1px; background: var(--line); }
.slip__return { display: flex; align-items: center; justify-content: space-between; }
.slip__return-label { font-size: 12px; line-height: 16px; color: var(--ink-4); }
.slip__return-value { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 29px; color: var(--green); transition: color var(--t); }
.slip__place { padding: 14px; font-size: 14px; line-height: 18px; font-weight: 800; }
.slip__footer { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 11px; line-height: 14px; }
.slip__footer-text { color: var(--ink-4); }
.slip__footer-link { color: var(--yellow); font-weight: 600; }
.slip__footer-link:hover { text-decoration: underline; }
/* sheet variant (mobile expanded frame) */
.slip--sheet .slip__return-label { font-size: 13px; line-height: 17px; }
.slip--sheet .slip__footer { align-items: center; }

/* Mobile bottom sheet */
.slip-sheet__backdrop { position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, .7); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.slip-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy-2); border-top: 2px solid var(--blue); box-shadow: 0 -12px 32px rgba(0, 0, 0, .45); transform: translateY(calc(100% - 56px)); transition: transform .3s var(--ease); max-height: 92vh; display: flex; flex-direction: column; }
.slip-sheet[hidden] { display: none; }
.slip-sheet.is-open { transform: none; min-height: min(640px, 80vh); }
.slip-sheet.is-open + .slip-sheet__backdrop, .slip-sheet__backdrop.is-open { opacity: 1; pointer-events: auto; }
.slip-sheet__bar { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; width: 100%; }
.slip-sheet__bar-title { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 22px; color: var(--white); }
.slip-sheet__bar-count { display: inline-flex; background: var(--yellow); color: var(--navy); border-radius: 4px; padding: 2px 8px; font-size: 10px; line-height: 13px; font-weight: 800; }
.slip-sheet__bar-return { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 22px; color: var(--green); }
.slip-sheet__panel { padding: 0 16px 20px; overflow-y: auto; }
.slip-sheet__handle { width: 40px; height: 4px; border-radius: 2px; background: var(--ink-4); margin: 0 auto 16px; cursor: pointer; }
.slip-sheet.is-open .slip-sheet__bar { display: none; }
.slip-sheet.is-open .slip-sheet__panel { padding-top: 12px; }
body.has-slip-sheet { padding-bottom: 56px; }
@media (min-width: 1024px) { .slip-sheet, .slip-sheet__backdrop { display: none !important; } body.has-slip-sheet { padding-bottom: 0; } }

/* --------------------------------------------------------------------------
   Responsible gambling centre
   -------------------------------------------------------------------------- */
.rg-centre { background: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 31px 0; }
.rg-centre__inner { display: flex; flex-direction: column; gap: 24px; }
.rg-centre__title { font-family: var(--font-display); font-weight: 900; font-size: 24px; line-height: 29px; color: var(--white); }
.rg-centre__kicker { margin-top: 8px; font-size: 11px; line-height: 14px; font-weight: 700; color: var(--yellow); }
.rg-centre__text { margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--ink-4); }
.rg-centre__list { display: flex; flex-direction: column; gap: 8px; }
.rg-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--navy-2); border: 1px solid var(--line); border-radius: 4px; padding: 11px; transition: border-color var(--t), transform var(--t); }
.rg-item:hover { border-color: var(--blue); }
.rg-item__info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rg-item__num { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 22px; color: var(--yellow); }
.rg-item__labels { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rg-item__title { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--white); }
.rg-item__desc { font-size: 10px; line-height: 13px; color: var(--ink-4); }
.rg-item__link { font-size: 11px; line-height: 14px; font-weight: 700; color: var(--yellow); white-space: nowrap; transition: transform var(--t); }
.rg-item__link:hover { transform: translateX(2px); text-decoration: underline; }
@media (min-width: 1024px) {
  .rg-centre { padding: 63px 0; }
  .rg-centre__inner { flex-direction: row; gap: 48px; align-items: flex-start; }
  .rg-centre__editorial { flex: 0 0 500px; }
  .rg-centre__title { font-size: 40px; line-height: 48px; }
  .rg-centre__kicker { margin-top: 16px; font-size: 12px; line-height: 16px; }
  .rg-centre__text { margin-top: 16px; font-size: 15px; line-height: 22px; }
  .rg-centre__list { flex: 1 1 auto; gap: 12px; }
  .rg-item { padding: 15px; gap: 16px; }
  .rg-item__info { gap: 16px; }
  .rg-item__num { font-size: 22px; line-height: 26px; }
  .rg-item__title { font-size: 13px; line-height: 17px; }
  .rg-item__desc { font-size: 12px; line-height: 16px; }
  .rg-item__link { font-size: 13px; line-height: 17px; }
}

/* --------------------------------------------------------------------------
   Safety support band
   -------------------------------------------------------------------------- */
.safety-band { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line-light); padding: 20px 0 19px; }
.safety-band__inner { display: flex; flex-direction: column; gap: 16px; }
.safety-band__left { display: flex; flex-direction: column; gap: 16px; }
.safety-band__help { display: flex; align-items: center; gap: 12px; }
.safety-band__age { display: inline-flex; align-items: center; background: var(--navy); color: var(--white); border-radius: 2px; padding: 4px 6px; font-size: 11px; line-height: 14px; font-weight: 800; white-space: nowrap; }
.safety-band__stack { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.safety-band__title { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--ink); }
.safety-band__text { font-size: 11px; line-height: 14px; color: var(--ink-2); }
.safety-band__phone { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 29px; color: var(--blue); display: inline-block; transition: opacity var(--t); }
.safety-band__phone:hover { opacity: .8; }
.safety-band__rule { height: 1px; background: var(--line-light); }
.safety-band__right { display: flex; flex-direction: column; gap: 8px; }
.safety-band__betstop-row { display: flex; align-items: center; gap: 8px; }
.safety-band__betstop-badge { display: inline-flex; background: var(--blue); color: var(--white); border-radius: 3px; padding: 3px 6px; font-size: 9px; line-height: 12px; font-weight: 800; white-space: nowrap; }
.safety-band__betstop-row { flex-wrap: wrap; }
.safety-band__stack--betstop { display: contents; }
.safety-band__title--betstop { flex: 1 1 auto; }
.safety-band__text--betstop { flex: 0 0 100%; }
.safety-band__link { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--blue); }
.safety-band__link:hover { text-decoration: underline; }
@media (min-width: 1024px) {
  .safety-band { padding: 24px 0 23px; }
  .safety-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .safety-band__left { flex-direction: row; align-items: center; gap: 16px; }
  .safety-band__help { gap: 16px; }
  .safety-band__age { border-radius: 3px; padding: 4px 8px; }
  .safety-band__text { font-size: 12px; line-height: 16px; }
  .safety-band__rule { display: none; }
  .safety-band__right { flex-direction: row; align-items: center; gap: 12px; }
  .safety-band__betstop-row { gap: 12px; }
  .safety-band__betstop-badge { border-radius: 4px; padding: 4px 8px; font-size: 10px; line-height: 13px; }
  .safety-band__betstop-row { flex-wrap: nowrap; }
  .safety-band__stack--betstop { display: flex; }
  .safety-band__text--betstop { font-size: 11px; line-height: 14px; flex: none; }
}

/* --------------------------------------------------------------------------
   Payment trust rail
   -------------------------------------------------------------------------- */
.payment-rail { background: var(--navy-2); color: var(--ink-4); padding: 16px 0; }
.payment-rail__inner { display: flex; flex-direction: column; gap: 12px; }
.payment-rail__left { display: flex; flex-direction: column; gap: 12px; }
.payment-rail__title { font-size: 10px; line-height: 13px; font-weight: 700; color: var(--ink-4); }
.payment-rail__logos { width: 300px; height: 40px; object-fit: contain; object-position: left; }
.payment-rail__right { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.payment-rail__badge { display: inline-flex; background: var(--yellow-dim); color: var(--yellow); border: 1px solid var(--yellow); border-radius: 3px; padding: 3px 7px; font-size: 9px; line-height: 12px; font-weight: 800; white-space: nowrap; }
.payment-rail__note { font-size: 10px; line-height: 13px; color: var(--ink-4); }
@media (min-width: 1024px) {
  .payment-rail { padding: 20px 0; }
  .payment-rail__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .payment-rail__left { flex-direction: row; align-items: center; gap: 30px; }
  .payment-rail__title { font-size: 11px; line-height: 14px; }
  .payment-rail__right { flex-direction: row; align-items: center; gap: 12px; }
  .payment-rail__badge { border-radius: 4px; font-size: 10px; line-height: 13px; }
  .payment-rail__note { font-size: 11px; line-height: 14px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--navy); color: var(--ink-4); padding: 32px 0; }
.footer__upper { display: flex; flex-direction: column; gap: 20px; }
.footer__brand { margin-bottom: 12px; }
.footer__logo { display: inline-block; }
.footer__col-header { display: flex; align-items: center; gap: 8px; }
.footer__col-num { font-family: var(--font-display); font-weight: 800; font-size: 14px; line-height: 17px; color: var(--yellow); }
.footer__col-title { font-size: 11px; line-height: 14px; font-weight: 800; color: var(--white); }
.footer__links { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.footer__link { display: block; font-size: 12px; line-height: 16px; color: var(--ink-4); transition: color var(--t); }
.footer__link:hover { color: var(--white); }
.footer__divider { height: 1px; background: var(--line); margin-top: 32px; }
.footer__licensing { margin-top: 31px; }
.footer__licence-line { font-size: 10px; line-height: 16px; color: var(--ink-4); }
.footer__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.footer__copyright { font-size: 10px; line-height: 13px; color: var(--ink-4); }
.footer__stars { font-family: var(--font-display); font-weight: 900; font-size: 14px; line-height: 17px; color: var(--yellow); white-space: nowrap; }
@media (min-width: 1024px) {
  .footer { padding: 64px 0 40px; }
  .footer__upper { flex-direction: row; gap: 48px; }
  .footer__brand { flex: 0 0 360px; margin-bottom: 0; }
  .footer__col { flex: 1 1 0; }
  .footer__col-num { font-size: 16px; line-height: 19px; }
  .footer__col-title { font-size: 12px; line-height: 16px; }
  .footer__links { gap: 12px; margin-top: 12px; }
  .footer__link { font-size: 13px; line-height: 17px; }
  .footer__divider { margin-top: 48px; }
  .footer__licensing { margin-top: 47px; }
  .footer__licence-line { font-size: 11px; line-height: 18px; }
  .footer__copyright { font-size: 11px; line-height: 14px; }
  .footer__stars { font-size: 16px; line-height: 19px; }
}

/* --------------------------------------------------------------------------
   Toasts / flash
   -------------------------------------------------------------------------- */
.toast-stack { position: fixed; left: 16px; right: 16px; top: 72px; z-index: 120; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { position: relative; align-self: center; max-width: 420px; background: var(--navy-2); color: var(--white); border: 1px solid var(--line-2); border-radius: 4px; padding: 10px 14px 10px 30px; font-size: 12px; line-height: 16px; font-weight: 600; box-shadow: 0 12px 28px rgba(0, 0, 0, .35); animation: toast-in .3s var(--ease); pointer-events: auto; }
.toast::before { content: ''; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--blue); }
.toast--success::before { background: var(--green); }
.toast--error::before { background: var(--red); }
.toast--warning::before { background: var(--yellow); }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1024px) { .toast-stack { top: auto; bottom: 24px; } }
.flash-stack { position: fixed; top: 12px; left: 16px; right: 16px; z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.flash { position: relative; background: var(--navy-2); color: var(--white); border: 1px solid var(--line-2); border-radius: 4px; padding: 10px 14px 10px 30px; font-size: 12px; line-height: 16px; font-weight: 600; box-shadow: 0 12px 28px rgba(0, 0, 0, .35); animation: toast-in .3s var(--ease); pointer-events: auto; }
.flash::before { content: ''; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--blue); }
.flash--success::before { background: var(--green); }
.flash--error::before { background: var(--red); }
.flash.is-leaving { opacity: 0; transition: opacity .3s; }

/* --------------------------------------------------------------------------
   Forms (shared)
   -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 11px; line-height: 14px; font-weight: 700; color: var(--ink-4); text-transform: uppercase; }
.field__input { width: 100%; height: 44px; padding: 0 13px; background: var(--navy); border: 1px solid var(--line); border-radius: 4px; color: var(--white); font-size: 14px; line-height: 18px; outline: 0; transition: border-color var(--t), box-shadow var(--t); }
.field__input::placeholder { color: var(--ink-3); }
.field__input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 71, 255, .2); }
.field__input[aria-invalid="true"] { border-color: var(--red); }
.field__error { font-size: 11px; line-height: 14px; color: #ff6b8a; display: none; }
.field.has-error .field__error { display: block; }
.field--light .field__label { color: var(--ink-2); }
.field--light .field__input { background: var(--white); border-color: var(--line-light); color: var(--ink); }
textarea.field__input { height: auto; min-height: 120px; padding: 12px 13px; resize: vertical; }
select.field__input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b5bac0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-note { font-size: 11px; line-height: 14px; color: var(--ink-4); }
.form-error { font-size: 12px; line-height: 16px; color: #ff6b8a; font-weight: 600; }
.form-success { font-size: 12px; line-height: 16px; color: var(--green); font-weight: 600; }

/* --------------------------------------------------------------------------
   Error page
   -------------------------------------------------------------------------- */
.error-page { padding: 64px 0; background: var(--navy-3); border-bottom: 1px solid var(--line); }
.error-page__inner { max-width: 640px; }
.error-page__title { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 42px; color: var(--white); margin-top: 12px; }
.error-page__text { font-size: 14px; line-height: 22px; color: var(--ink-4); margin-top: 16px; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 1024px) { .error-page { padding: 96px 0; } .error-page__title { font-size: 64px; line-height: 60px; } }

/* --------------------------------------------------------------------------
   Reveal animation (opt-in via .reveal)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Horizontal scrollers (mobile chips / carousels) */
.scroller { display: flex; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x proximity; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { flex: none; scroll-snap-align: start; }
