/* ═══════════════════════════════════════════════════════
   LUXURY CASINO – styles.css
   Mobile-first, zero external dependencies
   ═══════════════════════════════════════════════════════ */

/* ─── Custom properties ─────────────────────────────── */
:root {
  --bg:           #0a0a0b;
  --bg-soft:      #121214;
  --bg-panel:     #1d1d21;
  --bg-panel-2:   #2e2f33;
  --bg-panel-3:   #3a3b40;
  --line:         rgba(255,255,255,.08);
  --line-strong:  rgba(255,255,255,.16);
  --text:         #f4f4f5;
  --muted:        #bfc2c7;
  --muted-2:      #90939a;
  --blue:         #2f78d8;
  --blue-deep:    #2362b5;
  --blue-glow:    rgba(47,120,216,.25);
  --cyan:         #27e7e1;
  --cyan-deep:    #12a39e;
  --cyan-btn-glow: rgba(39, 231, 225, 0.38);
  --green:        #52e676;
  --green-deep:   #2db95a;
  --green-bg:     #0d2d1a;
  --gold:         #e5c35b;
  --silver:       #d7d9df;
  --danger-soft:  #ff6b6b;
  --radius:       18px;
  --radius-sm:    12px;
  --radius-xs:    8px;
  --shadow-soft:  0 10px 30px rgba(0,0,0,.32);
  --shadow-glow:  0 0 28px rgba(39,231,225,.18);
  --header-h:     68px;
  --bottom-nav-h: 74px;
  --container:    1560px;
  --gap:          16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ─── Reset ──────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  min-height: 100dvh;
  overflow-x: hidden;
}

img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, button, select, textarea { font: inherit; }

/* ─── Utility ────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gap);
}

/* ─── Skip link ──────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 20px;
  background: var(--cyan);
  color: #061213;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ─── Focus styles ───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .18s, opacity .18s, box-shadow .18s;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-deep) 100%);
  color: #fff;
  box-shadow: 0 3px 18px var(--cyan-btn-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3ef2ec 0%, #14bab4 100%);
  box-shadow: 0 5px 24px rgba(39, 231, 225, 0.48);
}
.btn-primary:active { opacity: .9; }

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid rgba(39, 231, 225, 0.42);
}
.btn-outline:hover {
  border-color: rgba(39, 231, 225, 0.72);
  color: #b5fffb;
  background: rgba(39, 231, 225, 0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}
.btn-ghost:hover { color: var(--text); }

.btn-ghost-border {
  background: transparent;
  color: var(--silver);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost-border:hover {
  border-color: var(--silver);
  color: #fff;
}

.btn-full { width: 100%; }


/* ══════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════ */
:root { --header-h: 72px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: linear-gradient(180deg, #13131a 0%, #0d0d12 100%);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(215,217,223,.15) 30%, rgba(215,217,223,.22) 50%, rgba(215,217,223,.15) 70%, transparent 100%);
  pointer-events: none;
}
.site-header.is-scrolled {
  background: rgba(10,10,13,.97);
  box-shadow: 0 6px 32px rgba(0,0,0,.5);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gap);
}

.header-brand { flex-shrink: 0; }

.header-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* Desktop nav links */
.header-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.header-nav__link {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius-xs);
  transition: color .15s, background .15s;
}
.header-nav__link:hover {
  color: var(--text);
  background: rgba(255,255,255,.05);
}

/* Search — hidden on mobile */
.header-search { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Login button */
.header-login-btn {
  display: none;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(223, 255, 252, 0.92);
  background: transparent;
  border: 1.5px solid rgba(39, 231, 225, 0.35);
  border-radius: var(--radius-sm);
  transition: border-color .16s, color .16s, background .16s;
  cursor: pointer;
  white-space: nowrap;
}
.header-login-btn:hover {
  border-color: rgba(39, 231, 225, 0.65);
  color: #fff;
  background: rgba(39, 231, 225, 0.08);
}

/* Register button */
.header-register-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-deep) 100%);
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 16px var(--cyan-btn-glow), inset 0 1px 0 rgba(255,255,255,.18);
  transition: box-shadow .18s, transform .12s, background .18s;
  cursor: pointer;
  white-space: nowrap;
}
.header-register-btn:hover {
  background: linear-gradient(135deg, #3ef2ec 0%, #14bab4 100%);
  box-shadow: 0 5px 22px rgba(39, 231, 225, 0.5);
  transform: translateY(-1px);
}
.header-register-btn:active { transform: translateY(0); }


/* ══════════════════════════════════════════════════════
   MOBILE BOTTOM NAV
   ══════════════════════════════════════════════════════ */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--bottom-nav-h);
  background: linear-gradient(180deg, #17171b 0%, #111114 100%);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-bottom-nav__list {
  display: flex;
  height: 100%;
  align-items: stretch;
}

