/* ============================================================
   BANZAI CASINO — styles.css
   Production-ready · Mobile-first · No external deps
   ============================================================ */

/* ── 1. CSS Variables ───────────────────────────────────────── */
:root {
  --bg:              #f6f4ef;
  --bg-soft:         #fffdf8;
  --bg-sidebar:      #f3ebda;
  --bg-card:         #f7f0e2;
  --text:            #16175a;
  --muted:           #6f7094;
  --line:            rgba(22,23,90,.08);
  --line-strong:     rgba(22,23,90,.14);
  --navy:            #17135e;
  --navy-deep:       #0d0b47;
  --orange:          #ff5a1f;
  --orange-deep:     #ff3f12;
  --yellow:          #ffbf22;
  --red:             #e8321c;
  --white:           #ffffff;
  --radius:          18px;
  --radius-sm:       12px;
  --radius-pill:     50px;
  --shadow-soft:     0 8px 24px rgba(22,23,90,.08);
  --shadow-card:     0 2px 10px rgba(22,23,90,.06);
  --header-h:        62px;
  --mobile-bottom-h: 72px;
  --sidebar-w:       200px;
  --container:       1680px;
  --transition:      .2s ease;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

body.drawer-open { overflow: hidden; }

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

/* ── 3. Skip Link ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -44px; left: 0;
  padding: 8px 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ── 4. Buttons ─────────────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: filter var(--transition), transform var(--transition);
}
.btn-cta:hover { filter: brightness(1.09); transform: translateY(-1px); }
.btn-cta:active { transform: translateY(0); }
.btn-cta:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: rgba(22,23,90,.07); }

.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 36px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-more:hover { background: var(--navy); color: var(--white); }

/* ── 5. Site Layout ─────────────────────────────────────────── */
.site-layout {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - var(--header-h));
}

.site-main { flex: 1; min-width: 0; }

/* ── 6. Mobile Header ───────────────────────────────────────── */
.mobile-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.mobile-header.scrolled { box-shadow: 0 2px 14px rgba(22,23,90,.1); }

.mobile-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  gap: 10px;
}

.mobile-header__brand { display: flex; align-items: center; flex-shrink: 0; }
.mobile-header__logo  { height: 30px; width: auto; }

.mobile-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.mobile-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.mobile-header__btn--login {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line-strong);
}
.mobile-header__btn--login:hover { background: rgba(22,23,90,.06); }
.mobile-header__btn--register {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--white);
  border: none;
  font-weight: 700;
}
.mobile-header__btn--register:hover { filter: brightness(1.08); }

.mobile-header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 9px;
  flex-shrink: 0;
  transition: background var(--transition);
}
.mobile-header__burger:hover { background: var(--line); }
.mobile-header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-header__burger:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ── 7. Desktop Sidebar ─────────────────────────────────────── */
.desktop-sidebar { display: none; }

/* ── 8. Hero Slider ─────────────────────────────────────────── */
.hero-section { position: relative; overflow: hidden; }

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 200px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .65s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }

.hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(13,11,71,.78) 0%,
    rgba(13,11,71,.42) 55%,
    rgba(13,11,71,.12) 100%
  );
}

.hero-slide__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
  overflow: hidden;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  color: var(--white);
  max-width: 340px;
  z-index: 3;
  pointer-events: none;
}

.hero-actions {
  pointer-events: auto;
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,191,34,.18);
  border: 1px solid rgba(255,191,34,.35);
  color: var(--yellow);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(20px, 5.5vw, 44px);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.05;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}

.hero-text {
  font-size: clamp(13px, 2.2vw, 17px);
  line-height: 1.45;
  opacity: .92;
  margin-bottom: 20px;
}

.hero-actions .btn-cta {
  padding: 11px 26px;
  font-size: 14px;
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 6;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.hero-dot.is-active { background: var(--white); transform: scale(1.35); }
.hero-dot:focus-visible { outline: 2px solid var(--yellow); }

/* ── 9. Categories Toolbar ──────────────────────────────────── */
.categories-toolbar-section {
  background: var(--bg);
  padding: 22px 18px 0;
}

.section-heading-mobile {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.toolbar-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.toolbar-tabs::-webkit-scrollbar { display: none; }

.toolbar-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
  background: transparent;
  border: 1.5px solid var(--line-strong);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.toolbar-tab.is-active,
.toolbar-tab:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.toolbar-tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.toolbar-row-2 {
  display: flex;
  gap: 10px;
  align-items: center;
}

.toolbar-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
}
.toolbar-search:focus-within { border-color: rgba(22,23,90,.3); }

.toolbar-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text);
  background: transparent;
  font-family: inherit;
}
.toolbar-search__input::placeholder { color: var(--muted); }

