/* =========================================================
   Casino affiliate site — main.css
   One file. Mobile-first. No framework. Tokens first.
   Breakpoints: 640px (sm), 768px (md), 1024px (lg)
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* colour */
  --surface: #faf9f6;          /* page background */
  --surface-raised: #ffffff;   /* cards, tables, header, hero */
  --surface-sunken: #f2f0eb;   /* table heads, quiet blocks, offer box */
  --ink: #16202e;              /* body text, headings, utility bar, footer */
  --ink-muted: #4a5565;        /* meta, labels */
  --ink-inverse: #d9dee6;      /* text on ink */
  --border: #e0dcd3;           /* hairlines, card borders */
  --border-strong: #857f73;    /* form controls */
  --accent: #0b6e4f;           /* primary CTA fill, rating meter, top-pick frame */
  --accent-hover: #085a40;
  --accent-ink: #07573d;       /* links, icons on accent-soft */
  --accent-soft: #e3f1ea;      /* verified tag, icon tiles, top-pick ribbon */
  --on-accent: #ffffff;
  --focus: #0b6e4f;
  --rg-soft: #fdf3dc;          /* responsible-gambling notice, commercial tag, warning callout */
  --rg-ink: #6b4100;
  --con-ink: #9a3324;          /* cons marker */
  --info-soft: #eaeef4;        /* operator-supplied tag, note callout */
  --info-ink: #2c3e5c;

  /* type */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Noto Serif", serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* space (4px base) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;

  /* radius / shadow / layout */
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(22, 32, 46, .06);
  --shadow-md: 0 8px 24px rgba(22, 32, 46, .10);
  --container: 1180px;
  --measure: 100%;  /* content uses the full container width; the hero excerpt keeps its own 62ch */
  --header-h: 64px;
  --utility-h: 0px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--space-4)); }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/1.625 var(--font-sans); }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 var(--space-3); line-height: 1.2; text-wrap: pretty; }
h1 { font: 700 34px/1.12 var(--font-serif); letter-spacing: -.015em; }
h2 { font: 700 25px/1.2 var(--font-serif); letter-spacing: -.005em; }
h3 { font: 650 19px/1.35 var(--font-sans); }
h4 { font: 650 16px/1.4 var(--font-sans); }
p, ul, ol, dl, table { margin: 0 0 var(--space-4); }
a { color: var(--accent-ink); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
small, .small { font-size: 14px; line-height: 20px; }
.muted { color: var(--ink-muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-2); top: -100px; background: var(--ink); color: #fff; padding: var(--space-2) var(--space-3); z-index: 50; }
.skip-link:focus { top: var(--space-2); }
@media (min-width: 1024px) { h1 { font-size: 46px; } h2 { font-size: 30px; } }

/* Icons: one external sprite, always decorative (aria-hidden) and paired with text */
.icon { display: inline-block; flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.28em; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }
.icon-tile { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent-ink); }
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile--sm { width: 32px; height: 32px; }
.icon-tile--sm .icon { width: 18px; height: 18px; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-4); }
.section { padding-block: var(--space-6); }
.section + .section { border-top: 1px solid var(--border); }
.section__head { max-width: var(--measure); margin-bottom: var(--space-5); }
.section__title { display: flex; align-items: center; gap: var(--space-3); }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--space-6); }
.prose h3 { margin-top: var(--space-5); }
.prose li + li { margin-top: var(--space-1); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--border); }
.prose blockquote { margin: 0 0 var(--space-4); padding-left: var(--space-4); border-left: 2px solid var(--border); color: var(--ink-muted); }
@media (min-width: 640px) { .container { padding-inline: var(--space-5); } .section { padding-block: var(--space-7); } }

/* ---------- 4. Utility bar ---------- */

