/* CASINO770 — mobile-first, local assets only */
:root {
  --bg: #111;
  --bg-deep: #070707;
  --panel: #1f1f1f;
  --panel-2: #2a2a2a;
  --text: #f4f4f4;
  --muted: #9b9b9b;
  --yellow: #ffd91a;
  --gold: #ffe36b;
  --green: #21b54b;
  --gray-btn: #656b73;
  --border: #333;
  --red: #d63a3a;
  --header-h-mobile: 68px;
  --header-h-desktop: 72px;
  --bottom-nav-h: 84px;
  --radius-chip: 999px;
  --radius-btn: 4px;
  --shadow-glow: 0 0 0 1px rgba(255, 217, 26, 0.35), 0 0 18px rgba(255, 217, 26, 0.12);
  --transition: 0.18s ease;
  --font-stack: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  /* Titres sous les vignettes : même famille condensée que l’esprit des section-title */
  --font-game-title: "Barlow Semi Condensed", "Segoe UI", system-ui, sans-serif;
  --page-max: 1400px;
  /* Mobile : marge de lecture confortable (évite le texte collé au bord) */
  --page-pad: 1.25rem;
  --page-pad-lg: 1.5rem;
}

/* Contenu centré — desktop */
.layout-container {
  width: 100%;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--page-pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-pad), env(safe-area-inset-right, 0px));
}

@media (min-width: 900px) {
  .layout-container {
    padding-left: max(var(--page-pad-lg), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-pad-lg), env(safe-area-inset-right, 0px));
  }
}

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

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-stack);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.45;
  overflow-x: hidden;
  padding-top: var(--header-h-mobile);
}

@media (min-width: 900px) {
  body {
    padding-top: var(--header-h-desktop);
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: #000;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  min-height: var(--header-h-mobile);
  padding: 0;
  background: #000;
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h-mobile);
}

@media (min-width: 900px) {
  .site-header {
    min-height: var(--header-h-desktop);
  }

  .site-header__inner {
    min-height: var(--header-h-desktop);
    gap: 1rem;
  }
}

.site-header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-btn);
}

@media (min-width: 900px) {
  .site-header__burger {
    display: none;
  }
}

.site-header__burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}

.site-header__logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 900px) {
  .site-header__logo {
    flex: 0 0 auto;
    justify-content: flex-start;
  }
}

.site-header__logo img {
  height: 32px;
  width: auto;
}

@media (min-width: 900px) {
  .site-header__logo img {
    height: 48px;
  }
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .site-header__actions {
    display: flex;
    margin-left: auto;
  }
}

.site-header__user {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-btn);
  flex-shrink: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header__user:hover,
.site-header__user:focus-visible {
  background: rgba(255, 217, 26, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 210, 40, 0.35) inset, 0 0 20px rgba(255, 200, 40, 0.15);
}

.site-header__user:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  .site-header__user {
    display: none;
  }
}

.site-header__user-icon {
  width: 24px;
  height: 24px;
  border: 2px solid #f5d030;
  border-radius: 50%;
  position: relative;
  filter: drop-shadow(0 0 4px rgba(255, 210, 40, 0.55)) drop-shadow(0 0 8px rgba(255, 180, 40, 0.25));
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.4) inset;
}

.site-header__user-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  background: linear-gradient(180deg, #fff6c0, #f5d020);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255, 220, 80, 0.8);
}

.site-header__user-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 15px;
  height: 8px;
  margin-left: -7.5px;
  border: 2px solid #ffe566;
  border-bottom: none;
  border-radius: 11px 11px 0 0;
  box-shadow: 0 -1px 6px rgba(255, 210, 50, 0.35);
}

.site-header__user:hover .site-header__user-icon,
.site-header__user:focus-visible .site-header__user-icon {
  border-color: #fff0a0;
  filter: drop-shadow(0 0 6px rgba(255, 220, 80, 0.75)) drop-shadow(0 0 12px rgba(255, 200, 50, 0.35));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.btn--signup {
  background: var(--green);
  color: #fff;
  border-color: #1a8f3d;
}

.btn--signup:hover {
  box-shadow: 0 0 0 1px rgba(33, 181, 75, 0.5);
  transform: translateY(-1px);
}

.btn--login {
  background: var(--gray-btn);
  color: #fff;
  border-color: #4a4f55;
}

.btn--login:hover {
  background: #757b84;
}

.btn--ghost {
  background: rgba(30, 30, 30, 0.85);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn--ghost:hover {
  background: rgba(40, 40, 40, 0.92);
  border-color: #555;
}

/* CTA or : fond lisible, léger verre fumé + liseré or (jamais « fantôme » total) */
.btn--cta {
  color: #fff4c2;
  border: 1px solid rgba(255, 210, 40, 0.75);
  background:
    linear-gradient(180deg, rgba(80, 65, 20, 0.42) 0%, rgba(18, 16, 8, 0.88) 100%);
  background-color: rgba(22, 20, 14, 0.92);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 220, 100, 0.18);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.btn--cta:hover {
  color: #fff;
  border-color: var(--yellow);
  background:
    linear-gradient(180deg, rgba(100, 80, 25, 0.5) 0%, rgba(28, 24, 12, 0.92) 100%);
  background-color: rgba(32, 28, 16, 0.95);
  box-shadow: var(--shadow-glow), 0 3px 18px rgba(0, 0, 0, 0.55);
}

/* Cartes promo : CTA encore plus marqué */
.promo-card__body .btn--cta {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  margin-top: 0.15rem;
  border-width: 1.5px;
  padding: 0.6rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(95, 75, 25, 0.45) 0%, rgba(15, 14, 8, 0.94) 100%);
  background-color: rgba(18, 16, 10, 0.94);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 200, 40, 0.12), inset 0 1px 0 rgba(255, 220, 120, 0.22);
}

