/* ============================================================
   Betwinner Tchad — styles
   Charcoal + gold · mobile-first · no framework
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root{
  /* surfaces */
  --charcoal:#0F1419;
  --surface:#171D26;
  --surface-2:#1F2630;
  --surface-3:#272F3A;

  /* brand */
  --gold:#F2C200;
  --gold-press:#D9AE00;

  /* Chad secondary/tertiary */
  --lake:#0E7A8C;
  --lake-bright:#3FB3C7;
  --terracotta:#C25E32;
  --terracotta-bright:#D9764A;

  /* text */
  --ink:#ECE7DC;
  --ink-mute:#9BA2AC;
  --ink-faint:#8C939D;

  /* lines */
  --hair:rgba(242,194,0,.18);
  --rule:rgba(236,231,220,.10);
  --rule-2:rgba(236,231,220,.16);

  /* feedback */
  --ok:#4CAF7A;
  --ok-bg:rgba(76,175,122,.10);
  --warn:#E0A33E;
  --warn-bg:rgba(224,163,62,.10);
  --bad:#D9534F;
  --bad-bg:rgba(217,83,79,.10);

  /* type */
  --ff:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Roboto,sans-serif;
  --fs-d1:clamp(2rem,1.4rem + 2.6vw,3.25rem);
  --fs-d2:clamp(1.5rem,1.15rem + 1.5vw,2.1rem);
  --fs-d3:clamp(1.15rem,1rem + .6vw,1.4rem);
  --fs-body:clamp(1rem,.96rem + .2vw,1.0625rem);
  --fs-sm:.875rem;
  --fs-xs:.75rem;

  /* spacing scale */
  --s4:4px;--s8:8px;--s12:12px;--s16:16px;--s24:24px;--s32:32px;--s48:48px;--s64:64px;--s96:96px;

  /* layout */
  --container:1240px;
  --radius:14px;
  --radius-sm:10px;

  /* Sao–Kanem ribbon (3 usages only) */
  --ribbon:linear-gradient(90deg,
    var(--gold) 0 8.3%, transparent 8.3% 16.6%,
    var(--lake-bright) 16.6% 25%, transparent 25% 50%,
    var(--terracotta) 50% 52%, transparent 52% 66.6%,
    var(--gold) 66.6% 75%, transparent 75% 83.3%,
    var(--terracotta-bright) 83.3% 91.6%, transparent 91.6% 100%);
}

/* ---------- 2. RESET ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  font-family:var(--ff);
  font-size:var(--fs-body);
  line-height:1.65;
  color:var(--ink);
  background:var(--charcoal);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(14,122,140,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(242,194,0,.05), transparent 55%);
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--lake-bright);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:2px}
ul,ol{padding-inline-start:1.25em}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
:focus-visible{outline:2px solid var(--lake-bright);outline-offset:2px;border-radius:4px}
.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}
.skip-link{position:absolute;left:-999px;top:0;z-index:200;background:var(--gold);color:#111;padding:10px 16px;border-radius:0 0 8px 0;font-weight:700}
.skip-link:focus{left:0}

h1,h2,h3,h4{line-height:1.18;font-weight:800;letter-spacing:-.02em;text-wrap:balance;color:#fff;overflow-wrap:anywhere}
h1{font-size:var(--fs-d1)}
h2{font-size:var(--fs-d2)}
h3{font-size:var(--fs-d3)}
h4{font-size:1.05rem}
p{max-width:72ch;overflow-wrap:break-word}
.lead{font-size:1.1rem;color:var(--ink-mute);overflow-wrap:break-word}
strong{color:#fff}
.gold{color:var(--gold)}
.lake{color:var(--lake-bright)}
.terra{color:var(--terracotta-bright)}
.num{font-variant-numeric:tabular-nums}

/* ---------- 3. LAYOUT CORE (anti-broken-sections) ---------- */
.container{max-width:var(--container);margin-inline:auto;padding-inline:clamp(16px,4vw,32px);width:100%}
.section{padding-block:clamp(40px,6vw,80px)}
.section--tight{padding-block:clamp(28px,4vw,48px)}
.section--alt{background:linear-gradient(180deg,var(--surface) 0%,var(--charcoal) 100%)}
.center-block{max-width:62ch;margin-inline:auto;text-align:left}
.center-block > h2,
.center-block > h3,
.center-block > .eyebrow{text-align:center;text-wrap:balance}
.center-block > p:first-of-type{text-align:center}
.center-block ul,.center-block ol{
  text-align:left;margin-inline:0;padding-inline-start:1.2em;max-width:100%;
}
.page-intro{
  max-width:720px;margin-inline:auto;text-align:center;
}
.page-intro .trust-strip{justify-content:center;flex-wrap:wrap}
.page-intro h1{text-wrap:balance}
.page-intro .lead{margin-inline:auto;max-width:58ch}
.legal-slot{
  display:inline;color:var(--gold);font-style:italic;font-weight:600;
  border-bottom:1px dashed rgba(242,194,0,.45);
}
.legal-note{
  max-width:680px;margin:24px auto 0;text-align:center;font-size:.88rem;color:var(--ink-faint);
}
.stack>*+*{margin-top:var(--s16)}
.stack-lg>*+*{margin-top:var(--s24)}