.mobile-bottom-nav__item {
  flex: 1;
  display: flex;
}
.mobile-bottom-nav__item--center { flex: 1.1; }

.mobile-bottom-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 6px 4px;
  color: var(--muted-2);
  transition: color .16s;
  position: relative;
}
.mobile-bottom-nav__link:hover,
.mobile-bottom-nav__link.is-active {
  color: var(--cyan);
}
.mobile-bottom-nav__link.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: var(--cyan);
  border-radius: 0 0 2px 2px;
}

.mobile-bottom-nav__link--main {
  color: var(--cyan);
}
.mobile-bottom-nav__link--main.is-active,
.mobile-bottom-nav__link--main:hover {
  color: var(--cyan);
}

.mobile-bottom-nav__icon { flex-shrink: 0; }
.mobile-bottom-nav__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* (header-login-btn / header-register-btn defined in HEADER block above) */

/* offset main content to not hide under header + bottom nav */
.site-main {
  padding-top: 0;
  padding-bottom: calc(var(--bottom-nav-h) + 16px);
}


/* ══════════════════════════════════════════════════════
   SECTION COMMON STYLES
   ══════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
  transition: opacity .15s;
}
.section-link:hover { opacity: .78; }


/* ══════════════════════════════════════════════════════
   CINEMATIC HERO
   ══════════════════════════════════════════════════════ */
.cinematic-hero {
  position: relative;
  min-height: 68vw;
  max-height: 700px;
  overflow: hidden;
  background: #0a0a0b;
}

/* Slides */
.cinematic-hero__slides { position: absolute; inset: 0; }
.cinematic-hero__slide {
  position: absolute;
  inset: 0;
  background: var(--slide-bg) center/cover no-repeat;
  opacity: 0;
  transition: opacity .8s ease;
  will-change: opacity;
}
.cinematic-hero__slide.is-active { opacity: 1; }

/* Gradient overlays */
.cinematic-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5,5,8,.92) 0%, rgba(5,5,8,.72) 42%, rgba(5,5,8,.28) 72%, rgba(5,5,8,.08) 100%),
    linear-gradient(to top, rgba(5,5,8,.88) 0%, transparent 45%);
  z-index: 1;
  pointer-events: none;
}

/* Content */
.cinematic-hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-block: 44px 80px;
}

.cinematic-hero__content {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cinematic-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  background: rgba(229,195,91,.1);
  border: 1px solid rgba(229,195,91,.22);
  padding: 5px 12px;
  border-radius: 99px;
  width: fit-content;
}

.cinematic-hero__title {
  font-size: clamp(36px, 9vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,.6);
}
.cinematic-hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan) 0%, #7de8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cinematic-hero__sub {
  font-size: 15px;
  color: rgba(244,244,245,.72);
  line-height: 1.65;
  max-width: 420px;
}

.cinematic-hero__perks {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cinematic-hero__perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(244,244,245,.85);
}
.cinematic-hero__perks svg { color: var(--green); flex-shrink: 0; }

.cinematic-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-deep) 100%);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 26px var(--cyan-btn-glow), inset 0 1px 0 rgba(255,255,255,.2);
  transition: box-shadow .2s, transform .12s, background .18s;
  white-space: nowrap;
}
.hero-btn-primary:hover {
  background: linear-gradient(135deg, #3ef2ec 0%, #14bab4 100%);
  box-shadow: 0 7px 34px rgba(39, 231, 225, 0.52);
  transform: translateY(-2px);
}
.hero-btn-primary:active { transform: none; }

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(244,244,245,.94);
  background: rgba(39, 231, 225, 0.08);
  border: 1.5px solid rgba(39, 231, 225, 0.4);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  transition: background .18s, border-color .18s;
  white-space: nowrap;
}
.hero-btn-secondary:hover {
  background: rgba(39, 231, 225, 0.14);
  border-color: rgba(39, 231, 225, 0.58);
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(10,10,13,.65);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background .16s, color .16s, border-color .16s;
}
.hero-arrow:hover {
  background: rgba(10,10,13,.9);
  color: var(--cyan);
  border-color: rgba(39, 231, 225, 0.35);
}
.hero-arrow--prev { left: 14px; }
.hero-arrow--next { right: 14px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: background .22s, width .22s;
}
.hero-dot.is-active {
  background: var(--cyan);
  width: 22px;
  border-radius: 99px;
}