/* ---------- 5. Header, mega menu, mobile drawer ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--surface-raised); border-bottom: 1px solid var(--border); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: var(--space-3); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font: 700 19px/1 var(--font-serif); }
.brand__name { font: 700 20px/1 var(--font-serif); letter-spacing: -.01em; }
.brand { flex-shrink: 0; }
.brand img { display: block; width: auto; max-width: none; height: 44px; }
/* header logo: target lettering height --logo-h; if the row is tight the logo scales down instead of crowding the menu */
.site-header .brand img { height: auto; width: calc(var(--logo-h, 47px) * 5.958); max-width: 100%; }
/* Header: one solid navy bar, the same navy as the logo artwork, so the logo blends into it */
.site-header { --header-bg: #030c20; background: var(--header-bg); border-bottom-color: #1b2740; }
.site-header .brand { flex: 0 1 auto; min-width: 0; margin-right: var(--space-4); }
@media (max-width: 1023.98px) { .site-header .header-actions { margin-left: auto; } }

/* controls on the dark bar */
.site-header .lang-switch summary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.site-header .lang-switch summary:hover { border-color: rgba(255, 255, 255, .6); }
.site-header .nav-toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.site-header .btn--secondary.header-cta { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.site-header .btn--secondary.header-cta:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.site-header .icon-btn { color: #fff; }
.site-header .icon-btn:hover { background: rgba(255, 255, 255, .1); }
@media (min-width: 1024px) {
  .site-header .nav__link { color: #fff; }
  .site-header .nav__link:hover { color: #9cc8ff; }
  .site-header .nav__expand { color: #b8c2d6; }
}
@media (max-width: 1023.98px) { html:not(.js) .site-header .nav__link { color: #fff; } }
/* lettering height per width band — as tall as the row allows next to the menu */
@media (max-width: 413.98px) { .site-header { --logo-h: 32px; } }
@media (min-width: 414px) and (max-width: 639.98px) { .site-header { --logo-h: 36px; } }
@media (min-width: 640px) and (max-width: 1023.98px) { .site-header { --logo-h: 52px; } }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--surface-sunken); }
.nav-toggle { display: none; align-items: center; gap: var(--space-2); height: 44px; padding: 0 var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); font: 650 14px/1 var(--font-sans); cursor: pointer; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-block; }
.btn.header-cta { display: none; }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__row { display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink); font: 650 15px/1.2 var(--font-sans); text-decoration: none; }
.nav__link:hover { color: var(--accent-ink); }
.nav__expand { display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--ink-muted); cursor: pointer; border-radius: var(--radius-sm); }
.nav__expand .icon { transition: transform .15s ease; }
.nav__expand[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mega__heading { margin: 0 0 var(--space-3); font: 700 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.mega__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__link { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; }
.mega__link:hover, .mega__link[aria-current="page"] { background: var(--surface); }
.mega__link-text { display: grid; gap: 2px; min-width: 0; }
.mega__link-title { font-weight: 650; font-size: 15px; line-height: 20px; }
.mega__link-desc { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.mega__feature { display: grid; align-content: start; gap: var(--space-2); padding: var(--space-5); border-radius: var(--radius-md); background: var(--surface-sunken); color: var(--ink); text-decoration: none; }
.mega__feature-title { font: 700 19px/1.25 var(--font-serif); }
.mega__feature-go { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-2); color: var(--accent-ink); font-weight: 650; font-size: 14px; }
.mega__feature:hover .mega__feature-go { text-decoration: underline; }
.drawer-extra { display: none; }

/* Mobile & tablet: drawer. Without JS the top-level hub links show inline and sub-menus stay hidden. */
@media (max-width: 1023.98px) {
  html:not(.js) .nav__list { display: flex; gap: var(--space-4); overflow-x: auto; }
  html:not(.js) .site-header__inner { height: auto; flex-wrap: wrap; padding-block: var(--space-3); }
  html:not(.js) .nav { order: 3; width: 100%; }
  html:not(.js) .mega, html:not(.js) .nav__expand { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { position: fixed; left: 0; right: 0; top: var(--nav-top, calc(var(--utility-h) + var(--header-h))); bottom: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--surface-raised); border-top: 1px solid var(--border); padding: var(--space-2) var(--space-4) var(--space-6); }
  .js .nav:not(.is-open) { display: none; }
  .js .nav__item { border-bottom: 1px solid var(--border); }
  .js .nav__link { flex: 1; padding: var(--space-4) 0; font-size: 17px; }
  .js .nav__expand { width: 44px; height: 44px; }
  .js .mega { display: none; padding: 0 0 var(--space-3); }
  .js .nav__item.is-open > .mega { display: block; }
  .js .mega__feature { display: none; }
  .js .drawer-extra { display: grid; gap: var(--space-4); padding-top: var(--space-5); }
  .js .drawer-extra .btn { width: 100%; }
  .drawer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: 15px; }
  .drawer-links a { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink); }
  html.nav-open { overflow: hidden; }
}
@media (min-width: 768px) and (max-width: 1023.98px) { .js .mega__links { grid-template-columns: 1fr 1fr; } }

/* Desktop: inline nav with full-width mega panels (absolute = no layout shift) */
@media (min-width: 1024px) {
  .site-header__inner { position: static; gap: var(--space-5); }
  .brand { margin-right: var(--space-2); }
  .nav { height: 100%; margin-right: auto; }
  .nav__list { display: flex; height: 100%; }
  .nav__item { display: flex; align-items: stretch; }
  .nav__row { height: 100%; padding: 0 var(--space-3); gap: 2px; box-shadow: inset 0 -3px 0 transparent; }
  .nav__item[data-current] .nav__row { box-shadow: inset 0 -3px 0 var(--accent); }
  .nav__expand { width: 24px; height: 24px; }
  .nav__expand .icon { width: 16px; height: 16px; }
  .mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav__item:hover > .mega { display: block; }
  .js .nav__item:hover > .mega { display: none; }
  .js .nav__item.is-hover > .mega, .js .nav__item.is-open > .mega { display: block; }
  .mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-7); max-width: var(--container); margin-inline: auto; padding: var(--space-6) var(--space-5); }
  .mega__links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-4); }
  .btn.header-cta { display: inline-flex; }
}

