/* =========================================================================
   Memo Casino UK — Affiliate Guide Hub
   Shared design system
   Theme: dark/light hybrid · emerald accent · gold premium touch
   ========================================================================= */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=Hanken+Grotesk:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ---- Tokens ---- */
:root {
  /* type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  /* dark base (header / hero / footer) */
  --navy:        oklch(0.205 0.032 256);
  --navy-1:      oklch(0.175 0.030 256);
  --navy-2:      oklch(0.255 0.035 256);
  --navy-line:   oklch(0.34 0.030 256);
  --on-navy:     oklch(0.97 0.006 256);
  --on-navy-dim: oklch(0.74 0.018 256);

  /* light content body */
  --paper:    oklch(0.992 0.004 95);
  --paper-2:  oklch(0.975 0.006 256);
  --card:     oklch(1 0 0);
  --ink:      oklch(0.235 0.020 256);
  --ink-soft: oklch(0.46 0.020 256);
  --ink-faint:oklch(0.62 0.016 256);
  --line:     oklch(0.905 0.010 256);
  --line-2:   oklch(0.945 0.008 256);

  /* accents */
  --emerald:      oklch(0.66 0.135 162);
  --emerald-deep: oklch(0.52 0.115 162);
  --emerald-soft: oklch(0.95 0.035 162);
  --emerald-ring: oklch(0.66 0.135 162 / 0.30);
  --gold:         oklch(0.80 0.105 86);
  --gold-deep:    oklch(0.66 0.105 80);
  --gold-soft:    oklch(0.955 0.045 92);
  --danger:       oklch(0.58 0.16 25);
  --danger-soft:  oklch(0.955 0.030 25);

  /* shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px oklch(0.2 0.03 256 / 0.06), 0 2px 6px oklch(0.2 0.03 256 / 0.05);
  --shadow:    0 4px 14px oklch(0.2 0.03 256 / 0.07), 0 12px 32px oklch(0.2 0.03 256 / 0.06);
  --shadow-lg: 0 18px 50px oklch(0.2 0.03 256 / 0.16);

  /* layout */
  --maxw: 1200px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 74px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; }
.section { padding-block: clamp(54px, 7vw, 92px); }
.section-tight { padding-block: clamp(38px, 5vw, 60px); }
.stack > * + * { margin-top: 1rem; }
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  margin: 0 0 0.7rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--emerald); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 0.85rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.center { text-align: center; }
.center .eyebrow, .center .section-head { margin-inline: auto; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy-1);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, background .25s ease, border-color .25s;
}
.site-header.is-stuck { box-shadow: 0 6px 24px oklch(0.15 0.03 256 / 0.35); border-bottom-color: var(--navy-line); }
.header-bar { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--on-navy); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--emerald), var(--emerald-deep));
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.25), 0 4px 12px var(--emerald-ring);
  color: var(--navy-1); font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
}
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1; }
.brand-name span { color: var(--emerald); }
.brand-tag {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-navy-dim); display: block; margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: 0.3rem; margin-left: auto; }
.nav a:not(.btn) {
  color: var(--on-navy-dim); font-weight: 600; font-size: 0.93rem;
  padding: 0.5rem 0.7rem; border-radius: 8px; transition: color .15s, background .15s;
  position: relative;
}
.nav a:not(.btn):hover { color: var(--on-navy); background: oklch(1 0 0 / 0.05); }
.nav a:not(.btn)[aria-current="page"] { color: var(--on-navy); }
.nav a:not(.btn)[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: -2px; height: 2px;
  background: var(--emerald); border-radius: 2px;
}
.header-cta { margin-left: 0.6rem; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px;
  background: oklch(1 0 0 / 0.06); border: 1px solid var(--navy-line); color: var(--on-navy);
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: .25s; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 700; font-size: 0.97rem; line-height: 1;
  padding: 0.85rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(160deg, var(--emerald), var(--emerald-deep));
  color: oklch(0.16 0.02 256); box-shadow: 0 6px 18px var(--emerald-ring);
}
.btn-primary:hover { box-shadow: 0 10px 26px var(--emerald-ring); filter: brightness(1.04); }
.btn-gold { background: linear-gradient(160deg, var(--gold), var(--gold-deep)); color: oklch(0.22 0.03 80); box-shadow: 0 6px 18px oklch(0.8 0.1 86 / 0.32); }
.btn-ghost { background: oklch(1 0 0 / 0.06); color: var(--on-navy); border-color: var(--navy-line); }
.btn-ghost:hover { background: oklch(1 0 0 / 0.12); }
.btn-outline { background: transparent; color: var(--emerald-deep); border-color: var(--line); }
.btn-outline:hover { border-color: var(--emerald); background: var(--emerald-soft); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1rem; font-size: 0.86rem; }
.btn-block { width: 100%; }
.btn-arrow::after { content: "→"; font-weight: 700; transition: transform .15s; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ===================== HERO ===================== */
.hero { background: var(--navy-1); color: var(--on-navy); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 82% -10%, oklch(0.66 0.135 162 / 0.22), transparent 60%),
    radial-gradient(50% 70% at 8% 110%, oklch(0.80 0.105 86 / 0.10), transparent 60%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(54px, 7vw, 92px); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); color: var(--on-navy); line-height: 1.04; }
