:root {
  --bg-main: #070b12;
  --bg-panel: #101520;
  --bg-panel-2: #0c1119;
  --line: #2a3140;
  --line-soft: #3b2d23;
  --text: #eef2fb;
  --muted: #a5adbd;
  --gold: #f1be6f;
  --orange: #ff8f33;
  --orange-2: #ff6f1a;
  --radius: 14px;
  --inner-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(0, 0, 0, .55);
  --glow: 0 0 16px rgba(255, 136, 30, .3);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-main);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-stretch: normal;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; color: inherit; }

.skip-link, .sr-only { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 99; background: #000; color: #fff; padding: 8px 10px; border-radius: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(180deg, #181e2b 0, #0f141d 100%);
  border-bottom: 1px solid #202837;
}
.site-header__inner { min-height: 58px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; flex-wrap: nowrap; }
.header__logo { flex-shrink: 0; display: flex; align-items: center; }
.header__logo img {
  height: auto;
  width: auto;
  max-height: 44px;
  max-width: min(200px, 52vw);
  object-fit: contain;
}
@media (max-width: 380px) {
  .header__logo img { max-height: 38px; max-width: min(180px, 48vw); }
}
@media (min-width: 768px) {
  .header__logo img { max-height: 52px; max-width: 220px; }
}
.header__actions { margin-left: auto; display: flex; gap: 6px; flex-shrink: 0; }
.header__actions .cta { padding: 0 10px; font-size: 11px; height: 36px; white-space: nowrap; }
@media (min-width: 400px) {
  .header__actions .cta { padding: 0 12px; font-size: 12px; height: 38px; }
}
.circle-btn {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-soft); background: linear-gradient(180deg, #2c3343, #161c29);
  display: inline-grid; place-items: center; color: var(--gold);
}
.header__search { flex: 1; }
.header__search input {
  width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #151b28, #0f141e); box-shadow: var(--inner-shadow); padding: 0 14px;
}

.cta {
  height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-soft);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