/* ---------- 6. Breadcrumbs ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--space-2); }
.breadcrumbs li:not(:last-child)::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--border-strong); border-right: 1.5px solid var(--border-strong); transform: rotate(45deg); }
.breadcrumbs a { color: var(--ink-muted); }
.breadcrumbs .icon { width: 16px; height: 16px; }

/* ---------- 7. Hero (page head) ---------- */
.hero { background: var(--surface-raised); border-bottom: 1px solid var(--border); }
.hero__inner { padding-block: var(--space-4) var(--space-6); }
.hero__grid { display: grid; gap: var(--space-5); margin-top: var(--space-5); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-3); font: 700 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.hero__title { margin-bottom: var(--space-4); }
.hero__excerpt { max-width: 62ch; margin: 0 0 var(--space-5); font-size: 18px; line-height: 1.6; color: var(--ink); }
.byline { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--border); max-width: 62ch; }
.avatars { display: flex; flex: none; }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); color: var(--accent-ink); font: 700 17px/1 var(--font-serif); box-shadow: 0 0 0 2px var(--surface-raised), 0 0 0 3px var(--border); }
.avatars .avatar + .avatar { margin-left: -12px; }
.byline__text { display: grid; gap: 4px; min-width: 0; }
.byline__names { margin: 0; font-size: 15px; line-height: 20px; }
.byline__names a { color: var(--ink); font-weight: 700; }
.byline__role { color: var(--ink-muted); }
.byline__meta { display: flex; flex-wrap: wrap; gap: 4px var(--space-4); margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.byline__meta span { display: inline-flex; align-items: center; gap: 6px; }
.byline__meta a { color: var(--ink-muted); }
.byline__meta .icon { width: 16px; height: 16px; }
.trust-panel { align-self: start; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.trust-panel__title { margin: 0 0 var(--space-3); font: 700 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.trust-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-3); }
.trust-list li { display: grid; grid-template-columns: 32px 1fr; gap: var(--space-3); align-items: center; font-size: 15px; line-height: 21px; font-weight: 600; }
.trust-panel__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--border); font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; }
.link-arrow .icon { width: 16px; height: 16px; }
@media (min-width: 1024px) {
  .hero__inner { padding-block: var(--space-5) var(--space-7); }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-7); align-items: start; }
}

/* Disclosure popover (details) — absolutely positioned, so opening it never shifts content */
.disclosure-pop { position: relative; }
.disclosure-pop summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; color: var(--ink-muted); font-size: 14px; text-decoration: underline; text-underline-offset: 2px; }
.disclosure-pop summary::-webkit-details-marker { display: none; }
.disclosure-pop summary .icon { width: 16px; height: 16px; }
.disclosure-pop__panel { position: absolute; z-index: 20; right: 0; top: calc(100% + 8px); width: min(340px, calc(100vw - 32px)); padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: var(--shadow-md); font-size: 14px; line-height: 21px; }
.disclosure-pop__panel p { margin: 0 0 var(--space-2); }
@media (max-width: 1023.98px) {
  /* anchor the panel to the full-width trust box, so it can never run off the right edge */
  .trust-panel { position: relative; }
  .disclosure-pop { position: static; }
  .disclosure-pop__panel { left: 0; right: 0; width: auto; }
}

/* ---------- 8. Buttons & tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border-radius: var(--radius-md); font: 650 15px/1 var(--font-sans); text-decoration: none; border: 1px solid transparent; text-align: center; cursor: pointer; }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { background: var(--surface-raised); color: var(--ink); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; font-size: 14px; padding: 0 var(--space-3); }

.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px var(--space-2); border-radius: var(--radius-sm); font: 600 12px/18px var(--font-sans); letter-spacing: .01em; white-space: nowrap; vertical-align: middle; }
.tag .icon { width: 14px; height: 14px; stroke-width: 2; }
.tag--verified   { background: var(--accent-soft); color: var(--accent-ink); }
.tag--operator   { background: var(--info-soft);   color: var(--info-ink); }
.tag--editorial  { background: var(--surface-raised); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border-strong); }
.tag--commercial { background: var(--rg-soft);     color: var(--rg-ink); }
.tag--user       { background: var(--surface-raised); color: var(--ink-muted); outline: 1px dashed var(--border-strong); outline-offset: -1px; }
.tag--age        { background: var(--ink); color: #fff; }

/* ---------- 9. Toplist + casino card ---------- */
.toplist { padding-block: var(--space-6); }
.toplist__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-3) var(--space-5); margin-bottom: var(--space-5); }
.toplist__head > div { max-width: var(--measure); }
.toplist__head h2 { margin-bottom: var(--space-2); }
.toplist__head p { margin: 0; }
.toplist__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); font-size: 14px; color: var(--ink-muted); }
.toplist__meta > * { display: inline-flex; align-items: center; gap: 6px; }
.toplist__meta .icon { width: 16px; height: 16px; }
.casino-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-4); }

.casino-card { position: relative; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.casino-card--top { border: 2px solid var(--accent); }
.casino-card__ribbon { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: 6px var(--space-4); background: var(--surface-sunken); font: 650 13px/18px var(--font-sans); color: var(--ink); }
.casino-card--top .casino-card__ribbon { background: var(--accent-soft); color: var(--accent-ink); }
.casino-card__ribbon .icon { width: 16px; height: 16px; }
.casino-card__body { display: grid; gap: var(--space-4); padding: var(--space-4); }
.casino-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); }
.casino-card__brand { display: flex; align-items: center; gap: var(--space-3); }
.rank { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 13px/1 var(--font-sans); }
.casino-card--top .rank { background: var(--accent); }
.casino-card__logo { flex: none; width: 88px; height: 44px; object-fit: contain; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.casino-card__logo--empty { display: grid; place-items: center; background: var(--surface-sunken); font: 700 18px/1 var(--font-serif); color: var(--ink-muted); }
.casino-card__title { min-width: 0; }
.casino-card__name { margin: 0; font: 700 18px/1.25 var(--font-sans); }
.casino-card__name a { color: var(--ink); text-decoration: none; }
.casino-card__name a:hover { text-decoration: underline; }
.casino-card__sub { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-muted); }
.score { display: grid; justify-items: center; min-width: 64px; padding: 6px var(--space-2); border-radius: var(--radius-md); background: var(--surface-sunken); text-align: center; }
.score__value { font: 700 24px/1 var(--font-serif); }
.score__max { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.score__label { margin-top: 3px; font: 700 10.5px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.casino-card--top .score { background: var(--accent-soft); }
.casino-card__summary { margin: 0; font-size: 15px; line-height: 23px; }

.offer { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-3); align-items: center; padding: var(--space-3); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); }
.offer__label { display: block; font: 700 11.5px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.offer__value { display: block; font: 700 17px/1.3 var(--font-sans); overflow-wrap: anywhere; }

.kf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: 0; }
.kf > div { min-width: 0; }
.kf dt { display: flex; align-items: center; gap: 6px; font-size: 12.5px; line-height: 16px; color: var(--ink-muted); }
.kf dt .icon { width: 16px; height: 16px; }
.kf dd { margin: 3px 0 0 22px; font-size: 15px; line-height: 20px; font-weight: 650; overflow-wrap: anywhere; }