.hero h1 .hl { color: var(--emerald); }
.hero-sub { color: var(--on-navy-dim); font-size: 1.18rem; max-width: 46ch; margin-top: 1.25rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.9rem; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: oklch(1 0 0 / 0.05); border: 1px solid var(--navy-line);
  color: var(--on-navy-dim); font-size: 0.82rem; font-weight: 600;
  padding: 0.5rem 0.85rem; border-radius: 999px;
}
.trust-badge svg { color: var(--emerald); }

/* ===================== CARDS ===================== */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.card-hover { transition: transform .18s ease, box-shadow .2s ease, border-color .2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: oklch(0.85 0.02 256); }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* icon chip */
.ichip {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--emerald-soft); color: var(--emerald-deep);
  border: 1px solid oklch(0.85 0.05 162);
}
.ichip svg { width: 22px; height: 22px; }
.ichip.gold { background: var(--gold-soft); color: var(--gold-deep); border-color: oklch(0.86 0.06 86); }

/* intent tiles */
.intent-tile {
  display: flex; flex-direction: column; gap: 0.6rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.35rem; text-decoration: none; color: var(--ink);
  transition: transform .16s, box-shadow .2s, border-color .2s;
}
.intent-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: oklch(0.82 0.04 162); }
.intent-tile h3 { font-size: 1.12rem; }
.intent-tile p { font-size: 0.92rem; color: var(--ink-soft); }
.intent-tile .go { margin-top: auto; font-weight: 700; font-size: 0.85rem; color: var(--emerald-deep); display: inline-flex; align-items: center; gap: 0.35rem; }
.intent-tile .go::after { content: "→"; transition: transform .15s; }
.intent-tile:hover .go::after { transform: translateX(3px); }

/* ===================== SPEC / AT-A-GLANCE ===================== */
.spec {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.spec-head {
  background: linear-gradient(160deg, var(--navy-2), var(--navy-1));
  color: var(--on-navy); padding: 1.4rem 1.6rem; display: flex; align-items: center; gap: 1rem;
}
.spec-head .brand-mark { width: 44px; height: 44px; }
.spec-head h3 { color: var(--on-navy); font-size: 1.25rem; line-height: 1.1; }
.spec-brand { margin: 0; color: var(--on-navy); font-size: 1.25rem; line-height: 1.1; font-weight: 700; }
.spec-head .meta { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--on-navy-dim); font-family: var(--mono); letter-spacing: 0.04em; }
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.6rem; border-top: 1px solid var(--line-2); }
.spec-row:first-of-type { border-top: 0; }
.spec-row dt { color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; display: flex; align-items: center; gap: 0.5rem; }
.spec-row dd { margin: 0; text-align: right; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.spec-foot { padding: 1.2rem 1.6rem; border-top: 1px solid var(--line); background: var(--paper-2); }

/* ===================== TABLES ===================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); background: var(--card); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 520px; }
.tbl th, .tbl td { padding: 0.95rem 1.15rem; text-align: left; }
.tbl thead th { background: var(--navy-1); color: var(--on-navy); font-family: var(--sans); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.tbl tbody tr + tr td { border-top: 1px solid var(--line-2); }
.tbl tbody tr:nth-child(even) td { background: var(--paper-2); }
.tbl td:first-child { font-weight: 600; }
.tbl .num { font-family: var(--mono); }

/* ===================== PROS / CONS ===================== */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.pc { border-radius: var(--r); padding: 1.5rem; border: 1px solid var(--line); }
.pc.pros { background: var(--emerald-soft); border-color: oklch(0.86 0.05 162); }
.pc.cons { background: var(--danger-soft); border-color: oklch(0.90 0.04 25); }
.pc h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.9rem; }
.pc ul { list-style: none; display: grid; gap: 0.7rem; }
.pc li { display: flex; gap: 0.65rem; font-size: 0.97rem; color: var(--ink); line-height: 1.5; }
.pc li::before { font-weight: 800; flex: none; margin-top: 1px; }
.pc.pros li::before { content: "✓"; color: var(--emerald-deep); }
.pc.cons li::before { content: "✕"; color: var(--danger); }

