/* ==========================================================================
   bet365 — Template-1
   Dark sea-teal casino lobby: top bar + burger drawer, mobile tab bar,
   rounded cards, mint-green CTAs.
   ========================================================================== */

:root {
  --bg: #0e1a21;
  --bg-2: #122029;
  --surface: #15252e;
  --surface-2: #1a2d37;
  --surface-3: #213844;
  --line: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --text-2: #c9d4da;
  --muted: #8a9ea8;
  --green: #7be38b;
  --green-hover: #93ee9f;
  --green-ink: #0b2a14;
  --teal: #0c3b4b;
  --teal-hover: #11495d;
  --teal-glow: #0a7394;
  --gold: #ffc42e;
  --red: #ff4d5e;

  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 16px;
  --radius-xl: 22px;

  --header-h: 60px;
  --sidebar-w: 300px;
  --tabbar-h: 62px;
  --content-max: 1200px;
  --gutter: 16px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1 { color: var(--text); }
.ico { width: 20px; height: 20px; flex-shrink: 0; }
.cico { width: 28px; height: 28px; flex-shrink: 0; }
::selection { background: var(--green); color: var(--green-ink); }

/* scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
::-webkit-scrollbar { width: 8px; height: 6px; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
}
.btn:active { transform: scale(0.97); }
.btn--green { background: var(--green); color: var(--green-ink); }
.btn--green:hover { background: var(--green-hover); box-shadow: 0 0 18px rgba(123, 227, 139, 0.35); }
.btn--dark { background: var(--teal); color: var(--text); }
.btn--dark:hover { background: var(--teal-hover); }
.btn--white { background: #fff; color: #0e1a21; }
.btn--white:hover { background: #e9f2f5; }
.btn--hero { height: 40px; padding: 0 20px; font-size: 15px; }
.btn__gift {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
}
.btn__gift .ico { width: 11px; height: 11px; stroke-width: 2.4; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px 0 8px;
  background: rgba(14, 26, 33, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header__left,
.site-header__right { display: flex; align-items: center; gap: 10px; }
.header__burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--text-2);
  border-radius: var(--radius-s);
  transition: background 0.2s, color 0.2s;
}
.header__burger:hover { background: var(--surface); color: var(--text); }
.header__burger .ico { width: 24px; height: 24px; }
.header__logo img { height: 34px; width: auto; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.header__nav::-webkit-scrollbar { display: none; }
.header__nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-s);
  color: var(--text-2);
  font-weight: 500;
  font-size: 14.5px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.header__nav-link .ico { width: 18px; height: 18px; }
.header__nav-link:hover { color: var(--text); background: var(--surface); }
.header__nav-link.is-active { color: var(--green); }

.header__icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--text-2);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.header__icon-btn:hover { background: var(--surface); color: var(--text); }

/* language picker (header) */
.lang-pick { position: relative; }
.lang-pick__btn {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 8px;
  border-radius: var(--radius-s);
  font-weight: 600;
  color: var(--text-2);
}
.lang-pick__btn:hover { color: var(--text); background: var(--surface); }
.lang-pick__flag {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 17px;
  padding: 0 3px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--teal-glow), #1b4f9c);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.lang-pick__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.18s var(--ease);
  z-index: 80;
}
[data-dropdown].is-open > [data-dropdown-menu] { opacity: 1; visibility: visible; transform: none; }
.lang-pick__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-s);
  color: var(--text-2);
  font-weight: 500;
}
.lang-pick__option:hover { background: var(--surface-3); color: var(--text); }
.lang-pick__option.is-active { color: var(--green); }

/* ==========================================================================
   Layout + drawer
   ========================================================================== */
.page-wrapper { position: relative; }
.main-area {
  min-width: 0;
  transition: margin-left 0.3s var(--ease);
}
.page-body {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 14px var(--gutter) 40px;
}

.sidebar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  z-index: 55;
  width: var(--sidebar-w);
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0.3s;
  display: flex;
  flex-direction: column;
}
.sidebar.is-open { transform: none; visibility: visible; }
.sidebar__head { display: none; }
.sidebar__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(3, 9, 13, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}
.sidebar-overlay.is-open { opacity: 1; visibility: visible; }