.features { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.features li { display: inline-flex; align-items: center; gap: 6px; padding: 4px var(--space-2); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font: 600 13px/18px var(--font-sans); }
.features .icon { width: 16px; height: 16px; color: var(--accent-ink); }

.pay { display: grid; gap: 6px; }
.pay__label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-muted); }
.pay__label .icon { width: 16px; height: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pills li { padding: 2px 7px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 12.5px; line-height: 18px; font-weight: 600; background: #fff; }

.proscons { display: grid; gap: var(--space-3); }
.proscons h3, .proscons h4 { font: 700 12px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 var(--space-2); }
.proscons ul, .checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; line-height: 21px; }
.proscons li, .checklist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-2); align-items: start; }
.proscons li .icon, .checklist li .icon { width: 20px; height: 20px; margin-top: 1px; }
.pros .icon, .checklist .is-pro .icon, .checklist .is-check .icon { color: var(--accent-ink); }
.cons .icon, .checklist .is-con .icon { color: var(--con-ink); }
.prose .checklist { margin-bottom: var(--space-4); }

.casino-card__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--space-2); align-content: start; }
.casino-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--space-2); margin: 0; padding: var(--space-2) var(--space-4); border-top: 1px solid var(--border); background: var(--surface); font-size: 12.5px; line-height: 18px; color: var(--ink-muted); }
.casino-card__foot .age-badge { min-width: 22px; height: 22px; font-size: 9.5px; color: var(--ink); }

@media (min-width: 768px) {
  .casino-card__body { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: var(--space-5); }
  .casino-card__head, .casino-card__summary, .casino-card__actions { grid-column: 1 / -1; }
  .casino-card__main { display: grid; gap: var(--space-4); align-content: start; }
  .casino-card__side { display: grid; gap: var(--space-4); align-content: start; }
}
@media (min-width: 1024px) {
  .casino-card__body { grid-template-columns: 230px minmax(0, 1.25fr) minmax(0, 1fr) 190px; gap: var(--space-5); padding: var(--space-5); }
  .casino-card__head { grid-column: 1; grid-row: 1 / span 2; grid-template-columns: 1fr; justify-items: start; align-self: start; gap: var(--space-3); }
  .casino-card__head .score { justify-self: start; grid-auto-flow: column; align-items: baseline; gap: 4px; }
  .casino-card__head .score__label { margin: 0 0 0 6px; }
  .casino-card__summary { grid-column: 2 / 4; }
  .casino-card__main { grid-column: 2; }
  .casino-card__side { grid-column: 3; }
  .casino-card__actions { grid-column: 4; grid-row: 1 / span 2; grid-template-columns: 1fr; }
}
.casino-card__main, .casino-card__side { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }

/* ---------- 10. Comparison table (stacks under 768px) ---------- */
.ctable-wrap { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.ctable { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; }
.ctable caption { text-align: left; padding: var(--space-3) var(--space-4); font-size: 14px; color: var(--ink-muted); }
.ctable th, .ctable td { text-align: left; vertical-align: top; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border); }
.ctable thead th { background: var(--surface-sunken); font-size: 13px; font-weight: 650; color: var(--ink-muted); white-space: nowrap; }
.ctable thead .icon { width: 16px; height: 16px; margin-right: 4px; }
.ctable tbody th { font-weight: 700; }
@media (max-width: 767.98px) {
  .ctable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ctable tr { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-4); padding: var(--space-4); border-top: 1px solid var(--border); }
  .ctable th, .ctable td { display: block; padding: 0; border: 0; }
  .ctable tbody th { grid-column: 1 / -1; font-size: 17px; }
  .ctable td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-muted); }
  .ctable td.ctable__action { grid-column: 1 / -1; }
  .ctable td.ctable__action::before { content: none; }
}