.cta--dark {
  background: linear-gradient(180deg, #2d3445, #181e2b);
  box-shadow: var(--inner-shadow);
  border-color: #4a5568;
}
.cta--primary {
  background: linear-gradient(180deg, #ffc97b, #ff9937 45%, var(--orange-2));
  color: #2c1708; box-shadow: var(--inner-shadow), var(--glow);
}

.mobile-drawer { position: fixed; inset: 0; display: none; z-index: 50; }
.mobile-drawer.is-open { display: block; }
.mobile-drawer__overlay {
  border: 0; padding: 0; position: absolute; inset: 0; z-index: 1;
  background: rgba(3, 5, 10, .75);
}
.mobile-drawer__panel {
  width: min(332px, 90vw); height: 100%; position: relative; z-index: 2; padding: 12px;
  background: linear-gradient(180deg, #121a28, #0a1018); border-right: 1px solid #323c4f; overflow-y: auto;
}
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.mobile-drawer__head img {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-height: 48px;
  max-width: min(200px, calc(100% - 52px));
  object-fit: contain;
  object-position: left center;
}
.drawer-legal {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid #2a3344;
}
.drawer-legal__title { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.drawer-legal__link {
  display: block; padding: 8px 0; border-bottom: 1px solid #1e2533; color: #dce2ef; font-size: 13px; font-weight: 600;
}
.drawer-legal__link:last-of-type { border-bottom: 0; }

.drawer-bottom { display: flex; gap: 8px; margin-top: 12px; }
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px; border-radius: 12px; border: 1px solid #495062; background: linear-gradient(180deg, #2a3040, #171c27); padding: 0 12px;
  color: #ecf1fc; text-transform: uppercase; font-size: 12px;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.layout { display: block; }
.sidebar { position: sticky; top: 58px; height: calc(100vh - 58px); background: #0c1119; border-right: 1px solid #273041; display: flex; flex-direction: column; justify-content: space-between; }
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  position: relative;
}
.sidebar-item {
  display: block; padding: 11px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.06); color: #dde2ef;
  text-transform: uppercase; font-weight: 700; letter-spacing: .01em; margin-bottom: 0;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));
  isolation: isolate;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.sidebar-item:hover {
  border-color: rgba(212, 146, 74, 0.85);
  box-shadow: 0 0 0 1px rgba(255, 160, 90, 0.35), 0 4px 16px rgba(255, 120, 40, 0.14);
  color: #f4f6fb;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 140, 60, 0.04));
}
.sidebar-item--active {
  border-color: #d4924a;
  box-shadow: 0 0 0 1px rgba(212, 146, 74, 0.45), 0 6px 18px rgba(0, 0, 0, 0.35);
}
.sidebar-item--active:hover {
  border-color: #e4a868;
  box-shadow: 0 0 0 1px rgba(255, 200, 140, 0.45), 0 6px 20px rgba(255, 130, 40, 0.2);
  color: #fff;
}
/* Quand le curseur survole un autre lien, l’onglet actif se fond pour laisser ressortir le survol */
@supports selector(:has(*)) {
  .sidebar-nav:has(.sidebar-item:hover) .sidebar-item.sidebar-item--active:not(:hover) {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: #c8cedd;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));
  }
}
.sidebar-nav::after {
  content: "";
  display: block;
  height: 1px;
  margin: 10px 6px;
  background: linear-gradient(90deg, transparent, rgba(200, 140, 70, 0.35), transparent);
  box-shadow: 0 0 8px rgba(255, 140, 40, 0.12);
}
.sidebar-legal {
  padding: 0 10px 8px; display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; font-weight: 600;
}
.sidebar-legal a { color: #b9c2d4; padding: 4px 0; border-bottom: 1px solid #1e2533; }
.sidebar-legal a:hover { color: var(--gold); }
.sidebar-foot { padding: 10px; display: flex; gap: 8px; }

.content {
  padding: 10px;
  min-width: 0;
}

/* Pages légales autonomes (contacts.html, etc.) */
body.subpage .mobile-only { display: none !important; }
body.subpage .header__logo { margin-right: auto; }
.subpage-main {
  max-width: 840px;
  margin: 0 auto;
  padding: 18px 14px 48px;
}
.subpage-main > h1 {
  margin: 0 0 14px;
  text-transform: none;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #e8ecf4;
}
.subpage-main .service-back { margin-bottom: 14px; }
.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #30394c;
  background: #0d121b;
  min-height: 220px;
}
.hero__media {
  width: 100%;
  height: clamp(220px, 42vw, 390px);
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 18, .12), rgba(7, 11, 18, .82));
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px; padding: 18px;
}
.hero__overlay p { margin: 0; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.hero__overlay h1 { margin: 0; text-transform: uppercase; font-size: clamp(31px, 5vw, 56px); line-height: 1.08; }
.hero__dots { display: flex; gap: 8px; margin-top: 4px; align-items: center; }
.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #6f788a;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.hero__dot:hover {
  background: #8a93a8;
  transform: scale(1.15);
}
.hero__dot.is-active {
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(255, 140, 60, 0.35);
}
.hero__dot:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.mini-game {
  margin: 12px 0 14px;
  border-radius: var(--radius);
  border: 1px solid #34415a;
  background: linear-gradient(180deg, #141b29, #0d121b);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  padding: 12px;
}
.mini-game__panel {
  display: grid;
  gap: 10px;
}
.mini-game__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.mini-game__controls label,
.mini-game__hint {
  font-size: 12px;
  color: #adb6c8;
}
.mini-game__bet {
  height: 34px;
  border-radius: 10px;
  border: 1px solid #3c4860;
  background: #111827;
  color: #e6ecf8;
  padding: 0 10px;
}
.mini-game__arena {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #3a4660;
  background: #0a0f16;
}
#duck-canvas {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.mini-game__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.28), rgba(7, 11, 18, 0.72)),
    url("images/game-cover.webp") center / cover no-repeat;
  color: #f0f5ff;
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.mini-game__overlay[hidden] { display: none; }
.mini-game__hud {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.mini-game__hud span {
  background: rgba(10, 14, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #f3f7ff;
}
.mini-game__result {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #6a4a2a;
  border-radius: 12px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #2c1d12, #1a1310);
}
.mini-game__result p {
  margin: 0;
  font-size: 13px;
  color: #ffe2bd;
}
.mini-game__result[hidden] { display: none !important; }
@media (min-width: 768px) {
  .mini-game {
    padding: 14px;
  }
  .mini-game__panel {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .mini-game__controls {
    max-width: 250px;
    align-content: flex-start;
  }
  .mini-game__hint {
    margin-top: 4px;
  }
}
@media (max-width: 767px) {
  .mini-game__arena {
    min-height: 300px;
  }
  #duck-canvas {
    height: 300px;
    object-fit: cover;
  }
}

.category-rail {
  display: flex;
  gap: 8px;
  margin: 10px 0 14px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-color: #3d4658 transparent;
  border-bottom: 1px solid rgba(42, 49, 64, 0.85);
}
.category-rail::-webkit-scrollbar { height: 4px; }
.category-rail::-webkit-scrollbar-thumb { background: #3d4658; border-radius: 4px; }

.category-item {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 72px;
  height: 48px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid #2f3749;
  background: linear-gradient(180deg, #191f2d, #101621);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.category-item:hover {
  border-color: #5c4a38;
  transform: translateY(-1px);
}
.category-item.is-active {
  border-color: #cf863f;
  box-shadow: var(--glow), inset 0 0 0 1px rgba(255, 160, 60, 0.12);
}
.category-item::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.category-item.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}
.category-item:not([data-category="search"]) { --cat-frame: 40px; min-width: 54px; padding: 0 8px; height: 50px; }
.category-sprite {
  width: var(--cat-frame);
  height: var(--cat-frame);
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: calc(544 * var(--cat-frame) / 136) var(--cat-frame);
  image-rendering: auto;
}
.category-sprite--fournisseurs { background-image: url("images/fournisseurs.png"); }
.category-sprite--envedete { background-image: url("images/envedete.png"); }
.category-sprite--nouve { background-image: url("images/nouve.png"); }
.category-sprite--populaires { background-image: url("images/populares.png"); }
.category-sprite--roulette { background-image: url("images/roulete.png"); }
.category-sprite--gameshows { background-image: url("images/gameshows.png"); }
.category-sprite--blackjack { background-image: url("images/blackjack.png"); }
.category-sprite--touslesjeux { background-image: url("images/touslesjeux.png"); }

.category-item:not(.is-active) .category-sprite { animation: none; }
/* 4 frames : saut net (effet GIF), pas de défilement fluide entre les poses */
.category-item.is-active .category-sprite {
  animation: catSprite4 2s infinite;
}
@keyframes catSprite4 {
  0%, 24.99% { background-position: 0 0; }
  25%, 49.99% { background-position: calc(-1 * var(--cat-frame)) 0; }
  50%, 74.99% { background-position: calc(-2 * var(--cat-frame)) 0; }
  75%, 99.99% { background-position: calc(-3 * var(--cat-frame)) 0; }
  100% { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .category-item.is-active .category-sprite { animation: none; }
}
.category-item__icon {
  font-size: 20px;
  line-height: 1;
  color: var(--gold);
  font-weight: 700;
}
.category-item__label {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #c8cfde;
  max-width: 64px;
  line-height: 1.05;
}
.category-item[data-category="search"] { min-width: 96px; padding: 0 12px; }
@media (min-width: 768px) {
  .category-item { min-width: 108px; height: 52px; }
  .category-item:not([data-category="search"]) { --cat-frame: 46px; min-width: 62px; }
  .category-item__label { font-size: 11px; max-width: none; }
}

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 10px; }
.section-head h2 { margin: 0; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.1; }
.section-head p, .section-head span { margin: 0; color: var(--muted); }
.section-head .search-empty { color: #ff9a5c; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-left: 6px; }
.section-actions { display: flex; align-items: center; gap: 8px; }
.arrow-btn {
  width: 32px; height: 32px; border-radius: 999px; border: 1px solid #4b556e;
  background: linear-gradient(180deg, #2d3444, #181e2b); color: var(--gold);
}

.game-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  min-width: 0;
}
.game-row .game-card {
  flex: 0 0 clamp(124px, 40vw, 172px);
  max-width: 172px;
  min-width: 0;
  scroll-snap-align: start;
}
@media (min-width: 400px) {
  .game-row .game-card {
    flex: 0 0 clamp(132px, 36vw, 180px);
    max-width: 180px;
  }
}
@media (min-width: 768px) {
  .game-row .game-card {
    flex: 0 0 clamp(140px, 22vw, 190px);
    max-width: 190px;
  }
}
@media (min-width: 1200px) {
  .game-row .game-card {
    flex: 0 0 clamp(152px, 17vw, 200px);
    max-width: 200px;
  }
}
.game-card {
  background: linear-gradient(180deg, #151b27, #0f141d); border: 1px solid #333d51; border-radius: 10px; overflow: hidden; position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
}
.game-card:hover,
.game-card:focus-within {
  transform: translateY(-3px);
  border-color: #c77d35;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 150, 60, 0.2);
}
/* Catalogue : pas de bandes vides — image remplit la vignette (léger rognage possible) */
#casino .game-card img,
#jackpots .game-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
  background: #0c1018;
}

/* Casino en direct : carrousel 7 vignettes, image entière visible (2:3) */
.live-tile-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #3a455c transparent;
}
.live-tile-row::-webkit-scrollbar { height: 6px; }
.live-tile-row::-webkit-scrollbar-thumb { background: #3a455c; border-radius: 4px; }
.live-tile-row .live-tile {
  flex: 0 0 clamp(104px, 27vw, 156px);
  width: clamp(104px, 27vw, 156px);
  max-width: 156px;
  scroll-snap-align: start;
  aspect-ratio: 2 / 3;
  background: linear-gradient(180deg, #121822, #0a0e14);
}
.live-tile-row .live-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 768px) {
  .live-tile-row { gap: 12px; }
  .live-tile-row .live-tile {
    flex: 0 0 clamp(120px, 18vw, 168px);
    width: clamp(120px, 18vw, 168px);
    max-width: 168px;
  }
}

.game-badge, .game-amount, .promo-tag {
  position: absolute; left: 8px; border-radius: 999px; border: 1px solid #976436; background: rgba(13, 17, 27, .92);
  font-size: 11px; padding: 2px 8px;
  z-index: 2;
  max-width: calc(100% - 16px);
}
.game-badge { top: 8px; color: var(--gold); text-transform: uppercase; }
.game-amount {
  bottom: 6px;
  left: 6px;
  right: auto;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 400px) {
  .game-amount { font-size: 11px; bottom: 8px; left: 8px; }
}

.promo-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pill {
  height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid #31394b; background: #151c2a; color: var(--muted);
  text-transform: uppercase; font-size: 12px; font-weight: 700;
}
.pill.is-active { color: #241306; border-color: #d89145; background: linear-gradient(180deg, #ffc67a, #ff9433); }

.promo-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.promo-card--rich {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #3a455c;
  background: linear-gradient(165deg, #171e2e 0%, #0d121c 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.promo-card__accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent, var(--orange)), transparent);
  pointer-events: none;
}
.promo-card__visual {
  height: 96px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #2c3548;
  background: linear-gradient(145deg, #1c2434, #0d121c);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.promo-card__visual::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 72% 18%, rgba(255, 170, 90, 0.22), transparent 42%);
  pointer-events: none;
}
.promo-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
}
.promo-card__visual--welcome {
  background-image: linear-gradient(145deg, rgba(58, 36, 24, 0.42) 0%, rgba(26, 30, 48, 0.5) 50%, rgba(12, 16, 24, 0.62) 100%), url("images/01_welcome_bonus.webp");
}
.promo-card__visual--weekly {
  background-image: linear-gradient(155deg, rgba(42, 34, 64, 0.42) 0%, rgba(21, 26, 40, 0.5) 55%, rgba(10, 14, 22, 0.62) 100%), url("images/02_weekly_bonus.webp");
}
.promo-card__visual--weekly::before {
  background: radial-gradient(circle at 28% 22%, rgba(180, 140, 255, 0.2), transparent 45%);
}
.promo-card__visual--weekend {
  background-image: linear-gradient(145deg, rgba(74, 40, 24, 0.42) 0%, rgba(31, 24, 48, 0.5) 48%, rgba(13, 16, 24, 0.62) 100%), url("images/03_weekend_bonus.webp");
}
.promo-card__visual--weekend::before {
  background: radial-gradient(circle at 65% 12%, rgba(255, 120, 60, 0.35), transparent 40%);
}
.promo-card__visual--cashback-daily {
  background-image: linear-gradient(160deg, rgba(20, 58, 56, 0.42) 0%, rgba(18, 30, 42, 0.5) 55%, rgba(10, 16, 24, 0.62) 100%), url("images/04_daily_refund.webp");
}
.promo-card__visual--cashback-daily::before {
  background: radial-gradient(circle at 40% 30%, rgba(120, 220, 200, 0.18), transparent 50%);
}
.promo-card__visual--cashback-live {
  background-image: linear-gradient(145deg, rgba(58, 24, 40, 0.42) 0%, rgba(26, 20, 36, 0.5) 50%, rgba(12, 14, 20, 0.62) 100%), url("images/05_cashback_online.webp");
}
.promo-card__visual--cashback-live::before {
  background: radial-gradient(circle at 75% 25%, rgba(255, 90, 120, 0.2), transparent 48%);
}
.promo-card__visual--tournament {
  background-image: linear-gradient(135deg, rgba(58, 50, 16, 0.42) 0%, rgba(30, 26, 18, 0.5) 45%, rgba(14, 18, 24, 0.62) 100%), url("images/06_spinoleague.webp");
}
.promo-card__visual--tournament::before {
  background: radial-gradient(circle at 50% 0%, rgba(255, 220, 120, 0.35), transparent 55%);
}
.promo-card__visual--roulette {
  background-image: linear-gradient(145deg, rgba(46, 34, 24, 0.42) 0%, rgba(26, 22, 32, 0.5) 50%, rgba(12, 16, 24, 0.62) 100%), url("images/07_gold_saloon_roulette.webp");
}
.promo-card__visual--roulette::before {
  background: conic-gradient(from 200deg at 55% 45%, rgba(255, 200, 100, 0.15), transparent 55%);
}
.promo-card__visual--cashbomb {
  background-image: linear-gradient(165deg, rgba(74, 40, 16, 0.42) 0%, rgba(36, 24, 16, 0.5) 48%, rgba(14, 12, 16, 0.62) 100%), url("images/08_amusnet_cash_bomb.webp");
}
.promo-card__visual--cashbomb::before {
  background: radial-gradient(circle at 30% 70%, rgba(255, 140, 40, 0.45), transparent 35%);
}
.promo-card__visual--sports {
  background-image: linear-gradient(145deg, rgba(16, 42, 74, 0.42) 0%, rgba(18, 28, 42, 0.5) 50%, rgba(10, 16, 24, 0.62) 100%), url("images/09_boosted_odds.webp");
}
.promo-card__visual--sports::before {
  background: radial-gradient(circle at 80% 20%, rgba(100, 180, 255, 0.28), transparent 45%);
}
.promo-card__body {
  padding: 14px 14px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.promo-card--rich .promo-tag {
  position: static;
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 8px;
  left: auto; right: auto;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.promo-card--rich h3 {
  margin: 0 0 8px;
  font-size: clamp(17px, 4vw, 22px);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.promo-lead {
  margin: 0 0 14px;
  color: #b4bccf;
  font-size: 13px;
  line-height: 1.45;
}
.promo-card--rich .cta {
  align-self: flex-end;
  width: fit-content;
  max-width: 100%;
  padding: 0 18px;
  white-space: nowrap;
}
.promo-tag--sport { border-color: #3d6a9e; color: #b8d4ff; }

.spin-rally__nav { gap: 6px; }
.spin-carousel { position: relative; margin-bottom: 6px; }
.spin-carousel .spin-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.spin-carousel .spin-card {
  flex: 0 0 min(72vw, 280px);
  max-width: 300px;
  scroll-snap-align: start;
}
.spin-carousel__scrollbar {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: #1a2230;
  margin-top: 4px;
}
.spin-carousel__thumb {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  min-width: 18%;
  width: 30%;
  border-radius: 4px;
  background: linear-gradient(90deg, #5a6578, var(--orange));
  transition: left 0.1s ease-out, width 0.1s ease-out;
}
.spin-card {
  border-radius: 12px;
  border: 1px solid #334057;
  background: linear-gradient(180deg, #151b29, #0f141d);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.spin-card__hero {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 100% at 50% 100%, #1a2438 0%, #080b10 62%);
  aspect-ratio: 4 / 3;
  min-height: 112px;
}
.spin-card__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.spin-card__hero-text {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px 10px 36px;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.94) 0%, rgba(5, 7, 11, 0.5) 52%, transparent 100%);
  pointer-events: none;
}
.spin-card__hero-text h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}
.spin-card__hero-text .spin-card__nick {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}
.spin-card__meta {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
}
.spin-card__meta p { margin: 2px 0; color: #bac1ce; font-size: 13px; }
.spin-card__meta p.spin-card__stat-muted { color: #8b95a8; font-size: 12px; }
.spin-card__nick-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-right: 6px;
}
.spin-card__nick-value {
  color: #e2e8f4;
  font-weight: 600;
}
.spin-card .cta {
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 0 14px;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .spin-card__hero {
    aspect-ratio: 16 / 9;
  }
}

.simple-section {
  margin-top: 14px; border-radius: 12px; border: 1px solid #2e384b; padding: 14px;
  background: linear-gradient(180deg, #141b29, #0e141e);
}
.simple-section h2 { margin: 0; text-transform: uppercase; }

.vip-panel {
  margin-top: 14px;
  border-radius: var(--radius);
  border: 1px solid #6b4a2a;
  background: linear-gradient(135deg, #1a1f2c, #0f141d);
  box-shadow: 0 0 16px rgba(255, 125, 25, .18);
  padding: 22px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.vip-panel h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.vip-panel p {
  margin: 0 auto 16px;
  max-width: 34rem;
  color: #c8d0df;
  line-height: 1.55;
  font-size: 15px;
}
.vip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  justify-content: center;
}
.vip-tags span { border: 1px solid #5a432e; border-radius: 999px; padding: 6px 11px; font-size: 13px; }
.vip-panel .cta {
  align-self: center;
  min-width: min(100%, 260px);
}

.service-back { display: inline-block; margin-bottom: 10px; color: var(--gold); font-weight: 600; }
.service-page__card { border-radius: 12px; border: 1px solid #354057; background: linear-gradient(180deg, #141b29, #0e131d); padding: 16px; }
.service-page__card p { margin: 0 0 10px; line-height: 1.4; color: #c6cede; }
.service-page__card p:last-child { margin-bottom: 0; }
.service-page__h2 {
  margin: 22px 0 10px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.seo-block:empty { display: block; min-height: 0; }

.editorial.seo-block {
  margin-top: 28px;
  padding: 0 12px 32px;
  border-top: 1px solid #2a3142;
}
.editorial__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 0 8px;
}
.editorial__h1 {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  line-height: 1.25;
  font-weight: 800;
  color: #f2f5fb;
}
.editorial__h2 {
  margin: 26px 0 12px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  color: #e2e7f2;
  line-height: 1.3;
}
.editorial__inner > p {
  margin: 0 0 12px;
  line-height: 1.58;
  color: #c4ccd8;
  font-size: 15px;
}
.editorial-table-wrap {
  margin: 10px 0 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid #334057;
  background: linear-gradient(180deg, #121822, #0d121c);
}
.editorial-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}
.editorial-table th,
.editorial-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #2a3548;
  color: #c8d0df;
}
.editorial-table th {
  background: rgba(255, 150, 60, 0.08);
  color: #f0e6dc;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.editorial-table tr:last-child td { border-bottom: 0; }
.editorial-table td:first-child { font-weight: 600; color: #dde4f0; }
@media (max-width: 767px) {
  .editorial-table-wrap {
    overflow-x: hidden;
  }
  .editorial-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 11px;
  }
  .editorial-table th,
  .editorial-table td {
    padding: 7px 6px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .editorial-table th {
    font-size: 9px;
    letter-spacing: 0.03em;
  }
}
.editorial-faq { margin: 8px 0 0; padding: 0; }
.editorial-faq dt {
  margin: 12px 0 0;
}
.editorial-faq dt:first-child { margin-top: 0; }
.editorial-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #303b4f;
  border-radius: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #151c2a, #101723);
  text-align: left;
  font-weight: 700;
  color: #e8ecf4;
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
}
.editorial-faq__question::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  color: var(--gold);
}
.editorial-faq__question[aria-expanded="true"]::after {
  content: "−";
}
.editorial-faq dd {
  margin: 6px 0 4px;
  padding: 0 0 0 12px;
  border-left: 2px solid rgba(255, 150, 60, 0.35);
  line-height: 1.55;
  color: #b9c2d0;
  font-size: 14px;
}
.editorial-faq dd[hidden] { display: none; }

.legal-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding: 14px 12px;
  background: linear-gradient(180deg, #0e141f, #0a0f16);
  border-top: 1px solid #2a3142;
  border-bottom: 1px solid #1f2735;
}
.legal-strip a {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #c8d0e2;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}
.legal-strip a:hover { color: var(--gold); border-bottom-color: rgba(255, 150, 60, 0.55); }

.payment-strip {
  margin-top: 0; padding: 11px 10px; border-top: 0; border-bottom: 1px solid #1f2735;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.payment-strip img { height: 22px; width: auto; }

.site-footer {
  padding: 20px 0 42px;
  color: #aeb6c6;
  background: linear-gradient(180deg, #0a0e16 0%, #070b12 100%);
  border-top: 1px solid #1f2735;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 18px;
}
.footer__logo img {
  height: auto;
  width: auto;
  max-height: 52px;
  max-width: min(280px, 85vw);
  object-fit: contain;
}
@media (min-width: 768px) {
  .footer__logo img { max-height: 58px; max-width: 320px; }
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-grid {
  display: grid;
  gap: 0 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: left;
  align-items: start;
}
.footer-col {
  padding: 12px 0 14px;
  border-bottom: 1px solid rgba(42, 49, 64, 0.9);
}
.footer-col:nth-child(odd) {
  border-right: 1px solid rgba(42, 49, 64, 0.45);
  padding-right: 10px;
}
.footer-col:last-child { border-bottom: none; }
.footer-col h4 {
  margin: 16px 0 10px;
  color: #edf1fb;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col h4:first-child { margin-top: 0; }
.footer-col a {
  display: block;
  margin: 0 0 8px;
  padding: 2px 0;
  color: #a9b0bf;
  font-size: 13px;
  line-height: 1.35;
}
.footer-col a:last-child { margin-bottom: 0; }
.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 49, 64, 0.75);
  text-align: center;
}
.badge-18 {
  width: 44px; height: 44px; border: 2px solid #fff; border-radius: 999px; margin: 0 auto 12px;
  display: grid; place-items: center; color: #fff;
  font-size: 13px; font-weight: 700;
}
.footer-legal-text,
.footer-copy {
  margin: 8px auto 0;
  text-align: center;
  max-width: 640px;
  font-size: 12px;
  line-height: 1.45;
  color: #8f97a8;
}
.footer-copy { color: #9aa3b5; margin-top: 10px; }
@media (max-width: 767px) {
  .site-footer {
    padding: 14px 0 26px;
  }
  .site-footer__inner {
    padding: 0 10px;
  }
  .footer__logo {
    margin-bottom: 12px;
  }
  .footer__logo img {
    max-height: 44px;
    max-width: min(230px, 82vw);
  }
  .footer-top {
    gap: 6px;
    margin-bottom: 12px;
  }
  .site-footer .mini-btn {
    height: 32px;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 11px;
    letter-spacing: 0.02em;
    border-color: #43506a;
    background: linear-gradient(180deg, #232d41, #141b2a);
  }
  .footer-grid {
    gap: 0 10px;
  }
  .footer-col {
    padding: 8px 0 10px;
  }
  .footer-col:nth-child(odd) {
    padding-right: 8px;
  }
  .footer-col h4 {
    margin: 10px 0 6px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }
  .footer-col a {
    margin: 0 0 5px;
    padding: 1px 0;
    font-size: 12px;
    line-height: 1.25;
  }
  .footer-bottom {
    margin-top: 12px;
    padding-top: 10px;
  }
  .badge-18 {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    font-size: 11px;
  }
  .footer-legal-text,
  .footer-copy {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.35;
  }
}

.cookie-banner {
  position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 60;
  border-radius: 12px; border: 1px solid #44506a; background: #171d2b; box-shadow: 0 14px 28px rgba(0, 0, 0, .45); padding: 10px;
}
.cookie-banner p { margin: 0 0 10px; color: #cad2df; font-size: 13px; }
.cookie-banner__actions { display: flex; justify-content: flex-end; gap: 8px; }
.cookie-banner.is-hidden { display: none; }

.desktop-only { display: none; }
.mobile-only { display: inline-grid; }

.cta:focus-visible, .sidebar-item:focus-visible, .pill:focus-visible, .arrow-btn:focus-visible, .category-item:focus-visible, .circle-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .desktop-only { display: block; }
  .mobile-only { display: none; }
  .layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); }
  .content { padding: 12px 14px; }
  .header__search.desktop-only { display: flex; flex: 1; min-width: 0; max-width: 520px; margin: 0 12px; }
  .game-row { gap: 12px; }
  .promo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0 20px;
    align-items: start;
  }
  .footer-col {
    padding: 0 4px 20px;
    border-bottom: none;
    border-right: 1px solid rgba(42, 49, 64, 0.5);
  }
  .footer-col:nth-child(odd) {
    padding-right: 4px;
    border-right: 1px solid rgba(42, 49, 64, 0.5);
  }
  .footer-col:last-child { border-right: none; }
  .footer-col h4 { margin-top: 0; }
  .footer__logo { margin-bottom: 22px; }
  .cookie-banner { max-width: 560px; left: 50%; transform: translateX(-50%); right: auto; }
}

@media (min-width: 1200px) {
  .content { padding: 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