.eyebrow{
  display:inline-block;font-size:var(--fs-xs);font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--lake-bright);margin-bottom:var(--s12);
}
.divider-ribbon{
  height:6px;width:128px;margin:var(--s16) auto 0;border-radius:99px;
  background:var(--ribbon);background-size:48px 6px;
}

/* ---------- 4. HEADER + NAV ---------- */
.site-header{position:sticky;top:0;z-index:100;background:rgba(15,20,25,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--rule)}
.site-header::after{content:"";display:block;height:3px;background:var(--ribbon);background-size:48px 3px}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:var(--s16);height:68px}
.brand{
  display:inline-flex;flex-direction:row;align-items:center;gap:10px;
  font-weight:800;color:#fff;text-decoration:none;line-height:1;white-space:nowrap;
}
.brand:hover{text-decoration:none;opacity:.94}
.brand-mark{
  width:40px;height:40px;border-radius:10px;object-fit:cover;display:block;
  border:1px solid rgba(242,194,0,.35);box-shadow:0 0 0 1px rgba(0,0,0,.25);
  flex:0 0 auto;
}
.site-header .brand-mark{display:none} /* wordmark only in header */
.brand-text{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.brand-wordmark{height:24px;width:auto;display:block;max-width:168px}
.brand small{display:block;font-size:.55rem;font-weight:600;letter-spacing:.14em;color:var(--ink-mute);text-transform:uppercase;line-height:1.2}
.nav{margin-inline:auto}
.nav ul{display:flex;gap:var(--s4);list-style:none;padding:0}
.nav a{display:block;padding:8px 12px;border-radius:8px;color:var(--ink-mute);font-size:.92rem;font-weight:600;white-space:nowrap}
.nav a:hover,.nav a[aria-current="true"]{background:var(--surface-2);color:var(--ink);text-decoration:none}
.header-actions{display:flex;align-items:center;gap:var(--s8);margin-left:auto;flex-shrink:0}
.lang{display:inline-flex;align-items:center;gap:4px;padding:7px 10px;border:1px solid var(--rule-2);border-radius:8px;font-size:.85rem;color:var(--ink-mute);font-weight:600}
.lang-flag{width:14px;height:10px;border-radius:1px;display:inline-block;background:linear-gradient(180deg,#002395 0 33%,#fff 33% 66%,#ed2939 66% 100%);box-shadow:0 0 0 1px rgba(255,255,255,.15);flex-shrink:0}
.nav-toggle{display:none;width:42px;height:42px;border-radius:8px;border:1px solid var(--rule-2);align-items:center;justify-content:center}
.nav-toggle span{display:block;width:18px;height:2px;background:var(--ink);position:relative}
.nav-toggle span::before,.nav-toggle span::after{content:"";position:absolute;left:0;width:18px;height:2px;background:var(--ink)}
.nav-toggle span::before{top:-6px}.nav-toggle span::after{top:6px}

@media (max-width:1024px){
  .nav{position:fixed;inset:68px 0 auto 0;background:var(--surface);border-bottom:1px solid var(--rule);max-height:0;overflow:hidden;transition:max-height .25s ease;margin:0;z-index:99}
  .nav.open{max-height:75vh;overflow:auto}
  .nav ul{flex-direction:column;gap:0;padding:var(--s8) var(--s16)}
  .nav a{padding:12px 8px;border-radius:0;border-bottom:1px solid var(--rule)}
  .nav-toggle{display:inline-flex}
  .header-inner{gap:var(--s8);justify-content:space-between}
  .header-actions{margin-left:auto;gap:var(--s8)}
  .brand{min-width:0;flex:0 1 auto}
}
@media (max-width:600px){
  .header-actions .lang{display:none}
  .header-actions .lite-toggle{display:none}
  .header-actions .btn--sm{padding:8px 12px;min-height:40px;font-size:.85rem;flex-shrink:0}
  .header-actions{gap:6px}
  .header-inner{gap:var(--s8)}
  .brand-mark{width:34px;height:34px;border-radius:8px}
  .brand-wordmark{height:18px}
}
@media (max-width:380px){
  .brand-wordmark{height:16px}
  .brand small{display:none}
}

/* ---------- 5. BUTTONS ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--s8);
  padding:12px 22px;border-radius:var(--radius-sm);font-weight:700;font-size:.98rem;
  text-align:center;white-space:nowrap;transition:transform .12s ease,background .15s ease;
  min-height:46px;
}
.btn:hover{text-decoration:none}
.btn--gold{background:var(--gold);color:#111}
.btn--gold:hover{background:var(--gold-press);transform:translateY(-1px)}
.btn--ghost{background:transparent;color:var(--ink);border:1px solid var(--rule-2)}
.btn--ghost:hover{background:var(--surface-2);border-color:var(--lake-bright)}
.btn--lake{background:var(--lake);color:#fff}
.btn--lake:hover{background:#0b6170}
.btn--block{display:flex;width:100%}
.btn--sm{padding:8px 14px;min-height:38px;font-size:.88rem}
.btn--lg{padding:14px 30px;min-height:54px;font-size:1.05rem}

/* ---------- 6. HERO ---------- */
.hero{padding-block:clamp(36px,5vw,64px) clamp(28px,4vw,48px);position:relative;overflow:hidden}
.hero--bleed{
  min-height:min(78vh,720px);display:flex;align-items:center;
  padding-block:clamp(48px,8vw,96px);isolation:isolate;
}
.hero-bg{
  position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(242,194,0,.12), transparent 55%),
    radial-gradient(700px 420px at 10% 80%, rgba(27,94,64,.35), transparent 60%),
    linear-gradient(135deg, #0B1210 0%, #0F1419 45%, #13261c 100%);
}
.hero-bg::after{
  content:"";position:absolute;inset:0;
  background-image:url("assets/banners/slot-games.webp");
  background-size:min(52vw,520px);background-repeat:no-repeat;background-position:right 4% center;
  opacity:.18;filter:saturate(1.1);
  mask-image:linear-gradient(90deg, transparent 20%, #000 70%);
  -webkit-mask-image:linear-gradient(90deg, transparent 20%, #000 70%);
}
.hero--bleed .container{position:relative;z-index:1}
.hero-brand{
  width:88px;height:88px;border-radius:18px;object-fit:cover;margin-bottom:18px;
  border:1px solid rgba(242,194,0,.4);box-shadow:0 12px 40px rgba(0,0,0,.35);
}
.hero-grid{display:grid;gap:var(--s32);align-items:center}
.hero h1{margin-bottom:var(--s16)}
.hero .lead{margin-bottom:var(--s24);max-width:54ch}
.hero-cta{display:flex;flex-wrap:wrap;gap:var(--s12);margin-bottom:0;justify-content:center}
.trust-strip{display:flex;flex-wrap:wrap;gap:var(--s8)}
.pill{
  display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:99px;
  background:rgba(23,29,38,.85);border:1px solid var(--rule-2);font-size:.82rem;font-weight:600;color:var(--ink-mute);
  backdrop-filter:blur(6px);
}
.pill .dot{width:7px;height:7px;border-radius:50%;background:var(--ok)}
.pill .dot.warn{background:var(--warn)}
.hero-visual{position:relative;display:flex;align-items:center;justify-content:center;min-height:240px}
.hero-photo{
  width:100%;max-width:640px;height:auto;aspect-ratio:auto;
  object-fit:contain;object-position:center;
  border-radius:var(--radius);border:1px solid var(--rule);
  box-shadow:0 18px 48px rgba(0,0,0,.45);
  background:var(--surface-2);
}
.hero-photo--square{
  max-width:420px;aspect-ratio:1;object-fit:cover;
}
.hero-medallion{
  width:min(320px,80%);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle at 50% 40%,var(--surface-2),var(--charcoal));
  border:1px solid var(--hair);
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--s24);
  position:relative;
}
.hero-medallion::before{content:"";position:absolute;inset:-6px;border-radius:50%;border:2px dashed rgba(242,194,0,.25)}
.hero-medallion .big{font-size:clamp(2.6rem,7vw,3.6rem);font-weight:900;color:var(--gold);line-height:1;letter-spacing:-.03em}
.hero-medallion .lbl{font-size:.82rem;color:var(--ink-mute);margin-top:6px;max-width:18ch}
@media (min-width:880px){.hero-grid{grid-template-columns:1.1fr .9fr}}
@media (max-width:879px){
  .hero-grid{text-align:center}
  .hero .lead{margin-inline:auto}
  .hero-cta,.trust-strip{justify-content:center}
  .hero-photo{max-width:min(100%,520px)}
  .hero-photo--square{max-width:280px}
  .hero-brand{margin-inline:auto}
  .hero-bg::after{opacity:.1;background-position:center top;background-size:120%;mask-image:none;-webkit-mask-image:none}
}

/* ---------- 7. TILES / CARDS / GRID ---------- */
.grid{display:grid;gap:clamp(16px,2vw,24px)}
.grid--tiles{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.grid--2{grid-template-columns:1fr}
.grid--3{grid-template-columns:1fr}
.grid--4{grid-template-columns:repeat(2,1fr)}
@media (min-width:680px){.grid--3{grid-template-columns:repeat(2,1fr)}}
@media (min-width:920px){.grid--2{grid-template-columns:repeat(2,1fr)}.grid--3{grid-template-columns:repeat(3,1fr)}.grid--4{grid-template-columns:repeat(4,1fr)}}

.card{
  background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius);
  padding:var(--s24);position:relative;transition:transform .15s ease,border-color .15s ease;
  display:flex;flex-direction:column;gap:var(--s12);
}
.card:hover{transform:translateY(-2px);border-color:var(--hair)}
.card::before{content:"";position:absolute;top:0;left:24px;right:24px;height:2px;background:var(--gold);border-radius:99px;opacity:0;transition:opacity .15s}
.card:hover::before{opacity:1}
.card .ico{
  width:48px;height:48px;border-radius:12px;background:rgba(242,194,0,.08);
  border:1px solid rgba(242,194,0,.22);
  display:flex;align-items:center;justify-content:center;color:var(--gold);
  flex-shrink:0;
}
.card .ico img,.card .ico svg{width:24px;height:24px;display:block}
.card h3{font-size:1.2rem}
.card p{color:var(--ink-mute);font-size:.96rem}
.card .card-cta{margin-top:auto;padding-top:var(--s12)}

.tile-stat{font-size:1.7rem;font-weight:800;color:var(--gold);letter-spacing:-.02em}
.tile-stat .unit{font-size:.95rem;color:var(--ink-mute);font-weight:600}

/* ---------- 8. CAROUSEL ---------- */
.carousel-head{display:flex;align-items:center;justify-content:space-between;gap:var(--s12);margin-bottom:var(--s16)}
.carousel-head a{font-size:.9rem;font-weight:600;color:var(--lake-bright)}
.carousel{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:var(--s12);scrollbar-width:thin;scrollbar-color:var(--surface-3) transparent}
.carousel::-webkit-scrollbar{height:6px}
.carousel::-webkit-scrollbar-thumb{background:var(--surface-3);border-radius:99px}
.game-card{
  flex:0 0 clamp(140px,42vw,176px);scroll-snap-align:start;background:var(--surface);
  border:1px solid var(--rule);border-radius:var(--radius-sm);overflow:hidden;display:flex;flex-direction:column;
  text-decoration:none;color:inherit;min-width:0;
}
a.game-card:hover{text-decoration:none;border-color:var(--hair)}
.game-card .cover{aspect-ratio:1;background:var(--surface-2);position:relative;display:block;border:0;padding:0;width:100%;cursor:pointer;color:inherit;overflow:hidden}
.carousel > a.game-card .cover{aspect-ratio:16/10} /* generic linked cards */
.carousel--promo.carousel > a.game-card,
.carousel--promo > a.game-card{
  flex:0 0 clamp(260px,72vw,380px);
}
.carousel--promo.carousel > a.game-card .cover,
.carousel--promo > a.game-card .cover{
  aspect-ratio:4 / 1; /* banners 1000×250 — must beat 16/10 rule */
  background:#0b0f14;
}
.carousel--promo.carousel > a.game-card .cover img,
.carousel--promo > a.game-card .cover img{
  width:100%;height:100%;
  object-fit:contain; /* show full banner, no crop */
  object-position:center center;
  display:block;
}
.carousel--live .game-card .cover{aspect-ratio:16/9} /* Evolution live covers ~1.88 */
.carousel--live .game-card .cover img{object-position:center center}
.game-card .cover img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.game-card .cover .play{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;
  background:rgba(15,20,25,.6);transition:opacity .15s;
}
.game-card:hover .cover .play,.game-card:focus-within .cover .play{opacity:1}
@media (hover:none){.game-card .cover .play{opacity:1;background:linear-gradient(transparent 55%,rgba(15,20,25,.55))}}
.game-card .cover .play .btn{padding:8px 16px;min-height:36px;font-size:.82rem;pointer-events:none}
.game-card .meta{padding:8px 10px;display:flex;flex-direction:column;gap:2px}
.game-card .meta .name{font-size:.84rem;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-card .meta .prov{font-size:.7rem;color:var(--ink-faint)}
.game-card .desc{padding:0 10px 10px;font-size:.8rem;color:var(--ink-mute);display:none}
.game-card.open .desc{display:block}
.carousel-nav{display:flex;gap:var(--s8)}
.carousel-nav button{width:40px;height:40px;border-radius:50%;border:1px solid var(--rule-2);background:var(--surface);color:var(--ink);display:inline-flex;align-items:center;justify-content:center}
.carousel-nav button:hover{border-color:var(--lake-bright);color:var(--lake-bright)}

/* ---------- 9. CALLOUTS (moat) ---------- */
.callout{
  display:flex;gap:var(--s12);align-items:flex-start;padding:var(--s16);border-radius:var(--radius-sm);
  border:1px solid var(--rule);border-left-width:4px;background:var(--surface);
  max-width:1000px;width:100%;text-align:left;
}
.callout .ci{
  flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;max-width:28px;max-height:28px;
  font-weight:800;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  font-size:.8rem;line-height:1;margin-top:2px;
}
.callout p{color:var(--ink);font-size:.95rem;max-width:none;margin:0;min-width:0}
.callout p strong{color:#fff}
.callout--ok{border-left-color:var(--ok);background:var(--ok-bg)}.callout--ok .ci{background:var(--ok);color:#062}
.callout--warn{border-left-color:var(--warn);background:var(--warn-bg)}.callout--warn .ci{background:var(--warn);color:#3a2400}
.callout--bad{border-left-color:var(--bad);background:var(--bad-bg)}.callout--bad .ci{background:var(--bad);color:#fff}
.callout--info{border-left-color:var(--lake-bright);background:rgba(63,179,199,.08)}.callout--info .ci{background:var(--lake-bright);color:#04262b}
.callout code{background:var(--surface-3);padding:1px 6px;border-radius:4px;font-size:.85em;color:var(--gold);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}

/* ---------- 10. TABLES (stack on mobile) ---------- */
.table-wrap{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--rule);-webkit-overflow-scrolling:touch}
table{width:100%;border-collapse:collapse;font-size:.94rem;min-width:480px}
thead th{background:var(--surface-2);text-align:left;padding:12px 14px;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-mute);font-weight:700}
tbody td{padding:12px 14px;border-top:1px solid var(--rule);vertical-align:top}
tbody tr:nth-child(even){background:rgba(255,255,255,.015)}
td .yes{color:var(--ok);font-weight:700}
td .no{color:var(--bad);font-weight:700;text-decoration:line-through;text-decoration-color:rgba(217,83,79,.5)}
@media (max-width:680px){
  /* stacked cards */
  table{min-width:0}
  thead{display:none}
  tbody,tbody tr,tbody td{display:block;width:100%}
  tbody tr{background:var(--surface)!important;border:1px solid var(--rule);border-radius:var(--radius-sm);margin-bottom:var(--s12);padding:var(--s8)}
  tbody td{border:0;padding:6px 12px}
  tbody td::before{content:attr(data-label);display:block;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-faint);font-weight:700;margin-bottom:2px}
}

/* ---------- 11. FAQ ---------- */
.faq{display:flex;flex-direction:column;gap:var(--s12);max-width:760px}
.faq details{background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius-sm);padding:0}
.faq summary{padding:var(--s16);font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:var(--s12);align-items:center;color:#fff}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.3rem;color:var(--gold);font-weight:400;transition:transform .2s}
.faq details[open] summary::after{content:"–"}
.faq .ans{padding:0 var(--s16) var(--s16);color:var(--ink-mute);font-size:.95rem}
.faq .ans>*+*{margin-top:var(--s8)}

/* ---------- 12. PAYMENTS STRIP ---------- */
.pay-strip{display:flex;flex-wrap:wrap;gap:var(--s12)}
.pay{
  display:inline-flex;align-items:center;gap:var(--s8);padding:8px 14px;border-radius:var(--radius-sm);
  background:var(--surface);border:1px solid var(--rule);font-weight:600;font-size:.9rem;color:var(--ink);
}
.pay img{height:24px;width:auto;max-width:48px;object-fit:contain;flex:0 0 auto}
.pay .ph{width:34px;height:22px;border-radius:4px;background:var(--surface-3);display:inline-flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:800;color:var(--gold)}

/* ---------- 13. BADGES / TRUST ---------- */
.badges{display:flex;flex-wrap:wrap;gap:var(--s12);align-items:center}
.badge{
  display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:var(--radius-sm);
  background:var(--surface);border:1px solid var(--rule);font-size:.82rem;color:var(--ink-mute);font-weight:600;
  max-width:100%;
}
.badge img{
  height:22px;width:auto;max-width:48px;object-fit:contain;flex:0 0 auto;
}
.badge--license{
  flex-wrap:wrap;row-gap:4px;align-items:center;
}
.badge--license img{height:28px!important;width:auto!important;max-width:72px!important;max-height:28px!important;object-fit:contain}
.badge a{color:var(--ink-mute)}
.badge a:hover{color:var(--lake-bright)}

/* ---------- 14. STEPS ---------- */
.steps{display:flex;flex-direction:column;gap:var(--s16);counter-reset:step}
.step{display:flex;gap:var(--s16);align-items:flex-start;background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius);padding:var(--s16);text-align:left}
.step .n{flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--gold);color:#111;font-weight:800;display:inline-flex;align-items:center;justify-content:center;counter-increment:step;line-height:1}
.step .n::before{content:counter(step)}
.step h3{font-size:1.05rem;margin-bottom:4px}
.step p{color:var(--ink-mute);font-size:.94rem}
.step > div{min-width:0;flex:1}

/* ---------- 15. FAQ / SEO-TEXT / CONTENT ---------- */
#seo-text{max-width:none}
#seo-text p{margin-bottom:var(--s16);color:var(--ink-mute)}
#seo-text h2,#seo-text h3{margin-top:var(--s32)}
.prose{color:var(--ink-mute)}
.prose p{margin-bottom:var(--s16)}
.prose h2{margin-top:var(--s32);margin-bottom:var(--s12)}
.prose h3{margin-top:var(--s24);margin-bottom:var(--s8);color:#fff}
.prose ul{margin:0 0 var(--s16);color:var(--ink-mute)}
.prose li{margin-bottom:var(--s8)}
.prose a{color:var(--lake-bright)}

/* ---------- 16. CTA BANNER ---------- */
.cta-banner{
  background:linear-gradient(135deg,var(--surface) 0%,var(--surface-2) 100%);
  border:1px solid var(--hair);border-radius:var(--radius);padding:clamp(24px,4vw,40px);
  text-align:center;display:flex;flex-direction:column;align-items:center;gap:var(--s16);position:relative;overflow:hidden;
}
.cta-banner::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--ribbon);background-size:48px 4px}
.cta-banner h2{margin:0}
.cta-banner p{color:var(--ink-mute);margin:0;max-width:52ch}

/* ---------- 17. FOOTER ---------- */
.site-footer{background:var(--surface);border-top:1px solid var(--rule);padding-block:var(--s48) var(--s32);margin-top:var(--s48)}
.site-footer::before{content:"";display:block;height:3px;background:var(--ribbon);background-size:48px 3px;margin:-48px 0 var(--s32)}
.footer-grid{display:grid;gap:var(--s32);grid-template-columns:1fr}
@media (min-width:760px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}}
.footer-col h2{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-mute);margin-bottom:var(--s12)}
.footer-col ul{list-style:none;padding:0}
.footer-col li{margin-bottom:var(--s8)}
.footer-col a{color:var(--ink-mute);font-size:.92rem}
.footer-col a:hover{color:var(--ink)}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:12px}
.footer-brand .brand-wordmark{height:22px;width:auto;max-width:160px}
.footer-brand small{font-size:.55rem;font-weight:600;letter-spacing:.14em;color:var(--ink-mute);text-transform:uppercase}
.footer-col .badges{margin-top:12px}
.footer-legal{margin-top:var(--s32);padding-top:var(--s24);border-top:1px solid var(--rule);font-size:.82rem;color:var(--ink-faint);max-width:none}
.footer-legal p{color:var(--ink-faint);margin-bottom:var(--s8)}
@media (max-width:680px){
  .footer-col,.footer-brand{align-items:center;text-align:center}
  .footer-col h2{text-align:center}
  .footer-col ul{display:flex;flex-direction:column;align-items:center;text-align:center}
  .footer-col .badges{justify-content:center}
  .footer-legal{text-align:center}
  .badge--license{justify-content:center;text-align:center}
}
.licence-line{display:flex;flex-wrap:wrap;gap:var(--s12);align-items:center;margin-top:var(--s16)}

/* ---------- 18. RESPONSIBLE GAMING MICRO-BLOCK ---------- */
.rg-bar{
  display:flex;flex-wrap:wrap;align-items:center;gap:var(--s12);justify-content:center;
  padding:var(--s12);border-top:1px solid var(--rule);background:var(--surface);
  font-size:.82rem;color:var(--ink-mute);text-align:center;
}
.rg-bar strong{color:var(--warn)}

/* ---------- 19. LITE MODE ---------- */
.lite .hero-visual,.lite .cta-banner{background:none;border-color:var(--rule)}
.lite img[data-full]{content:""}
.lite .reveal{opacity:1!important;transform:none!important}
.lite-toggle{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--rule-2);border-radius:8px;font-size:.8rem;color:var(--ink-mute);font-weight:600}
.lite-toggle[aria-pressed="true"]{border-color:var(--lake-bright);color:var(--lake-bright)}

