/* ==========================================================
   Casino Affiliate Template — shared styles
   Layout: green "card table" band on top, toplist cards lifted onto
   a cool off-white page, editorial content column below.
   Rebrand by editing the tokens in :root (and the dark blocks).
   ========================================================== */
:root {
  /* Brand */
  --felt: #0f3a2c;           /* header + hero band */
  --felt-deep: #0a281f;
  --gold: #d6a93f;           /* chips, stars, highlights */
  --gold-soft: #f4e3b5;
  --cta: #f5c346;            /* Play now button */
  --cta-hover: #ffd466;
  --cta-ink: #1c1606;
  /* Neutrals (slight green bias) */
  --bg: #f2f5f3;
  --surface: #ffffff;
  --surface-2: #f7f9f8;
  --ink: #13201a;
  --muted: #5b6b63;
  --line: #dde4df;
  --link: #0f6b4c;
  --on-felt: #eef5f1;
  --on-felt-muted: #a9c3b7;
  --shadow: 0 1px 2px rgba(10,40,31,.05), 0 8px 24px rgba(10,40,31,.07);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --max: 1100px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1310; --surface: #121c18; --surface-2: #17231e;
    --ink: #e7efea; --muted: #97aaa0; --line: #24342d; --link: #6fd3a8;
    --gold-soft: #3a3016; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1310; --surface: #121c18; --surface-2: #17231e;
  --ink: #e7efea; --muted: #97aaa0; --line: #24342d; --link: #6fd3a8;
  --gold-soft: #3a3016; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; letter-spacing: -.02em; }
.container {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--felt-deep);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--on-felt); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em;
}
.logo b { color: var(--gold); font-weight: 800; }
.logo-symbol {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--felt-deep); font-size: 1.05rem;
  border: 3px dashed rgba(255,255,255,.75);
  box-shadow: 0 0 0 2px var(--gold);
}
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--on-felt-muted); font-weight: 600; font-size: .94rem;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--on-felt); background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: var(--felt-deep); background: var(--gold); }
.nav-toggle {
  display: none; background: transparent; color: var(--on-felt);
  border: 1px solid rgba(255,255,255,.2); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; font-size: 1.2rem;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 80% 120% at 85% -20%, rgba(214,169,63,.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(255,255,255,.05), transparent 60%),
    var(--felt);
  color: var(--on-felt);
  padding-block: 44px 88px;
}
.breadcrumbs { font-size: .85rem; color: var(--on-felt-muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--on-felt); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.08; margin: 0 0 16px; max-width: 24ch; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { max-width: 62ch; margin: 0 0 28px; color: var(--on-felt-muted); font-size: 1.08rem; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--on-felt); }
.trust svg { width: 18px; height: 18px; flex: none; color: var(--gold); }

/* ---------- Toplist ---------- */
.toplist-section { margin-top: -56px; }
.toplist-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 14px; color: var(--on-felt-muted); font-size: .85rem; }
.toplist { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: rank; }

.casino {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  counter-increment: rank;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.casino:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(10,40,31,.06), 0 14px 32px rgba(10,40,31,.12); }
.casino.is-featured { border: 2px solid var(--gold); }
.casino-main {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) 200px;
  align-items: center; gap: 28px;
  padding: 22px 26px;
}