/* ══════════════════════════════════════════════════════
   QUICKPLAY STRIP
   ══════════════════════════════════════════════════════ */
.quickplay-section {
  padding-block: 20px 8px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.quickplay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.quickplay-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
}
.quickplay-viewall {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  transition: opacity .15s;
}
.quickplay-viewall:hover { opacity: .75; }

.quickplay-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  /* hardware scroll on iOS */
  -webkit-overflow-scrolling: touch;
}
.quickplay-track::-webkit-scrollbar { display: none; }

.quickplay-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 90px;
  text-decoration: none;
  transition: transform .18s;
}
.quickplay-card:hover { transform: translateY(-3px); }
.quickplay-card img {
  width: 90px; height: 90px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1.5px solid var(--line);
  transition: border-color .16s, box-shadow .16s;
}
.quickplay-card:hover img {
  border-color: rgba(39, 231, 225, 0.5);
  box-shadow: 0 4px 16px rgba(39, 231, 225, 0.22);
}
.quickplay-card span {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-2);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

/* Keep progress-track / progress-fill for loyalty section */
.progress-track {
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-deep), var(--green));
  border-radius: 99px;
  transition: width .8s cubic-bezier(.4,0,.2,1);
}

/* Hero banner / slider */
.hero-banner { position: relative; }

.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
}

.hero-slides-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}

.hero-slide {
  min-width: 100%;
  flex-shrink: 0;
}
.hero-slide__link { display: block; }
.hero-slide__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/8.4;
  object-fit: cover;
  display: block;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(10,10,11,.72);
  border: 1px solid var(--line-strong);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .16s, color .16s, border-color .16s;
  flex-shrink: 0;
}
.hero-arrow:hover {
  background: rgba(10,10,11,.95);
  color: var(--cyan);
  border-color: rgba(39, 231, 225, 0.35);
}
.hero-arrow--prev { left: 10px; }
.hero-arrow--next { right: 10px; }

.hero-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transition: background .2s, width .2s;
  flex-shrink: 0;
}
.hero-dot.is-active {
  background: var(--cyan);
  width: 18px;
  border-radius: 99px;
}


/* ══════════════════════════════════════════════════════
   SECTION TABS
   ══════════════════════════════════════════════════════ */
.section-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 16px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}
.section-tabs::-webkit-scrollbar { display: none; }

.section-tabs__button {
  flex-shrink: 0;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  position: relative;
  transition: color .16s;
  white-space: nowrap;
}
.section-tabs__button::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: transparent;
  border-radius: 2px 2px 0 0;
  transition: background .16s;
}
.section-tabs__button:hover { color: var(--text); }
.section-tabs__button.is-active { color: var(--cyan); }
.section-tabs__button.is-active::after { background: var(--cyan); }

.section-tabs__button--icon {
  padding: 9px 10px;
  color: var(--muted-2);
}
.section-tabs__button--icon:hover { color: var(--cyan); }


/* ══════════════════════════════════════════════════════
   FEATURED GAMES
   ══════════════════════════════════════════════════════ */
.featured-games-section {
  padding-block: 20px;
  background: var(--bg-soft);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Tab panels – default hide others, show via JS */
.games-tab-panels .games-grid { display: grid; }
.games-tab-panels .games-grid.is-hidden { display: none; }

/* Carrousel « En vedette » (mobile + desktop) */
.featured-carousel {
  position: relative;
  padding-inline: 40px;
  margin-inline: -4px;
}
.featured-carousel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(18, 18, 20, 0.92);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  z-index: 3;
}
.featured-carousel__btn--prev { left: 2px; }
.featured-carousel__btn--next { right: 2px; }
.featured-carousel__btn:hover {
  background: var(--bg-panel-2);
  border-color: rgba(39, 231, 225, 0.45);
  color: var(--cyan);
}
.featured-carousel__btn:active { opacity: 0.9; }
.featured-carousel__btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.featured-carousel__viewport {
  position: relative;
  container-type: inline-size;
  container-name: featured-car;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding-block: 4px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(39, 231, 225, 0.35) transparent;
  border-radius: var(--radius-sm);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}