/* ---------- 20. REVEAL ANIMATION ---------- */
.reveal{opacity:0;transform:translateY(12px);transition:opacity .4s ease,transform .4s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* ---------- 21. UTILITIES ---------- */
.mt-0{margin-top:0}.mt-8{margin-top:var(--s8)}.mt-16{margin-top:var(--s16)}.mt-24{margin-top:var(--s24)}.mt-32{margin-top:var(--s32)}
.mb-0{margin-bottom:0}.mb-16{margin-bottom:var(--s16)}.mb-24{margin-bottom:var(--s24)}.mb-32{margin-bottom:var(--s32)}
.text-center{text-align:center}
.hide{display:none}
.muted{color:var(--ink-mute)}
.nowrap{white-space:nowrap}
.two-col{columns:2;column-gap:var(--s32)}
@media (max-width:680px){.two-col{columns:1}}
.kbd{font-family:ui-monospace,monospace;background:var(--surface-3);padding:1px 6px;border-radius:4px;font-size:.85em;color:var(--ink)}

/* ---------- 22. REVIEWS ---------- */
.review{background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius);padding:var(--s24);display:flex;flex-direction:column;gap:var(--s8);height:100%}
.review-head{display:flex;align-items:center;justify-content:space-between;gap:var(--s12);margin-bottom:4px}
.review-stars{color:var(--gold);letter-spacing:2px;font-size:1.05rem}
.review-name{font-size:.86rem;font-weight:700;color:var(--ink)}
.review-title{font-size:1.05rem;color:#fff;line-height:1.3}
.review-body{color:var(--ink-mute);font-size:.94rem;flex:1}
.review-meta{font-size:.76rem;color:var(--ink-faint);border-top:1px solid var(--rule);padding-top:var(--s12)}
.reviews-note{font-size:.84rem;color:var(--ink-faint);margin-top:var(--s16);max-width:none}
.reviews-empty{
  max-width:720px;margin-inline:auto;text-align:center;
  background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius);
  padding:clamp(24px,4vw,40px);
}
.reviews-empty-title{font-size:1.15rem;font-weight:800;color:#fff;margin-bottom:var(--s12)}
.reviews-empty-body{color:var(--ink-mute);margin:0 auto var(--s16);max-width:54ch}
.reviews-empty-links{font-size:.92rem;margin:0}
.reviews-empty-links a{font-weight:600}

/* ---------- 23. CENTERING + MOBILE POLISH ---------- */
.section-head{
  text-align:center;
  max-width:720px;
  margin-inline:auto;
  margin-bottom:var(--s32);
}
.section-head .divider-ribbon{margin-inline:auto}
.section-head .lead,
.section-head p,
.section-head .muted{
  margin-inline:auto;
  max-width:58ch;
}
.section-head h1,
.section-head h2,
.section-head h3{margin-inline:auto;text-wrap:balance}

.section > .container > .lead{
  text-align:center;
  margin-inline:auto;
  max-width:60ch;
}

/* Subheads + CTAs under tables */
.section > .container > h3,
.section-subhead{
  text-align:center;margin:var(--s32) auto var(--s16);max-width:40ch;text-wrap:balance;
}
.section-cta,
.reveal > .section-cta,
.table-wrap + .section-cta,
.table-wrap + p:has(> .btn),
.section > .container > p:has(> .btn),
.section .reveal > p:has(> .btn){
  text-align:center;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:var(--s16);
  margin-inline:auto;
}
.hero-cta{
  display:flex;flex-wrap:wrap;gap:var(--s12);
  justify-content:center;margin-inline:auto;
}
.card-cta{display:flex;justify-content:center;width:100%}
.prose .section-cta,
.prose p:has(> .btn){
  display:flex;justify-content:center;text-align:center;
}

.pay-strip{justify-content:center}
.faq{margin-inline:auto;max-width:760px}
.table-wrap{margin-inline:auto;max-width:1000px}
.callout{margin-inline:auto}
.stack{display:flex;flex-direction:column;gap:var(--s16);align-items:stretch;margin-inline:auto;max-width:760px}
.cta-banner{text-align:center}
.cta-banner p{margin-inline:auto;max-width:54ch}

.store-badges{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;gap:12px;
}
.store-badge-link{display:inline-flex;line-height:0;border-radius:8px}
.store-badge-link:hover{opacity:.92;text-decoration:none}
.store-badge{
  width:180px;height:auto;max-width:min(180px,100%);
  object-fit:contain;display:block;margin-inline:auto;
}

/* Cards / insight tiles — centered copy */
.card{text-align:center;align-items:center}
.card .ico{margin-inline:auto}
.card p{margin-inline:auto}
.grid--tiles .card,
.grid--3 .card{text-align:center}

/* Figures */
figure{margin:0 auto;max-width:640px;text-align:center}
figure img{
  margin-inline:auto;border-radius:12px;width:100%;height:auto;
  object-fit:contain;border:1px solid var(--rule);
}
figcaption{text-align:center;margin-top:8px;font-size:.85rem}

.promo-spotlight{
  max-width:640px;margin:0 auto var(--s32);text-align:center;
}
.promo-spotlight figure{max-width:100%;margin:0 auto var(--s16)}
.promo-spotlight__lead{
  margin:0 auto;max-width:58ch;color:var(--ink-mute);text-align:center;
}

/* Prose blocks: centered column */
.section > .container > .prose{
  max-width:62ch;margin-inline:auto;text-align:center;
}
.prose.center-block{max-width:62ch;margin-inline:auto;text-align:center}
.prose.center-block > h2,
.prose.center-block > h3{text-align:center;text-wrap:balance}
.prose.center-block > p{margin-inline:auto;max-width:58ch;text-wrap:pretty}
.prose ul,.prose ol{text-align:left;margin-inline:auto;padding-inline-start:1.2em;max-width:58ch;display:inline-block}

/* media-split: centered stack */
.media-split,
.section .grid--2.media-split{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--s24);
  max-width:720px;
  margin-inline:auto;
  justify-items:center;
  text-align:center;
}
.media-split .prose,
.media-split > .reveal,
.media-split > .prose{
  width:100%;
  max-width:62ch;
  text-align:center;
  margin-inline:auto;
}
.media-split .prose > p{margin-inline:auto;max-width:58ch;text-wrap:pretty}
.media-split .prose > h2,
.media-split .eyebrow{text-align:center;display:block}
.media-split .btn,
.media-split .section-cta{display:flex;justify-content:center}
.media-split figure{margin-inline:auto;width:100%;max-width:560px}
.media-split figcaption{text-align:center}
.hero{text-align:center}
.hero .trust-strip{justify-content:center}
.hero .lead{margin-inline:auto;text-align:center}
.hero .hero-cta{justify-content:center}
.hero h1{text-wrap:balance}
.hero-brand{margin-inline:auto}
.hero--bleed .hero-grid > .reveal:first-child{
  display:flex;flex-direction:column;align-items:center;text-align:center;
}
@media (min-width:880px){
  .hero:not(.hero--bleed) .hero-grid{
    grid-template-columns:1fr;
    max-width:880px;
    margin-inline:auto;
    justify-items:center;
  }
  .hero:not(.hero--bleed) .hero-visual{
    width:100%;max-width:560px;
  }
  .hero--bleed .hero-grid{
    grid-template-columns:1.05fr .95fr;
    text-align:left;
  }
  .hero--bleed .hero-grid > .reveal:first-child{align-items:flex-start;text-align:left}
  .hero--bleed .trust-strip,.hero--bleed .hero-cta{justify-content:flex-start}
  .hero--bleed .lead{margin-inline:0;text-align:left}
}