/* brand column: rank chip + logo + name */
.casino-brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.rank-chip {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--felt); color: var(--gold);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  border: 3px dashed rgba(214,169,63,.65);
  box-shadow: 0 0 0 2px var(--felt);
}
.is-featured .rank-chip { background: var(--gold); color: var(--felt-deep); border-color: rgba(255,255,255,.8); box-shadow: 0 0 0 2px var(--gold); }
.casino-logo {
  width: 132px; height: 80px; flex: none; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; background: var(--surface-2);
  transition: transform .15s;
}
.casino-logo:hover { transform: scale(1.03); }
.casino-logo img, .casino-logo svg { width: 100%; height: 100%; object-fit: contain; }
.casino-id { min-width: 0; display: grid; gap: 2px; }
.casino-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.2;
  color: var(--ink); text-decoration: none;
}
.casino-name:hover { color: var(--link); text-decoration: underline; }
.rating { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rating b { color: var(--ink); font-size: .95rem; }
.stars {
  font-size: .95rem; letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gold) calc(var(--r, 10) * 10%), var(--line) 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pick-tag {
  justify-self: start; margin-bottom: 4px;
  background: var(--gold-soft); color: var(--ink);
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 2px 9px; border-radius: 999px;
}

/* offer column */
.offer-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.offer-title {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; line-height: 1.2;
  margin: 2px 0 12px; letter-spacing: -.02em;
}
.offer-title span { color: var(--link); }
.payments { display: flex; flex-wrap: wrap; gap: 6px; }
.pay {
  height: 24px; min-width: 42px; padding: 0 8px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .64rem; font-weight: 800; letter-spacing: .02em;
  border: 1px solid #e3e7e5; background: #fff; color: #333;
}
.pay[data-pay="visa"]        { color: #1a1f71; font-style: italic; }
.pay[data-pay="paypal"]      { color: #003087; font-style: italic; }
.pay[data-pay="skrill"]      { color: #862165; }
.pay[data-pay="neteller"]    { color: #5e8f22; }
.pay[data-pay="bitcoin"]     { color: #d97b06; }
.pay[data-pay="applepay"]    { color: #000; }
.pay[data-pay="paysafecard"] { color: #0077b0; }
.pay[data-pay="banktransfer"]{ color: #374151; }
.pay .mc { display: inline-flex; }
.pay .mc i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.pay .mc i:first-child { background: #eb001b; }
.pay .mc i:last-child { background: #f79e1b; margin-left: -5px; opacity: .9; }

/* CTA column */
.casino-cta { display: grid; gap: 6px; text-align: center; }
.btn-play {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 18px; border-radius: 12px;
  background: var(--cta); color: var(--cta-ink);
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.14);
  transition: background .15s, transform .1s;
}
.btn-play::after { content: "→"; transition: transform .15s; }
.btn-play:hover { background: var(--cta-hover); }
.btn-play:hover::after { transform: translateX(3px); }
.btn-play:active { transform: translateY(1px); }
.cta-note { font-size: .76rem; color: var(--muted); }

/* terms row */
.terms {
  list-style: none; margin: 0; padding: 10px 26px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0;
  background: var(--surface-2); border-top: 1px solid var(--line);
  font-size: .76rem; color: var(--muted);
}
.terms li { display: inline-flex; align-items: center; }
.terms li + li::before { content: "·"; margin: 0 9px; color: var(--line); font-weight: 800; }
.terms .t-age {
  border: 1.5px solid #c2410c; color: #c2410c; border-radius: 4px;
  padding: 0 5px; font-weight: 800; font-size: .7rem; line-height: 1.4;
}
.terms .t-age::before, .terms .t-age + li::before { content: none; }
.terms .t-age + li { margin-left: 9px; }
.terms strong { color: var(--ink); font-weight: 700; margin-left: 3px; }
.terms a { color: var(--muted); }

.disclosure { font-size: .8rem; color: var(--muted); margin: 16px 0 0; max-width: 90ch; }

/* ---------- Content ---------- */
.section { padding-block: 56px 0; }
.content {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
}
.content > * { max-width: 72ch; }
.content > .table-wrap { max-width: none; }
.content h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; margin: 1.8em 0 .5em; }
.content h2:first-of-type { margin-top: .4em; }
.content h3 { font-size: 1.2rem; margin: 1.5em 0 .4em; }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin: .35em 0; }
.content li::marker { color: var(--link); font-weight: 700; }
.content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; font-variant-numeric: tabular-nums; }
.content th, .content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.content th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.content tbody tr:first-child td { font-weight: 700; }
.table-wrap { overflow-x: auto; }
.toc { border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; margin-bottom: 8px; background: var(--surface-2); }
.toc strong { display: block; margin-bottom: 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc ol { margin: 0; }
.callout { background: var(--gold-soft); padding: 16px 20px; border-radius: 12px; margin: 1.4em 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.faq h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.15; }
.faq-intro p { color: var(--muted); margin: 10px 0 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); font-size: 1.1rem; font-weight: 500;
}
.faq details[open] summary::after { content: "–"; background: var(--gold); border-color: var(--gold); color: var(--felt-deep); }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 65ch; }

/* ---------- Author box ---------- */
.author {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.author-avatar { width: 88px; height: 88px; border-radius: 50%; flex: none; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 4px var(--gold-soft); }
.author-avatar img, .author-avatar svg { width: 100%; height: 100%; object-fit: cover; }
.author-body { min-width: 0; }
.author-meta { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.author h3 { margin: 2px 0 0; font-size: 1.3rem; }
.author-role { color: var(--link); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.author p { margin: 0 0 12px; max-width: 70ch; }
.author-links { display: flex; gap: 16px; font-size: .9rem; font-weight: 600; flex-wrap: wrap; }
.author-dates { font-size: .8rem; color: var(--muted); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 72px; background: var(--felt-deep); color: var(--on-felt-muted); padding-block: 36px; font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.site-footer .logo { font-size: 1.1rem; }
.site-footer .logo-symbol { width: 30px; height: 30px; font-size: .85rem; border-width: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--on-felt); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-rg { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); width: 100%; }
.badge-18 { border: 2px solid #f97316; color: #f97316; border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .casino-main { grid-template-columns: minmax(0, 1fr) 200px; }
  .casino-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    background: var(--felt-deep); padding: 8px 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .faq { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .hero { padding-block: 32px 80px; }
  .casino-main { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .casino-logo { width: 104px; height: 64px; }
  .rank-chip { width: 32px; height: 32px; font-size: .9rem; }
  .casino-brand { gap: 12px; }
  .offer-title { font-size: 1.25rem; }
  .terms { padding: 10px 18px; }
  .author { flex-direction: column; padding: 22px; }
}
.rank-chip::before { content: counter(rank); }

/* ---------- Sticky top-offer bar (built by main.js from the #1 casino) ---------- */
.sticky-offer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--felt-deep); color: var(--on-felt);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 24px rgba(0,0,0,.25);
  padding-block: 10px calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-offer.is-visible { transform: none; }
.sticky-inner { display: flex; align-items: center; gap: 14px; }
.sticky-logo { width: 76px; height: 46px; flex: none; border-radius: 8px; overflow: hidden; display: block; }
.sticky-logo svg, .sticky-logo img { width: 100%; height: 100%; object-fit: contain; }
.sticky-text { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.sticky-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-felt-muted); font-weight: 700; }
.sticky-bonus { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff; }
.sticky-bonus span { color: var(--gold); }
.sticky-offer .btn-play { flex: none; padding: 12px 20px; font-size: .98rem; }
body.has-sticky .site-footer { padding-bottom: 110px; }

/* ---------- Mobile: get offer #1 above the fold ---------- */
@media (max-width: 640px) {
  .header-inner { height: 56px; }
  .logo { font-size: 1.15rem; }
  .logo-symbol { width: 30px; height: 30px; font-size: .9rem; border-width: 2px; }
  .nav { top: 56px; }
  .nav-toggle { width: 40px; height: 40px; }

  .hero { padding-block: 16px 60px; }
  .breadcrumbs { margin-bottom: 4px; font-size: .78rem; }
  .hero h1 { font-size: 1.6rem; line-height: 1.12; margin-bottom: 8px; max-width: none; }
  .hero p {
    font-size: .92rem; line-height: 1.5; margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .trust {
    flex-wrap: nowrap; overflow-x: auto; gap: 18px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
            mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .trust::-webkit-scrollbar { display: none; }
  .trust li { white-space: nowrap; font-size: .8rem; }
  .trust svg { width: 15px; height: 15px; }

  .toplist-section { margin-top: -46px; }
  .toplist { gap: 14px; }
  .casino-main { gap: 12px; padding: 14px 16px; }
  .casino-logo { width: 96px; height: 58px; }
  .rank-chip { width: 30px; height: 30px; font-size: .85rem; }
  .casino-name { font-size: 1.05rem; }
  .pick-tag { font-size: .62rem; margin-bottom: 2px; }
  .offer-label { display: none; }
  .offer-title { font-size: 1.2rem; margin: 0 0 8px; }
  .btn-play { padding: 13px 16px; }
  .cta-note { display: none; }
  .terms { padding: 8px 16px; }

  .sticky-inner { gap: 10px; }
  .sticky-logo { width: 60px; height: 38px; }
  .sticky-label { display: none; }
  .sticky-bonus { font-size: .92rem; }
  .sticky-offer .btn-play { padding: 11px 14px; font-size: .9rem; }
  .sticky-offer .btn-play::after { content: none; }
}

/* ---------- Logo wordmark ---------- */
.logo-text { display: inline-flex; align-items: baseline; }
.logo-text b { color: var(--gold); letter-spacing: .02em; }
.logo-text small { font-size: .6em; font-weight: 700; color: var(--on-felt-muted); margin-left: 1px; letter-spacing: 0; }

/* ---------- About us ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: center;
  background: var(--felt); color: var(--on-felt);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 44px);
  background-image: radial-gradient(ellipse 70% 120% at 100% 0%, rgba(214,169,63,.16), transparent 60%);
}
.about-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--gold); }
.about h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.2; margin: 6px 0 12px; color: #fff; }
.about p { margin: 0 0 16px; color: var(--on-felt-muted); max-width: 60ch; }
.about-link { color: var(--gold); font-weight: 700; }
.about-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about-stats li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.about-stats b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.about-stats span { color: var(--on-felt); font-weight: 600; font-size: .92rem; }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; gap: 20px; }
  .about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .about-stats li { flex-direction: column; gap: 4px; padding: 12px; }
  .about-stats b { font-size: 1.25rem; }
  .about-stats span { font-size: .78rem; }
}

/* Payment badges under the Play now button */
.casino-cta .payments { justify-content: center; margin-top: 4px; }
.offer-title { margin-bottom: 0; }
@media (min-width: 981px) { .casino-main { grid-template-columns: 340px minmax(0, 1fr) 230px; } }
@media (max-width: 640px) { .offer-title { margin: 0; } .casino-cta .payments { margin-top: 2px; } }

/* Mobile: logo already shows the brand, so hide name + rating and put the bonus beside the logo */
@media (max-width: 640px) {
  .casino-main { grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; }
  .casino-brand { grid-column: auto; gap: 10px; }
  .casino-id { display: none; }
  .casino-offer { min-width: 0; }
  .offer-title { font-size: 1.08rem; line-height: 1.25; }
  .casino-cta { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .casino-logo { width: 84px; height: 52px; }
  .offer-title { font-size: 1rem; }
}
.casino-cta .payments { gap: 4px; }
.casino-cta .pay { min-width: 36px; padding: 0 6px; height: 22px; font-size: .6rem; }
@media (min-width: 981px) { .casino-main { grid-template-columns: 330px minmax(0, 1fr) 250px; } }

/* Rank chip sits on the logo's top-left corner instead of taking its own column */
.logo-wrap { position: relative; flex: none; }
.rank-chip {
  position: absolute; top: -9px; left: -9px; z-index: 1;
  width: 28px; height: 28px; font-size: .8rem; border-width: 2px;
}
@media (max-width: 640px) {
  .rank-chip { width: 24px; height: 24px; font-size: .72rem; top: -7px; left: -7px; }
}
@media (min-width: 981px) { .casino-main { grid-template-columns: 290px minmax(0, 1fr) 250px; } }

/* ---------- Page cards (internal links to other pages) ---------- */
.section-title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.2; margin: 0 0 16px; }
.page-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.page-card {
  position: relative; display: grid; gap: 6px; align-content: start;
  padding: 20px 20px 44px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.page-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.page-card-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--felt); color: var(--gold); margin-bottom: 6px;
}
.page-card-icon svg { width: 22px; height: 22px; }
.page-card-title { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; line-height: 1.25; }
.page-card-text { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.page-card-go {
  position: absolute; left: 20px; bottom: 16px; font-weight: 800; color: var(--link);
  transition: transform .15s;
}
.page-card:hover .page-card-go { transform: translateX(4px); }
@media (max-width: 900px) { .page-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .page-cards { gap: 10px; }
  .page-card { padding: 14px 14px 36px; }
  .page-card-icon { width: 34px; height: 34px; border-radius: 10px; }
  .page-card-title { font-size: .98rem; }
  .page-card-text { font-size: .8rem; }
  .page-card-go { left: 14px; bottom: 12px; }
}

/* ---------- Pages without a toplist (e.g. legal pages) ---------- */
.hero--compact { padding-block: 40px 44px; }

/* ---------- Footer: page links, RG note, legal row ---------- */
.site-footer .container { display: grid; gap: 0; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem;
}
.footer-legal a { color: var(--on-felt-muted); }

/* Five menu items need more room: collapse the menu earlier */
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    background: var(--felt-deep); padding: 8px 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
}
@media (max-width: 640px) { .nav { top: 56px; } }

/* ---------- More payment badge colours ---------- */
.pay[data-pay="payid"]      { color: #0b6b4f; }
.pay[data-pay="revolut"]    { color: #111; }
.pay[data-pay="googlepay"]  { color: #3c4043; }
.pay[data-pay="flexepin"]   { color: #e2231a; }
.pay[data-pay="neosurf"]    { color: #d6156c; }
.pay[data-pay="mifinity"]   { color: #5b2a86; }
.pay[data-pay="jeton"]      { color: #ef7d00; }
.pay[data-pay="astropay"]   { color: #c8102e; }
.pay[data-pay="muchbetter"] { color: #0f8a8a; }
.pay[data-pay="litecoin"]   { color: #345d9d; }
.pay[data-pay="tether"]     { color: #26a17b; }
.pay[data-pay="solana"]     { color: #7a3fe4; }
.pay[data-pay="cardano"]    { color: #0033ad; }
.pay[data-pay="cashtocode"] { color: #2a7d2e; }

/* ---------- H1 with brand suffix ---------- */
.hero h1 .h1-site { color: var(--gold); font-weight: 700; font-size: .62em; letter-spacing: -.01em; white-space: nowrap; }
.hero h1 { max-width: none; }
.hero p strong { color: #fff; font-weight: 700; }

/* ---------- Content: lead, tables, reviews, pros & cons ---------- */
.content .lead { font-size: 1.04rem; }
.content .lead:last-of-type { margin-bottom: 1.4em; }
.content > .review, .content > .proscons { max-width: none; }
.content th[scope="row"] { font-weight: 700; color: var(--ink); background: transparent; font-size: .95rem; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.content th[scope="row"] a { color: var(--ink); text-decoration-color: var(--gold); }
.content td { white-space: nowrap; }
.content thead th { white-space: nowrap; }
.toc ol { columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

.review {
  margin: 28px 0; padding: 22px clamp(16px, 3vw, 26px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2);
  scroll-margin-top: 84px;
}
.review-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.review-head h3 { margin: 0; flex: 1; min-width: 0; font-size: 1.3rem; }
.review-logo.casino-logo { width: 96px; height: 58px; border-radius: 10px; }
.btn-play.btn-small { padding: 10px 16px; font-size: .92rem; flex: none; }
.review p { margin: 0 0 .8em; }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 4px; }
.proscons > div { border-radius: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); }
.pc-title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.pros .pc-title { color: var(--link); }
.cons .pc-title { color: #b45309; }
.proscons ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.proscons li { position: relative; padding-left: 24px; margin: 0; font-size: .94rem; line-height: 1.45; }
.proscons li::before {
  position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem; font-weight: 800;
}
.pros li::before { content: "✓"; background: #dcf3e8; color: #0f6b4c; }
.cons li::before { content: "✕"; background: #fde8d7; color: #b45309; }

.page-note { margin: 20px 0 0; font-size: .85rem; color: var(--muted); max-width: 90ch; }

@media (max-width: 640px) {
  .review-head { flex-wrap: wrap; gap: 12px; }
  .review-head h3 { font-size: 1.15rem; }
  .review-head .btn-small { width: 100%; justify-content: center; order: 3; }
  .review-logo.casino-logo { width: 84px; height: 50px; }
  .proscons { grid-template-columns: 1fr; }
  .hero h1 .h1-site { display: block; font-size: .55em; margin-top: 4px; }
}

/* Hero links readable on green; highlight sub-line on its own row; tidy content top */
.hero p a { color: var(--gold); text-decoration-color: rgba(214,169,63,.5); }
.offer-title--highlight span { display: block; font-size: .72em; font-weight: 700; margin-top: 2px; }
.sticky-bonus span { margin-left: 4px; }
.content > :first-child { margin-top: 0; }
@media (max-width: 640px) { .offer-title--highlight span { font-size: .8em; } }

/* Real logo images fill the logo box (they are pre-cropped to its shape) */
.casino-logo img, .sticky-logo img { object-fit: cover; }

/* ---------- Square logos ---------- */
.casino-logo { width: 92px; height: 92px; border-radius: 14px; }
.review-logo.casino-logo { width: 64px; height: 64px; border-radius: 12px; }
.sticky-logo { width: 48px; height: 48px; border-radius: 10px; }
@media (min-width: 981px) { .casino-main { grid-template-columns: 270px minmax(0, 1fr) 250px; } }
@media (max-width: 640px) {
  .casino-logo { width: 72px; height: 72px; border-radius: 12px; }
  .review-logo.casino-logo { width: 56px; height: 56px; }
  .sticky-logo { width: 42px; height: 42px; }
}
