/* =========================================================
   BetfinalArab.com — design system
   Dark charcoal + Betfinal gold + sports green, RTL-first.
   Logical properties only (no left/right) so the layout
   mirrors correctly if an LTR page is ever added.
   ========================================================= */

:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --surface: #1c1c1c;
  --surface-2: #262626;
  --line: #333333;
  --gold: #ffc414;
  --gold-2: #ffd659;
  --gold-ink: #121212;
  --green: #2e7d50;
  --green-2: #379960;
  --green-dark: #1f5a39;
  --text: #ffffff;
  --text-2: #d9d9d9;
  --muted: #b3b3b3;
  --red: #d64545;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .45);
  --wrap: 1180px;
  --header-h: 60px;

  --font: "Segoe UI", "SF Arabic", "Noto Sans Arabic", "Noto Kufi Arabic", Tahoma, "Geeza Pro", Arial, sans-serif;
  --fs-0: .875rem;
  --fs-1: 1rem;
  --fs-2: 1.125rem;
  --fs-3: clamp(1.25rem, 1.05rem + .9vw, 1.6rem);
  --fs-4: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem);
  --fs-5: clamp(1.7rem, 1.2rem + 2.3vw, 2.75rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-block-start: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font);
  font-size: var(--fs-1);
  line-height: 1.85;
  text-align: start;
}
img, svg { display: block; max-width: 100%; height: auto; }
svg[focusable="false"] { width: 20px; height: 20px; flex: none; }
.eyebrow svg { width: 18px; height: 18px; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { color: var(--text); line-height: 1.35; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: var(--fs-5); }
h2 { font-size: var(--fs-4); }
h3 { font-size: var(--fs-3); }
h4 { font-size: var(--fs-2); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.4em; }
li { margin-block-end: .35em; }
strong { color: var(--text); }
table { border-collapse: collapse; width: 100%; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; }

/* Latin strings inside Arabic text (emails, licence numbers, URLs) */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
bdi { unicode-bidi: isolate; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; 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; inset-inline-start: 12px; inset-block-start: -60px; z-index: 100;
  background: var(--gold); color: var(--gold-ink); padding: .5em 1em; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { inset-block-start: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .55em 1.3em; border-radius: var(--radius-sm);
  font: inherit; font-weight: 700; font-size: var(--fs-1); line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--gold); color: var(--gold-ink); }
.btn-primary:hover { background: var(--gold-2); color: var(--gold-ink); }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: var(--text); background: rgba(255, 255, 255, .04); }
.btn-outline:hover { border-color: var(--gold); background: rgba(255, 196, 20, .1); color: var(--gold-2); }
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { color: var(--gold); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); color: #fff; }
.btn-sm { min-height: 38px; padding: .4em .9em; font-size: var(--fs-0); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 50;
  background: #000; border-block-end: 1px solid #1f1f1f;
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { width: 156px; height: 24px; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .5em .8em; color: var(--text-2); text-decoration: none;
  font-weight: 600; font-size: .95rem; border-block-end: 2px solid transparent;
}
.main-nav a:hover { color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; border-block-end-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn-outline { background: var(--green); border-color: var(--green); color: #fff; }
.header-actions .btn-outline:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm);
  background: var(--surface); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset-inline: 0; inset-block-start: var(--header-h); inset-block-end: 0;
    background: var(--bg); margin: 0; padding: 12px 16px 96px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: .9em .4em; font-size: var(--fs-2); border-block-end: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { border-block-end-color: var(--line); color: var(--gold); }
  .header-actions { margin-inline-start: auto; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 400px) { .header-actions .hide-xs { display: none; } .logo img { width: 124px; height: 19px; } .logo-geo { display: none; } }
/* No-JS fallback: keep the menu usable as a plain list */
.no-js .main-nav { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; }
.no-js .menu-toggle { display: none; }

/* ---------- Green sports category bar ---------- */
.cat-bar { background: var(--green); }
.cat-bar ul {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cat-bar ul::-webkit-scrollbar { display: none; }
.cat-bar li { margin: 0; flex: none; }
.cat-bar a {
  display: flex; align-items: center; gap: .45em; padding: .7em .9em; color: #fff;
  text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.cat-bar a:hover { background: var(--green-dark); color: #fff; }
.cat-bar svg { width: 20px; height: 20px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: var(--fs-0); color: var(--muted); padding-block: 14px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .3em; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "‹"; margin-inline-end: .35em; color: var(--muted); }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 15% 30%, rgba(46, 125, 80, .35), transparent 70%),
    linear-gradient(180deg, #121212 0%, var(--bg) 100%);
  border-block-end: 1px solid #1f1f1f;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
  padding-block: 40px 44px;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: .4em; color: var(--gold);
  font-weight: 700; font-size: var(--fs-0); margin-block-end: .6em;
}
.hero h1 { margin-block-end: .45em; }
.hero h1 .en { color: var(--gold); }
.hero-lead { font-size: var(--fs-2); color: var(--text-2); max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 22px 18px; }
.hero-cta .btn { min-width: 150px; min-height: 50px; font-size: var(--fs-2); }
.hero-media img { width: 100%; height: auto; border-radius: var(--radius); }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero-links li { margin: 0; }
.hero-links a {
  display: inline-flex; align-items: center; gap: .4em; padding: .4em .85em; min-height: 40px;
  border-radius: 999px; background: var(--surface); color: var(--text-2); text-decoration: none;
  font-size: var(--fs-0); font-weight: 600; border: 1px solid var(--line);
}
.hero-links a:hover { border-color: var(--gold); color: #fff; }
.hero-links svg { width: 18px; height: 18px; color: var(--gold); }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0;
  font-size: var(--fs-0); color: var(--text-2);
}
.hero-trust li { display: inline-flex; align-items: center; gap: .45em; margin: 0; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); }
.hero-trust .age-badge { width: 30px; height: 30px; font-size: .7rem; margin: 0; }

.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: #0f0f0f; text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.hero-tile.is-wide { grid-column: 1 / -1; }
.hero-tile img { width: 100%; height: 100%; aspect-ratio: 400 / 240; object-fit: cover; }
.hero-tile span {
  position: absolute; inset-inline: 0; inset-block-end: 0; padding: 22px 14px 10px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent);
  color: #fff; font-weight: 700; font-size: var(--fs-1); line-height: 1.3;
}
.hero-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.hero-tile:hover span { color: var(--gold); }
.hero-facts dd { margin: 2px 0 0; color: var(--text); font-weight: 700; font-size: .95rem; line-height: 1.5; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stats dd { margin: 0; order: -1; color: var(--gold); font-size: var(--fs-4); font-weight: 800; line-height: 1.2; direction: ltr; text-align: end; unicode-bidi: isolate; }
.stats > div { display: flex; flex-direction: column; }
.stats dt { color: var(--text-2); font-size: var(--fs-0); font-weight: 600; margin-block-start: 4px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.offer-grid { margin-block-start: 18px; }
.offer-media { aspect-ratio: 1520 / 339; background: #120707; }
.offer-media img { object-fit: cover; }
.offer-media.is-cutout { background: radial-gradient(ellipse at center, #3a0d0d, #120707 70%); }
.offer-media.is-cutout img { object-fit: contain; }
.offer-banner-wrap { padding-block: 0 8px; }
.offer-banner { margin: 0; }
.offer-banner img { width: 100%; height: auto; border-radius: var(--radius); }
.offer-banner.is-cutout { max-width: 640px; margin-inline: auto; background: radial-gradient(ellipse at center, #3a0d0d, transparent 70%); border-radius: var(--radius); }
.offer-card .card-body { padding: 20px; }
.offer-amount { display: block; color: var(--gold); font-size: var(--fs-3); font-weight: 800; line-height: 1.3; margin-block-end: .35em; unicode-bidi: plaintext; }
.glossary dt { color: var(--text); font-weight: 700; margin-block-start: 1em; }
.glossary dd { margin: .2em 0 0; color: var(--text-2); }

.page-hero { padding-block: 22px 30px; }
.page-hero .hero-grid { padding-block: 10px 0; grid-template-columns: 1.3fr .7fr; }
.page-hero .hero-lead { font-size: var(--fs-1); }

@media (max-width: 860px) {
  .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; gap: 18px; padding-block: 24px 28px; }
  .hero-media { order: -1; max-width: 420px; }
  .hero-media img { max-height: 190px; object-fit: cover; }
  .hero-cta .btn { flex: 1 1 140px; }
  .page-hero .hero-media { display: none; }
  /* Home hero: copy and CTAs first, product tiles as a compact row below */
  .hero-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-tile.is-wide { grid-column: auto; }
  .hero-tile span { font-size: .8rem; padding: 18px 8px 6px; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: 48px; }
.section + .section { border-block-start: 1px solid #1c1c1c; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 760px; margin-block-end: 26px; }
.section-head p { color: var(--muted); }
.kicker { display: block; color: var(--green-2); font-weight: 700; font-size: var(--fs-0); margin-block-end: .3em; }
.prose { max-width: 780px; }
.prose h2 { margin-block-start: 1.6em; }
.prose h3 { margin-block-start: 1.4em; }
.prose > :first-child { margin-block-start: 0; }
.more-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; }
.more-link::after { content: "←"; transition: transform .15s; }
.more-link:hover::after { transform: translateX(-3px); }

@media (max-width: 640px) { .section { padding-block: 36px; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: var(--text-2);
}
.card-media { background: #0f0f0f; aspect-ratio: 400 / 240; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: var(--fs-2); margin-block-end: .4em; }
.card-body p { font-size: .95rem; color: var(--muted); }
.card-body .more-link { margin-block-start: auto; }
a.card { text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--gold); color: var(--text-2); transform: translateY(-2px); }

.icon-card { padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.icon-card .ic {
  flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(46, 125, 80, .22); color: var(--green-2);
}
.icon-card .ic svg { width: 24px; height: 24px; }
.icon-card h3 { font-size: var(--fs-1); margin-block-end: .25em; }
.icon-card p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Media + text split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius); width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 18px; } .split.reverse .split-media { order: 0; } }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.chips li {
  margin: 0; padding: .3em .8em; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--line); font-size: var(--fs-0); color: var(--text-2);
}
.chips.gold li { border-color: rgba(255, 196, 20, .45); }

/* ---------- Comparison (Bet Builder vs Cash Out) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.compare-col h3 { display: flex; align-items: center; gap: .5em; }
.compare-col h3 svg { width: 26px; height: 26px; color: var(--gold); }
.compare-col img { margin-block: 6px 14px; border-radius: var(--radius-sm); width: 100%; }
.compare-col dl { margin: 0; }
.compare-col dt { color: var(--text); font-weight: 700; margin-block-start: .8em; }
.compare-col dd { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 1em; counter-reset: step; display: grid; gap: 12px; }
.steps > li {
  counter-increment: step; position: relative; margin: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; padding-inline-start: 64px;
}
.steps > li::before {
  content: counter(step); position: absolute; inset-inline-start: 16px; inset-block-start: 14px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--gold-ink);
  display: grid; place-items: center; font-weight: 800;
}
.steps h3 { font-size: var(--fs-1); margin-block-end: .2em; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-block-end: 1.2em; }
.table-wrap table { min-width: 560px; }
th, td { padding: .75em 1em; text-align: start; border-block-end: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
th { background: var(--surface-2); color: var(--text); font-weight: 700; }
tr:last-child td { border-block-end: 0; }
td { background: var(--surface); }

/* ---------- Notes & status ---------- */
.note {
  background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 14px 18px; margin-block: 1.2em; color: var(--text-2);
}
.note.green { border-inline-start-color: var(--green-2); }
.note.red { border-inline-start-color: var(--red); }
.note p:last-child { margin: 0; }
.note strong:first-child { display: block; margin-block-end: .2em; }

.badge {
  display: inline-flex; align-items: center; gap: .3em; padding: .15em .65em; border-radius: 999px;
  font-size: .8rem; font-weight: 700; white-space: nowrap;
}
.badge-ok { background: rgba(55, 153, 96, .2); color: #6fd39a; }
.badge-wait { background: rgba(255, 196, 20, .15); color: var(--gold); }
.badge-no { background: rgba(214, 69, 69, .18); color: #ff8f8f; }

/* ---------- Access methods (mobile page) ---------- */
.method { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.method-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-block-end: .6em; }
.method-head h2, .method-head h3 { margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 18px; padding-inline-end: 48px; position: relative;
  color: var(--text); font-weight: 700; font-size: var(--fs-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 18px; inset-block-start: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.4rem; font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { display: inline; font-size: inherit; margin: 0; }
.faq .answer { padding: 0 18px 16px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(90deg, var(--green-dark), #133524); border-radius: var(--radius);
  padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cta-band p { margin: 0; color: #e8f5ec; max-width: 56ch; }
.cta-band strong { display: block; font-size: var(--fs-2); }

/* ---------- Related links ---------- */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.related li { margin: 0; }
.related a {
  display: flex; align-items: center; gap: .6em; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--text); text-decoration: none; font-weight: 600; min-height: 56px;
}
.related a:hover { border-color: var(--gold); }
.related svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: #000; border-block-start: 1px solid #1f1f1f; padding-block: 40px 24px; font-size: .93rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: var(--fs-1); color: var(--text); margin-block-end: .7em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-block-end: .5em; }
.footer-grid a { color: var(--text-2); text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { width: 156px; height: 24px; margin-block-end: 14px; }
.footer-legal { border-block-start: 1px solid #1f1f1f; margin-block-start: 28px; padding-block-start: 20px; font-size: .85rem; line-height: 1.8; }
.footer-legal p { margin-block-end: .7em; }
.age-badge {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--red); color: #fff; font-weight: 800; font-size: .85rem; margin-inline-end: 8px; vertical-align: middle;
}
.footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.social li { margin: 0; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social svg { width: 20px; height: 20px; }
.licence-box {
  display: block; margin-block-end: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--text-2); text-decoration: none; max-width: 760px;
}
.licence-box:hover { border-color: var(--gold); color: var(--text-2); }
.licence-title { display: block; color: var(--text); font-weight: 700; margin-block-end: 8px; }
.licence-box dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px 16px; margin: 0 0 8px; }
.licence-box dt { color: var(--muted); font-size: .78rem; }
.licence-box dd { margin: 0; color: var(--text); font-weight: 600; }
.game-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px;
  list-style: none; padding: 0; margin: 1.2em 0;
}
.prose .game-grid { max-width: none; }
.game-card { margin: 0; }
.game-thumb {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rtp-badge {
  position: absolute; inset-block-start: 8px; inset-inline-end: 8px;
  padding: .15em .55em; border-radius: 999px; background: rgba(0, 0, 0, .78); border: 1px solid var(--gold);
  color: var(--gold); font-size: .72rem; font-weight: 800; line-height: 1.5; direction: ltr;
}
.game-name { margin: 8px 0 0; color: var(--text); font-weight: 700; font-size: .92rem; line-height: 1.35; }
.game-provider { margin: 2px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.4; }
@media (max-width: 420px) { .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

.screenshot { margin: 1.4em 0; max-width: 480px; }
.screenshot-wide { max-width: 760px; }
.screenshot img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #0a0a0a; }
.screenshot figcaption { margin-block-start: 8px; color: var(--muted); font-size: var(--fs-0); }
@media (max-width: 520px) { .header-actions .hide-xs { display: none; } }
.faq-plain { margin-block: 1em; }
.faq-plain summary { cursor: pointer; color: var(--gold); font-weight: 700; }
.ltr-list { font-size: .85rem; color: var(--muted); text-align: left; }

/* ---------- Mobile bottom tab bar (mirrors the app-style footer nav) ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  body { padding-block-end: 64px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 40;
    background: #000; border-block-start: 1px solid #262626; padding-block-end: env(safe-area-inset-bottom);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 58px; color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600;
  }
  .tabbar a[aria-current="page"], .tabbar a:hover { color: var(--gold); }
  .tabbar svg { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* QA fixes */
.steps h3, .prose .steps h3 { margin-block-start: 0; }
.chips a { color: inherit; text-decoration: none; }
.chips a:hover { color: var(--gold); }
@media (max-width: 600px) {
  .table-wrap table { min-width: 0; }
  th, td { padding: .6em .7em; font-size: .9rem; }
}

/* ---------- Kuwait site components ---------- */
.logo { gap: 8px; }
.logo-geo { color: var(--gold); font-weight: 800; font-size: .95rem; border-inline-start: 1px solid #333; padding-inline-start: 8px; }
.pill-wait svg { width: 16px; height: 16px; }
.updated { display: flex; align-items: center; gap: .4em; color: var(--muted); font-size: var(--fs-0); margin-block-end: 1.2em; }
.updated svg { width: 16px; height: 16px; }
.h3 { font-size: var(--fs-1); margin-block-end: .25em; }
.status-banner {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); margin-block: 0 1.4em;
}
.status-banner > svg { width: 30px; height: 30px; flex: none; margin-block-start: 2px; }
.status-banner strong { display: block; color: var(--text); font-size: var(--fs-2); margin-block-end: .2em; }
.status-banner p { margin: 0; }
.status-banner.wait { border-inline-start: 5px solid var(--gold); }
.status-banner.wait > svg { color: var(--gold); }
.status-banner.ok { border-inline-start: 5px solid var(--green-2); }
.status-banner.ok > svg { color: var(--green-2); }
.ku-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ku-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ku-col h3 { display: flex; align-items: center; gap: .45em; }
.ku-col h3 svg { width: 24px; height: 24px; }
.ku-col.known h3 svg { color: var(--green-2); }
.ku-col.pending h3 svg { color: var(--gold); }
.ku-col ul { margin: 0; }
.roadmap { margin: 0 0 22px; }
.roadmap img { width: 100%; max-width: 760px; border-radius: var(--radius); }
@media (max-width: 760px) { .ku-grid { grid-template-columns: 1fr; } .logo-geo { font-size: .85rem; } }
@media (max-width: 400px) { .pill-wait { padding-inline: .6em; font-size: .78rem; } }
.logo { text-decoration: none; }
.pill-wait { white-space: nowrap; }
