/* =========================================================================
   SPD88MY.com — Stylesheet
   Independent informational guide (dark casino theme, gold accents)
   Performance-first: system fonts, no external requests, low CLS.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces — black base (design system: color.surface.base=#000000) */
  --bg: #000000;
  --bg-2: #08090b;
  --surface: #101216;
  --surface-2: #171a20;
  --border: #272a31;
  --border-2: rgba(255, 255, 255, .12);

  /* Text — near-white for AA contrast on black */
  --text: #f3f5f8;
  --muted: #a7adb9;
  --muted-2: #767d8a;

  /* Brand — red (design system: color.surface.strong=#fc0000, text.tertiary=#ff0000) */
  --brand: #ff3b3b;          /* accent text / links / icons (AA on black) */
  --brand-2: #c40000;        /* gradient end */
  --brand-strong: #e50914;   /* button base */
  --brand-soft: rgba(229, 9, 20, .14);
  --brand-border: rgba(229, 9, 20, .42);

  /* Semantic feedback (shape-coded too, for colour-blind users) */
  --green: #35c46a;  --green-soft: rgba(53, 196, 106, .14);   /* pros / safe */
  --red: #ff5252;    --red-soft: rgba(255, 82, 82, .14);      /* cons */
  --warn: #ffb02e;   --warn-soft: rgba(255, 176, 46, .14);    /* caution notices */
  --info: #cfd6e2;   --info-soft: rgba(255, 255, 255, .07);   /* neutral notes */

  /* Radius (design system radius.* tokens) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .5);
  --shadow-brand: 0 6px 22px rgba(229, 9, 20, .32);

  /* Motion (design system motion.duration.*) */
  --dur-instant: 120ms;
  --dur-fast: 200ms;
  --dur-normal: 300ms;

  --maxw: 1140px;
  --prose: 74ch;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  --font-head: var(--font);

  --header-h: 64px;
  --sidebar-w: 264px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 460px at 82% -10%, rgba(229, 9, 20, .12) 0%, transparent 60%),
    radial-gradient(820px 460px at -8% 0%, rgba(255, 255, 255, .03) 0%, transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Prose/inline links underlined so they aren't distinguished by colour alone (a11y) */
.article > p a, .article > ul a, .article > ol a, .article > header a, .article .definition a,
.a-bio a, .byline a, .notice a, .faq .faq-a a, .tldr a, .footer-disclaimer a, .footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
/* Visually hidden (available to assistive tech / heading order) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; font-weight: 700; color: #fff; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin: 2.2rem 0 .8rem; letter-spacing: -.01em; }
h3 { font-size: clamp(1.12rem, 2vw, 1.28rem); margin: 1.6rem 0 .5rem; }
p { margin: 0 0 1rem; }
strong { color: #fff; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
li { margin: .35rem 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.2rem 0; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--brand); color: #0a0a0b; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 800;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
main { display: block; }
.section { padding: clamp(2rem, 5vw, 3.2rem) 0; }
.prose { max-width: var(--prose); }
.prose h2 { scroll-margin-top: calc(var(--header-h) + 14px); }

/* Article: readable text column, full-width media blocks */
.article { max-width: 840px; margin-inline: auto; padding: 8px 0 1rem; }
.article > header { margin-bottom: 1.4rem; }
.article > p, .article > ul, .article > ol, .article > h2, .article > h3, .article > h4, .article > .definition, .article header > p { max-width: 68ch; }
.article > h2 { scroll-margin-top: calc(var(--header-h) + 14px); padding-top: .3rem; }
.article > h2::before { content: ""; display: block; width: 42px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), transparent); margin-bottom: .7rem; }

/* ---------- Top bar (age / disclaimer strip) ---------- */
.topbar {
  background: #05070b;
  color: var(--muted);
  font-size: .78rem;
  border-bottom: 1px solid var(--border);
}
.topbar .container { display: flex; gap: 14px; align-items: center; justify-content: center; padding-block: 6px; text-align: center; flex-wrap: wrap; }
.topbar b { color: var(--brand); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 34px; height: 34px; flex: 0 0 auto; }
.brand .brand-sub { font-size: .62rem; font-weight: 600; color: var(--muted-2); letter-spacing: .12em; text-transform: uppercase; display: block; line-height: 1; margin-top: 2px; }
.brand-logo { height: 34px; width: auto; display: block; flex: 0 0 auto; }
.footer-brand .brand-logo { height: 30px; }
@media (max-width: 400px) { .brand-logo { height: 30px; } }