.promo-card__body .btn--cta:hover {
  background:
    linear-gradient(180deg, rgba(120, 95, 30, 0.5) 0%, rgba(22, 20, 10, 0.96) 100%);
  box-shadow: var(--shadow-glow), 0 4px 22px rgba(0, 0, 0, 0.5);
}

@media (min-width: 900px) {
  .btn {
    min-height: 48px;
    padding: 0 1.35rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }
}

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  top: var(--header-h-mobile);
  left: 0;
  right: 0;
  z-index: 850;
  max-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a0a 0%, #080808 100%);
  border-bottom: 1px solid rgba(255, 217, 26, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
  transition: max-height 0.32s ease;
}

.mobile-menu.is-open {
  max-height: min(88vh, 720px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu__item {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__item--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* Boutons tiroir — glass / or */
.mobile-menu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--gold);
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid rgba(255, 217, 26, 0.35);
  background: linear-gradient(165deg, #232323 0%, #121212 55%, #0c0c0c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.45);
  transition: color var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), transform 0.12s ease;
}

.mobile-menu__btn:hover {
  color: #fff6c2;
  border-color: rgba(255, 217, 26, 0.55);
  box-shadow:
    var(--shadow-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 14px rgba(0, 0, 0, 0.5);
}

.mobile-menu__btn:active {
  transform: scale(0.98);
}

.mobile-menu__btn--ref {
  color: #f0e6b0;
  border-color: rgba(255, 217, 26, 0.28);
}

.mobile-menu__btn--primary {
  color: #1a1505;
  font-weight: 800;
  border-color: #e8c000;
  background: linear-gradient(180deg, #ffe566 0%, #ffd91a 45%, #e8b800 100%);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.35),
    0 4px 16px rgba(255, 217, 26, 0.25);
}

.mobile-menu__btn--primary:hover {
  color: #0d0a00;
  border-color: #fff0a0;
  background: linear-gradient(180deg, #fff0a0 0%, #ffdf33 50%, #f0c010 100%);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.3),
    0 6px 22px rgba(255, 217, 26, 0.35);
}

.mobile-menu__btn--ghost {
  text-transform: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-color: #333;
  background: #111;
}

.mobile-menu__btn--ghost:hover {
  color: var(--text);
  border-color: #444;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Liens d’inscription : pas de style navigateur */
.mobile-menu__btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* Main */
#main-content {
  min-height: 50vh;
  padding-bottom: calc(var(--bottom-nav-h) + 0.5rem);
}

@media (min-width: 900px) {
  #main-content {
    padding-bottom: 2rem;
  }
}

.integration-slot {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.lobby-view[hidden],
.service-stack[hidden] {
  display: none !important;
}

/* Hero */
.hero {
  position: relative;
  background: #000;
}

/* Mobile : visuels entiers + même gouttière que le contenu sous le bandeau */
@media (max-width: 899px) {
  .hero {
    padding-left: max(var(--page-pad), env(safe-area-inset-left, 0px));
    padding-right: max(var(--page-pad), env(safe-area-inset-right, 0px));
  }
}

.hero-carousel {
  position: relative;
  width: 100%;
  max-width: min(100%, 1680px);
  margin: 0 auto;
  aspect-ratio: 21 / 9;
  max-height: 220px;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
}

/* Étroit : ratio proche des assets 1920×640 (3:1) + hauteur un peu généreuse = moins de zoom cover */
@media (max-width: 899px) {
  .hero-carousel {
    aspect-ratio: 3 / 1;
    max-height: none;
    min-height: 148px;
    height: auto;
  }
}

@media (min-width: 900px) {
  .hero-carousel {
    /* Hauteur plafonnée : évite le bandeau géant en ultra-wide + images nettes (object-fit: cover) */
    aspect-ratio: auto;
    max-height: none;
    height: min(32vh, 360px);
    min-height: 220px;
    border-radius: 0;
  }
}

@media (min-width: 1400px) {
  .hero-carousel {
    height: min(30vh, 380px);
    max-width: 1680px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
  display: block;
  background: #0a0a0a;
  cursor: pointer;
}

.hero-slide__media:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -4px;
}

.hero-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mobile : montrer le visuel en entier (légères barres si ratio différent) */
@media (max-width: 899px) {
  .hero-slide__media img {
    object-fit: contain;
    object-position: center center;
  }
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.24) 50%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}

.hero-slide__cta {
  position: absolute;
  right: 0.75rem;
  bottom: 0.85rem;
  z-index: 8;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

@media (min-width: 900px) {
  .hero-slide__cta {
    right: 1.5rem;
    bottom: 1.25rem;
    gap: 0.5rem;
  }
}

.hero-slide__headline {
  margin: 0;
  max-width: min(88vw, 620px);
  text-align: right;
  color: #fff8da;
  font-size: clamp(1.05rem, 4.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7), 0 10px 30px rgba(0, 0, 0, 0.65);
}

/* Bouton JOUEZ MAINTENANT : au-dessus du média + même logique or que .btn--cta */
.hero-slide__cta .btn--cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  color: #fff4c2;
  border: 1px solid rgba(255, 210, 40, 0.8);
  background:
    linear-gradient(180deg, rgba(90, 72, 22, 0.5) 0%, rgba(12, 11, 6, 0.92) 100%);
  background-color: rgba(20, 18, 10, 0.94);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 220, 100, 0.2);
  opacity: 1;
  pointer-events: auto;
  isolation: isolate;
}

.hero-slide__cta .btn--cta:hover {
  color: #fff;
  border-color: var(--yellow);
  background:
    linear-gradient(180deg, rgba(110, 88, 28, 0.55) 0%, rgba(20, 18, 10, 0.96) 100%);
  box-shadow: var(--shadow-glow), 0 4px 22px rgba(0, 0, 0, 0.6);
}

/* Mobile : CTA moins imposant sur le visuel */
@media (max-width: 899px) {
  .hero-slide__cta {
    right: 0.4rem;
    bottom: 0.45rem;
  }

  .hero-slide__headline {
    max-width: min(92vw, 300px);
    font-size: clamp(0.88rem, 4.3vw, 1.22rem);
    line-height: 1.05;
  }

  .hero-slide__cta .btn--cta {
    min-height: 36px;
    padding: 0.32rem 0.55rem;
    max-width: min(40vw, 160px);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.45), 0 3px 10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 220, 100, 0.16);
  }

  .hero-slide__cta .btn--cta:hover {
    box-shadow: var(--shadow-glow), 0 2px 12px rgba(0, 0, 0, 0.5);
  }
}

