/* ==========================================================================
   Betwinner Morocco — styles.css
   Dark brand-true theme · FR (canonical) + AR (RTL) · mobile-first · no framework
   Palette verified from official betwinner logo SVG (#FFCE06 gold).
   All offsets use LOGICAL properties (inline/block) so [dir=rtl] just works.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* palette */
  --bg: #0E0E1A;
  --bg-elev: #161624;
  --bg-elev-2: #1F1F33;
  --bg-soft: #12121E;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);
  --gold: #FFCE06;
  --gold-2: #FFD84D;
  --gold-dim: #B8920A;
  --text: #F4F4F8;
  --text-muted: #A6A6BE;
  --text-dim: #8A8CA6;
  --success: #3DDC84;
  --warn: #FFB454;
  --danger: #FF5A6E;

  /* type — brand stack */
  --font: "Segoe UI", "Helvetica Neue", "Geeza Pro", "Damascus", Tahoma, sans-serif;
  --font-display: "Segoe UI", "Helvetica Neue", Tahoma, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-hero: clamp(2.1rem, 6vw, 3.5rem);
  --fs-h1: clamp(1.7rem, 4vw, 2.5rem);
  --fs-h2: clamp(1.35rem, 3vw, 1.85rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.05rem, 2vw, 1.2rem);
  --fs-body: 1rem;
  --fs-sm: .9rem;
  --fs-xs: .8rem;

  /* spacing scale */
  --sp-1: 8px; --sp-2: 12px; --sp-3: 16px; --sp-4: 24px;
  --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px; --sp-9: 128px;

  /* layout */
  --container: 1240px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --header-h: 64px;

  /* zellige hero pattern (gold geometric lattice, low-opacity) */
  --zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23FFCE06' stroke-opacity='0.10' stroke-width='1'%3E%3Crect x='20' y='20' width='40' height='40'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3Cpath d='M40 14 L40 66 M14 40 L66 40'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.no-smooth { scroll-behavior: auto; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-inline-start: 1.3em; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: #fff; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { color: var(--text); }
strong { color: #fff; font-weight: 700; }
small { font-size: var(--fs-xs); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--border); margin-block: var(--sp-5); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--alt { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-inline: auto; margin-bottom: var(--sp-6); text-align: center; }
.section-head > * { margin-inline: auto; }
.section-head p { color: var(--text-muted); max-width: 52ch; }
.eyebrow { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--sp-2); }
.lead { font-size: var(--fs-lead); color: var(--text-muted); }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.center { text-align: center; }
.mt-auto { margin-top: auto; }

/* ---------- 4. Buttons ---------- */
.btn {
  --bgc: var(--gold); --tc: #1a1303;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 800; font-size: var(--fs-body);
  padding: .85em 1.5em; border-radius: 10px; border: 2px solid transparent;
  background: var(--bgc); color: var(--tc); cursor: pointer;
  text-decoration: none; line-height: 1.1; white-space: nowrap;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  box-shadow: 0 6px 20px -8px rgba(255,206,6,.5);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(255,206,6,.65); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--gold); color: #1a1303; }
