/* SDMP casino starter — a dark promo landing for affiliate review sites.
   Every colour and size lives in :root so the look can be retuned in one place. */
:root {
  --bg: #170f1f;
  --surface: #221730;
  --surface-2: #2c1f3d;
  --ink: #faf5fd;
  --text: #e6dcec;
  --muted: #a998b5;
  --line: #3a2b4d;
  --accent: #ffb454;
  --accent-hover: #ffc272;
  --accent-ink: #412402;
  --radius: 12px;
  --wrap: 1040px;
  --prose: 760px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--font);
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Buttons ------------------------------------------------------------ */
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.15s ease;
}
.button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.button--small { padding: 9px 18px; font-size: 14px; }

/* Header + menu ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(23, 15, 31, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__row { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { color: var(--ink); font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.brand__mark { color: var(--accent); font-size: 16px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav__link { color: var(--muted); font-size: 15px; text-decoration: none; padding: 6px 0; }
.nav__link:hover { color: var(--ink); }
.site-header__cta { margin-left: auto; }

/* Hero --------------------------------------------------------------- */
.hero { padding: 72px 0 48px; text-align: center; }
.hero__inner { max-width: 860px; }
.hero__eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; }
.hero__title { margin: 0; color: var(--ink); font-size: 46px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { margin: 20px auto 0; max-width: 640px; font-size: 19px; color: var(--text); }
.hero__actions { margin: 28px 0 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__note { color: var(--muted); font-size: 13px; }

/* Payout ticker ------------------------------------------------------ */
.ticker { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker__track { display: flex; gap: 48px; list-style: none; margin: 0; padding: 12px 24px; white-space: nowrap; font-size: 14px; color: var(--muted); will-change: transform; }
.ticker__track b { color: var(--ink); font-weight: 600; }
.ticker__sum { color: var(--accent); font-weight: 700; }

/* Table of contents -------------------------------------------------- */
.toc { max-width: var(--prose); margin-top: 40px; }
.toc__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
}
.toc__toggle[aria-expanded="true"] { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.toc__chevron { width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s ease; margin-top: -4px; }
.toc__toggle[aria-expanded="false"] .toc__chevron { transform: rotate(-135deg); margin-top: 4px; }
.toc__list { margin: 0; padding: 10px 18px 14px 40px; background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.toc__list li { margin: 4px 0; }
.toc__list a { color: var(--text); text-decoration: none; }
.toc__list a:hover { color: var(--accent); }

/* Body text ---------------------------------------------------------- */
.prose { max-width: var(--prose); padding: 8px 24px 72px; }
.prose h2 { margin: 48px 0 14px; color: var(--ink); font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 800; }
.prose h2 em { font-style: normal; color: var(--accent); }
.prose h3 { margin: 28px 0 8px; color: var(--accent); font-size: 20px; font-weight: 700; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 18px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 24px 0; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 700; background: var(--surface-2); }
.prose tr:last-child td { border-bottom: 0; }
.prose code { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; background: var(--surface-2); padding: 1px 6px; border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose .cta-row { text-align: center; margin: 8px 0 24px; }

/* Checklist: any list with class "checklist" gets accent ticks */
.prose .checklist { list-style: none; padding: 20px 22px; margin: 0 0 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.prose .checklist li { position: relative; padding-left: 28px; margin: 8px 0; }
.prose .checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }

/* FAQ: native <details> styled as an accordion */
.prose details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 10px; padding: 0 18px; }
.prose summary { cursor: pointer; padding: 14px 0; color: var(--ink); font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.prose details[open] summary::after { content: "–"; }
.prose details p { margin: 0 0 16px; color: var(--text); }

/* Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 32px 0; font-size: 14px; }
.site-footer__row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: baseline; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.footer-menu a { color: var(--muted); text-decoration: none; }
.footer-menu a:hover { color: var(--ink); }
.site-footer__note { margin: 0; color: var(--muted); width: 100%; }

/* Back to top -------------------------------------------------------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: 50%;
  text-decoration: none; font-size: 18px; opacity: 0.9;
}
.to-top:hover { background: var(--accent); color: var(--accent-ink); }
.to-top[hidden] { display: none; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header__row { gap: 12px; flex-wrap: wrap; padding: 10px 0; }
  .nav { order: 3; width: 100%; gap: 4px 16px; }
  .site-header__cta { margin-left: auto; }
  .hero { padding: 44px 0 32px; }
  .hero__title { font-size: 32px; }
  .hero__lead { font-size: 17px; }
  .prose { padding: 8px 16px 56px; }
  .prose h2 { font-size: 26px; }
  .to-top { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .toc__chevron { transition: none; }
}