.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid #444;
  color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.hero-carousel__arrow:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero-carousel__arrow--prev {
  left: 0.35rem;
}

.hero-carousel__arrow--next {
  right: 0.35rem;
}

.hero-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.45rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.hero-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  padding: 0;
  background: #333;
  border: 1px solid #555;
}

.hero-carousel__dot[aria-current="true"] {
  background: var(--yellow);
  border-color: var(--gold);
  box-shadow: 0 0 6px rgba(255, 217, 26, 0.45);
}

/* Bonus pixel race */
.bonus-race {
  padding-top: 1rem;
  padding-bottom: 1.25rem;
  background: linear-gradient(180deg, #050505 0%, #0c0c0c 100%);
}

.bonus-race__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 217, 26, 0.25);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 217, 26, 0.14), transparent 28%),
    linear-gradient(135deg, #161616 0%, #080808 58%, #111 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.bonus-race__copy {
  padding: 1rem 1rem 0.35rem;
}

.bonus-race__kicker {
  margin: 0 0 0.25rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(255, 217, 26, 0.35);
}

.bonus-race__title {
  margin: 0;
  font-size: clamp(1.05rem, 4vw, 1.45rem);
  line-height: 1.15;
  color: #fff;
}

.bonus-race__text {
  margin: 0.35rem 0 0;
  max-width: 38rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #b8b8b8;
}

.bonus-race__hud {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 1rem 0.7rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
}

.bonus-race__hud strong {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 217, 26, 0.45);
}

.bonus-race__track {
  position: relative;
  height: 280px;
  margin: 0 0.75rem;
  overflow: hidden;
  border: 3px solid #0a0a0a;
  border-radius: 12px;
  outline: none;
  background:
    linear-gradient(90deg,
      #0a2112 0 6%,
      #b3342b 6% 7.2%,
      #f1f1f1 7.2% 8.4%,
      #1f1f1f 8.4% 91.6%,
      #f1f1f1 91.6% 92.8%,
      #b3342b 92.8% 94%,
      #0a2112 94% 100%);
  image-rendering: pixelated;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.03),
    inset 0 -80px 60px rgba(0, 0, 0, 0.45);
}

.bonus-race__track:focus-visible {
  box-shadow: 0 0 0 2px var(--yellow), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.bonus-race__track::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.32) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  opacity: 0.45;
  z-index: 6;
}

.bonus-race__road-lines {
  position: absolute;
  inset: -48px 0;
  pointer-events: none;
  background-image:
    linear-gradient(0deg, rgba(255, 236, 128, 0.85) 0 18px, transparent 18px 48px),
    linear-gradient(0deg, rgba(255, 236, 128, 0.85) 0 18px, transparent 18px 48px);
  background-size: 4px 48px, 4px 48px;
  background-position: 33.333% 0, 66.666% 0;
  background-repeat: repeat-y;
  opacity: 0.9;
  z-index: 1;
}

.bonus-race__track.is-running .bonus-race__road-lines {
  animation: race-road 0.45s linear infinite;
}

.bonus-race__track.is-crashing {
  animation: race-shake 0.18s ease-in-out 3;
}

.bonus-race__finish {
  position: absolute;
  top: -46px;
  left: 7%;
  right: 7%;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 217, 26, 0.9);
  background: repeating-linear-gradient(90deg, #fff 0 10px, #111 10px 20px);
  color: #111;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-shadow: 0 1px 0 #fff;
  z-index: 2;
}

.bonus-race__track.is-finished .bonus-race__finish {
  animation: race-finish 0.9s ease-out forwards;
}

.bonus-race__car,
.bonus-race__obstacle {
  position: absolute;
  left: calc((var(--lane, 1) * 33.333%) + 16.666%);
  transform: translateX(-50%);
  image-rendering: pixelated;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.bonus-race__car {
  --lane: 1;
  bottom: 14px;
  z-index: 4;
  width: 38px;
  height: 60px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 22' shape-rendering='crispEdges'><rect x='2' y='0' width='10' height='22' fill='%235b0b0b'/><rect x='3' y='1' width='8' height='20' fill='%23d63a3a'/><rect x='3' y='1' width='8' height='3' fill='%238a1515'/><rect x='4' y='1' width='2' height='1' fill='%23fff2a0'/><rect x='8' y='1' width='2' height='1' fill='%23fff2a0'/><rect x='4' y='4' width='6' height='5' fill='%239be8ff'/><rect x='4' y='4' width='6' height='1' fill='%2358b8d8'/><rect x='4' y='10' width='6' height='8' fill='%23ff5252'/><rect x='6' y='12' width='2' height='3' fill='%23ffe566'/><rect x='3' y='19' width='8' height='1' fill='%23fff2a0'/><rect x='3' y='20' width='8' height='1' fill='%237a0a0a'/><rect x='0' y='3' width='2' height='4' fill='%230a0a0a'/><rect x='12' y='3' width='2' height='4' fill='%230a0a0a'/><rect x='0' y='14' width='2' height='5' fill='%230a0a0a'/><rect x='12' y='14' width='2' height='5' fill='%230a0a0a'/></svg>");
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 0 6px rgba(255, 80, 80, 0.35));
  transition: left 0.1s steps(3, end);
}