.featured-carousel__viewport::-webkit-scrollbar {
  height: 4px;
}
.featured-carousel__viewport::-webkit-scrollbar-thumb {
  background: rgba(39, 231, 225, 0.35);
  border-radius: 99px;
}

.games-tab-panels .games-grid.games-grid--carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: max-content;
  min-width: 100%;
}
.games-grid.games-grid--carousel .game-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: calc((100cqi - 1 * 10px) / 2);
}

.game-card {
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  transition: border-color .16s, box-shadow .16s;
}
.game-card:hover {
  border-color: rgba(39, 231, 225, 0.38);
  box-shadow: 0 6px 20px rgba(0,0,0,.36);
}

.game-card__link {
  display: block;
  position: relative;
}

.game-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform .22s;
}
.game-card:hover .game-card__image { transform: scale(1.03); }

.game-card__badge {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 8px;
  border-radius: 99px;
  pointer-events: none;
}
.game-card__badge--new  { background: var(--green-deep); color: #fff; }
.game-card__badge--early { background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-deep) 100%); color: #fff; }
.game-card__badge--hot  { background: #d94f00; color: #fff; }

.game-card__fav {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(10,10,11,.62);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  transition: color .16s, background .16s;
  z-index: 2;
}
.game-card__fav:hover { color: var(--danger-soft); background: rgba(10,10,11,.88); }
.game-card__fav.is-fav { color: var(--danger-soft); }

.game-card__title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 8px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.games-cta {
  margin-top: 20px;
  text-align: center;
}


/* ══════════════════════════════════════════════════════
   LOYALTY SECTION
   ══════════════════════════════════════════════════════ */
.loyalty-section {
  padding-block: 24px;
  background: linear-gradient(160deg, #0a1e12 0%, #0d1a1d 60%, #0c141a 100%);
  border-top: 1px solid rgba(39,231,225,.08);
  border-bottom: 1px solid rgba(39,231,225,.08);
  position: relative;
  overflow: hidden;
}
.loyalty-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(39,231,225,.06) 0%, transparent 60%),
              radial-gradient(ellipse at 100% 100%, rgba(82,230,118,.05) 0%, transparent 60%);
  pointer-events: none;
}

.loyalty-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.loyalty-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(39,231,225,.2);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loyalty-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.loyalty-subtitle { font-size: 14px; color: var(--muted); }

.loyalty-levels {
  display: flex;
  gap: 8px;
}
.loyalty-level {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  transition: border-color .16s;
}
.loyalty-level.is-active {
  border-color: var(--cyan);
  background: rgba(39,231,225,.07);
}
.loyalty-level__num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--cyan);
}
.loyalty-level__label {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.loyalty-progress__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 7px;
  font-weight: 600;
}

.loyalty-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.loyalty-actions .btn { flex: 1; min-width: 120px; }

/* Ranking */
.loyalty-ranking {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.loyalty-ranking__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.loyalty-ranking__title {
  font-size: 16px;
  font-weight: 700;
}
.panel-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  transition: opacity .15s;
}
.panel-link:hover { opacity: .76; }

.ranking-table { display: flex; flex-direction: column; gap: 0; }
.ranking-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.ranking-row:last-child { border-bottom: none; }
.ranking-row--head {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
}