/* Decision / choose blocks — vertical stack, centered */
.choose-block{
  display:grid;gap:var(--s24);max-width:760px;margin-inline:auto;justify-items:center;
  text-align:center;
}
.choose-block .prose{
  max-width:62ch;width:100%;text-align:center;margin-inline:auto;
}
.choose-block .prose > h2,
.choose-block .eyebrow{text-align:center;display:block}
.choose-block .prose p{margin-inline:auto}
.choose-block .stack{width:100%;max-width:640px}
.choose-block .callout{text-align:left;width:100%}
.choose-block figure{max-width:100%;width:min(640px,100%)}
.choose-block figure img{max-height:none;object-fit:contain}

/* APK / how-to: two columns but centered as a unit */
.apk-split{
  max-width:1000px;margin-inline:auto;align-items:start;
}
@media (max-width:919px){
  .apk-split{grid-template-columns:1fr;justify-items:center}
  .apk-split .steps,.apk-split .stack{width:100%;max-width:560px}
}

#seo-text{
  max-width:68ch;margin-inline:auto;text-align:left;
}
#seo-text h2,#seo-text h3{text-align:center;text-wrap:balance}

.hero .grid--3{text-align:center;justify-items:center}
@media (max-width:879px){
  .hero-grid{text-align:center}
  .hero .lead{margin-inline:auto}
  .hero-cta,.trust-strip{justify-content:center}
  .hero-visual{margin-inline:auto}
  .hero-visual img{margin-inline:auto}
  .hero--bleed .hero-grid > .reveal:first-child{align-items:center;text-align:center}
  .hero--bleed .trust-strip,.hero--bleed .hero-cta{justify-content:center}
  .hero--bleed .lead{margin-inline:auto;text-align:center}
}
@media (max-width:680px){
  .header-inner{height:58px}
  .carousel{margin-inline:calc(var(--pad) * -0.25);padding-inline:4px}
  .game-card{flex:0 0 clamp(132px,38vw,160px)}
  .carousel--promo.carousel > a.game-card,
  .carousel--promo > a.game-card{flex:0 0 clamp(280px,86vw,360px)}
  .carousel--live .game-card{flex:0 0 clamp(168px,48vw,220px)}
  .carousel--live .game-card .meta{padding:8px 10px 10px}
  .cta-banner{padding:24px 18px}
  .footer-grid{gap:var(--s24)}
  .rg-bar{flex-direction:column;gap:6px;padding:14px 16px}
  .section-head{padding-inline:4px}
  .steps{max-width:100%;text-align:left}
  .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  /* Don't let intrinsic image sizes blow up icons/badges */
  img[width][height]{max-width:100%;height:auto}
  .game-card .cover img{
    max-width:none!important;width:100%!important;height:100%!important;object-fit:cover!important;
  }
  .carousel--promo.carousel > a.game-card .cover,
  .carousel--promo > a.game-card .cover{
    aspect-ratio:4 / 1!important;
  }
  .carousel--promo.carousel > a.game-card .cover img,
  .carousel--promo > a.game-card .cover img{
    object-fit:contain!important;object-position:center center!important;
  }
  .pay img,
  .badge img,
  .providers-row img,
  .store-badge,
  .brand-wordmark,
  .deco-icon,
  .icon-sm,
  .card .ico img,
  .callout .ci{max-width:none}
  .card .ico img{width:24px!important;height:24px!important;max-width:24px!important;object-fit:contain}
  .pay img{height:22px!important;width:auto!important;max-width:40px!important;object-fit:contain}
  .badge img{height:22px!important;width:auto!important;max-width:48px!important}
  .badge--license img{height:28px!important;max-width:72px!important}
  .brand-wordmark{height:18px;max-width:140px}
  .store-badge{width:168px;height:auto;max-height:56px}
  .step{padding:14px;gap:12px}
  .step .n{flex:0 0 28px;width:28px;height:28px;font-size:.8rem}
  .callout{padding:14px;width:100%}
  .callout .ci{flex:0 0 24px;width:24px;height:24px;min-width:24px;min-height:24px;max-width:24px;max-height:24px;font-size:.75rem}
  .hero-visual img{border-radius:12px;max-width:100%}
  .badge img{height:20px;max-width:40px}
  .badge--license img{height:24px;max-width:56px}
}
@media (max-width:360px){
  .btn--lg{width:100%}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
}
.providers-row,.pay-strip{align-items:center}
.providers-row img{height:22px;width:auto;max-width:56px;object-fit:contain}
img.hero-photo{background:var(--surface-2)}

/* Safety: deco icons never exceed 64px */
.deco-icon,.icon-sm{
  width:56px;height:56px;max-width:56px;margin-inline:auto;display:block;object-fit:contain;
}

/* ---------- Brand promo row ---------- */
.brand-banner-row{
  display:grid;grid-template-columns:1.2fr .7fr 1.2fr;gap:16px;align-items:center;
  margin-top:28px;max-width:1100px;margin-inline:auto;
}
.brand-banner-row img{
  width:100%;height:140px;object-fit:cover;border-radius:14px;border:1px solid var(--rule);
  background:var(--surface);
}
.brand-banner-row img:nth-child(2){height:180px;aspect-ratio:1;object-fit:cover}
@media (max-width:880px){
  .brand-banner-row{grid-template-columns:1fr 1fr;gap:12px}
  .brand-banner-row img{height:120px}
  .brand-banner-row img:nth-child(2){grid-column:1/-1;height:200px;max-width:280px;margin-inline:auto}
}
@media (max-width:520px){
  .brand-banner-row{grid-template-columns:1fr}
  .brand-banner-row img:nth-child(2){grid-column:auto;max-width:100%}
}