.toolbar-search__icon { flex-shrink: 0; color: var(--muted); }

.toolbar-provider {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  font-weight: 500;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.toolbar-provider:hover { border-color: rgba(22,23,90,.28); }
.toolbar-provider:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ── 10. Games Grid ─────────────────────────────────────────── */
.games-grid-section { padding: 28px 18px; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.section-more {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

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

.game-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.game-card__link { display: block; }
.game-card__link:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: var(--radius-sm); }

.game-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.game-card__body {
  padding: 8px 10px 10px;
}

.game-card__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card__provider {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.section-footer {
  margin-top: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.games-count {
  font-size: 14px;
  color: var(--text);
}
.games-count em {
  color: var(--red);
  font-weight: 700;
  font-style: normal;
}

/* ── 11. Promotions Section ─────────────────────────────────── */
.promotions-section {
  padding: 32px 18px;
  background: var(--bg-soft);
}

.promotions-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  margin: 16px 0 22px;
}
.promotions-tabs::-webkit-scrollbar { display: none; }

.promotions-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--line-strong);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.promotions-tab.is-active,
.promotions-tab:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.promotions-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.promo-card__image-wrap {
  display: block;
  color: inherit;
  text-decoration: none;
}

.promo-card__image {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: block;
}

.promo-card__content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.promo-card__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.promo-card__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

.promo-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 2px;
}

.promo-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  align-items: center;
}

.btn-promo-sec {
  padding: 8px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.btn-promo-sec:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.btn-promo-pri {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: filter var(--transition);
}
.btn-promo-pri:hover { filter: brightness(1.09); }

/* ── 12. VIP Section ────────────────────────────────────────── */
.vip-section {
  padding: 32px 18px 44px;
  background: var(--bg);
}

.vip-hero-wrap {
  display: block;
  margin-bottom: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.vip-hero {
  width: 100%;
  border-radius: 0;
  margin-bottom: 0;
  aspect-ratio: 16/6;
  object-fit: cover;
}

.vip-title {
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 18px;
  text-align: center;
}

.vip-intro {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}

.vip-subtitle {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin: 28px 0 16px;
}

.vip-benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.vip-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.vip-benefit__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: linear-gradient(145deg, rgba(255, 90, 31, 0.1) 0%, rgba(255, 191, 34, 0.14) 100%);
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.vip-benefit__svg {
  width: 22px;
  height: 22px;
  display: block;
}

.vip-benefit__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.vip-benefit__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.vip-conditions {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--line);
}

.vip-conditions h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.vip-conditions ul {
  list-style: disc;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vip-conditions li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── 13. Table Games Section ────────────────────────────────── */
.table-games-section {
  padding: 28px 18px;
  background: var(--bg-soft);
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.table-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.table-card__link { display: block; }
.table-card__link:focus-visible { outline: 2px solid var(--orange); border-radius: var(--radius-sm); }

.table-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.table-card__body { padding: 8px 10px 10px; }

.table-card__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-card__provider {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── 14. FAQ Section ────────────────────────────────────────── */
.faq-section {
  padding: 32px 18px 44px;
  background: var(--bg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}

.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  gap: 14px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
}
.faq-item__btn:hover { background: rgba(22,23,90,.04); }
.faq-item__btn:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }

.faq-item__chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform var(--transition);
}
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }

.faq-item__answer {
  display: none;
  padding: 0 18px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.faq-item.is-open .faq-item__answer { display: block; }

/* ── 15. Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 40px 20px;
  padding-bottom: calc(40px + var(--mobile-bottom-h));
  text-align: center;
}

.footer-inner { max-width: 900px; margin: 0 auto; }

.footer-logo {
  height: 34px;
  width: auto;
  margin: 0 auto 28px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin-bottom: 28px;
}

.footer-link {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}
.footer-link:hover { color: var(--text); }

.footer-copy {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  opacity: .75;
}

/* ── 16. Mobile Bottom Bar ──────────────────────────────────── */
.mobile-bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--bg);
  border-top: 1px solid var(--line);
  height: var(--mobile-bottom-h);
  padding: 0 16px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  align-items: center;
  gap: 10px;
}

.mobile-bottom-bar__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--navy);
  flex-shrink: 0;
  transition: background var(--transition);
  border: none;
  background: none;
}
.mobile-bottom-bar__menu:hover { background: var(--line); }
.mobile-bottom-bar__menu:focus-visible { outline: 2px solid var(--orange); }