.bonus-race__car::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 26px;
  height: 8px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 215, 60, 0.55), transparent 70%);
}

.bonus-race__track.is-crashing .bonus-race__car {
  animation: race-car-hit 0.12s steps(2, end) 4;
}

.bonus-race__obstacle {
  top: 0;
  z-index: 3;
  width: 40px;
  height: 44px;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.55));
  will-change: transform;
}

.bonus-race__obstacle--cone {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'><rect x='5' y='2' width='6' height='2' fill='%23ff9b2b'/><rect x='4' y='4' width='8' height='2' fill='%23f3f3f3'/><rect x='3' y='6' width='10' height='2' fill='%23ff9b2b'/><rect x='2' y='8' width='12' height='2' fill='%23f3f3f3'/><rect x='1' y='10' width='14' height='3' fill='%23ff9b2b'/><rect x='0' y='13' width='16' height='3' fill='%232a2a2a'/></svg>");
}

.bonus-race__obstacle--barrel {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'><rect x='2' y='1' width='12' height='14' fill='%231f1f1f'/><rect x='2' y='2' width='12' height='2' fill='%233a3a3a'/><rect x='2' y='7' width='12' height='2' fill='%233a3a3a'/><rect x='2' y='12' width='12' height='2' fill='%233a3a3a'/><rect x='4' y='5' width='8' height='2' fill='%23ffd91a'/><rect x='4' y='10' width='8' height='2' fill='%23ffd91a'/></svg>");
}

.bonus-race__obstacle--rival {
  width: 38px;
  height: 58px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 22' shape-rendering='crispEdges'><rect x='2' y='0' width='10' height='22' fill='%2307224a'/><rect x='3' y='1' width='8' height='20' fill='%231778d6'/><rect x='3' y='18' width='8' height='3' fill='%230d4a90'/><rect x='4' y='20' width='2' height='1' fill='%23fff2a0'/><rect x='8' y='20' width='2' height='1' fill='%23fff2a0'/><rect x='4' y='13' width='6' height='5' fill='%239be8ff'/><rect x='4' y='13' width='6' height='1' fill='%2358b8d8'/><rect x='4' y='4' width='6' height='8' fill='%231993ff'/><rect x='6' y='6' width='2' height='3' fill='%23ffe566'/><rect x='0' y='3' width='2' height='4' fill='%230a0a0a'/><rect x='12' y='3' width='2' height='4' fill='%230a0a0a'/><rect x='0' y='14' width='2' height='5' fill='%230a0a0a'/><rect x='12' y='14' width='2' height='5' fill='%230a0a0a'/></svg>");
}

.bonus-race__crash {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 80, 40, 0.85), 0 2px 0 #000;
  opacity: 0;
}

.bonus-race__track.is-crashing .bonus-race__crash {
  animation: race-crash 0.55s steps(6, end) forwards;
}

.bonus-race__start {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 50% 40%, rgba(255, 217, 26, 0.22), transparent 60%),
    url("images/games-cover.webp") center / cover no-repeat,
    #050505;
}

.bonus-race__start::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.38) 100%);
  pointer-events: none;
}

.bonus-race__start .btn,
.bonus-race__start span {
  position: relative;
  z-index: 1;
}

.bonus-race__start span {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: #f4f4f4;
  text-shadow: 0 2px 8px #000, 0 0 12px rgba(255, 217, 26, 0.35);
}

.bonus-race__track.is-running .bonus-race__start {
  display: none;
}

.bonus-race__controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem 1rem;
}

.bonus-race__control {
  width: 72px;
  height: 48px;
  border: 1px solid rgba(255, 217, 26, 0.5);
  border-radius: 10px;
  background: linear-gradient(180deg, #1f1f1f 0%, #111 100%);
  color: var(--gold);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 3px 0 rgba(0, 0, 0, 0.5);
  touch-action: manipulation;
  user-select: none;
}

.bonus-race__control:active {
  transform: translateY(2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 1px 0 rgba(0, 0, 0, 0.45);
}

.bonus-race__result {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.78);
}

.bonus-race__result[hidden] {
  display: none;
}

.bonus-race__result-card {
  width: min(100%, 420px);
  padding: 1.1rem;
  border: 1px solid rgba(255, 217, 26, 0.55);
  border-radius: 12px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 217, 26, 0.22), transparent 42%),
    #111;
  box-shadow: var(--shadow-glow), 0 18px 60px rgba(0, 0, 0, 0.55);
}

.bonus-race__result-kicker {
  margin: 0 0 0.35rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.bonus-race__result-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.bonus-race__result-card p {
  margin: 0 0 0.85rem;
  color: #cfcfcf;
  font-size: 0.86rem;
}

.bonus-race__result-actions {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 700px) {
  .bonus-race__panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    align-items: center;
    column-gap: 1rem;
    padding: 1rem;
  }

  .bonus-race__copy {
    padding: 0;
  }

  .bonus-race__hud {
    grid-column: 1;
    align-self: end;
    padding: 0.75rem 0 0;
  }

  .bonus-race__track,
  .bonus-race__controls {
    grid-column: 2;
  }

  .bonus-race__track {
    grid-row: 1 / span 2;
    height: 320px;
    margin: 0;
  }

  .bonus-race__controls {
    padding: 0.75rem 0 0;
  }
}

@keyframes race-road {
  to { transform: translateY(48px); }
}

@keyframes race-finish {
  to { top: 40px; }
}

@keyframes race-shake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-3px, 0, 0); }
  75% { transform: translate3d(3px, 0, 0); }
}

@keyframes race-car-hit {
  0%, 50% { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(255, 120, 0, 0.95)); }
  50.01%, 100% { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)); }
}

