/* ============================================================
   Spinz Casino — Canada review & manual
   Brand theme: deep purple-black + hot pink + electric purple
   No images. SVG/CSS icons only. Responsive. Mobile table scroll.
   (Legacy --gold/--teal variable names are kept as aliases so the
    rest of the stylesheet needs no renaming; they now carry the
    Spinz pink / purple values.)
   ============================================================ */

:root {
  --bg:          #140a22;
  --bg-2:        #1b0e2e;
  --surface:     #211435;
  --surface-2:   #2d1c46;
  --line:        rgba(255, 61, 154, 0.20);
  --line-soft:   rgba(255, 255, 255, 0.07);
  --gold:        #ff3d9a;   /* primary brand pink */
  --gold-bright: #ff66b3;   /* bright pink accent  */
  --gold-deep:   #d61a78;   /* deep pink           */
  --teal:        #a855f7;   /* electric purple     */
  --teal-soft:   #7b2ff7;   /* deep purple         */
  --text:        #f6eeff;
  --muted:       #c3aed6;
  --muted-2:     #9b86b0;
  --danger:      #ff7a59;
  --radius:      14px;
  --radius-sm:   9px;
  --maxw:        1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, "Noto Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1100px 540px at 78% -8%, rgba(168,85,247,0.16), transparent 60%),
    radial-gradient(900px 600px at 5% 0%, rgba(255,61,154,0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

a { color: var(--gold-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 800; font-size: 16px; letter-spacing: .2px;
  border: 0; cursor: pointer; border-radius: 999px;
  padding: 13px 26px; line-height: 1; text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  color: #ffffff; box-shadow: 0 10px 26px rgba(255,61,154,0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255,61,154,0.42); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-1px); }
.btn-lg { font-size: 18px; padding: 16px 34px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(20, 10, 34, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-row {
  display: flex; align-items: center; gap: 18px;
  min-height: 70px; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand svg { display: block; height: 40px; width: auto; }
.brand .word { font-weight: 900; font-size: 21px; letter-spacing: .4px; color: var(--text); }
.brand .word b { color: var(--gold-bright); }

.main-nav { margin-left: 6px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  display: inline-block; padding: 9px 13px; border-radius: 8px;
  color: var(--muted); font-weight: 600; font-size: 15px;
}
.main-nav a:hover { color: var(--text); background: var(--surface); text-decoration: none; }

.header-cta { margin-left: auto; display: flex; gap: 10px; flex-shrink: 0; }
.header-cta .btn { padding: 10px 18px; font-size: 14px; }

/* ---------- Hero / first screen ---------- */
.hero { padding: 26px 0 14px; }

/* Top bonus banner — above everything in the first screen */
.bonus-hero {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(520px 220px at 88% 18%, rgba(168,85,247,0.30), transparent 65%),
    linear-gradient(135deg, #2a1248 0%, #1c0e30 60%, #160a26 100%);
  padding: 26px 30px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.bonus-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,61,154,0.05) 0 14px, transparent 14px 28px);
  pointer-events: none;
}
.bonus-badge {
  position: relative; z-index: 1;
  width: 86px; height: 86px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  color: #ffffff; font-weight: 900; line-height: 1.05;
  box-shadow: 0 0 0 6px rgba(255,61,154,0.16);
}
.bonus-badge .pct { font-size: 26px; }
.bonus-badge .sm { font-size: 10px; letter-spacing: 1px; }
.bonus-copy { position: relative; z-index: 1; }
.bonus-copy .kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold-bright);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-bottom: 8px;
}
.bonus-copy .headline { font-size: 26px; font-weight: 900; line-height: 1.15; margin: 2px 0 4px; }
.bonus-copy .headline span { color: var(--gold-bright); }
.bonus-copy .sub { color: var(--muted); font-size: 14.5px; margin: 0; }
.bonus-cta { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.bonus-cta .fineprint { font-size: 11.5px; color: var(--muted-2); text-align: center; }

.hero-head { margin-top: 30px; }
h1 {
  font-size: clamp(28px, 4.6vw, 46px); line-height: 1.1; font-weight: 900;
  letter-spacing: -0.4px; margin: 0 0 16px;
}
h1 .accent { color: var(--gold-bright); }
.hero-head p { color: var(--muted); font-size: 17px; margin: 0 0 14px; max-width: 880px; }
.age-flag {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-size: 13px; color: var(--muted); border: 1px dashed var(--line);
  border-radius: 999px; padding: 6px 14px;
}
.age-flag b { color: var(--gold-bright); }

/* ---------- Sections ---------- */
main section { padding: 30px 0; border-top: 1px solid var(--line-soft); }
main section:first-of-type { border-top: 0; }
h2 {
  font-size: clamp(22px, 3vw, 30px); font-weight: 850; line-height: 1.2;
  margin: 0 0 14px; letter-spacing: -0.2px;
}
h2 .num {
  display: inline-block; color: var(--gold); font-size: .62em; font-weight: 800;
  border: 1px solid var(--line); border-radius: 8px; padding: 2px 9px; margin-right: 10px;
  vertical-align: middle;
}
h3 { font-size: 19px; font-weight: 800; margin: 22px 0 8px; }
p { margin: 0 0 14px; }
.lead { color: var(--muted); }

ul.ticks { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 9px; }
ul.ticks li { position: relative; padding-left: 30px; color: var(--text); }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(168,85,247,0.18);
  border: 1.5px solid var(--teal);
  box-shadow: inset 0 0 0 0 transparent;
}
ul.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 10px;
  width: 4px; height: 8px; border: solid var(--gold-bright);
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---------- Table of contents ---------- */
.toc {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 20px 24px;
}
.toc h2 { font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin: 6px 0; break-inside: avoid; }
.toc a { color: var(--text); font-weight: 600; }
.toc a:hover { color: var(--gold-bright); }

/* ---------- Tables (responsive, mobile scroll) ---------- */
.table-wrap {
  width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  margin: 16px 0;
}
.table-wrap table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 15.5px; }
.table-wrap caption {
  caption-side: top; text-align: left; padding: 12px 16px 0;
  color: var(--muted-2); font-size: 12.5px;
}
.table-wrap th, .table-wrap td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.table-wrap thead th {
  background: var(--surface-2); color: var(--gold-bright);
  font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .6px;
  position: sticky; top: 0;
}
.table-wrap tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.table-wrap tbody tr:hover { background: rgba(168,85,247,0.08); }
.table-wrap td:first-child { font-weight: 700; color: var(--text); }
.scroll-hint { font-size: 12px; color: var(--muted-2); margin: -8px 0 16px; }

/* ---------- Mid promo strip (2nd bonus banner) ---------- */
.promo-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255,61,154,0.10), rgba(168,85,247,0.10));
  padding: 18px 24px; margin: 8px 0;
}
.promo-strip .strip-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  display: grid; place-items: center; color: #ffffff;
}
.promo-strip .strip-text { flex: 1 1 280px; }
.promo-strip .strip-text strong { color: var(--gold-bright); font-size: 18px; display: block; }
.promo-strip .strip-text span { color: var(--muted); font-size: 14.5px; }
.promo-strip .btn { flex-shrink: 0; }