.mobile-bottom-bar__register {
  flex: 1;
  height: 46px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: filter var(--transition);
  font-family: inherit;
}
.mobile-bottom-bar__register:hover { filter: brightness(1.07); }

.mobile-bottom-bar__login {
  width: 88px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
.mobile-bottom-bar__login:hover { opacity: .75; }

/* ── 17. Mobile Drawer ──────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(13,11,71,.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.mobile-drawer[hidden] { display: none; }

.mobile-drawer__panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(88vw, 360px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  padding-bottom: 40px;
}
.mobile-drawer__panel::-webkit-scrollbar { display: none; }
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.mobile-drawer__logo { height: 26px; width: auto; }

.mobile-drawer__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  transition: background var(--transition);
  border: none;
  background: none;
}
.mobile-drawer__close:hover { background: var(--line); }
.mobile-drawer__close:focus-visible { outline: 2px solid var(--orange); }

.mobile-drawer__cta {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer__cta .btn-cta {
  display: flex;
  width: 100%;
  padding: 14px;
  font-size: 14px;
  border-radius: var(--radius-pill);
}

.mobile-drawer__connexion {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.mobile-drawer__nav {
  padding: 10px 10px;
  flex: 1;
}

.mobile-drawer__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  transition: background var(--transition);
  cursor: pointer;
}
.mobile-drawer__link:hover { background: rgba(22,23,90,.06); }
.mobile-drawer__link:focus-visible { outline: 2px solid var(--orange); }
.mobile-drawer__link svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--navy); }

.mobile-drawer__meta {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer__meta-link {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  transition: color var(--transition);
}
.mobile-drawer__meta-link:hover { color: var(--text); }

/* ── 18. Chat FAB ───────────────────────────────────────────── */
.chat-fab {
  position: fixed;
  bottom: calc(var(--mobile-bottom-h) + 14px);
  right: 18px;
  z-index: 350;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(255,90,31,.42);
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}
.chat-fab:hover  { transform: scale(1.09); box-shadow: 0 6px 22px rgba(255,90,31,.55); }
.chat-fab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.chat-fab svg { width: 22px; height: 22px; }

/* ── 19. Reveal animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── 21. Tablet (≥ 640px) ───────────────────────────────────── */
@media (min-width: 640px) {
  .games-grid  { grid-template-columns: repeat(3, 1fr); }
  .table-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-links { grid-template-columns: repeat(3, 1fr); }

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

/* ── 22. Desktop (≥ 1024px) ─────────────────────────────────── */
@media (min-width: 1024px) {
  :root {
    --header-h:       0px;
    --mobile-bottom-h: 0px;
  }

  /* Hide mobile-only elements */
  .mobile-header      { display: none !important; }
  .mobile-bottom-bar  { display: none !important; }
  .section-heading-mobile { display: none !important; }

  /* Chat sits at normal bottom */
  .chat-fab { bottom: 28px; }

  /* Sidebar */
  .desktop-sidebar {
    display: flex;
    flex-direction: column;
    width: var(--sidebar-w);
    min-width: var(--sidebar-w);
    flex-shrink: 0;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--line);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    z-index: 100;
  }
  .desktop-sidebar::-webkit-scrollbar { display: none; }

  .sidebar-brand {
    padding: 22px 18px 16px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
  .sidebar-brand__logo { height: 28px; width: auto; }

  .sidebar-cta {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
  .sidebar-cta .btn-cta {
    width: 100%;
    padding: 11px 14px;
    font-size: 11px;
    border-radius: var(--radius-pill);
  }
  .sidebar-cta__login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 12px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 6px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
  }
  .sidebar-cta__login:hover { opacity: .7; }

  .sidebar-nav {
    padding: 10px 8px;
    flex: 1;
  }
  .sidebar-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    background: none;
    border: 1.5px solid transparent;
    width: 100%;
    text-align: left;
    transition: background var(--transition);
    font-family: inherit;
    text-decoration: none;
  }
  .sidebar-nav__link:hover { background: rgba(22,23,90,.06); }
  .sidebar-nav__link.is-active {
    background: rgba(23,19,94,.08);
    border-color: rgba(23,19,94,.16);
    color: var(--navy);
  }
  .sidebar-nav__link:focus-visible { outline: 2px solid var(--orange); }
  .sidebar-nav__link svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--navy); }

  .sidebar-meta {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex-shrink: 0;
  }
  .sidebar-meta__link {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    transition: color var(--transition);
  }
  .sidebar-meta__link:hover { color: var(--text); }

  .sidebar-lang {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--transition);
  }
  .sidebar-lang:hover { color: var(--text); }
  .sidebar-lang__chevron { margin-left: auto; }

  /* Layout adjustments */
  .categories-toolbar-section {
    position: sticky;
    top: 0;
    z-index: 80;
    padding: 18px 28px 0;
    background: var(--bg);
    box-shadow: 0 1px 0 var(--line);
  }
  .toolbar { flex-direction: row; align-items: center; padding-bottom: 18px; }
  .toolbar-tabs { flex: 1; overflow-x: auto; }
  .toolbar-row-2 { flex: 0 0 auto; }

  .games-grid-section { padding: 28px 28px; }
  .promotions-section { padding: 36px 28px; }
  .vip-section { padding: 48px 80px; max-width: 920px; margin: 0 auto; }
  .table-games-section { padding: 28px 28px; }
  .faq-section { padding: 40px 80px; max-width: 920px; margin: 0 auto; }
  .site-footer { padding: 44px 80px; padding-bottom: 44px; }

  /* Grids */
  .games-grid  { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .table-grid  { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .footer-links {
    grid-template-columns: repeat(4, 1fr);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Promotions desktop: image left, content right */
  .promotions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .promo-card { flex-direction: row; min-height: 170px; }
  .promo-card__image-wrap {
    width: 42%;
    flex-shrink: 0;
    align-self: stretch;
  }
  .promo-card__image {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    min-height: 170px;
    object-fit: cover;
  }
  .promo-card__content { flex: 1; justify-content: space-between; }

  /* Hero slider */
  .hero-slider {
    aspect-ratio: 16 / 5.5;
    max-height: 520px;
  }

  /* Game card hover on desktop */
  .game-card:hover  { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(22,23,90,.12); }
  .table-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(22,23,90,.12); }
}

/* ── 23. Large Desktop (≥ 1280px) ───────────────────────────── */
@media (min-width: 1280px) {
  :root { --sidebar-w: 210px; }
  .games-grid { grid-template-columns: repeat(6, 1fr); }
  .table-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ── 24. prefers-reduced-motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-slide { transition: none; }
  .mobile-drawer__panel { transition: none; }
}

/* ── 25. SEO Section ────────────────────────────────────────── */
.seo-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 44px 18px;
  padding-bottom: calc(44px + var(--mobile-bottom-h));
}

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