/* ===================== BADGES / PILLS ===================== */
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px;
}
.pill-emerald { background: var(--emerald-soft); color: var(--emerald-deep); }
.pill-gold { background: var(--gold-soft); color: var(--gold-deep); }
.pill-neutral { background: var(--paper-2); color: var(--ink-soft); border: 1px solid var(--line); }
.code-chip {
  font-family: var(--mono); font-weight: 600; letter-spacing: 0.08em;
  background: var(--navy-1); color: var(--emerald); padding: 0.55rem 1rem; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 0.6rem; border: 1px dashed var(--emerald);
}

/* ===================== STEPS ===================== */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { display: flex; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  background: var(--navy-1); color: var(--emerald); font-family: var(--mono); font-weight: 600;
  display: grid; place-items: center; font-size: 0.95rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }

/* ===================== TABS ===================== */
.tabs { display: inline-flex; gap: 0.3rem; background: var(--paper-2); border: 1px solid var(--line); padding: 0.3rem; border-radius: 999px; }
.tab { border: 0; background: transparent; color: var(--ink-soft); font-weight: 700; font-size: 0.9rem; padding: 0.55rem 1.1rem; border-radius: 999px; transition: .18s; }
.tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.tabpanel { display: none; margin-top: 1.5rem; }
.tabpanel.is-active { display: block; }

/* ===================== FAQ ===================== */
.faq { display: grid; gap: 0.8rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: oklch(0.82 0.04 162); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .25s; color: var(--emerald-deep); }
.faq-item[open] summary .ico { transform: rotate(45deg); background: var(--emerald-soft); border-color: var(--emerald); }
.faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }
.faq-body p + p { margin-top: 0.7rem; }

/* ===================== BREADCRUMBS / META ===================== */
.subhero { background: var(--navy-1); color: var(--on-navy); position: relative; overflow: hidden; }
.subhero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 88% -20%, oklch(0.66 0.135 162 / 0.18), transparent 60%); }
.subhero-inner { position: relative; padding-block: clamp(34px, 5vw, 58px); display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 48px); align-items: center; }
.subhero-visual { width: clamp(230px, 26vw, 290px); background: linear-gradient(145deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.018) 100%); border: 1px solid rgba(34,194,122,0.22); border-radius: 18px; padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: 0.9rem; align-items: center; text-align: center; position: relative; z-index: 1; }
.sv-icon { width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(145deg, #22c27a, #159a59); box-shadow: 0 0 0 10px rgba(34,194,122,0.1), 0 4px 20px rgba(34,194,122,0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sv-label { font-size: 0.72rem; font-family: var(--mono); color: var(--emerald); text-transform: uppercase; letter-spacing: 0.08em; margin: 0; }
.sv-title { font-size: 1.12rem; color: var(--on-navy); margin: 0.1rem 0 0; line-height: 1.3; }
.sv-desc { color: var(--on-navy-dim); font-size: 0.87rem; margin: 0; }
.sv-fine { color: var(--on-navy-dim); margin: 0; opacity: 0.65; font-size: 0.78rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--on-navy-dim); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--emerald); }
.crumbs .sep { opacity: 0.5; }
.crumbs [aria-current] { color: var(--on-navy); }
.subhero h1 { color: var(--on-navy); font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; }
.subhero p { color: var(--on-navy-dim); font-size: 1.12rem; max-width: 56ch; margin-top: 1rem; }
.updated { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-family: var(--mono); color: var(--on-navy-dim); margin-top: 1.4rem; }
.updated .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px var(--emerald-ring); }