/* ---------- Cards (max 2+ per row, compact) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 20px 20px 22px;
  transition: transform .14s ease, border-color .14s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line); }
.card .ci {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 12px;
  display: grid; place-items: center;
  background: rgba(168,85,247,0.15); border: 1px solid var(--teal);
  color: var(--gold-bright);
}
.card h3 { margin: 0 0 7px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.stat {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 16px; text-align: center;
}
.stat .v { font-size: 24px; font-weight: 900; color: var(--gold-bright); }
.stat .k { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }

/* ---------- FAQ accordion (native, no JS) ---------- */
.faq { display: grid; gap: 10px; margin-top: 14px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq details[open] { border-color: var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 50px 16px 18px;
  font-weight: 700; font-size: 16.5px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 700; color: var(--gold-bright); line-height: 1;
  transition: transform .18s ease;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--gold-bright); }
.faq .faq-body { padding: 0 18px 16px; color: var(--muted); font-size: 15.5px; }
.faq .faq-body p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2); padding: 34px 0 26px; margin-top: 18px;
}
.footer-top { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; }
.footer-brand { flex: 1 1 240px; }
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 32px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin: 0 0 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-col a, .footer-col span { color: var(--muted); font-size: 14px; cursor: pointer; }
.footer-col a:hover { color: var(--text); }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pay-chip {
  font-size: 11.5px; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line-soft); border-radius: 7px; padding: 5px 9px;
  background: var(--surface);
}
.footer-bottom {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  color: var(--muted-2); font-size: 13px;
}
.resp-flags { display: flex; gap: 10px; flex-wrap: wrap; }
.resp-flags span {
  border: 1px solid var(--line-soft); border-radius: 7px; padding: 5px 10px;
  font-weight: 700; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bonus-hero { grid-template-columns: auto 1fr; }
  .bonus-cta { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-cta .btn span.lbl-long { display: none; }
  .toc ol { columns: 1; }
  .bonus-hero { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; }
  .bonus-badge { margin: 0 auto; }
  .bonus-copy .kicker { margin-left: auto; margin-right: auto; }
  .cards { grid-template-columns: 1fr; }
  .promo-strip { text-align: center; justify-content: center; }
  .promo-strip .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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