.ranking-pos {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-panel-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.ranking-pos--gold   { background: var(--gold); color: #222; }
.ranking-pos--silver { background: #b0b3bc; color: #222; }
.ranking-pos--bronze { background: #a06535; color: #fff; }
.ranking-name { color: var(--muted); font-weight: 600; }
.ranking-pts  { color: var(--cyan); font-weight: 700; font-size: 12px; text-align: right; }

.loyalty-history-btn { width: 100%; margin-top: 4px; }


/* ══════════════════════════════════════════════════════
   PROMOTIONS SECTION
   ══════════════════════════════════════════════════════ */
.promotions-section { padding-block: 24px; }

.panel {
  background: var(--bg-panel);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.panel-title {
  font-size: 18px;
  font-weight: 700;
}

.promo-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.promo-card {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.promo-card:last-child { border-bottom: none; }

.promo-card__link { display: block; }
.promo-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: block;
  transition: transform .25s;
}
.promo-card:hover .promo-card__image { transform: scale(1.02); }

.promo-card__body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.promo-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cyan);
  background: rgba(39,231,225,.1);
  border: 1px solid rgba(39,231,225,.2);
  padding: 2px 8px;
  border-radius: 99px;
}
.promo-card__title {
  font-size: 16px;
  font-weight: 700;
}
.promo-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.promo-card__cta {
  align-self: flex-start;
  margin-top: 4px;
  padding: 9px 18px;
  font-size: 13px;
}


/* ══════════════════════════════════════════════════════
   BANKING SECTION
   ══════════════════════════════════════════════════════ */
.banking-section { padding-block: 24px; }

.banking-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.banking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.banking-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.banking-header .btn-ghost {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  border: 1.5px solid rgba(39, 231, 225, 0.35);
  border-radius: var(--radius-xs);
}
.banking-header .btn-ghost:hover { background: rgba(39, 231, 225, 0.1); }

.banking-tabs {
  display: flex;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
  gap: 4px;
}
.banking-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-2);
  position: relative;
  transition: color .16s;
  border-radius: 0;
}
.banking-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background .16s;
}
.banking-tab:hover { color: var(--text); }
.banking-tab.is-active { color: var(--cyan); }
.banking-tab.is-active::after { background: var(--cyan); }

.banking-panel { display: flex; flex-direction: column; }
.banking-panel[hidden] { display: none; }
.banking-panel.is-active { display: flex; }

.banking-list {
  display: flex;
  flex-direction: column;
  background: #000;
}

.banking-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.banking-item:last-child { border-bottom: none; }

.banking-item__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  transition: background .14s;
}
.banking-item__inner:hover { background: rgba(39, 231, 225, 0.07); }

.banking-item__icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banking-item__label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #f4f4f5;
}
.banking-item__arrow { color: rgba(255, 255, 255, 0.45); margin-left: auto; }

.banking-footer {
  padding: 16px 18px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.banking-footer .btn-primary {
  padding: 13px;
  font-size: 15px;
}


/* ══════════════════════════════════════════════════════
   HELP SECTION
   ══════════════════════════════════════════════════════ */
.help-section { padding-block: 24px; }

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.help-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: border-color .16s, background .16s;
}
.help-card:hover {
  border-color: rgba(39, 231, 225, 0.45);
  background: rgba(39, 231, 225, 0.06);
}
.help-card__icon {
  color: var(--cyan);
  display: flex;
}
.help-card__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.help-card__sub {
  font-size: 11px;
  color: var(--muted-2);
}


/* ══════════════════════════════════════════════════════
   SEO SECTION
   ══════════════════════════════════════════════════════ */
.seo-section {
  padding-block: 48px 32px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.seo-inner {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.seo-h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.25;
}

.seo-h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--silver);
  line-height: 1.3;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.seo-h2:first-of-type { margin-top: 0; }

.seo-inner p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.seo-inner p strong { color: var(--text); }
.seo-inner p em { color: var(--muted); font-style: italic; }