@media (min-width: 1025px) {
  .sidebar-overlay { display: none; }
  body.sidebar-pinned .main-area { margin-left: var(--sidebar-w); }
}

/* drawer — big image tiles */
.side-tiles { display: flex; flex-direction: column; gap: 10px; }
.side-tile {
  position: relative;
  height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #0b141a;
  isolation: isolate;
  transition: transform 0.2s var(--ease);
}
.side-tile:hover { transform: translateX(3px); }
.side-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 0 38%;
  z-index: -1;
  border-radius: 0 var(--radius) var(--radius) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.side-tile--red::before   { background: radial-gradient(circle at 70% 40%, #ff8a5c, #c62f3b 55%, #6d1420); }
.side-tile--blue::before  { background: radial-gradient(circle at 70% 40%, #6fd8ff, #1e8fe0 55%, #123f86); }
.side-tile--gold::before  { background: radial-gradient(circle at 70% 40%, #ffe29a, #c58a2f 55%, #5b3a12); }
.side-tile--green::before { background: radial-gradient(circle at 70% 40%, #8ff0a4, #25a352 55%, #0f4d27); }
.side-tile__label {
  font-size: 16px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.side-tile__art {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}
.side-tile__art .cico { width: 50px; height: 50px; }

/* drawer — accordions */
.side-acc { border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.side-acc__btn {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  background: linear-gradient(90deg, var(--surface) 20%, var(--teal-glow) 100%);
}
.side-acc__icon .cico { width: 22px; height: 22px; }
.side-acc__label { flex: 1; }
.side-acc__arrow { transition: transform 0.25s var(--ease); color: var(--text-2); }
.side-acc__btn[aria-expanded="true"] .side-acc__arrow { transform: rotate(180deg); }
.side-acc__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
}
.side-acc.is-open .side-acc__panel { max-height: 420px; padding: 6px 0; }
.side-acc__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.side-acc__link .cico { width: 20px; height: 20px; }
.side-acc__link:hover { color: var(--text); background: var(--surface-2); }

/* drawer — plain boxes */
.side-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 6px;
}
.side-box__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: var(--radius-s);
  font-size: 15px;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s;
}
.side-box__link .cico { width: 20px; height: 20px; }
.side-box__link:hover { background: var(--surface-2); color: var(--text); }

.side-lang { position: relative; padding: 0; }
.side-lang__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
}
.side-lang__title { color: var(--muted); }
.side-lang__value { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
.side-lang__value .ico { width: 16px; height: 16px; }
.side-lang__menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  padding: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.18s var(--ease);
}
.side-lang__option {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-s);
  color: var(--text-2);
}
.side-lang__option:hover { background: var(--surface-3); color: var(--text); }
.side-lang__option.is-active { color: var(--green); }

/* ---------- Mobile tab bar ---------- */
.tabbar { display: none; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { margin-top: 26px; }
.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.section__flame { color: #ff8a3d; display: inline-flex; }
.section__flame .ico { width: 18px; height: 18px; fill: #ff8a3d; stroke: #ffb03d; }
.section__controls { display: flex; align-items: center; gap: 8px; }
.section__see-all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.section__see-all .ico { width: 16px; height: 16px; }
.section__see-all:hover { color: var(--text); }
.section__count { color: var(--muted); font-weight: 500; }

/* ---------- Hero ---------- */
.hero-block { margin-top: 0; }
.hero-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1200 / 360;
  min-height: 220px;
  background: var(--surface);
}
.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease);
}
.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 16, 21, 0.85) 0%, rgba(8, 16, 21, 0.35) 55%, transparent 80%),
    linear-gradient(0deg, rgba(8, 16, 21, 0.6), transparent 50%);
}
.hero-slide__content {
  position: relative;
  padding: 28px 30px;
  max-width: 640px;
}
.hero-slide__title {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.hero-slide__sub {
  margin: 8px 0 16px;
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--text-2);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(14, 26, 33, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}
.hero-slider:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: rgba(14, 26, 33, 0.9); }
.slider-arrow--prev { left: 12px; }
.slider-arrow--next { right: 12px; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: var(--surface-3);
  transition: width 0.3s var(--ease), background 0.3s;
}
.slider-dot.active { width: 24px; background: var(--text-2); }

/* round / square shortcuts */
.shortcuts {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.shortcuts::-webkit-scrollbar { display: none; }
.shortcut {
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.shortcut__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.shortcut__icon .cico { width: 30px; height: 30px; }
.shortcut:hover .shortcut__icon { transform: translateY(-3px); background: var(--surface-2); }
.shortcut__label { font-size: 12.5px; color: var(--text-2); line-height: 1.25; }
.shortcuts--square .shortcut__icon { border-radius: var(--radius-l); }

/* lobby tiles (Categories / Themes / Providers) */
.lobby-nav { margin-top: 18px; }
.lobby-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lobby-tile {
  position: relative;
  height: 88px;
  border-radius: var(--radius-l);
  overflow: hidden;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  transition: transform 0.2s var(--ease);
}
.lobby-tile:hover { transform: translateY(-2px); }
.lobby-tile--blue  { background: radial-gradient(circle at 80% 60%, #3fb6ff, #135c9e 55%, #0e2b44); }
.lobby-tile--green { background: radial-gradient(circle at 80% 60%, #54d48a, #1d7a48 55%, #0f3326); }
.lobby-tile--red   { background: radial-gradient(circle at 80% 60%, #ff7a6a, #a3232f 55%, #3e1117); }
.lobby-tile__label { font-size: 18px; font-weight: 700; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.lobby-tile__art {
  position: absolute;
  right: 12px;
  bottom: -6px;
  display: flex;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.4));
}
.lobby-tile__art .cico { width: 62px; height: 62px; }
.lobby-tile__art .cico + .cico { margin-left: -18px; transform: rotate(12deg) translateY(-12px); width: 44px; height: 44px; }

/* ---------- Game cards ---------- */
.carousel-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 9 * 10px) / 10);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.carousel-rail::-webkit-scrollbar { display: none; }
.carousel-rail__card { scroll-snap-align: start; }
.game-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  min-width: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.game-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.game-card__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.game-card__thumb { width: 100%; height: 100%; object-fit: cover; }
.game-card__players {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(8, 16, 21, 0.55);
  backdrop-filter: blur(4px);
  font-size: 11px;
  font-weight: 600;
}
.game-card__players .ico { width: 12px; height: 12px; }
.game-card__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--green);
  color: var(--green-ink);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}
.game-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 16, 21, 0.55);
  opacity: 0;
  transition: opacity 0.2s;
}
.game-card:hover .game-card__overlay { opacity: 1; }
.game-card__play {
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-ink);
  font-weight: 700;
  font-size: 13px;
}
.game-card__name {
  padding: 8px 9px 9px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.games-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px;
}
.games-filter-bar::-webkit-scrollbar { display: none; }
.filter-chip { position: relative; cursor: pointer; flex-shrink: 0; }
.filter-chip__input { position: absolute; opacity: 0; pointer-events: none; }
.filter-chip span {
  display: block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-weight: 500;
  transition: 0.2s;
}
.filter-chip:hover span { background: var(--surface-2); color: var(--text); }
.filter-chip__input:checked + span { background: var(--green); color: var(--green-ink); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

/* ---------- Promo cards row ---------- */
.promo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.promo-card {
  position: relative;
  min-height: 150px;
  padding: 16px;
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  isolation: isolate;
  transition: transform 0.2s var(--ease);
}
.promo-card:hover { transform: translateY(-2px); }
.promo-card--gold { background: linear-gradient(120deg, #1a1a17 30%, #6e5317); }
.promo-card--teal { background: linear-gradient(120deg, #11262d 30%, #0f6173); }
.promo-card--blue { background: linear-gradient(120deg, #111e2b 30%, #1d4f86); }
.promo-card__art {
  position: absolute;
  inset: 0 0 0 45%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%);
  mask-image: linear-gradient(90deg, transparent, #000 50%);
  opacity: 0.9;
}
.promo-card__body { display: flex; flex-direction: column; gap: 4px; max-width: 62%; }
.promo-card__title { font-size: 17px; font-weight: 700; line-height: 1.25; }
.promo-card__text { font-size: 13px; color: var(--text-2); }
.promo-card__cta { align-self: flex-start; height: 34px; }

/* ---------- Events banner ---------- */
.promo-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  min-height: 220px;
  padding: 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 16, 21, 0.9), rgba(8, 16, 21, 0.1) 70%);
}
.promo-banner__body { display: flex; flex-direction: column; gap: 4px; }
.promo-banner__title { font-size: 22px; font-weight: 800; }
.promo-banner__text { color: var(--text-2); }

/* ---------- Providers ---------- */
.provider-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.provider-rail::-webkit-scrollbar { display: none; }
.provider-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 10px;
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}
.provider-pill:hover { background: var(--surface-2); }
.provider-pill__logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
}
.provider-pill__logo img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Random slot ---------- */
.random-slot {
  padding: 26px 0 22px;
  border-radius: var(--radius-xl);
  background: #0b1318;
  text-align: center;
  overflow: hidden;
}
.random-slot__title { font-size: 24px; font-weight: 700; }
.random-slot__sub { color: var(--muted); font-size: 15px; margin-top: 2px; }
.random-slot__rail {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  padding: 0 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.random-slot__rail::-webkit-scrollbar { display: none; }
.random-slot__card {
  flex: 0 0 124px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.random-slot__card img { width: 100%; height: 100%; object-fit: cover; }
.random-slot__card.is-picked { transform: scale(1.06); box-shadow: 0 0 0 3px var(--green), 0 12px 30px rgba(123, 227, 139, 0.3); }
.random-slot__btn { height: 38px; padding: 0 22px; }

/* ---------- Last withdrawals ---------- */
.withdrawals {
  padding: 16px;
  border-radius: var(--radius-l);
  background: #0b1318;
}
.withdrawals__label { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 15px; }
.withdrawals__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
.withdrawals__total { display: block; font-size: 28px; font-weight: 800; font-style: italic; margin: 2px 0 14px; }
.withdrawals__list { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.withdrawals__list::-webkit-scrollbar { display: none; }
.withdrawal { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.withdrawal__x {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
  background: #14745a;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.withdrawal__x--hot {
  background: #c2361f;
  clip-path: polygon(50% 0, 61% 18%, 82% 12%, 80% 34%, 100% 42%, 86% 58%, 96% 78%, 74% 80%, 66% 100%, 50% 88%, 34% 100%, 26% 80%, 4% 78%, 14% 58%, 0 42%, 20% 34%, 18% 12%, 39% 18%);
}
.withdrawal__body { display: flex; flex-direction: column; line-height: 1.3; }
.withdrawal__id { font-size: 11px; color: var(--muted); }
.withdrawal__win { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 16px; }
.withdrawal__win .ico { width: 14px; height: 14px; color: var(--green); }
.withdrawal__dep { font-size: 12px; color: var(--text-2); }

/* ---------- Top wins ---------- */
.top-wins { display: grid; grid-template-columns: 380px 1fr; gap: 10px; align-items: stretch; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.podium__card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 10px;
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, #2b2c2b, #3d352b);
}
.podium__card--1 { order: 2; padding-top: 20px; background: linear-gradient(180deg, #2b2a26, #5a4630); }
.podium__card--2 { order: 1; }
.podium__card--3 { order: 3; }
.podium__img { position: relative; display: block; margin-bottom: 8px; }
.podium__img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.podium__place {
  position: absolute;
  right: -6px;
  bottom: -8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: #a88f72;
  font-weight: 800;
  font-size: 13px;
  clip-path: polygon(50% 0, 61% 18%, 82% 12%, 80% 34%, 100% 42%, 86% 58%, 96% 78%, 74% 80%, 66% 100%, 50% 88%, 34% 100%, 26% 80%, 4% 78%, 14% 58%, 0 42%, 20% 34%, 18% 12%, 39% 18%);
}
.podium__id { font-size: 11px; color: var(--muted); }
.podium__sum { font-size: 17px; font-weight: 800; font-style: italic; line-height: 1.15; }
.wins-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; align-content: end; }
.win-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: var(--radius);
  background: #0b1318;
  transition: background 0.2s;
}
.win-row:hover { background: var(--surface); }
.win-row__img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.win-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.win-row__name { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-row__id { font-size: 11px; color: var(--muted); }
.win-row__sum { font-size: 17px; font-weight: 800; font-style: italic; white-space: nowrap; }

/* ---------- Live casino ---------- */
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.live-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform 0.2s var(--ease);
}
.live-card:hover { transform: translateY(-3px); }
.live-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 16, 21, 0.85), transparent 55%);
}
.live-card__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(8, 16, 21, 0.65);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.live-card__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
.live-card__label { position: relative; z-index: 1; padding: 12px 14px; font-weight: 600; }

/* ---------- Jackpots ---------- */
.jackpot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.jackpot-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
  border-radius: var(--radius-l);
  background: radial-gradient(circle at 100% 0, rgba(10, 115, 148, 0.45), transparent 60%), var(--surface);
  transition: transform 0.2s var(--ease);
}
.jackpot-card:hover { transform: translateY(-2px); }
.jackpot-card__icon { margin-bottom: 6px; }
.jackpot-card__label { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.jackpot-card__value { font-size: 21px; font-weight: 800; font-style: italic; font-variant-numeric: tabular-nums; }
.jackpot-card__game { color: var(--text-2); font-size: 13px; }

.jackpot-ticker {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-l);
  background: radial-gradient(circle at 0 0, rgba(123, 227, 139, 0.12), transparent 50%), #0b1318;
}
.jackpot-ticker__main { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.jackpot-ticker__label { color: var(--muted); font-weight: 600; }
.jackpot-ticker__value { font-size: 32px; font-weight: 800; font-style: italic; }
.jackpot-ticker__tiers { display: flex; gap: 16px; margin: 4px 0 8px; }
.jackpot-ticker__tier { display: flex; flex-direction: column; }
.jackpot-ticker__tier-name { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.jackpot-ticker__tier-value { font-weight: 700; }
.jackpot-ticker__winners { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); }
.jackpot-ticker__winners-item { padding: 8px 12px; border-radius: var(--radius-s); background: var(--surface); }
.jackpot-ticker__winners-item strong { color: var(--green); }

/* ---------- Bonus tiles ---------- */
.bonus-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.promo-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform 0.2s var(--ease);
}
.promo-tile:hover { transform: translateY(-2px); }
.promo-tile--red    { background: linear-gradient(135deg, #3a1419, #15252e 70%); }
.promo-tile--blue   { background: linear-gradient(135deg, #102f55, #15252e 70%); }
.promo-tile--green  { background: linear-gradient(135deg, #0f3d26, #15252e 70%); }
.promo-tile--gold   { background: linear-gradient(135deg, #43341a, #15252e 70%); }
.promo-tile--purple { background: linear-gradient(135deg, #2c1a52, #15252e 70%); }
.promo-tile--teal   { background: linear-gradient(135deg, #0b4556, #15252e 70%); }
.promo-tile__icon { margin-bottom: 6px; }
.promo-tile__icon .cico { width: 40px; height: 40px; }
.promo-tile__eyebrow { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.promo-tile__title { font-size: 20px; font-weight: 800; }
.promo-tile__text { color: var(--text-2); font-size: 13.5px; margin-bottom: 10px; }
.promo-tile__cta { align-self: flex-start; margin-top: auto; }

/* ---------- Payments & trust ---------- */
.payments-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 130px;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.payments-slider::-webkit-scrollbar { display: none; }
.payment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface);
  transition: background 0.2s;
}
.payment-card:hover { background: var(--surface-2); }
.payment-card__media {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-s);
  background: #fff;
  display: grid;
  place-items: center;
  padding: 8px;
}
.payment-card__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.payment-card__name { font-size: 12.5px; color: var(--text-2); }
.trust-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
}
.trust-badge__icon svg { width: 18px; height: 18px; color: var(--green); }

/* ==========================================================================
   Breadcrumbs / SEO content / CTA / FAQ
   ========================================================================== */
.service-header { margin-bottom: 4px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span:last-child { color: var(--text-2); }

.seo-block {
  margin-top: 32px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.content { max-width: 900px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.content > * + * { margin-top: 14px; }
.content h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.content h2 { font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--text); margin-top: 30px; }
.content h3 { font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--text); margin-top: 22px; }
.content strong { color: var(--text); font-weight: 600; }
.content a:not(.btn) { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.content ul, .content ol { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.content ul li, .content ol li { position: relative; padding-left: 26px; }
.content ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.content ol { counter-reset: ol; }
.content ol li { counter-increment: ol; padding-left: 34px; }
.content ol li::before {
  content: counter(ol);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.content img { border-radius: var(--radius); margin: 18px 0; }
.content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: 14px;
}
.content table thead tr { background: var(--surface-2); }
.content table th { padding: 12px 14px; text-align: left; color: var(--text); font-weight: 700; white-space: nowrap; }
.content table td { padding: 11px 14px; border-top: 1px solid var(--line); min-width: 120px; }
.content table td:first-child { color: var(--text); font-weight: 600; }
.content table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.content table tbody tr:hover { background: var(--surface); }

.content-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-l);
  background: linear-gradient(100deg, var(--surface-2), rgba(10, 115, 148, 0.45));
  border: 1px solid var(--line);
}
.content-cta__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(123, 227, 139, 0.14);
  color: var(--green);
}
.content-cta__icon svg { width: 22px; height: 22px; }
.content-cta__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.content-cta__title { font-size: 16px; color: var(--text); }
.content-cta__text { font-size: 13.5px; }
.content-cta__btn { flex-shrink: 0; }

.faq { margin-top: 26px; }
.faq__title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.faq__list { display: flex; flex-direction: column; gap: 8px; }
.faq__item { border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: background 0.2s; }
.faq__item:has(.faq__q[aria-expanded="true"]) { background: var(--surface-2); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
}
.faq__icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: transform 0.25s var(--ease); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(180deg); color: var(--green); }
.faq__a { display: none; }
.faq__a.open { display: block; animation: fadeDown 0.25s var(--ease); }
.faq__a p { padding: 0 18px 16px; color: var(--text-2); line-height: 1.65; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  max-width: var(--content-max);
  margin: 20px auto 0;
  padding: 28px var(--gutter) 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__logo img { height: 36px; width: auto; }
.footer__top-actions { display: flex; gap: 10px; }
.footer__lang-switcher { position: relative; }
.footer__lang-toggle,
.footer__chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-2);
  font-weight: 500;
  transition: background 0.2s;
}
.footer__lang-toggle .ico,
.footer__chat-btn .ico { width: 16px; height: 16px; }
.footer__lang-toggle:hover,
.footer__chat-btn:hover { background: var(--surface-2); color: var(--text); }
.footer__lang-dropdown {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  padding: 6px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.18s var(--ease);
  z-index: 5;
}
.footer__lang-dropdown.open { opacity: 1; visibility: visible; transform: none; }
.footer__lang-option { display: block; padding: 8px 12px; border-radius: var(--radius-s); white-space: nowrap; }
.footer__lang-option:hover { background: var(--surface-3); color: var(--text); }
.footer__lang-option--active { color: var(--green); }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 26px 0;
}
.footer__col-title { color: var(--text); font-weight: 700; margin-bottom: 10px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer__col a { transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }

.footer__trust { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.footer__chip-row,
.footer__badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__chip {
  padding: 6px 12px;
  border-radius: var(--radius-s);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
}
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
}
.footer__badge .ico { width: 15px; height: 15px; }
.footer__badge--age { border-color: var(--red); color: var(--red); }
.footer__legal { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.65; }
.footer__legal a { color: var(--text-2); text-decoration: underline; }
.footer__copyright-row { display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; }
.footer__age-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 10.5px;
  font-weight: 800;
}

/* ==========================================================================
   Floating UI: cookie, chat, promo popup
   ========================================================================== */
.cookie-notice {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 70;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-l);
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-size: 13px;
  color: var(--text-2);
}
.cookie-notice a { color: var(--green); text-decoration: underline; }
.cookie-notice.hidden { display: none; }
.btn-cookie { flex-shrink: 0; }

.float-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 65;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--green-ink);
  box-shadow: 0 10px 26px rgba(123, 227, 139, 0.35);
  transition: transform 0.2s var(--ease);
}
.float-chat:hover { transform: scale(1.07); }
.float-chat svg { width: 24px; height: 24px; }

.promo-popup {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 75;
  width: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.97);
  transition: 0.35s var(--ease);
}
.promo-popup--visible { opacity: 1; visibility: visible; transform: none; }
.promo-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 16, 21, 0.6);
}
.promo-popup__close svg { width: 16px; height: 16px; }
.promo-popup__media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--teal-glow), #0b1c24 70%);
}
.promo-popup__deco { width: 60%; }
.promo-popup__badge {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-ink);
  font-size: 11px;
  font-weight: 800;
}
.promo-popup__body { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.promo-popup__title { font-size: 19px; font-weight: 800; }
.promo-popup__text { color: var(--text-2); font-size: 13px; margin-bottom: 6px; }
.promo-popup__cta { width: 100%; }

@keyframes fadeDown { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(255, 77, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .carousel-rail { grid-auto-columns: calc((100% - 7 * 10px) / 8); }
  .header__nav-link { padding: 0 9px; }
}

@media (max-width: 1180px) {
  .header__nav { display: none; }
  .top-wins { grid-template-columns: 1fr; }
}

/* ---- Tablet & mobile: drawer overlays, bottom tab bar ---- */
@media (max-width: 1024px) {
  body { padding-bottom: var(--tabbar-h); }
  .header__burger { display: none; }
  .site-header { padding-left: 16px; }

  .sidebar {
    top: 0;
    z-index: 90;
    width: min(88vw, 360px);
    border-right: 0;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
  }
  .sidebar-overlay { z-index: 85; }
  .sidebar__head {
    display: flex;
    align-items: center;
    gap: 14px;
    height: var(--header-h);
    padding: 0 14px;
    flex-shrink: 0;
  }
  .sidebar__close { width: 32px; height: 32px; display: grid; place-items: center; color: var(--green); }
  .sidebar__close .ico { width: 22px; height: 22px; }
  .sidebar__logo img { height: 32px; width: auto; }
  .sidebar__scroll { padding-top: 4px; }

  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    height: var(--tabbar-h);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(14, 26, 33, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
  }
  .tabbar__item .ico { width: 22px; height: 22px; }
  .tabbar__item.is-active { color: var(--green); }
  .tabbar__item.is-active .ico { fill: rgba(123, 227, 139, 0.2); }

  .carousel-rail { grid-auto-columns: calc((100% - 5 * 10px) / 6); }
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .promo-row { grid-template-columns: repeat(3, 280px); overflow-x: auto; scrollbar-width: none; }
  .promo-row::-webkit-scrollbar { display: none; }
  .live-grid, .jackpot-grid { grid-template-columns: repeat(2, 1fr); }
  .bonus-teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .jackpot-ticker { grid-template-columns: 1fr; }

  .float-chat { bottom: calc(var(--tabbar-h) + 14px); }
  .cookie-notice { bottom: calc(var(--tabbar-h) + 12px); }
  .promo-popup { bottom: calc(var(--tabbar-h) + 80px); }
}

@media (max-width: 640px) {
  :root { --header-h: 56px; }
  body { font-size: 14px; }
  .site-header { gap: 8px; padding: 0 12px; }
  .header__logo img { height: 30px; }
  .site-header__right { gap: 6px; }
  .site-header__right .lang-pick { display: none; }
  .site-header .btn { height: 34px; padding: 0 12px; }

  .page-body { padding-top: 10px; }
  .section { margin-top: 22px; }
  .section__title { font-size: 17px; }

  .hero-slider { aspect-ratio: auto; height: 250px; border-radius: var(--radius-l); }
  .hero-slide { background-position: 65% center; }
  .hero-slide__content { padding: 18px; }
  .hero-slide__sub { margin: 6px 0 12px; }
  .slider-arrow { display: none; }

  .shortcut { flex-basis: 66px; }
  .shortcut__icon { width: 54px; height: 54px; }

  .lobby-tiles { grid-template-columns: repeat(3, 150px); overflow-x: auto; scrollbar-width: none; }
  .lobby-tiles::-webkit-scrollbar { display: none; }
  .lobby-tile { height: 70px; }
  .lobby-tile__label { font-size: 15px; }
  .lobby-tile__art .cico { width: 48px; height: 48px; }

  .carousel-rail { grid-auto-columns: calc((100% - 2 * 10px) / 2.6); }
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .promo-row { grid-template-columns: repeat(3, 84%); }
  .promo-banner { min-height: 180px; padding: 18px; flex-direction: column; align-items: flex-start; }
  .promo-banner__title { font-size: 19px; }

  .random-slot__title { font-size: 21px; }
  .random-slot__card { flex-basis: 132px; }

  .podium__sum { font-size: 15px; }
  .wins-list { grid-template-columns: 1fr; }
  .live-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .jackpot-card__value { font-size: 18px; }
  .bonus-teaser-grid { grid-template-columns: 1fr; }

  .seo-block { padding: 20px 16px; border-radius: var(--radius-l); }
  .content-cta { flex-wrap: wrap; }
  .content-cta__btn { width: 100%; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-notice { left: 12px; right: 12px; max-width: none; flex-direction: column; align-items: stretch; }
  .promo-popup { left: 12px; right: 12px; width: auto; }
}

@media (max-width: 350px) {
  .site-header .btn--dark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Sports: tabs, match rows, odds, results
   ========================================================================== */
.sport-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.sport-tabs::-webkit-scrollbar { display: none; }
.sport-tab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.sport-tab .cico { width: 22px; height: 22px; }
.sport-tab:hover { background: var(--surface-2); color: var(--text); }
.sport-tab.is-active { background: var(--teal); color: var(--text); box-shadow: inset 0 0 0 1px var(--teal-glow); }

.match-list { display: flex; flex-direction: column; gap: 8px; }
.match {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface);
}
.match__info { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
.match__meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.match__live { display: inline-flex; align-items: center; gap: 5px; color: var(--red); font-weight: 800; }
.match__teams { display: flex; flex-direction: column; font-weight: 600; font-size: 14.5px; min-width: 0; }
.match__teams span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match__score { font-weight: 800; font-size: 16px; color: var(--green); white-space: nowrap; }
.match__odds { display: grid; grid-template-columns: repeat(3, 72px); gap: 6px; flex-shrink: 0; }
.match__odds--2 { grid-template-columns: repeat(2, 111px); }
.odd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: var(--radius-s);
  background: var(--surface-2);
  transition: background 0.2s, color 0.2s;
}
.odd__label { font-size: 11px; color: var(--muted); }
.odd strong { font-size: 15px; }
.odd:hover { background: var(--green); color: var(--green-ink); }
.odd:hover .odd__label { color: var(--green-ink); }

.results { display: flex; flex-direction: column; gap: 14px; }
.results__league { font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.results__group { display: flex; flex-direction: column; gap: 6px; }
.result-row {
  display: grid;
  grid-template-columns: 90px 1fr auto 1fr 50px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  transition: background 0.2s;
}
.result-row:hover { background: var(--surface-2); }
.result-row__date { font-size: 12px; color: var(--muted); }
.result-row__team { font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-row__team--home { text-align: right; }
.result-row__score { padding: 4px 10px; border-radius: var(--radius-s); background: var(--surface-3); font-size: 15px; white-space: nowrap; }
.result-row__ft { font-size: 11px; color: var(--muted); text-align: right; font-weight: 700; }

@media (max-width: 640px) {
  .match { flex-direction: column; align-items: stretch; }
  .match__odds { grid-template-columns: repeat(3, 1fr); }
  .match__odds--2 { grid-template-columns: repeat(2, 1fr); }
  .result-row { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .result-row__date, .result-row__ft { display: none; }
}

/* ==========================================================================
   Image fallbacks — the template ships without images; every slot keeps
   its size and shows the surface colour until a real file is dropped in
   at the same path.
   ========================================================================== */
.brand-wordmark {
  display: inline-block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--text);
  line-height: 1;
}
.brand-wordmark::first-letter { color: var(--green); }
img.img-missing { visibility: hidden; }
.hero-slide { background-color: var(--surface-2); background-image: radial-gradient(circle at 75% 40%, rgba(10, 115, 148, 0.45), transparent 60%); }
.game-card__media,
.random-slot__card,
.podium__img,
.live-card { background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); }
.win-row__img { background: var(--surface-3); }
.promo-card__art:not([style*="webp"]),
.promo-banner { background-color: var(--surface-2); }