/* prose */
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.4rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.prose > p { color: var(--ink-soft); margin-top: 1rem; font-size: 1.06rem; }
.prose ul:not(.pc ul) { margin-top: 1rem; padding-left: 1.2rem; color: var(--ink-soft); display: grid; gap: 0.5rem; }
.prose ul:not(.pc ul) li { padding-left: 0.3rem; }

/* note / callout */
.note { display: flex; gap: 0.9rem; padding: 1.15rem 1.3rem; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--emerald); font-size: 0.97rem; color: var(--ink-soft); }
.note.warn { border-left-color: var(--gold-deep); background: var(--gold-soft); }
.note .ichip { width: 34px; height: 34px; }
.note .ichip svg { width: 18px; height: 18px; }
.note strong { color: var(--ink); }

/* ===================== CTA BAND ===================== */
.ctaband { background: linear-gradient(150deg, var(--navy-2), var(--navy-1)); color: var(--on-navy); border-radius: var(--r-xl); padding: clamp(34px, 5vw, 60px); position: relative; overflow: hidden; }
.ctaband::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 85% 0%, oklch(0.66 0.135 162 / 0.25), transparent 55%); pointer-events: none; }
.ctaband h2 { color: var(--on-navy); font-size: clamp(1.7rem, 3.4vw, 2.4rem); position: relative; }
.ctaband p { color: var(--on-navy-dim); position: relative; margin-top: 0.8rem; max-width: 52ch; }
.ctaband .hero-cta { position: relative; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-1); color: var(--on-navy-dim); padding-block: clamp(48px, 6vw, 72px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.4rem; }
.footer-col-label { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy); margin: 0 0 1.1rem; font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--on-navy-dim); font-size: 0.93rem; }
.footer-col a:hover { color: var(--emerald); }
.footer-about p { font-size: 0.93rem; line-height: 1.6; margin-top: 1rem; max-width: 38ch; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.pay-badge { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; padding: 0.4rem 0.7rem; border: 1px solid var(--navy-line); border-radius: 7px; color: var(--on-navy-dim); background: oklch(1 0 0 / 0.03); }
.pay-badge--img { padding: 0; border: none; background: transparent; line-height: 0; border-radius: 4px; overflow: hidden; opacity: 0.92; transition: opacity 0.15s; }
.pay-badge--img:hover { opacity: 1; }
.pay-badge--img svg { display: block; }
.age-mark { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--danger); color: oklch(0.72 0.16 25); font-weight: 800; display: grid; place-items: center; font-size: 0.95rem; flex: none; background: oklch(0.58 0.16 25 / 0.12); }
.footer-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; padding: 1.6rem 0; border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); margin-top: 2.6rem; }
.footer-trust .rg-note { font-size: 0.88rem; max-width: 60ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; font-size: 0.82rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-disclaimer { font-size: 0.78rem; color: var(--on-navy-dim); opacity: 0.8; padding-bottom: 2rem; line-height: 1.6; max-width: 90ch; }

/* ===================== CONTENT PAGE (terms/privacy) ===================== */
.content-page { padding-block: clamp(48px, 6vw, 80px); }
.content-page h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 2rem; }
.content-page .prose { max-width: 820px; }

/* ===================== UTIL ===================== */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.muted { color: var(--ink-faint); }
.fineprint { font-size: 0.82rem; color: var(--ink-faint); }
[hidden] { display: none !important; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ===================== PAGE LAYOUT (prose + sidebar) ===================== */
.page-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.sticky-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: grid;
  gap: 1.1rem;
}
.ctaband-split {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 2rem;
  align-items: center;
}
.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