.seo-h1 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.seo-h2 {
  font-size: clamp(17px, 3vw, 22px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.seo-inner p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.seo-inner p strong {
  color: var(--text);
  font-weight: 700;
}

/* Tables */
.seo-table-wrap {
  margin: 8px 0;
}

.seo-table-caption {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.5;
}

.seo-table-caption small {
  font-weight: 400;
  color: var(--muted);
  display: block;
  margin-top: 3px;
  font-size: 12px;
}

.seo-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
  white-space: nowrap;
}

.seo-table th {
  background: var(--bg-sidebar);
  color: var(--text);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.seo-table td {
  padding: 10px 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.seo-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

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

.seo-table tbody tr:nth-child(even) { background: var(--bg-card); }

.seo-table--2col td:first-child { white-space: nowrap; }
.seo-table--2col td:last-child  { white-space: normal; }

/* SEO tables — mobile : tout tient dans la largeur, sans défilement horizontal */
@media (max-width: 1023px) {
  .seo-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .seo-table-caption {
    font-size: 12px;
    line-height: 1.45;
  }

  .seo-table-caption small {
    font-size: 10px;
  }

  .seo-table-scroll {
    overflow-x: visible;
    -webkit-overflow-scrolling: auto;
  }

  .seo-table {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    font-size: clamp(9px, 2.65vw, 11px);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .seo-table th,
  .seo-table td {
    padding: 5px 3px;
    vertical-align: top;
    line-height: 1.25;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .seo-table th {
    font-size: clamp(8px, 2.35vw, 10px);
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 700;
  }

  .seo-table--2col td:first-child,
  .seo-table--2col td:last-child {
    white-space: normal;
  }

  .seo-table--2col td:first-child {
    width: 34%;
  }

  .seo-table--2col td:last-child {
    width: 66%;
  }
}

/* SEO FAQ */
.seo-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.seo-faq__item {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.seo-faq__item:last-child { border-bottom: none; }
.seo-faq__item:nth-child(even) { background: var(--bg-card); }

.seo-faq__q {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.seo-faq__a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.seo-faq__a strong { color: var(--text); font-weight: 600; }

/* Desktop overrides */
@media (min-width: 1024px) {
  .seo-section {
    padding: 60px 80px;
    padding-bottom: 60px;
  }
}