/* Tables — mobile : compact, sans défilement horizontal */
.seo-table-wrap {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
}
.seo-table-caption {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted-2);
  padding: 8px 10px 0;
  margin: 0;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
  line-height: 1.35;
}
.seo-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11px;
  background: var(--bg-panel);
}
.seo-table thead tr {
  background: var(--bg-panel-2);
}
.seo-table th {
  padding: 6px 8px;
  text-align: left;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted-2);
  white-space: normal;
  line-height: 1.25;
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  width: 34%;
}
.seo-table th:last-child {
  width: 66%;
}
.seo-table td {
  padding: 6px 8px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.35;
  font-size: 11px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.seo-table td:first-child {
  color: var(--text);
  font-weight: 600;
  white-space: normal;
  width: 34%;
}
.seo-table td:last-child {
  width: 66%;
}
.seo-table tbody tr:hover td { background: rgba(255,255,255,.02); }

/* FAQ SEO */
.seo-faq { display: flex; flex-direction: column; gap: 0; }
.seo-faq-list { display: flex; flex-direction: column; gap: 0; }

.seo-faq-item {
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.seo-faq-item:last-child { border-bottom: none; }

.seo-faq-details { margin: 0; }

.seo-faq-details > .seo-faq-q {
  display: block;
  position: relative;
  padding: 16px 36px 16px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color .16s;
}
.seo-faq-details > .seo-faq-q::-webkit-details-marker { display: none; }
.seo-faq-details > .seo-faq-q::marker { content: ''; }

.seo-faq-details > .seo-faq-q::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--muted-2);
  border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg);
  transition: transform .22s, border-color .16s;
}
.seo-faq-details[open] > .seo-faq-q { color: var(--cyan); }
.seo-faq-details[open] > .seo-faq-q::after {
  margin-top: -2px;
  transform: rotate(225deg);
  border-color: var(--cyan);
}

.seo-faq-details .seo-faq-a {
  padding: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.seo-faq-details .seo-faq-a em { font-style: italic; }

@media (min-width: 1024px) {
  .seo-h1 { font-size: 26px; }
  .seo-h2 { font-size: 20px; }
  .seo-inner p { font-size: 15px; }
  .seo-faq-q { font-size: 15px; }
  .seo-faq-a { font-size: 14px; }

  .seo-table-wrap {
    overflow-x: visible;
  }
  .seo-table {
    font-size: 14px;
    table-layout: auto;
  }
  .seo-table-caption {
    font-size: 12px;
    letter-spacing: .05em;
    padding: 10px 16px 0;
  }
  .seo-table th {
    padding: 11px 16px;
    font-size: 12px;
    letter-spacing: .04em;
    width: auto;
  }
  .seo-table th:last-child {
    width: auto;
  }
  .seo-table td {
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.55;
    width: auto;
  }
  .seo-table td:first-child,
  .seo-table td:last-child {
    width: auto;
  }
}


/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding-bottom: calc(var(--bottom-nav-h) + 8px);
}

.footer-top { padding-block: 32px 20px; }
.footer-brand {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-brand .footer-logo {
  width: auto;
  height: 44px;
  max-width: min(200px, 100%);
  object-fit: contain;
  flex-shrink: 0;
}
.footer-tagline {
  font-size: 13px;
  color: var(--muted-2);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}
.footer-column__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--silver);
  margin-bottom: 10px;
}
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-link {
  font-size: 13px;
  color: var(--muted-2);
  transition: color .14s;
}
.footer-link:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 18px;
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-legal { display: flex; flex-direction: column; gap: 8px; }
.footer-legal__text {
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.6;
}
.footer-legal__link {
  color: var(--cyan);
  text-decoration: underline;
}
.footer-legal__copy {
  font-size: 11px;
  color: var(--muted-2);
}
.footer-responsible {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.responsible-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}