/* ===================== UTILITY CLASSES ===================== */
.grid-sm { gap: 1rem; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-dark { background: var(--navy-1); color: var(--on-navy); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--on-navy); }
.section-dark .eyebrow { color: var(--emerald); }
.section-dark .step { background: var(--navy-2); border-color: var(--navy-line); }
.section-dark .step h3 { color: var(--on-navy); }
.section-dark .step p { color: var(--on-navy-dim); }
.card-flex { display: flex; gap: 0.8rem; align-items: flex-start; }
.card-icon { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; }
.card-flush { padding: 0; overflow: hidden; }
.card-accent { border-left: 4px solid var(--emerald); }
.card-dark { background: var(--navy-1); color: var(--on-navy); border-color: var(--navy-line); }
.nav-list { list-style: none; display: grid; gap: 0.5rem; margin-top: 0.8rem; }
.nav-list a { color: var(--emerald-deep); font-weight: 600; }
.feature-list { list-style: none; display: grid; gap: 0.45rem; margin-top: 1rem; font-size: 0.9rem; color: var(--ink-soft); }
.check-list { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.6rem; }
.ck { color: var(--emerald-deep); font-weight: 800; flex: none; }
.link-em { color: var(--emerald-deep); font-weight: 700; }
.phone-mockup { width: 64px; height: 108px; border-radius: 14px; border: 2px solid var(--line); margin: 0.4rem auto 1rem; display: grid; place-items: center; background: var(--paper-2); }
.bonus-head { background: linear-gradient(150deg, var(--navy-2), var(--navy-1)); padding: 1.6rem; color: var(--on-navy); }
.bonus-head h3 { color: var(--on-navy); }
.bonus-head p { color: var(--on-navy-dim); }
.bonus-body { padding: 1.6rem; display: grid; gap: 1rem; }
.promo-head { background: linear-gradient(150deg, var(--gold), var(--gold-deep)); padding: 1.4rem; color: #3a2e07; }
.promo-head h3 { color: #2e2405; }
.promo-head p { color: #4a3a0a; }
.promo-body { padding: 1.3rem; }
.spec-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.spec-item .label { color: var(--ink-soft); font-weight: 600; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-about { grid-column: 1 / -1; }
  .subhero-inner { grid-template-columns: 1fr; }
  .subhero-visual { display: none; }
  .home-split { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.2rem;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--navy-1); border-top: 1px solid var(--navy-line); padding: 0.8rem var(--gutter) 1.2rem;
    box-shadow: var(--shadow-lg);
  }
  .site-header.nav-open .nav a:not(.btn) { padding: 0.85rem 0.7rem; }
  .site-header.nav-open .nav a:not(.btn)[aria-current="page"]::after { display: none; }
  .site-header.nav-open .header-cta { display: block; margin: 0.6rem auto 0; text-align: center; }
  .grid-3, .grid-2, .pc-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .page-layout { grid-template-columns: 1fr; }
  .sticky-aside { position: static; }
  .ctaband-split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* =========================================================================
   CASINO ATMOSPHERE LAYER
   ========================================================================= */
:root {
  --gold-glow:    oklch(0.80 0.105 86 / 0.45);
  --emerald-glow: oklch(0.66 0.135 162 / 0.45);
  --casino-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='92'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05'%3E%3Ccircle cx='23' cy='23' r='11'/%3E%3Ccircle cx='23' cy='23' r='5.5'/%3E%3Crect x='60' y='60' width='17' height='17' transform='rotate(45 68.5 68.5)'/%3E%3C/g%3E%3C/svg%3E");
}

.ichip {
  border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, oklch(0.98 0.03 162), var(--emerald-soft) 72%);
  border: 2px dashed oklch(0.70 0.10 162);
  box-shadow: inset 0 0 0 4px oklch(1 0 0 / 0.7), 0 4px 12px oklch(0.66 0.135 162 / 0.12);
}
.ichip.gold {
  background: radial-gradient(circle at 50% 36%, oklch(0.985 0.03 92), var(--gold-soft) 72%);
  border-color: oklch(0.74 0.10 86);
  box-shadow: inset 0 0 0 4px oklch(1 0 0 / 0.7), 0 4px 12px oklch(0.80 0.105 86 / 0.16);
}

.eyebrow::after {
  content: ""; width: 7px; height: 7px; margin-left: 0.15rem;
  background: var(--gold); transform: rotate(45deg); border-radius: 1px;
  box-shadow: 0 0 9px var(--gold-glow);
}

.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(58% 72% at 84% -8%, oklch(0.66 0.135 162 / 0.28), transparent 60%),
    radial-gradient(48% 66% at 6% 112%, oklch(0.80 0.105 86 / 0.15), transparent 62%),
    var(--casino-tex);
  background-size: auto, auto, 92px 92px;
}
.subhero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 95% at 90% -25%, oklch(0.66 0.135 162 / 0.24), transparent 60%),
    radial-gradient(50% 80% at 0% 120%, oklch(0.80 0.105 86 / 0.11), transparent 62%),
    var(--casino-tex);
  background-size: auto, auto, 92px 92px;
}