@keyframes race-crash {
  0% { opacity: 0; transform: scale(0.6); }
  30% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1); }
}

/* Jackpot */
.jackpot-strip {
  background: #000;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: thin;
}

.jackpot-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
  /* ne pas mettre padding horizontal à 0 : casse le gutter .layout-container */
  padding-top: 0.75rem;
  padding-bottom: 0.85rem;
}

.jackpot-strip__inner .jackpot-cards {
  flex: 1 1 min(0, 720px);
  min-width: min(100%, 280px);
}

.jackpot-strip__brand {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 0.25rem;
}

.jackpot-strip__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffe36b 0%, #ff9a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 12px rgba(255, 153, 26, 0.35);
  white-space: nowrap;
}

.jackpot-strip__sub {
  margin: 0.15rem 0 0;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.jackpot-cards {
  display: flex;
  gap: 0.6rem;
  flex: 1 1 auto;
}

.jackpot-card {
  flex: 1 1 200px;
  min-width: 160px;
  position: relative;
  padding: 0.55rem 1.6rem 0.55rem 0.55rem;
  background: linear-gradient(145deg, #151515, #0a0a0a);
  border-radius: 6px;
  border: 1px solid #3a3a3a;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Méga : touches or / ambre (lisible, premium) */
.jackpot-card--mega {
  border: 1px solid rgba(255, 201, 80, 0.55);
  background:
    linear-gradient(125deg, rgba(200, 150, 30, 0.22) 0%, rgba(200, 150, 30, 0) 38%),
    linear-gradient(200deg, rgba(80, 55, 10, 0.35) 0%, rgba(0, 0, 0, 0) 50%),
    linear-gradient(145deg, #1c170c, #0a0906);
  box-shadow:
    0 0 0 1px rgba(255, 220, 100, 0.12) inset,
    0 0 18px rgba(255, 180, 40, 0.2),
    inset 0 0 22px rgba(0, 0, 0, 0.55);
}
.jackpot-card--mega .jackpot-card__label {
  color: #e6c14a;
}
.jackpot-card--mega .jackpot-card__icons span {
  color: var(--yellow);
  opacity: 1;
  text-shadow: 0 0 6px rgba(255, 200, 60, 0.45);
}
.jackpot-card--mega .jackpot-card__value {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 200, 100, 0.12);
}
.jackpot-card--mega .jackpot-card__side {
  color: #e6c852;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 200, 80, 0.35);
}

.jackpot-card--major {
  border-color: rgba(214, 58, 58, 0.65);
  box-shadow: 0 0 14px rgba(214, 58, 58, 0.12), inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.jackpot-card--major .jackpot-card__icons span {
  color: #e12d2d;
  opacity: 1;
  text-shadow: 0 0 5px rgba(255, 80, 80, 0.5);
}

.jackpot-card--major .jackpot-card__side {
  color: #e12d2d;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255, 60, 60, 0.4);
}

.jackpot-card--minor {
  border-color: rgba(33, 181, 75, 0.55);
  box-shadow: 0 0 14px rgba(33, 181, 75, 0.12), inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.jackpot-card__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.jackpot-card__icons {
  display: inline-flex;
  gap: 2px;
}

.jackpot-card__icons span {
  font-size: 0.55rem;
  opacity: 0.85;
}

.jackpot-card--minor .jackpot-card__icons--gems span {
  color: var(--green);
  opacity: 1;
}

.jackpot-card--minor .jackpot-card__side {
  color: #2fd06a;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(33, 181, 75, 0.45);
}

.jackpot-card__value {
  margin-top: 0.25rem;
  font-size: clamp(1rem, 3.5vw, 1.35rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

@media (min-width: 900px) {
  .jackpot-strip__title {
    font-size: 0.8rem;
  }

  .jackpot-card__value {
    font-size: clamp(1.1rem, 1.2vw, 1.5rem);
  }
}

.jackpot-card__side {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Chip rail */
.chip-rail-wrap {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 0.45rem 0;
}

@media (min-width: 900px) {
  .chip-rail-wrap {
    padding: 0.65rem 0 0.55rem;
  }
}

/* Laisser le padding latéral de .layout-container (éviter padding:0 qui l’annule) */
.chip-rail-wrap__inner {
  padding-top: 0;
  padding-bottom: 0;
}

.chip-rail {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  overflow-x: auto;
}

.chip-rail__scroll-btn {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-rail__search {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
}

.chip {
  flex: 0 0 auto;
  padding: 0.5rem 1.05rem;
  min-height: 40px;
  border-radius: var(--radius-chip);
  background: linear-gradient(180deg, #2c2c2c 0%, #181818 100%);
  border: 1px solid rgba(255, 217, 26, 0.2);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #e8e8e8;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition), transform 0.12s ease;
}

.chip:hover {
  border-color: rgba(255, 217, 26, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 217, 26, 0.2), 0 3px 10px rgba(0, 0, 0, 0.45);
  color: var(--gold);
}

.chip:active {
  transform: scale(0.98);
}

.chip.is-active {
  background: linear-gradient(180deg, #fff2b8 0%, #e8c030 50%, #d4a800 100%);
  color: #1a1505;
  font-weight: 700;
  border: 1px solid #f5d040;
  box-shadow: var(--shadow-glow), 0 2px 12px rgba(255, 200, 40, 0.35);
}

.chip-rail--desktop {
  display: none;
}

@media (min-width: 900px) {
  .chip-rail--mobile {
    display: none;
  }

  .chip-rail--desktop {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    min-height: 52px;
    align-content: center;
  }

  .chip-rail__scroll-btn--mobile-only {
    display: none;
  }

  .chip {
    font-size: 0.8rem;
    padding: 0.5rem 1.1rem;
  }

  .chip-rail__search,
  .chip-rail__scroll-btn {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }
}

/* Game sections */
.game-section {
  padding: 0.85rem 0 0.25rem;
}

.lobby-content .section-title,
.lobby-content .section-lede {
  padding-left: 0;
  padding-right: 0;
}

.lobby-content .game-grid--lobby {
  padding-left: 0;
  padding-right: 0;
}

.section-title {
  margin: 0 0 0.55rem;
  padding: 0 0.75rem;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}

@media (min-width: 900px) {
  .section-title {
    font-size: clamp(1.2rem, 1.4vw, 1.55rem);
    margin-bottom: 0.75rem;
    letter-spacing: 0.24em;
  }
}

.section-lede {
  margin: 0 0 0.6rem;
  padding: 0 0.75rem;
  max-width: 40rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #a8a8a8;
}

@media (min-width: 900px) {
  .section-lede {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

.game-grid--lobby {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 0.5rem;
  padding: 0 0.65rem 0.75rem;
}

@media (min-width: 500px) {
  .game-grid--lobby {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .game-grid--lobby {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem 0.75rem;
  }
}

@media (min-width: 1200px) {
  .game-grid--lobby {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Grille 2 colonnes (mobile) : dernière carte seule centrée (ex. 5 jeux En direct) */
@media (max-width: 499px) {
  .game-grid--lobby .game-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc((100% - 0.5rem) / 2);
    justify-self: center;
  }
}

.game-section--live {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0c0c0c, var(--bg-deep));
}

.game-grid--lobby .game-card {
  min-width: 0;
  max-width: none;
  cursor: pointer;
}

.game-card__link {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid #4a4a4a;
  /* Même teinte que le fond page : transparence SVG → pas de « bloc » gris + filter inutile */
  background: var(--bg-deep);
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.game-card:hover .game-card__link,
.game-card__link:hover,
.game-card__link:focus-visible {
  border-color: var(--yellow);
  box-shadow: var(--shadow-glow);
}

.game-card__link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.game-card__image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Ton naturel de l’asset (pas d’agrandissement lumière) */
  filter: none;
  transition: transform 0.35s ease;
}

.game-card:hover .game-card__image,
.game-card__link:hover .game-card__image,
.game-card__link:focus-visible .game-card__image {
  transform: scale(1.02);
}

.game-card__overlay {
  z-index: 1;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  /* Voile CTA seulement au survol, sans affecter l’affichage au repos */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility 0s linear 0.2s;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.game-card:hover .game-card__overlay,
.game-card__link:hover .game-card__overlay,
.game-card__link:focus-visible .game-card__overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--transition), visibility 0s;
}

.game-card__title {
  font-family: var(--font-game-title);
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #f4efe6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 16px rgba(255, 200, 80, 0.1);
  min-height: 2.45em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 900px) {
  .game-card__title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.045em;
  }

  .game-card__overlay {
    font-size: 0.8rem;
  }
}

/* Promotions */
.promotions {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #0a0a0a, #111);
}

.promotions.layout-container .section-title {
  padding-left: 0;
  padding-right: 0;
}

.promotions__grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .promotions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Une seule carte (ex. Gagnants) : ne pas la laisser coincée sur la colonne gauche */
  .promotions__grid > :only-child {
    grid-column: 1 / -1;
    max-width: 920px;
    width: 100%;
    justify-self: center;
  }
}

.promo-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.promo-card:hover,
.promo-card:focus-within {
  border-color: rgba(255, 217, 26, 0.6);
  box-shadow: var(--shadow-glow);
}

@media (min-width: 1100px) {
  .promo-card {
    min-height: 200px;
  }

  .promo-card__title {
    font-size: 0.95rem;
  }

  .promo-card__text {
    font-size: 0.85rem;
  }
}

.promo-card__visual {
  position: relative;
  min-height: 120px;
  background: #000;
}

.promo-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card__body {
  padding: 1rem 1.15rem 1.05rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

@media (min-width: 900px) {
  .promo-card__body {
    padding: 1.05rem 1.25rem 1.1rem 1.3rem;
  }
}

.promo-card__title {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.promo-card__text {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  flex: 1;
}

/* Cartes promo sans visuel logo : panneau décoratif CSS */
.promo-card--themed .promo-card__art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 140px;
  padding: 1.1rem 0.75rem;
  text-align: center;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.promo-card--jackpots .promo-card__art {
  background:
    radial-gradient(ellipse 85% 65% at 50% 0%, rgba(255, 201, 40, 0.38), transparent 55%),
    linear-gradient(165deg, #1f1608 0%, #0a0906 48%, #151008 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 217, 26, 0.14);
}

.promo-card--welcome .promo-card__art {
  background:
    radial-gradient(ellipse 75% 55% at 22% 18%, rgba(33, 181, 75, 0.28), transparent 52%),
    linear-gradient(165deg, #0c1410 0%, #050807 100%);
  box-shadow: inset 0 0 0 1px rgba(33, 181, 75, 0.22);
}

.promo-card--tournoi .promo-card__art {
  background:
    radial-gradient(ellipse 65% 55% at 78% 0%, rgba(214, 58, 58, 0.32), transparent 55%),
    linear-gradient(165deg, #180a0e 0%, #080506 100%);
  box-shadow: inset 0 0 0 1px rgba(214, 58, 58, 0.16);
}

.promo-card__art-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 217, 26, 0.45);
  opacity: 0.95;
}

.promo-card--welcome .promo-card__art-icon {
  color: #6be899;
  text-shadow: 0 0 18px rgba(33, 181, 75, 0.45);
}

.promo-card--tournoi .promo-card__art-icon {
  color: #ff8a8a;
  text-shadow: 0 0 16px rgba(255, 90, 90, 0.4);
}

.promo-card__art-kicker {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 230, 170, 0.95);
}

.promo-card--welcome .promo-card__art-kicker {
  color: #9dffc4;
}

.promo-card--tournoi .promo-card__art-kicker {
  color: #ffbcbc;
}

.promo-card__art-line {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e2e2;
  max-width: 12em;
  line-height: 1.35;
}

@media (max-width: 540px) {
  .promo-card--themed {
    grid-template-columns: 1fr;
  }

  .promo-card--themed .promo-card__art {
    min-height: 100px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

/* Contenu SEO (guide 770 Casino) — s’aligne sur .layout-container (pad latéral identique au lobby) */
.seo-guide {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--border);
  box-sizing: border-box;
}

.seo-guide__h1,
.seo-guide h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 3.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #fff;
}

.seo-guide h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold);
  line-height: 1.35;
}

.seo-guide h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #eee;
}

.seo-guide p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #c5c5c5;
}

.seo-guide strong {
  color: #e8e8e8;
  font-weight: 600;
}

.seo-guide__table-wrap {
  margin: 1rem 0 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0c0c0c;
}

.seo-guide__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.seo-guide__table th,
.seo-guide__table td {
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: #c8c8c8;
}

.seo-guide__table th {
  background: #141414;
  color: var(--gold);
  font-weight: 600;
}

.seo-guide__table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 540px) {
  .seo-guide__table-wrap {
    overflow-x: visible;
  }

  .seo-guide__table {
    min-width: 0;
    table-layout: fixed;
    font-size: 0.62rem;
    line-height: 1.3;
  }

  .seo-guide__table th,
  .seo-guide__table td {
    padding: 0.38rem 0.32rem;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

@media (max-width: 380px) {
  .seo-guide__table {
    font-size: 0.58rem;
  }

  .seo-guide__table th,
  .seo-guide__table td {
    padding: 0.32rem 0.24rem;
  }
}

.seo-guide__faq h3 {
  font-size: 0.9rem;
  margin-top: 1.25rem;
}

.seo-guide__faq p {
  margin-bottom: 0.5rem;
}

.seo-guide__faq-item {
  margin: 0 0 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #101010;
  overflow: hidden;
}

.seo-guide__faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.72rem 0.8rem;
}

.seo-guide__faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-guide__faq-item summary::before {
  content: "›";
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
  transform: rotate(0deg);
  transition: transform var(--transition);
}

.seo-guide__faq-item[open] summary::before {
  transform: rotate(90deg);
}

.seo-guide__faq-item summary h3 {
  margin: 0;
  font-size: 0.9rem;
  color: #f1f1f1;
}

.seo-guide__faq-item p {
  margin: 0;
  padding: 0 0.8rem 0.8rem 2.1rem;
  color: #c7c7c7;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1rem 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-overlay__panel {
  width: min(520px, 100%);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.search-overlay__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.search-overlay__input {
  flex: 1;
  min-height: 44px;
  padding: 0 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0c0c0c;
  color: var(--text);
}

.search-overlay__close {
  min-width: 44px;
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
}

.search-overlay__empty {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Service pages (contenu resserré, centré dans le layout-container) */
.service-stack {
  /* ne pas utiliser padding: T 0 B — ça remet padding-inline à 0 et colle le texte au bord */
  padding-top: 1.15rem;
  padding-bottom: 2rem;
  width: 100%;
  max-width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.service-page {
  margin-bottom: 2rem;
}

.service-page__panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem 1.2rem;
  margin-bottom: 0.85rem;
}

@media (min-width: 900px) {
  .service-page__panel {
    padding: 1.2rem 1.25rem;
  }
}

.service-page h1 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.service-page h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--yellow);
}

.service-page p {
  margin: 0 0 0.65rem;
  color: #c9c9c9;
  font-size: 0.92rem;
}

.service-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #101010;
  font-size: 0.8rem;
  color: var(--muted);
}

.service-page__back:hover {
  color: var(--text);
  border-color: var(--yellow);
}

/* Footer */
.site-footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding-bottom: 1.5rem;
}

/* Évite le double padding latéral (layout-container + blocs footer) */
.site-footer__inner .footer-top,
.site-footer__inner .footer-columns,
.site-footer__inner .footer-bottom-legal {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 900px) {
  .footer-top {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
  }
}

.footer-top__logo img {
  height: 30px;
  width: auto;
}

.footer-badge {
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: center;
  max-width: 100%;
}

.footer-lang {
  display: flex;
  gap: 0.35rem;
}

.footer-lang button {
  min-height: 40px;
  padding: 0 0.85rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-lang button.is-active {
  border-color: var(--yellow);
  color: var(--gold);
}

.footer-icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.footer-icon-row a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  font-size: 0.72rem;
  color: var(--muted);
  border-right: 1px solid var(--border);
}

.footer-icon-row a:last-child {
  border-right: none;
}

.footer-icon-row svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.75;
}

.footer-columns {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem 0.75rem 0;
}

@media (min-width: 900px) {
  .footer-columns {
    grid-template-columns: 2fr 1fr 1.1fr;
    padding: 1.25rem 1.25rem 0;
    gap: 1.5rem;
  }
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

.footer-legal p {
  margin: 0 0 0.65rem;
}

.footer-col__title {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a {
  color: #c5c5c5;
  font-size: 0.82rem;
}

.footer-links a::before {
  content: "» ";
  color: var(--muted);
}

.info-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin-top: 0.35rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #2a5c3a;
  border-radius: 4px;
  background: #0f1a12;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8fdf9e;
}

.info-badge span:last-child {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.payment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.payment-strip img {
  height: 22px;
  width: auto;
  filter: grayscale(1) brightness(1.35);
}

.payment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.payment-chips span {
  font-size: 0.65rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
}

.rg-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.gambleaware {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ddd;
}

.age-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ccc;
}

.footer-bottom-legal {
  margin: 1.25rem 0.75rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: #888;
  text-align: center;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .footer-bottom-legal {
    margin: 1.25rem 1.25rem 0;
  }
}

/* Bottom nav mobile */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 800;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: var(--bottom-nav-h);
  padding: 0.35rem max(0.5rem, env(safe-area-inset-left, 0px)) calc(0.35rem + env(safe-area-inset-bottom)) max(0.5rem, env(safe-area-inset-right, 0px));
  background: #000;
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .bottom-nav {
    display: none;
  }
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: #eee;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.bottom-nav__item:hover,
.bottom-nav__item:focus-visible {
  color: var(--gold);
  background: rgba(255, 217, 26, 0.06);
}

.bottom-nav__item:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.bottom-nav__icon {
  width: 28px;
  height: 28px;
  position: relative;
  color: currentColor;
  filter: drop-shadow(0 0 8px rgba(255, 217, 26, 0.16));
}

.bottom-nav__icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: background var(--transition), filter var(--transition), transform var(--transition);
}

.bottom-nav__item:hover .bottom-nav__icon::before,
.bottom-nav__item:focus-visible .bottom-nav__icon::before {
  filter: drop-shadow(0 0 6px rgba(255, 217, 26, 0.55));
  transform: translateY(-1px);
}

.bottom-nav__icon--megaphone::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8h3.4L10 5.4V18.6L7.4 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2Zm8-2.8 2.5-2.1A1.5 1.5 0 0 1 17 4.25v15.5a1.5 1.5 0 0 1-2.5 1.15L12 18.8V5.2Zm7.1 2.2a1 1 0 0 1 1.4.2 7.2 7.2 0 0 1 0 8.8 1 1 0 1 1-1.6-1.2 5.2 5.2 0 0 0 0-6.4 1 1 0 0 1 .2-1.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8h3.4L10 5.4V18.6L7.4 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2Zm8-2.8 2.5-2.1A1.5 1.5 0 0 1 17 4.25v15.5a1.5 1.5 0 0 1-2.5 1.15L12 18.8V5.2Zm7.1 2.2a1 1 0 0 1 1.4.2 7.2 7.2 0 0 1 0 8.8 1 1 0 1 1-1.6-1.2 5.2 5.2 0 0 0 0-6.4 1 1 0 0 1 .2-1.4Z'/%3E%3C/svg%3E");
}

.bottom-nav__icon--diamond::before {
  inset: 1px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.2 3h9.6L22 9l-10 12L2 9l5.2-6Zm.7 2.2L5.1 8.4h4.6l1.1-3.2H7.9Zm5.3 0 1.1 3.2h4.6l-2.8-3.2h-2.9Zm-1.2.7-1 2.5h2l-1-2.5ZM5.4 10.4l4.5 5.4-1.2-5.4H5.4Zm5.4 0 1.2 6.4 1.2-6.4h-2.4Zm4.5 0-1.2 5.4 4.5-5.4h-3.3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.2 3h9.6L22 9l-10 12L2 9l5.2-6Zm.7 2.2L5.1 8.4h4.6l1.1-3.2H7.9Zm5.3 0 1.1 3.2h4.6l-2.8-3.2h-2.9Zm-1.2.7-1 2.5h2l-1-2.5ZM5.4 10.4l4.5 5.4-1.2-5.4H5.4Zm5.4 0 1.2 6.4 1.2-6.4h-2.4Zm4.5 0-1.2 5.4 4.5-5.4h-3.3Z'/%3E%3C/svg%3E");
}

.bottom-nav__icon--help::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3a8 8 0 0 0-8 8v3.2A3 3 0 0 0 7 17h1.2A1.8 1.8 0 0 0 10 15.2v-3.4A1.8 1.8 0 0 0 8.2 10H6.1a6 6 0 0 1 11.8 0h-2.1a1.8 1.8 0 0 0-1.8 1.8v3.4a1.8 1.8 0 0 0 1.8 1.8h1.7A3.6 3.6 0 0 1 14 19.5h-2a1 1 0 1 0 0 2h2a5.6 5.6 0 0 0 5.6-5.3A3 3 0 0 0 20 14.2V11a8 8 0 0 0-8-8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3a8 8 0 0 0-8 8v3.2A3 3 0 0 0 7 17h1.2A1.8 1.8 0 0 0 10 15.2v-3.4A1.8 1.8 0 0 0 8.2 10H6.1a6 6 0 0 1 11.8 0h-2.1a1.8 1.8 0 0 0-1.8 1.8v3.4a1.8 1.8 0 0 0 1.8 1.8h1.7A3.6 3.6 0 0 1 14 19.5h-2a1 1 0 1 0 0 2h2a5.6 5.6 0 0 0 5.6-5.3A3 3 0 0 0 20 14.2V11a8 8 0 0 0-8-8Z'/%3E%3C/svg%3E");
}

/* Floating desktop actions (raccourcis Aide + retour haut : alignés sur la colonne de contenu) */
.floating-actions {
  display: none;
}

@media (min-width: 900px) {
  /* Promotions / Gagnants : raccourcis masqués (lobby + pied de page suffisent) */
  .floating-actions:not(.floating-actions--right) {
    display: none;
  }

  .floating-actions--right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: fixed;
    z-index: 750;
    left: auto;
    right: max(0.75rem, calc(50% - (var(--page-max) * 0.5) + var(--page-pad-lg)));
    bottom: 1rem;
  }

  .floating-actions .btn {
    min-height: 40px;
    padding: 0 0.9rem;
    font-size: 0.68rem;
    background: var(--panel-2);
    border: 1px solid var(--border);
    color: var(--text);
  }

  .floating-actions .btn:hover {
    border-color: var(--yellow);
    color: var(--gold);
  }

  .floating-actions__top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--panel-2);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .floating-actions__top:hover {
    border-color: var(--yellow);
    color: var(--gold);
  }
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

body.is-menu-open {
  overflow: hidden;
}