.btn--ghost { background: transparent; color: var(--gold); border-color: var(--gold); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,206,6,.1); }
.btn--light { background: var(--bg-elev-2); color: #fff; border-color: var(--border-strong); box-shadow: none; }
.btn--light:hover { background: #2a2a42; }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: .6em 1.1em; font-size: var(--fs-sm); }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.btn-group--center { justify-content: center; }

/* ---------- 5. Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,14,26,.94);
  border-bottom: 1px solid var(--border);
  /* blur on pseudo only — filter on header traps position:fixed children */
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center; gap: var(--sp-3);
  height: var(--header-h); position: relative; z-index: 1;
}
.brand { display: inline-flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; }
.brand img { width: 132px; height: auto; }
.brand:hover { text-decoration: none; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: var(--sp-4); }
.nav-list { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: var(--sp-4); }
.nav-list a {
  color: var(--text-muted); font-weight: 600; font-size: var(--fs-sm); padding: .4em 0;
  position: relative; text-decoration: none;
}
.nav-list a:hover { color: #fff; }
.nav-list a[aria-current="page"] { color: var(--gold); }
.nav-list a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 2px; background: var(--gold); border-radius: 2px;
}
.header-tools { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; }
.nav-toggle {
  display: none; z-index: 130;
  align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--border-strong); background: var(--bg-elev); color: #fff;
  border-radius: var(--radius-sm); cursor: pointer; padding: 0; flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor;
  border-radius: 1px; transition: transform .2s ease, opacity .2s ease, top .2s ease;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-backdrop {
  display: none; position: fixed; inset: 0; top: var(--header-h); z-index: 110;
  background: rgba(0,0,0,.6);
  opacity: 0; transition: opacity .22s ease; border: 0; padding: 0; cursor: pointer;
}
.nav-backdrop.is-visible { display: block; opacity: 1; }
body.nav-open { overflow: hidden; touch-action: none; }
body.nav-open .site-header { z-index: 130; }

.lang-switch { display: inline-flex; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; color: var(--text-muted); font: inherit; font-weight: 700; font-size: var(--fs-xs);
  padding: .4em .7em; border-radius: 999px; cursor: pointer; min-width: 34px;
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: #1a1303; }


/* ---------- 6. Hero (full-bleed composition) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(520px, 72vh, 680px);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
  background: #0a0a14;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--zellige); background-size: 80px 80px; opacity: .35; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; gap: var(--sp-6); grid-template-columns: 1.05fr .95fr;
  align-items: center; padding-block: clamp(48px, 8vw, 88px);
}
.hero-copy { max-width: 36rem; }
.hero h1 { font-family: var(--font-display); font-size: var(--fs-hero); color: #fff; text-wrap: balance; }
.hero h1 .accent { color: var(--gold); }
.hero-lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 42ch; margin-top: var(--sp-3); }
.hero-cta { margin-top: var(--sp-5); }
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem;
  margin-top: var(--sp-5); color: var(--text-dim); font-size: var(--fs-sm);
}
.hero-trust .pill {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 0; background: none; border: 0; border-radius: 0;
}
.hero-trust .pill + .pill::before {
  content: "·"; margin-inline-end: .65rem; color: var(--text-dim); opacity: .7;
}
.hero-trust .pill .ok { color: var(--success); }
.hero-media {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3);
  min-width: 0;
}
.hero-media picture { display: block; width: 100%; }
.hero-banner {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center;
  border-radius: var(--radius); border: 1px solid var(--border-strong);
  box-shadow: 0 28px 56px -24px rgba(0,0,0,.75);
  background: var(--bg-elev-2);
}
.hero-stamp {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(14,14,26,.72); border: 1px solid var(--border);
  border-radius: var(--radius-sm); backdrop-filter: blur(8px);
}
.hero-stamp .license-stamp { transform: none; flex-shrink: 0; }
.hero-stamp-txt { font-size: var(--fs-sm); line-height: 1.45; }
.hero-stamp-txt strong { display: block; color: #fff; }
.hero-stamp-txt .dim { display: block; font-size: var(--fs-xs); }

/* license verified stamp */
.license-stamp {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: .7em 1em;
  border: 2px solid var(--gold); border-radius: var(--radius-sm); transform: rotate(-3deg);
  background: rgba(255,206,6,.06); color: var(--gold);
}
.license-stamp .num { font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .04em; }
.license-stamp .lbl { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- 7. Category tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.tile {
  display: flex; flex-direction: column; gap: .3em; padding: var(--sp-4); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-elev), var(--bg-elev-2)); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; transition: transform .15s, border-color .2s, background .2s;
  min-width: 0;
}
.tile:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--gold); }
.tile strong { color: #fff; font-size: 1.05rem; }
.tile span.muted { font-size: var(--fs-sm); }
.tile .tile-ico { font-size: 1.6rem; line-height: 1; }
.card .ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--gold); margin-bottom: 2px; }
.card .ico .ico-svg { width: 28px; height: 28px; }
.ico { display: inline-flex; align-items: center; justify-content: center; color: var(--gold); line-height: 0; }
.ico .ico-svg { width: 1.5rem; height: 1.5rem; display: block; }
.ico--inline .ico-svg { width: 1.25rem; height: 1.25rem; }
.ico-svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.tile--media {
  padding: 0; overflow: hidden; gap: 0;
  background: var(--bg-elev);
}
.tile--media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .35s ease;
}
.tile--media:hover img { transform: scale(1.04); }
.tile--media > strong {
  padding: var(--sp-3) var(--sp-4) .15em;
}
.tile--media > .muted {
  padding: 0 var(--sp-4) var(--sp-4);
}
.tile--media .tile-body {
  display: flex; flex-direction: column; gap: .2em;
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
}