/* ══════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.games-grid .reveal:nth-child(2) { transition-delay: .04s; }
.games-grid .reveal:nth-child(3) { transition-delay: .08s; }
.games-grid .reveal:nth-child(4) { transition-delay: .12s; }
.games-grid .reveal:nth-child(5) { transition-delay: .16s; }
.games-grid .reveal:nth-child(6) { transition-delay: .20s; }
.games-grid .reveal:nth-child(n+7) { transition-delay: .24s; }

.promo-grid .reveal:nth-child(2) { transition-delay: .08s; }
.promo-grid .reveal:nth-child(3) { transition-delay: .16s; }


/* ══════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-slides-track { transition: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ══════════════════════════════════════════════════════
   TABLET BREAKPOINT  (≥ 640px)
   ══════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  :root { --gap: 20px; }

  .games-grid:not(.games-grid--carousel) {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .games-tab-panels .games-grid.games-grid--carousel {
    gap: 12px;
  }
  .games-grid.games-grid--carousel .game-card {
    width: calc((100cqi - 2 * 12px) / 3);
  }

  .help-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }

  .promo-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .promo-card {
    flex: 1 1 280px;
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
  .promo-card:last-child { border-right: none; }
}


/* ══════════════════════════════════════════════════════
   DESKTOP BREAKPOINT  (≥ 1024px)
   ══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  :root {
    --gap: 28px;
    --header-h: 74px;
  }

  body { font-size: 15px; }

  /* Header — desktop */
  .header-logo { height: 54px; }
  .header-nav { display: flex; }
  .header-login-btn { display: inline-flex; }

  .header-search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 400px;
    background: rgba(255,255,255,.05);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 0 14px;
    gap: 10px;
    transition: border-color .16s, background .16s;
  }
  .header-search:focus-within {
    border-color: rgba(39, 231, 225, 0.55);
    background: rgba(39, 231, 225, 0.06);
  }
  .search-icon { color: var(--muted-2); flex-shrink: 0; }
  .header-search__input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 14px;
    height: 44px;
  }
  .header-search__input::placeholder { color: var(--muted-2); }

  /* Cinematic hero — desktop */
  .cinematic-hero { min-height: 520px; max-height: 680px; }
  .cinematic-hero__body { padding-block: 60px 110px; }

  /* Quickplay — desktop */
  .quickplay-card { width: 112px; }
  .quickplay-card img { width: 112px; height: 112px; }
  .quickplay-card span { max-width: 112px; font-size: 11px; }

  /* Games grid (grille classique hors carrousel) */
  .games-grid:not(.games-grid--carousel) {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  /* Carrousel jeux en vedette — ajustements desktop */
  .featured-carousel {
    padding-inline: 52px;
    margin-inline: -8px;
  }
  .featured-carousel__btn {
    width: 40px;
    height: 40px;
  }
  .featured-carousel__btn--prev { left: 4px; }
  .featured-carousel__btn--next { right: 4px; }
  .featured-carousel__viewport {
    padding-block: 4px 10px;
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  }
  .featured-carousel__viewport::-webkit-scrollbar {
    height: 6px;
  }
  .games-tab-panels .games-grid.games-grid--carousel {
    gap: 14px;
  }
  .games-grid.games-grid--carousel .game-card {
    width: calc((100cqi - 3 * 14px) / 4);
  }
  .section-title { font-size: 24px; }

  /* SEO — texte centré (desktop) */
  .seo-inner {
    max-width: 920px;
    margin-inline: auto;
  }
  .seo-inner .seo-h1,
  .seo-inner > p,
  .seo-inner .seo-h2 {
    text-align: center;
    margin-inline: auto;
  }
  .seo-inner > p {
    max-width: 68ch;
  }
  .seo-inner .seo-h2 {
    max-width: 52ch;
  }
  .seo-table-wrap {
    margin-inline: auto;
    max-width: 920px;
  }
  .seo-table-caption,
  .seo-table th,
  .seo-table td {
    text-align: center;
  }
  .seo-table td:first-child {
    white-space: normal;
  }
  .seo-faq-q,
  .seo-faq-a {
    text-align: center;
    margin-inline: auto;
    max-width: 65ch;
  }

  /* Loyalty */
  .loyalty-hero {
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
  }
  .loyalty-card { flex: 1; }
  .loyalty-ranking { flex: 0 0 320px; }

  /* Promotions */
  .promo-grid {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .promo-card {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
  .promo-card:last-child { border-right: none; }

  /* Banking */
  .banking-card { max-width: 760px; margin-inline: auto; }

  /* Help grid */
  .help-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  /* Footer */
  .footer-columns {
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
  }
  .footer-bottom .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .footer-legal { flex: 1; }

  /* Bottom nav on desktop – keep visible */
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    max-width: 620px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: var(--radius) var(--radius) 0 0;
    border: 1px solid var(--line);
    border-bottom: none;
  }
}


/* ══════════════════════════════════════════════════════
   WIDE DESKTOP  (≥ 1280px)
   ══════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
  :root { --gap: 36px; }

  .games-grid:not(.games-grid--carousel) {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .games-grid.games-grid--carousel .game-card {
    width: calc((100cqi - 4 * 16px) / 5);
  }
  .games-tab-panels .games-grid.games-grid--carousel {
    gap: 16px;
  }

  .header-search { max-width: 520px; }

  .help-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (min-width: 1560px) {
  .games-grid:not(.games-grid--carousel) {
    grid-template-columns: repeat(6, 1fr);
  }

  .games-grid.games-grid--carousel .game-card {
    width: calc((100cqi - 5 * 16px) / 6);
  }
}