/* ---------- 11. Blocks: trust steps, tiles, link lists, notices, callouts ---------- */
.trust-block { display: grid; gap: var(--space-4); list-style: none; padding: 0; margin: 0 0 var(--space-4); counter-reset: step; }
.trust-block li { counter-increment: step; position: relative; padding: var(--space-5) var(--space-4) var(--space-4); background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); }
.trust-block li::after { content: counter(step, decimal-leading-zero); position: absolute; top: var(--space-4); right: var(--space-4); font: 700 13px/1 var(--font-mono); color: var(--ink-muted); }
.trust-block .icon-tile { margin-bottom: var(--space-3); }
.trust-block h3 { margin-bottom: var(--space-1); }
.trust-block p { margin: 0; font-size: 15px; }
@media (min-width: 640px) { .trust-block { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-block { grid-template-columns: repeat(4, 1fr); } }

.tile-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); list-style: none; padding: 0; margin: 0; }
.tile { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; gap: var(--space-3); align-items: center; height: 100%; padding: var(--space-4); background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; }
.tile:hover { border-color: var(--ink); }
.tile > .icon { width: 16px; height: 16px; color: var(--ink-muted); }
.tile__title { display: block; font-weight: 700; color: var(--ink); }
.tile__text { display: block; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

.link-list { list-style: none; padding: 0; margin: 0; display: grid; }
.link-list li { border-top: 1px solid var(--border); }
.link-list a { display: grid; grid-template-columns: 20px minmax(0, 1fr) 16px; gap: var(--space-3); align-items: center; padding: var(--space-3) 0; font-weight: 650; text-decoration: none; }
.link-list a:hover span { text-decoration: underline; }
.link-list .icon { color: var(--ink-muted); }
.link-list a > .icon:last-child { width: 16px; height: 16px; }
@media (min-width: 640px) { .link-list { grid-template-columns: 1fr 1fr; column-gap: var(--space-6); } }

.notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3) var(--space-4); padding: var(--space-5); border-radius: var(--radius-md); font-size: 15px; }
.notice h2, .notice h3 { font: 700 17px/1.4 var(--font-sans); margin-bottom: var(--space-1); }
.notice p:last-child { margin-bottom: 0; }
.notice--rg { background: var(--rg-soft); color: var(--rg-ink); }
.notice--rg a { color: var(--rg-ink); font-weight: 650; }
.notice--rg .age-badge { width: 40px; height: 40px; font-size: 13px; }
.notice--disclosure { background: var(--surface-sunken); color: var(--ink); }
.notice--inline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); font-size: 13px; line-height: 19px; }

.callout { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-3); margin: 0 0 var(--space-4); padding: var(--space-4); border-radius: var(--radius-md); border: 1px solid transparent; font-size: 15px; line-height: 23px; }
.callout > .icon { width: 24px; height: 24px; }
.callout__title { margin: 0 0 var(--space-1); font-weight: 700; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--note { background: var(--info-soft); color: var(--info-ink); }
.callout--tip { background: var(--accent-soft); color: var(--accent-ink); }
.callout--tip p, .callout--note p { color: var(--ink); }
.callout--warning { background: var(--rg-soft); color: var(--rg-ink); }
.callout--important { background: var(--surface-sunken); color: var(--ink); }
.callout--key { background: var(--surface-raised); border-color: var(--border); }

.takeaways { max-width: var(--measure); margin: var(--space-5) 0 0; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); }
.takeaways__title { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-3); font: 700 17px/1.3 var(--font-sans); }

/* ---------- 12. Review layout & parts ---------- */
.review-layout { display: grid; gap: var(--space-5); padding-top: var(--space-5); }
.toc { font-size: 15px; }
.toc details { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); }
.toc summary { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); font-weight: 650; cursor: pointer; }
.toc ol { margin: 0; padding: 0 var(--space-4) var(--space-3) var(--space-6); }
.toc li { padding: 3px 0; }
.toc li::marker { color: var(--ink-muted); font-size: 13px; }
@media (min-width: 1024px) {
  .review-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: var(--space-7); }
  .toc { order: 2; }
  .toc__inner { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
}
.h-icon { display: flex; align-items: center; gap: var(--space-3); }
.verdict { padding: var(--space-5); background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: var(--space-5); }
.verdict h2 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.verdict__score { display: flex; align-items: baseline; gap: 4px; font: 700 40px/1 var(--font-serif); margin: 0 0 var(--space-3); }
.verdict__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 var(--space-3); }
.breakdown { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: var(--space-4); }
.breakdown li { display: grid; grid-template-columns: 20px 1fr auto; gap: var(--space-2) var(--space-3); align-items: center; font-size: 15px; }
.breakdown .icon { color: var(--ink-muted); }
.breakdown meter { grid-column: 2 / -1; width: 100%; height: 8px; }
meter { accent-color: var(--accent); }
meter::-webkit-meter-bar { background: var(--surface-sunken); border: 0; border-radius: 4px; }
meter::-webkit-meter-optimum-value { background: var(--accent); border-radius: 4px; }
meter::-moz-meter-bar { background: var(--accent); }
.facts-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); }
.facts-table th, .facts-table td { text-align: left; vertical-align: top; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border); }
.facts-table th { width: 40%; font-weight: 600; color: var(--ink-muted); }
.facts-table th span { display: inline-flex; align-items: center; gap: var(--space-2); }
.facts-table td .tag { margin-left: var(--space-2); }
.legend { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.history, .sources { font-size: 15px; }
.history time { font-weight: 600; margin-right: var(--space-2); }
.subnav ol { display: flex; gap: var(--space-2); overflow-x: auto; list-style: none; margin: var(--space-4) 0 0; padding: 0 0 2px; }
.subnav a, .subnav span { display: inline-flex; align-items: center; gap: 6px; padding: 6px var(--space-3); border: 1px solid var(--border); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; background: var(--surface-raised); }
.subnav [aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.subnav .icon { width: 16px; height: 16px; }

.author-box { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-4); max-width: var(--measure); padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); }
.author-box .avatar { width: 64px; height: 64px; font-size: 22px; }
.author-box__label { margin: 0 0 var(--space-1); font: 700 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.author-box__name { margin: 0; font: 700 19px/1.3 var(--font-serif); }
.author-box__role { margin: 0 0 var(--space-2); color: var(--ink-muted); font-size: 14px; }
.author-box p:last-child { margin-bottom: 0; }

/* ---------- 13. FAQ ---------- */
.faq details { border-top: 1px solid var(--border); }
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: var(--space-3); align-items: center; padding: var(--space-4) 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font: 650 17px/1.4 var(--font-sans); }
.faq summary .icon { color: var(--ink-muted); transition: transform .15s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding-bottom: var(--space-4); }