/* Header CTA (Rewards) — pushed to the right */
.nav-cta {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: linear-gradient(180deg, var(--brand-strong), var(--brand-2)); color: #fff;
  padding: 10px 18px; border-radius: 9px; font-weight: 800; box-shadow: var(--shadow-brand);
}
.nav-cta svg { width: 18px; height: 18px; }
.nav-cta:hover { filter: brightness(1.08); color: #fff; text-decoration: none; }

/* Menu button (opens sidebar) */
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-weight: 700; font-size: .95rem;
  background: var(--surface-2); border: 1px solid var(--border); color: #fff;
  height: 40px; padding: 0 14px; border-radius: 9px; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--brand); color: var(--brand); }
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 460px) { .nav-toggle-label { display: none; } .nav-toggle { padding: 0 11px; } }

/* ---------- Off-canvas sidebar menu ---------- */
.sidebar-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .62); backdrop-filter: blur(2px);
  z-index: 190; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.sidebar-backdrop.open { opacity: 1; visibility: visible; }
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 84vw;
  background: var(--bg-2); border-right: 1px solid var(--border); z-index: 200;
  display: flex; flex-direction: column; overflow-y: auto; box-shadow: var(--shadow);
  transform: translateX(-100%); visibility: hidden;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), visibility .28s;
}
.sidebar.open { transform: none; visibility: visible; }
.sidebar-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg-2); z-index: 1;
}
.sidebar-close {
  flex: 0 0 auto; background: var(--surface-2); border: 1px solid var(--border); color: #fff;
  width: 40px; height: 40px; border-radius: 9px; cursor: pointer; display: grid; place-items: center;
}
.sidebar-close:hover { border-color: var(--brand); color: var(--brand); }
.sidebar-close svg { width: 20px; height: 20px; }
.sidebar-nav { padding: 12px; flex: 1 0 auto; }
.sidebar-nav ul { list-style: none; margin: 0; padding: 0; }
.sidebar-nav li { margin: 2px 0; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 9px;
  color: var(--muted); font-weight: 600; font-size: 1.02rem;
}
.sidebar-nav a:hover { background: var(--surface-2); color: #fff; text-decoration: none; }
.sidebar-nav a[aria-current="page"] { color: var(--brand); background: var(--surface-2); box-shadow: inset 3px 0 0 var(--brand); }
.sidebar-nav .s-ico { width: 19px; height: 19px; flex: 0 0 auto; color: var(--brand); }
.sidebar-foot { padding: 14px 16px 24px; border-top: 1px solid var(--border); }
.sidebar-cta { width: 100%; justify-content: center; }
.sidebar-note { font-size: .78rem; color: var(--muted-2); margin: 12px 0 0; line-height: 1.55; }
body.sidebar-open { overflow: hidden; }

/* Desktop (>=1024px): the sidebar menu is always visible on the left */
@media (min-width: 1024px) {
  body { padding-left: var(--sidebar-w); }
  .site-header { display: none; }
  .sidebar { transform: none; visibility: visible; width: var(--sidebar-w); max-width: none; box-shadow: none; }
  .sidebar-close, .nav-toggle, .sidebar-backdrop { display: none; }
  body.sidebar-open { overflow: auto; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--muted-2); padding: 12px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li::after { content: "›"; margin-left: 6px; color: var(--border-2); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--muted-2); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.4rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft); border: 1px solid var(--brand-border);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 16px;
}
.hero h1 { max-width: 20ch; }
.hero .lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 60ch; margin-bottom: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }

/* Two-column hero: copy + promo image */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.hero-media { min-width: 0; }
.hero-img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-copy h1 { max-width: 22ch; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: .98rem; cursor: pointer; border: 1px solid transparent; transition: transform .12s, filter .12s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, var(--brand-strong), var(--brand-2)); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--surface-2); color: #fff; border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: border-color .15s, transform .15s;
}
a.card { display: block; color: inherit; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); text-decoration: none; }
.card h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }
.card .card-ico { width: 26px; height: 26px; color: var(--brand); flex: 0 0 auto; }
.card .arrow { color: var(--brand); font-weight: 700; }

/* Nav-tile grid (related pages) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-weight: 600; }
.tile:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.tile .t-ico { width: 20px; height: 20px; color: var(--brand); flex: 0 0 auto; }

/* ---------- Quick-facts / stat grid ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 1.4rem 0; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.stat .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.stat .v { font-size: 1.15rem; font-weight: 800; color: #fff; margin-top: 2px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 460px; font-size: .96rem; }
caption { text-align: left; color: var(--muted-2); font-size: .85rem; padding: 10px 14px 0; }
th, td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--surface-2); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #ffffff04; }

/* ---------- Notice / callout boxes ---------- */
.notice { display: flex; gap: 14px; border: 1px solid var(--border); border-left-width: 4px; border-radius: var(--radius-sm); padding: 15px 18px; margin: 1.3rem 0; background: var(--surface); }
.notice .n-ico { flex: 0 0 auto; width: 24px; height: 24px; margin-top: 2px; }
.notice p:last-child { margin-bottom: 0; }
.notice strong { display: block; margin-bottom: 2px; }
.notice-warn { border-left-color: var(--warn); background: linear-gradient(90deg, var(--warn-soft), transparent 40%); }
.notice-warn .n-ico { color: var(--red); }
.notice-info { border-left-color: var(--info); background: linear-gradient(90deg, var(--info-soft), transparent 40%); }
.notice-info .n-ico { color: var(--info); }
.notice-gold { border-left-color: var(--brand); background: linear-gradient(90deg, var(--brand-soft), transparent 40%); }
.notice-gold .n-ico { color: var(--brand); }
.notice-safe { border-left-color: var(--green); background: linear-gradient(90deg, var(--green-soft), transparent 40%); }
.notice-safe .n-ico { color: var(--green); }

/* ---------- TL;DR / key takeaways ---------- */
.tldr { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 1.6rem; }
.tldr h2, .tldr .tldr-h { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin: 0 0 .6rem; }
.tldr p:last-child, .tldr ul:last-child { margin-bottom: 0; }
.tldr ul { padding-left: 1.15rem; }