.hero-grid-bg { z-index: 1; }
.hero-inner { z-index: 2; }
.hero::after {
  content: ""; position: absolute; top: -130px; right: -150px;
  width: 480px; height: 480px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg,
    oklch(0.66 0.135 162 / 0.30) 0 12deg, transparent 12deg 30deg,
    oklch(0.80 0.105 86 / 0.26) 0 42deg, transparent 42deg 60deg,
    oklch(0.66 0.135 162 / 0.30) 0 72deg, transparent 72deg 90deg,
    oklch(0.80 0.105 86 / 0.26) 0 102deg, transparent 102deg 120deg);
  -webkit-mask: radial-gradient(circle, transparent 39%, #000 40% 60%, transparent 61%);
          mask: radial-gradient(circle, transparent 39%, #000 40% 60%, transparent 61%);
  opacity: 0.65;
}

.hero h1 .hl { text-shadow: 0 0 30px oklch(0.66 0.135 162 / 0.5); }
.btn-primary { box-shadow: 0 6px 18px var(--emerald-ring), inset 0 1px 0 oklch(1 0 0 / 0.3); }
.btn-primary:hover { box-shadow: 0 0 0 1px oklch(0.66 0.135 162 / 0.55), 0 10px 30px var(--emerald-glow); filter: brightness(1.06); }
.btn-gold:hover { box-shadow: 0 0 0 1px oklch(0.80 0.105 86 / 0.55), 0 10px 30px var(--gold-glow); filter: brightness(1.05); }
.code-chip { box-shadow: 0 0 0 1px oklch(0.66 0.135 162 / 0.3), 0 0 18px oklch(0.66 0.135 162 / 0.2); }
.trust-badge { box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.03); }

.spec {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(150deg, oklch(0.80 0.105 86 / 0.95), oklch(0.66 0.135 162 / 0.7) 50%, oklch(0.80 0.105 86 / 0.95)) border-box;
  box-shadow: var(--shadow-lg), 0 0 50px oklch(0.66 0.135 162 / 0.1);
}
.spec-head {
  background-image: var(--casino-tex), linear-gradient(160deg, var(--navy-2), var(--navy-1));
  background-size: 78px 78px, auto;
}

.card-hover:hover { box-shadow: var(--shadow), 0 0 0 1px var(--emerald-ring); }

.intent-tile { position: relative; overflow: hidden; }
.intent-tile::after {
  content: ""; position: absolute; top: -22px; right: -22px; width: 66px; height: 66px;
  border-radius: 50%; border: 2px dashed oklch(0.72 0.09 162 / 0.45); opacity: 0.55;
  transition: transform 0.45s ease, opacity 0.3s ease; pointer-events: none;
}
.intent-tile:hover::after { transform: rotate(45deg) scale(1.06); opacity: 0.85; }
.intent-tile:hover { box-shadow: 0 16px 38px oklch(0.2 0.03 256 / 0.14), 0 0 0 1px var(--emerald-ring); }

.tbl thead th { border-bottom: 2px solid oklch(0.80 0.105 86 / 0.6); }

.ctaband { box-shadow: var(--shadow-lg), inset 0 0 0 1px oklch(0.80 0.105 86 / 0.35), 0 0 60px oklch(0.66 0.135 162 / 0.12); }
.ctaband::after {
  content: "\2660 \2666 \2665 \2663"; position: absolute; right: 28px; bottom: -8px;
  font-size: 4.4rem; letter-spacing: 0.5rem; line-height: 1;
  color: oklch(1 0 0 / 0.06); pointer-events: none; z-index: 0;
}
.ctaband > * { position: relative; z-index: 1; }

.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--emerald) 50%, var(--gold) 82%, transparent);
  opacity: 0.75;
}
.site-footer::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--casino-tex); background-size: 92px 92px; opacity: 0.6;
}
.site-footer .wrap { position: relative; z-index: 1; }

.age-mark { box-shadow: 0 0 0 4px oklch(0.58 0.16 25 / 0.12), 0 0 18px oklch(0.58 0.16 25 / 0.4); text-shadow: 0 0 10px oklch(0.7 0.16 25 / 0.55); }
.pay-badge { box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.03); }

@media (prefers-reduced-motion: no-preference) {
  .intent-tile::after { will-change: transform; }
}
@media (max-width: 1024px) {
  .hero::after { width: 300px; height: 300px; top: -90px; right: -110px; }
  .ctaband::after { font-size: 3rem; right: 16px; }
}