/* ---------- 8. Carousel + game cards ---------- */
.carousel-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.carousel-head h2 { font-size: var(--fs-h3); }
.carousel-btns { display: flex; gap: var(--sp-1); }
.carousel-btns button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--bg-elev);
  color: #fff; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s, transform .1s;
}
.carousel-btns button:hover:not(:disabled) { background: var(--gold); color: #1a1303; border-color: var(--gold); }
.carousel-btns button:disabled { opacity: .3; cursor: not-allowed; }
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: var(--sp-3);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: var(--sp-2);
  scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.carousel-track.dragging { scroll-behavior: auto; cursor: grabbing; }
.carousel-track.dragging .game-card { pointer-events: none; }
@media (min-width: 768px) { .carousel-track { grid-auto-columns: minmax(220px, 1fr); } }

.game-card {
  scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-elev); border: 1px solid var(--border); scroll-margin-inline-start: 0;
}
.game-card__media { position: relative; aspect-ratio: 3 / 2; background: var(--bg-elev-2); overflow: hidden; }
.game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.game-card:hover .game-card__media img { transform: scale(1.04); }
.game-card__body { padding: var(--sp-2) var(--sp-3); }
.game-card__title { font-size: var(--fs-sm); font-weight: 700; color: #fff; line-height: 1.3; }
.game-card__tag { font-size: var(--fs-xs); color: var(--text-dim); }
.game-card__expand {
  position: absolute; inset-block-start: var(--sp-2); inset-inline-end: var(--sp-2);
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(14,14,26,.7); color: #fff; font-size: 1.1rem; display: grid; place-items: center; backdrop-filter: blur(4px);
}
.game-card__expand:hover { background: var(--gold); color: #1a1303; }
.game-card__detail { display: none; padding: var(--sp-3); border-top: 1px solid var(--border); font-size: var(--fs-sm); color: var(--text-muted); }
.game-card__detail .play { margin-top: var(--sp-2); }
.game-card[aria-expanded="true"] .game-card__detail { display: block; }
.game-card[aria-expanded="true"] .game-card__expand { background: var(--gold); color: #1a1303; }

/* ---------- 9. Promo / feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.card {
  display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5); border-radius: var(--radius);
  background: linear-gradient(165deg, var(--bg-elev), var(--bg-elev-2)); border: 1px solid var(--border);
}
.card h3 { color: #fff; }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }
.card .card-cta { margin-top: auto; padding-top: var(--sp-3); }
.card--gold { border-color: rgba(255,206,6,.35); background: linear-gradient(165deg, rgba(255,206,6,.08), var(--bg-elev-2)); }

/* ---------- 10. Tables (mobile-safe: card-stack under 640px) ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 480px; }
.table-wrap th, .table-wrap td { padding: var(--sp-3); text-align: start; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.table-wrap th { background: var(--bg-elev); color: var(--gold); font-weight: 700; white-space: nowrap; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td .ok { color: var(--success); }
.table-wrap td .no { color: var(--danger); }

/* ---------- 11. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); counter-reset: step; }
.steps:has(> .step:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: var(--sp-4); border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--border); min-width: 0; }
.step::before { counter-increment: step; content: counter(step); position: absolute; inset-block-start: -14px; inset-inline-start: var(--sp-4); width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #1a1303; font-weight: 800; display: grid; place-items: center; font-size: var(--fs-sm); }
.step h3 { font-size: 1.05rem; margin-top: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- 12. Pay grid ---------- */
.pay-grid { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.pay-item { display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); width: 96px; padding: var(--sp-3); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.pay-item img { max-height: 40px; width: auto; object-fit: contain; }
.pay-item span { font-size: var(--fs-xs); color: var(--text-muted); text-align: center; }

/* ---------- 13. FAQ ---------- */
.faq { display: grid; gap: var(--sp-2); max-width: 820px; margin-inline: auto; }
.faq details { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary { cursor: pointer; padding: var(--sp-4); font-weight: 700; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq .answer { padding: var(--sp-4); color: var(--text-muted); font-size: var(--fs-sm); }
.faq .answer p + p { margin-top: var(--sp-2); }

/* ---------- 14. Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.review { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); }
.review__head { display: flex; align-items: center; gap: var(--sp-2); }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #1a1303; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.review__name { font-weight: 700; color: #fff; font-size: var(--fs-sm); }
.review__meta { font-size: var(--fs-xs); color: var(--text-dim); }
.review__stars { color: var(--gold); letter-spacing: 1px; font-size: var(--fs-sm); }
.review__body { font-size: var(--fs-sm); color: var(--text-muted); }
.review__tag { align-self: flex-start; font-size: var(--fs-xs); color: var(--text-dim); border: 1px dashed var(--border-strong); padding: .15em .55em; border-radius: 999px; }
.reviews-note { text-align: center; color: var(--text-dim); font-size: var(--fs-sm); margin-top: var(--sp-4); }

.review-form { max-width: 620px; margin-inline: auto; display: grid; gap: var(--sp-3); padding: var(--sp-5); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); }
.review-form label { font-size: var(--fs-sm); font-weight: 700; color: #fff; display: block; margin-bottom: var(--sp-1); }
.review-form input, .review-form select, .review-form textarea {
  width: 100%; padding: .8em; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--border-strong); color: var(--text); font: inherit;
}
.review-form textarea { min-height: 110px; resize: vertical; }
.review-form .stars-pick { display: inline-flex; gap: 4px; font-size: 1.4rem; cursor: pointer; }
.review-form .stars-pick span { color: var(--text-dim); }
.review-form .stars-pick span.on { color: var(--gold); }
.review-form .hp { position: absolute; left: -9999px; }
.form-msg { padding: var(--sp-3); border-radius: var(--radius-sm); font-size: var(--fs-sm); display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(61,220,132,.12); color: var(--success); border: 1px solid rgba(61,220,132,.3); }
.form-msg.err { background: rgba(255,90,110,.12); color: var(--danger); border: 1px solid rgba(255,90,110,.3); }

/* ---------- 15. Trust badges / responsible ---------- */
.trust-badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); justify-content: center; }
.trust-badges img { height: 56px; width: auto; }
.responsible {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5); border-radius: var(--radius); text-align: center;
  background: rgba(255,90,110,.06); border: 1px solid rgba(255,90,110,.25); color: var(--text-muted); font-size: var(--fs-sm);
}
.responsible strong { color: var(--danger); }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding-block: var(--sp-7) var(--sp-5); margin-top: var(--sp-7); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-5); }
.footer-brand img { width: 132px; }
.footer-brand p { color: var(--text-dim); font-size: var(--fs-sm); margin-top: var(--sp-3); max-width: 36ch; }
.footer-col h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--sp-3); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.footer-col a { color: var(--text-muted); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--gold); }
.footer-legal { margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--border); color: var(--text-dim); font-size: var(--fs-xs); line-height: 1.7; text-align: center; }
.footer-legal .stamp-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; align-items: center; margin-bottom: var(--sp-3); }