/* ---------- Steps ---------- */
ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.2rem 0; }
ol.steps > li { position: relative; padding: 4px 0 16px 52px; margin: 0; }
ol.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-soft); border: 1px solid var(--brand-border); color: var(--brand); font-weight: 800;
  display: grid; place-items: center; font-size: .95rem;
}
ol.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 34px; bottom: 4px; width: 1px; background: var(--border); }
ol.steps > li b { color: #fff; }

/* ---------- Pros / cons ---------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.3rem 0; }
@media (max-width: 620px) { .proscons { grid-template-columns: 1fr; } }
.pc { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); }
.pc h3 { margin-top: 0; display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.pc ul { list-style: none; padding: 0; margin: 0; }
.pc li { position: relative; padding-left: 26px; margin: .5rem 0; color: var(--muted); font-size: .95rem; }
.pc.pros h3 { color: var(--green); }
.pc.cons h3 { color: var(--red); }
.pc.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.pc.cons li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

/* ---------- FAQ (native details/summary — crawlable) ---------- */
.faq { margin: 1.2rem 0; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; background: var(--surface); overflow: hidden; }
.faq details[open] { border-color: var(--brand-border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 48px 15px 18px; font-weight: 700; color: #fff; position: relative; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 18px 16px; color: var(--muted); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Author box (E-E-A-T) ---------- */
.authorbox { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 2rem 0; }
.authorbox .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 2px solid var(--brand-border); background: var(--surface-2); }
.authorbox .a-name { font-weight: 800; color: #fff; }
.authorbox .a-role { color: var(--brand); font-size: .85rem; font-weight: 600; }
.authorbox .a-bio { color: var(--muted); font-size: .93rem; margin: .4rem 0 0; }
.byline { color: var(--muted-2); font-size: .9rem; margin: -.2rem 0 1.4rem; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.byline a { color: var(--muted); }
.byline .dot { color: var(--border-2); }

/* ---------- Page meta (updated date) ---------- */
.pagemeta { color: var(--muted-2); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 1rem; }

/* ---------- TOC ---------- */
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 1.8rem; }
.toc .toc-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted-2); margin-bottom: .5rem; }
.toc ol { columns: 2; column-gap: 28px; margin: 0; padding-left: 1.1rem; font-size: .95rem; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--brand); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0; }
.chip { font-size: .82rem; padding: 5px 12px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
.chip.gold { color: var(--brand); border-color: var(--brand-border); background: var(--brand-soft); }

/* ---------- Rating (review page) ---------- */
.ratingcard { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 1.4rem 0; }
.ratingcard .score { font-size: 2.6rem; font-weight: 800; color: var(--brand); line-height: 1; }
.ratingcard .score small { font-size: 1rem; color: var(--muted-2); font-weight: 600; }
.ratingcard .stars { color: var(--brand); font-size: 1.3rem; letter-spacing: 2px; }
.ratingbars { flex: 1 1 320px; display: grid; gap: 8px; min-width: 260px; }
.ratingbars .rb { display: grid; grid-template-columns: 130px 1fr 34px; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); }
.ratingbars .bar { height: 8px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.ratingbars .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-2), var(--brand)); }

/* ---------- CTA band ---------- */
.ctaband { background: linear-gradient(120deg, #1c0507, #0a0a0c); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); text-align: center; margin: 2.4rem 0; }
.ctaband h2 { margin-top: 0; }
.ctaband p { color: var(--muted); max-width: 56ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: #050506; border-top: 1px solid var(--border); margin-top: 2rem; padding: clamp(2.2rem, 5vw, 3.4rem) 0 1.5rem; color: var(--muted); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4, .footcol-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 7px 0; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--brand); }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; color: var(--muted-2); max-width: 34ch; }
.footer-badges { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.badge18 { width: 40px; height: 40px; border: 2px solid var(--red); color: var(--red); border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .82rem; flex: 0 0 auto; }
.badge-rg { font-size: .78rem; border: 1px solid var(--border); border-radius: 100px; padding: 6px 12px; color: var(--muted); }
.footer-legal { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--muted-2); }
.footer-legal .fl-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-disclaimer { font-size: .8rem; color: var(--muted-2); margin-top: 14px; line-height: 1.6; }

/* ---------- Misc ---------- */
.lead-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2rem 0; }
.definition { background: var(--surface-2); border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 1rem 0; color: var(--muted); }
.definition b { color: #fff; }
.centered { text-align: center; }
.mt-0 { margin-top: 0; }
.text-muted { color: var(--muted); }

/* ---------- Figures / platform screenshots ---------- */
.feature-img, .body-figure { margin: 0 auto 1.6rem; max-width: 440px; }
.feature-img { margin: .2rem auto 2rem; }
.feature-img img, .body-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.feature-img figcaption, .body-figure figcaption { margin-top: 9px; font-size: .82rem; color: var(--muted-2); text-align: center; line-height: 1.5; }
.body-figure { max-width: 420px; }
@media (max-width: 520px) { .feature-img, .body-figure { max-width: 100%; } }
.img-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: .4rem 0 1.8rem; }
.img-gallery .body-figure { max-width: none; margin: 0; }
#screenshots { scroll-margin-top: calc(var(--header-h) + 14px); }
@media (max-width: 560px) { .img-gallery { grid-template-columns: 1fr; } }
/* Images are affiliate CTAs (wrapped in the Rewards referral link) */
.img-cta { display: block; cursor: pointer; }
.img-cta img { transition: filter .15s ease, transform .15s ease; }
.img-cta:hover img { filter: brightness(1.06); }
.hero-media .img-cta:hover img { transform: translateY(-2px); }