/* ---------- 14. Forms (bonus calculator) ---------- */
.form-grid { display: grid; gap: var(--space-4); max-width: 560px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: var(--space-1); }
.field input, .field select { width: 100%; min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); font: 400 16px/1 var(--font-sans); }
.field__hint { font-size: 13px; color: var(--ink-muted); margin: var(--space-1) 0 0; }
.result { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-3); align-items: center; padding: var(--space-4); background: var(--surface-sunken); border-radius: var(--radius-md); }
.result output { display: block; font: 700 28px/1.2 var(--font-serif); }

/* ---------- 15. Footer ---------- */
.site-footer { margin-top: var(--space-7); background: var(--ink); color: var(--ink-inverse); font-size: 14px; }
.site-footer a { color: #fff; }
.footer-top { display: grid; gap: var(--space-5); padding-block: var(--space-6); border-bottom: 1px solid #334055; }
.site-footer .brand { color: #fff; }
.site-footer .brand__mark { background: #fff; color: var(--ink); }
.footer-tagline { max-width: 44ch; margin: var(--space-3) 0 0; }
.footer-cols { display: grid; gap: var(--space-5); grid-template-columns: 1fr 1fr; }
.footer-cols h2 { font: 700 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-3); }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { padding: 4px 0; }
.footer-cols a { color: var(--ink-inverse); text-decoration: none; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-rg { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); padding-block: var(--space-5); border-bottom: 1px solid #334055; }
.footer-rg .age-badge { width: 40px; height: 40px; font-size: 13px; color: #fff; }
.footer-rg__age { width: 44px; height: 44px; }
.footer-rg__text { display: grid; gap: 2px; max-width: 60ch; }
.footer-rg__orgs { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0 0 0 auto; padding: 0; }
.footer-rg__orgs a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 var(--space-3); border: 1px solid #4a5870; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.footer-rg__orgs img { height: 24px; width: auto; }
.footer-legal { padding-block: var(--space-5) var(--space-6); }
.footer-legal p { margin-bottom: var(--space-2); }
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: 300px 1fr; gap: var(--space-7); }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 16. Draft-mode content slots (never shipped: --prod build fails on them) ---------- */
.slot { display: inline-block; max-width: 100%; overflow-wrap: anywhere; white-space: normal; padding: 1px 6px; border: 1px dashed #b06a00; border-radius: var(--radius-sm); background: #fff8ec; color: #6b4100; font: 500 12px/18px var(--font-mono); vertical-align: baseline; letter-spacing: 0; text-transform: none; }
.slot::before { content: "\270E\00a0"; opacity: .7; }
.slot--block { display: block; padding: var(--space-3); margin-bottom: var(--space-4); }

/* ---------- 17. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .site-header, .nav, .toc, .casino-card__actions, .site-footer { display: none; } }

/* Review hero summary (reuses card parts) */
.review-summary { display: grid; gap: var(--space-4); }
.review-summary .trust-panel__title { margin: 0; }
.review-summary .btn { width: 100%; }
.review-summary .casino-card__foot { margin: calc(var(--space-2) * -1) calc(var(--space-5) * -1) 0; padding-inline: var(--space-5); background: transparent; border-top: 0; }
.review-summary .trust-panel__links { margin: 0; }
.proscons--wide { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); }

/* Mobile refinements: card head on two rows, stacked CTAs, compact trust panel so the toplist starts sooner */
@media (max-width: 767.98px) {
  .casino-card__head { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand score" "title title"; row-gap: var(--space-3); }
  .casino-card__brand { grid-area: brand; }
  .casino-card__head .score { grid-area: score; }
  .casino-card__title { grid-area: title; }
  .casino-card__actions { grid-template-columns: 1fr; }
}
@media (max-width: 1023.98px) {
  .trust-panel:not(.review-summary) { padding: 0; border: 0; background: none; }
  .trust-panel:not(.review-summary) .trust-panel__title, .trust-panel:not(.review-summary) .trust-list { display: none; }
  .trust-panel:not(.review-summary) .trust-panel__links { padding-top: 0; border-top: 0; }
  .hero__grid { gap: var(--space-4); }
}
.review-summary .casino-card__head { grid-column: auto; grid-row: auto; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: none; justify-items: stretch; align-items: center; }
.review-summary .casino-card__head > * { grid-area: auto; }
.review-summary .casino-card__head .score { grid-auto-flow: row; }
.review-summary .casino-card__head .score__label { margin: 3px 0 0; }
.review-summary .casino-card__logo { width: 64px; height: 40px; }
.casino-card__foot { flex-wrap: nowrap; align-items: flex-start; }
.casino-card__foot > span:not(.age-badge):not(.tag) { flex: 1; min-width: 0; }

/* ---------- Language switcher (header) ---------- */
.lang-switch { position: relative; }
.lang-switch summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-md); list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--border-strong); }
.lang-switch summary .icon { width: 16px; height: 16px; }
.lang-switch[open] summary .icon:last-child { transform: rotate(180deg); }
.lang-switch__code { text-transform: uppercase; }
.lang-switch__menu { position: absolute; z-index: 40; right: 0; top: calc(100% + 8px); min-width: 170px; margin: 0; padding: var(--space-2) 0; list-style: none; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: var(--shadow-md); line-height: 1.4; }
.lang-switch__menu a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) var(--space-4); color: var(--ink); text-decoration: none; }
.lang-switch__menu a:hover { background: var(--surface-sunken); }
.lang-switch__menu a[aria-current="page"] { font-weight: 650; color: var(--accent-ink); }
.lang-switch__flag { flex: none; width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang-switch__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-switch summary .lang-switch__flag { width: 20px; height: 14px; }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }

/* ---------- Button labels stay on one line (longer translations) ---------- */
.header-cta, .casino-card__actions .btn { white-space: nowrap; }

/* ---------- Wide markdown tables scroll inside their box, never the page ---------- */
.table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 var(--space-4); }
.table-scroll > table { margin: 0; min-width: 100%; }
.table-scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Screenshots in content ---------- */
.shot { margin: var(--space-5) 0; }
.shot img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); background: var(--surface-sunken); }
.shot figcaption { margin-top: var(--space-2); font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
.shot-grid { display: grid; gap: var(--space-4); margin: var(--space-5) 0; }
.shot-grid .shot { margin: 0; }
@media (min-width: 640px) { .shot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Ranked toplist card (rank-card) ----------
   Mobile: stacked (head, logo, bonus, details, payments, cta). ≥1024px: three columns
   [logo + payments | rank, name, pitch, facts | bonus + cta]. --brand = operator colour. */
.casino-list--ranked { gap: var(--space-4); }
.rank-card { position: relative; display: grid; gap: var(--space-3); padding: var(--space-5) var(--space-4); border: 3px solid var(--brand); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-sm);
  grid-template-areas: "head" "logo" "bonus" "details" "pay" "cta"; }
.rank-card--top { box-shadow: var(--shadow-md); }
.rank-card__ribbon { position: absolute; top: -12px; left: var(--space-4); margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; }
.rank-card__ribbon .icon { width: 14px; height: 14px; }
.rank-card__head { grid-area: head; display: flex; align-items: center; justify-content: center; gap: var(--space-3); }
.rank-card__rank { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface-sunken); font-weight: 700; }
.rank-card__name { margin: 0; font: 750 26px/1.15 var(--font-sans); letter-spacing: -.01em; }
.rank-card__logo { grid-area: logo; justify-self: center; display: block; width: 100%; max-width: 250px; }
.rank-card__logo img { width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: contain; padding: 6px; border: 3px solid var(--brand); border-radius: var(--radius-md); background: #fff; }
.rank-card__bonus { grid-area: bonus; padding: 10px 14px; border: 3px solid var(--brand); border-radius: var(--radius-md); background: var(--surface-sunken); }
.rank-card__bonus-label { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.rank-card__bonus-value { display: block; margin-top: 4px; font: 800 20px/1.3 var(--font-sans); letter-spacing: -.01em; }
.rank-card__details { grid-area: details; min-width: 0; }
.rank-card__pitch { margin: 0 0 var(--space-3); color: var(--ink-muted); font-size: 15px; line-height: 1.55; }
.rank-card__facts { margin: 0; display: grid; gap: 8px; font-size: 14px; }
.rank-card__facts > div { display: flex; align-items: flex-start; gap: 8px; }
.rank-card__facts .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.rank-card__facts dt { color: var(--ink-muted); }
.rank-card__facts dd { margin: 0 0 0 auto; font-weight: 650; text-align: right; }
.rank-card__pay { grid-area: pay; }
.rank-card__pay-label { margin: 0 0 6px; font-size: 11px; text-align: center; color: var(--ink-muted); }
.rank-card__pay-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.rank-card__pay-grid li { display: grid; place-items: center; height: 36px; padding: 5px 8px; border: 1px solid var(--border); border-radius: 6px; background: #fff; overflow: hidden; }
.rank-card__pay-grid img { display: block; width: auto; height: 22px; max-width: 100%; object-fit: contain; }
.rank-card__pay-grid span { font-size: 12px; font-weight: 650; color: var(--ink); white-space: nowrap; }
.rank-card__cta { grid-area: cta; display: flex; flex-direction: column; gap: 8px; }
.rank-card__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 13px 16px; border-radius: var(--radius-md); background: var(--accent); color: var(--on-accent); font-weight: 750; font-size: 17px; text-decoration: none; white-space: nowrap; }
.rank-card__btn:hover { background: var(--accent-hover); }
.rank-card__btn .icon { width: 16px; height: 16px; }
.rank-card__review { align-self: center; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.rank-card__review .icon { width: 14px; height: 14px; }
.rank-card__terms { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--ink-muted); text-align: center; }
.rank-card__terms .age-badge { display: inline-grid; vertical-align: middle; min-width: 22px; height: 22px; font-size: 10px; }
.rank-card__terms .tag { vertical-align: middle; }
.rank-card__col { display: contents; } /* mobile: children join the card grid */
@media (min-width: 1024px) {
  .rank-card { display: grid; grid-template-columns: 250px minmax(0, 1fr) 280px; grid-template-areas: none; gap: var(--space-5); padding: var(--space-5); align-items: start; }
  .rank-card__col { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
  .rank-card__head { justify-content: flex-start; }
  .rank-card__name { font-size: 28px; }
}


/* ---------- Logo strips (payment methods, brands, safer-gambling orgs) ---------- */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: var(--space-4) 0 var(--space-5); padding: 0; list-style: none; }
.logo-strip li { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; margin: 0; }
.logo-strip img { display: block; width: auto; max-width: 160px; height: 28px; object-fit: contain; }
.logo-strip a { font-weight: 650; text-decoration: none; color: var(--ink); }
.logo-strip--rg li { background: var(--surface-raised); }

/* ---------- Hero: palette gradient + artwork + legibility scrim ---------- */
.hero { position: relative; z-index: 2; isolation: isolate; border-bottom: 0; color: #fff; /* no overflow:hidden — it clipped the disclosure popover */
  background: linear-gradient(125deg, #0d2b25 0%, #16202e 45%, #2b1d4d 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .85;
  background: url("/assets/hero-bg-800.webp") 70% center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 20, 30, .80) 0%, rgba(11, 20, 30, .88) 100%); }
@media (min-width: 768px) {
  .hero::before { background-image: url("/assets/hero-bg.webp"); background-position: right center; }
  .hero::after { background: linear-gradient(90deg, rgba(11, 20, 30, .93) 0%, rgba(11, 20, 30, .74) 45%, rgba(11, 20, 30, .12) 100%); }
}
.hero .hero__title { color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.hero .hero__excerpt { color: #e7edf3; }
.hero .hero__eyebrow { color: #9fe2c6; }
.hero .breadcrumbs, .hero .breadcrumbs a { color: #d5dde6; }
.hero .byline, .hero .byline__names, .hero .byline__meta, .hero .byline__role { color: #d5dde6; }
.hero .byline a { color: #fff; }
.hero .byline { border-top-color: rgba(255, 255, 255, .22); }
.hero .avatar { border-color: rgba(255, 255, 255, .6); }
.hero .trust-panel { color: var(--ink); box-shadow: var(--shadow-md); }

/* ---------- Data tables (markdown + raw HTML): framed, striped, sticky row headers ---------- */
.table-scroll { margin: var(--space-4) 0 var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.prose table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.prose caption { caption-side: top; padding: var(--space-3) var(--space-4); text-align: left; font-weight: 650; color: var(--ink); border-bottom: 1px solid var(--border); }
.prose th, .prose td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.prose thead th { background: var(--ink); color: #fff; font-size: 13px; font-weight: 650; letter-spacing: .01em; white-space: nowrap; border-bottom: 0; }
.prose thead th:first-child { border-top-left-radius: calc(var(--radius-md) - 1px); }
.prose thead th:last-child { border-top-right-radius: calc(var(--radius-md) - 1px); }
.prose caption + thead th:first-child, .prose caption + thead th:last-child { border-radius: 0; }
.prose tbody tr:nth-child(even) > * { background: var(--surface-sunken); }
.prose tbody tr:nth-child(odd) > * { background: var(--surface-raised); }
.prose tbody tr:hover > * { background: var(--accent-soft); }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose tbody th[scope="row"] { font-weight: 650; color: var(--ink); min-width: 8.5rem; }
.prose td { min-width: 7rem; }
/* keep the row header visible while a wide table scrolls sideways */
.table-scroll tbody th[scope="row"], .table-scroll thead th:first-child { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--border); }
.table-scroll thead th:first-child { z-index: 2; }

/* ---------- Mobile: hero trust links on the dark hero, compact header ---------- */
@media (max-width: 1023.98px) {
  .hero .trust-panel:not(.review-summary) { box-shadow: none; }
  .hero .trust-panel:not(.review-summary) .link-arrow,
  .hero .trust-panel:not(.review-summary) .disclosure-pop summary { color: #e7edf3; }
}
@media (max-width: 479.98px) {
  .site-header__inner { gap: var(--space-2); }
  .brand__name { font-size: 17px; }
  .header-actions { gap: 6px; }
  .nav-toggle { width: 44px; padding: 0; justify-content: center; }
  .nav-toggle > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang-switch summary { padding: 0 8px; }
}
.nav__link { white-space: nowrap; }
/* Image logo is wider than the old text mark: tighten the desktop header; drop the header CTA below 1200px */
@media (min-width: 1024px) {
  .site-header__inner { gap: var(--space-3); }
  .nav__row { padding: 0 5px; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) { .btn.header-cta { display: none; } }
/* the popover is a white card even inside the dark hero: reset the hero's light text/link colours */
.hero .disclosure-pop__panel, .hero .disclosure-pop__panel p { color: var(--ink); }
.hero .disclosure-pop__panel a, .hero .trust-panel:not(.review-summary) .disclosure-pop__panel .link-arrow { color: var(--accent-ink); }