/* ---------- 17. Page hero (interior pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 380px at 85% -20%, rgba(255,206,6,.1), transparent 60%), var(--bg-soft); border-bottom: 1px solid var(--border); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--zellige); background-size: 70px 70px; opacity: .6; pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; padding-block: clamp(36px, 5vw, 64px); }
.breadcrumbs { font-size: var(--fs-xs); color: var(--text-dim); margin-bottom: var(--sp-3); }
.breadcrumbs a { color: var(--text-muted); }
.page-hero h1 { font-size: var(--fs-h1); }
.page-hero .lead { margin-top: var(--sp-3); }

/* ---------- 18. Prose / long-form ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose p { color: var(--text-muted); margin-bottom: var(--sp-3); }
.prose ul, .prose ol { color: var(--text-muted); margin-bottom: var(--sp-3); }
.prose li { margin-bottom: var(--sp-1); }
.prose a { color: var(--gold); }

/* ---------- 19. RTL ---------- */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .nav-list a[aria-current="page"]::after { inset-inline: 0; }
[dir="rtl"] .step::before { inset-inline-start: var(--sp-4); }
[dir="rtl"] .game-card__expand { inset-inline-end: var(--sp-2); }


/* ---------- 21. Reveal + reduced motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .footer-brand { grid-column: 1 / -1; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .steps:has(> .step:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .header-tools { margin-inline-start: auto; gap: var(--sp-1); }
  .header-tools .btn--sm { padding: .55em .9em; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    inset-inline-end: 0;
    width: min(320px, 88vw);
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    z-index: 120;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: var(--sp-3) var(--sp-4) var(--sp-5);
    background: #161624;
    border-inline-start: 1px solid var(--border-strong);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(105%, 0, 0);
    transition: transform .28s cubic-bezier(.22,.8,.32,1), opacity .22s ease, visibility .22s ease;
    box-shadow: none;
  }
  [dir="rtl"] .nav { transform: translate3d(-105%, 0, 0); }
  .nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    box-shadow: -20px 0 48px rgba(0,0,0,.55);
  }
  [dir="rtl"] .nav.open { box-shadow: 20px 0 48px rgba(0,0,0,.55); }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-list a {
    display: block;
    padding: 1em .15em;
    font-size: 1.05rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .nav-list a:hover,
  .nav-list a:focus-visible { color: var(--gold); }
  .nav-list a[aria-current="page"] { color: var(--gold); }
  .nav-list a[aria-current="page"]::after { display: none; }
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; padding-block: clamp(28px, 6vw, 48px); gap: var(--sp-4); text-align: center; }
  .hero-copy { max-width: none; margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-media { order: -1; }
  .hero-banner { aspect-ratio: 16 / 10; border-radius: var(--radius-sm); }
  .hero-stamp { text-align: start; }
  .card-grid, .reviews, .steps,
  .steps:has(> .step:nth-child(4):last-child) { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* tables → card stack, no horizontal scroll */
  .table-wrap table { min-width: 0; }
  .table-wrap thead { display: none; }
  .table-wrap, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
  .table-wrap tr { padding: var(--sp-3); border-bottom: 1px solid var(--border); }
  .table-wrap tr:last-child { border-bottom: 0; }
  .table-wrap td { padding: .35em 0; border: 0; }
  .table-wrap td::before { content: attr(data-th) " "; color: var(--gold); font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; }
  .footer-grid { grid-template-columns: 1fr; }
  .carousel-track { grid-auto-columns: 78%; }
  .brand img { width: 116px; }
  .tile-grid { gap: var(--sp-2); }
  .btn-group { justify-content: center; }
}
@media (max-width: 380px) {
  .tile-grid { grid-template-columns: 1fr; }
}
