/* Avantgarde Casino UK Guide — modern gradient conversion design */

:root {
  --bg-deep: #0d0021;
  --bg-mid: #0a1030;
  --bg-rise: #1f2d5c;
  --bg-card: #1f0a3d;
  --bg-card-hi: #2a0f4e;
  --gold: #ffd700;
  --gold-deep: #d4a937;
  --gold-soft: #fff3a8;
  --red: #00b4d8;
  --red-deep: #0096c7;
  --green: #2ecc71;
  --text: #f4f0ff;
  --text-mute: #c9bce3;
  --text-dim: #8d7eae;
  --border: rgba(255, 215, 0, 0.18);
  --border-hi: rgba(255, 215, 0, 0.45);
  --shadow-gold: 0 0 24px rgba(255, 215, 0, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --grad-hero: linear-gradient(135deg, #0a1030 0%, #1f2d5c 50%, #3a5ba0 100%);
  --grad-gold: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  --grad-cta: linear-gradient(135deg, #00b4d8 0%, #48cae4 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--text);
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 48px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin-top: 28px; color: var(--gold-soft); }
h4 { font-size: 1.05rem; color: var(--gold); }
p { margin: 0 0 16px; color: var(--text-mute); }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-soft); }
strong { color: var(--text); font-weight: 700; }

/* ============ STICKY BONUS BAR ============ */
.bonus-bar {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(90deg, #0096c7 0%, #00b4d8 50%, #48cae4 100%);
  color: #fff; padding: 10px 16px;
  font-size: 0.92rem; font-weight: 600;
  text-align: center; box-shadow: 0 2px 14px rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.bonus-bar .countdown { background: rgba(0,0,0,0.35); padding: 4px 10px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.bonus-bar a.claim { background: var(--gold); color: #0a1030; padding: 6px 16px; border-radius: 4px; font-weight: 800; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.05em; }
.bonus-bar a.claim:hover { background: var(--gold-soft); }

/* ============ HEADER / NAV ============ */
.site-header {
  background: rgba(13, 0, 33, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 40px; z-index: 90;
}
.top-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 14px 20px; flex-wrap: wrap; }
.brand { color: var(--gold); font-weight: 800; font-size: 1.1rem; font-family: 'Poppins', sans-serif; }
.brand span { color: var(--text); font-weight: 400; }
.top-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; }
.top-nav ul a { color: var(--text-mute); font-size: 0.92rem; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.top-nav ul a:hover, .top-nav ul a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

/* nav dropdowns */
.top-nav ul li.has-sub { position: relative; padding-bottom: 14px; margin-bottom: -14px; }
.top-nav ul li.has-sub > a::after { content: " ▾"; font-size: 0.75em; opacity: 0.7; margin-left: 4px; }
.top-nav ul ul.sub { display: none !important; position: absolute; top: 100%; left: 0; min-width: 220px; background: #161924; border: 1px solid #2a2f42; border-radius: 8px; padding: 8px 0; margin: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.4); z-index: 50; list-style: none; flex-direction: column; gap: 0; }
.top-nav ul li.has-sub::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.top-nav ul li.has-sub:hover > ul.sub,
.top-nav ul li.has-sub:focus-within > ul.sub { display: block !important; }
.top-nav ul ul.sub li { display: block; margin: 0; }
.top-nav ul ul.sub a { display: block; padding: 8px 16px; font-size: 0.88rem; color: var(--text); border-bottom: 0 !important; white-space: nowrap; }
.top-nav ul ul.sub a:hover, .top-nav ul ul.sub a[aria-current="page"] { background: rgba(212,175,55,0.1); color: var(--gold); border-bottom: 0; }
@media (max-width: 720px) {
  .top-nav ul ul.sub { position: static; display: block !important; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px; margin: 4px 0 0; min-width: 0; }
  .top-nav ul ul.sub a { padding: 4px 0; font-size: 0.82rem; }
  .top-nav ul li.has-sub > a::after { content: ""; }
}

/* logo is a transparent PNG — no blend mode needed */

/* ============ HERO ============ */
.hero {
  background: var(--grad-hero);
  padding: 60px 20px 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 51, 102, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero-content .eyebrow { display: inline-block; background: rgba(255, 215, 0, 0.12); border: 1px solid var(--gold); color: var(--gold); padding: 6px 14px; border-radius: 99px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.hero-content h1 { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { font-size: 1.15rem; color: var(--text); max-width: 580px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px; margin: 24px 0 28px; }
.hero-stats .stat { background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 12px; padding: 14px 20px; min-width: 120px; }
.hero-stats .num { font-size: 1.6rem; font-weight: 800; color: var(--gold); font-family: 'Poppins', sans-serif; line-height: 1; }
.hero-stats .label { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 8px; font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 4px 18px rgba(255, 51, 102, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255, 51, 102, 0.6); color: #fff; }
.btn-primary.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(255, 51, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(255, 51, 102, 0.9), 0 0 0 8px rgba(255, 51, 102, 0.1); }
}
.btn-secondary { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-secondary:hover { background: var(--gold); color: var(--bg-deep); }

/* Hero card on the right */
.hero-card {
  background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(255,215,0,0.02));
  border: 1px solid var(--border-hi); border-radius: 18px; padding: 28px;
  box-shadow: var(--shadow-card); position: relative;
}
.hero-card .ribbon { position: absolute; top: -12px; left: 24px; background: var(--grad-cta); color: #fff; padding: 6px 14px; border-radius: 4px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.hero-card h2 { font-size: 1.2rem; margin: 0 0 8px; border: none; padding: 0; color: var(--gold-soft); }
.hero-card .bonus-amount { font-size: 2.6rem; font-weight: 800; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: 'Poppins'; line-height: 1; margin: 8px 0; }
.hero-card .bonus-line { color: var(--text); font-size: 0.95rem; margin: 6px 0; display: flex; align-items: center; gap: 10px; }
.hero-card .bonus-line svg { flex-shrink: 0; }
.hero-card .small { font-size: 0.78rem; color: var(--text-dim); margin-top: 14px; line-height: 1.5; }

/* ============ MAIN CONTAINER ============ */
main { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 40px 0; scroll-margin-top: 140px; }
.lede { font-size: 1.1rem; color: var(--text); }

/* ============ CARDS / GRIDS ============ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 24px 0; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 24px;
  transition: all 0.25s; position: relative;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-hi); box-shadow: var(--shadow-card); }
.card h3 { margin-top: 0; color: var(--gold); }
.card .icon { width: 44px; height: 44px; background: rgba(255,215,0,0.1); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--gold); }

/* Bonus cards (codes) */
.bonus-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin: 28px 0; }
.bonus-card {
  background: linear-gradient(160deg, var(--bg-card-hi), var(--bg-card));
  border: 1px solid var(--border-hi); border-radius: 16px; padding: 24px;
  position: relative; overflow: hidden;
}
.bonus-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-gold); }
.bonus-card .tag { display: inline-block; background: var(--red); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.bonus-card .tag.green { background: var(--green); }
.bonus-card .amount { font-size: 2rem; font-weight: 800; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: 'Poppins'; }
.bonus-card .type { font-size: 0.9rem; color: var(--text-mute); margin: 4px 0 14px; }
.bonus-card .code-box { background: rgba(0,0,0,0.3); border: 2px dashed var(--gold); border-radius: 8px; padding: 12px 16px; margin: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bonus-card .code-box code { font-family: 'JetBrains Mono', 'Courier New', monospace; color: var(--gold); font-weight: 700; letter-spacing: 0.1em; font-size: 1.05rem; }
.bonus-card .reveal-btn { background: var(--gold); color: var(--bg-deep); border: none; padding: 6px 12px; border-radius: 4px; font-weight: 800; font-size: 0.78rem; cursor: pointer; text-transform: uppercase; letter-spacing: 0.05em; }
.bonus-card .reveal-btn:hover { background: var(--gold-soft); }
.bonus-card ul { list-style: none; padding: 0; margin: 12px 0; font-size: 0.88rem; }
.bonus-card ul li { padding: 4px 0; color: var(--text-mute); display: flex; align-items: center; gap: 8px; }
.bonus-card ul li::before { content: '✓'; color: var(--green); font-weight: 800; }
.bonus-card .claim-btn { display: block; width: 100%; background: var(--grad-cta); color: #fff; text-align: center; padding: 12px; border-radius: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 14px; }
.bonus-card .claim-btn:hover { color: #fff; transform: translateY(-1px); }

/* ============ TABLES ============ */
.data-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: var(--bg-card); border-radius: 12px; overflow: hidden; font-size: 0.92rem; }
.data-table th { background: rgba(255,215,0,0.08); color: var(--gold); text-align: left; padding: 14px 16px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--border); }
.data-table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--text-mute); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,215,0,0.03); color: var(--text); }
.data-table .yes { color: var(--green); font-weight: 700; }
.data-table .no { color: var(--red); font-weight: 700; }
.data-table code { color: var(--gold); background: rgba(0,0,0,0.3); padding: 2px 8px; border-radius: 4px; font-weight: 600; }

/* ============ PROS / CONS ============ */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.pros-cons > div { background: var(--bg-card); border-radius: 14px; padding: 24px; border: 1px solid var(--border); }
.pros-cons .pros { border-left: 4px solid var(--green); }
.pros-cons .cons { border-left: 4px solid var(--red); }
.pros-cons h3 { margin-top: 0; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li { padding: 8px 0; padding-left: 28px; position: relative; color: var(--text-mute); }
.pros-cons .pros li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; font-size: 1.1rem; }
.pros-cons .cons li::before { content: '✗'; position: absolute; left: 0; color: var(--red); font-weight: 800; font-size: 1.1rem; }

/* ============ SCORECARD ============ */
.scorecard { background: var(--bg-card); border: 1px solid var(--border-hi); border-radius: 16px; padding: 28px; margin: 24px 0; }
.scorecard .overall { display: flex; align-items: center; gap: 24px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.scorecard .big-score { font-size: 3.4rem; font-weight: 800; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: 'Poppins'; line-height: 1; }
.scorecard .big-score-meta { display: flex; flex-direction: column; }
.scorecard .stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 0.1em; }
.scorecard .verdict-tag { font-size: 0.85rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.score-rows { display: grid; gap: 14px; }
.score-row { display: grid; grid-template-columns: 160px 1fr 50px; align-items: center; gap: 14px; }
.score-row .name { color: var(--text); font-size: 0.92rem; }
.score-row .bar { height: 8px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.score-row .bar-fill { height: 100%; background: var(--grad-gold); border-radius: 4px; }
.score-row .num { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }

/* ============ INFOGRAPHIC / STATS ============ */
.infographic { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin: 24px 0; }
.infographic h3 { margin-top: 0; }
.bar-chart { display: grid; gap: 12px; margin: 20px 0; }
.bar-item { display: grid; grid-template-columns: 140px 1fr 80px; align-items: center; gap: 12px; font-size: 0.9rem; }
.bar-item .name { color: var(--text); }
.bar-item .track { height: 28px; background: rgba(255,255,255,0.04); border-radius: 6px; overflow: hidden; position: relative; }
.bar-item .fill { height: 100%; background: var(--grad-gold); border-radius: 6px; display: flex; align-items: center; padding: 0 10px; color: var(--bg-deep); font-weight: 700; font-size: 0.82rem; }
.bar-item .fill.alt { background: linear-gradient(90deg, var(--bg-rise), var(--bg-card-hi)); color: var(--text-mute); }
.bar-item .val { color: var(--gold); font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 24px 0; }
.stat-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; }
.stat-block .big { font-size: 2.4rem; font-weight: 800; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: 'Poppins'; line-height: 1; }
.stat-block .small { font-size: 0.82rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }

/* ============ STEP LIST ============ */
.steps { counter-reset: stepcount; list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.steps li { counter-increment: stepcount; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px 20px 70px; position: relative; }
.steps li::before { content: counter(stepcount); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; background: var(--grad-gold); color: var(--bg-deep); border-radius: 50%; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; font-family: 'Poppins'; }
.steps li h4 { margin: 0 0 6px; color: var(--text); }
.steps li p { margin: 0; font-size: 0.92rem; }

/* ============ FAQ ACCORDION ============ */
.faq { display: grid; gap: 12px; margin: 24px 0; }
.faq details { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--border-hi); }
.faq summary { padding: 18px 22px; cursor: pointer; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.4rem; font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq .answer { padding: 0 22px 20px; color: var(--text-mute); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ============ CALLOUT / DISCLOSURE ============ */
.disclosure { background: rgba(255, 215, 0, 0.06); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 4px; font-size: 0.9rem; color: var(--text-mute); }
.callout { background: linear-gradient(135deg, rgba(255,51,102,0.1), rgba(255,107,43,0.05)); border: 1px solid var(--red); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }
.callout h4 { margin: 0 0 8px; color: var(--red); }
.callout p { margin: 0; }

/* ============ TOC ============ */
.toc { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }
.toc h4 { margin: 0 0 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.toc ol { columns: 2; column-gap: 30px; margin: 0; padding-left: 18px; font-size: 0.92rem; }
.toc ol li { padding: 4px 0; color: var(--text-mute); }
.toc ol li a { color: var(--text-mute); }
.toc ol li a:hover { color: var(--gold); }

/* ============ RELATED PAGES BLOCK ============ */
.related-pages { background: linear-gradient(135deg, var(--bg-mid), var(--bg-card)); border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin: 40px 0; }
.related-pages h2 { margin-top: 0; border: none; padding: 0; }
.related-pages .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; }
.related-pages .grid a { background: rgba(255,215,0,0.04); border: 1px solid var(--border); border-radius: 10px; padding: 16px; color: var(--text); transition: all 0.2s; display: block; }
.related-pages .grid a:hover { background: rgba(255,215,0,0.1); border-color: var(--gold); transform: translateY(-2px); }
.related-pages .grid a strong { display: block; color: var(--gold); margin-bottom: 4px; }
.related-pages .grid a span { font-size: 0.88rem; color: var(--text-mute); }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-mid); border-top: 1px solid var(--border); padding: 40px 20px; margin-top: 60px; font-size: 0.88rem; }
.site-footer .inner { max-width: 1100px; margin: 0 auto; }
.site-footer .responsible { background: rgba(255,51,102,0.06); border: 1px solid rgba(255,51,102,0.3); border-radius: 10px; padding: 18px 22px; margin-bottom: 24px; color: var(--text); }
.site-footer .responsible strong { color: var(--red); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 24px; }
.site-footer h5 { color: var(--gold); margin: 0 0 12px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: var(--text-mute); }
.site-footer a:hover { color: var(--gold); }
.site-footer .legal { border-top: 1px solid var(--border); padding-top: 20px; color: var(--text-dim); font-size: 0.82rem; }
.site-footer .ra-logos { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.site-footer .ra-logos span { background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 6px 14px; border-radius: 6px; font-weight: 700; color: var(--gold); font-size: 0.82rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 110px 1fr 40px; }
  .bar-item { grid-template-columns: 110px 1fr 60px; font-size: 0.82rem; }
  .top-nav ul { gap: 12px; }
  .top-nav ul a { font-size: 0.82rem; }
}
@media (max-width: 560px) {
  .hero { padding: 40px 16px 50px; }
  .hero-stats .stat { flex: 1 1 calc(50% - 10px); min-width: 0; }
  .scorecard .overall { flex-direction: column; align-items: flex-start; gap: 12px; }
  .scorecard .big-score { font-size: 2.6rem; }
  section { padding: 30px 0; }
}

/* ============ 2026-05-26 additions ============ */

/* Promoted H4 -> H3 in callouts/TOC/step-lists keeps its original H4 visual
   weight so the page reads identically while exposing a clean H2 -> H3
   semantic outline for screen readers and AI passage extraction. */
.callout-title,
.step-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--gold);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.callout > .callout-title:first-child,
.toc > .callout-title:first-child { margin-top: 0; }

/* "Last verified" / "Codes verified" hero byline */
.verified-line {
  color: var(--text-mute);
  font-size: 0.9rem;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  align-items: center;
}
.verified-line time { color: var(--gold-soft); font-weight: 600; }
.verified-line a { color: var(--gold); }

/* Key Facts TL;DR box — LLM-extractable summary directly under the hero */
.key-facts {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(106, 44, 143, 0.18) 100%);
  border: 1px solid var(--border-hi);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 32px 0 8px;
  box-shadow: var(--shadow-card);
}
.key-facts-title {
  font-size: 1.15rem;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: var(--gold-soft);
}
.key-facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 22px;
}
.key-facts li {
  color: var(--text-mute);
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}
.key-facts li::before {
  content: "▸";
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.key-facts strong { color: var(--text); }
@media (max-width: 720px) {
  .key-facts { padding: 18px 18px; margin: 24px 0; }
  .key-facts ul { grid-template-columns: 1fr; }
}

/* ============ Image-driven hero ============ */
.hero-imaged {
  position: relative;
  background-color: var(--bg-deep);
  background-size: cover;
  background-position: center;
}
.hero-imaged::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(255,215,0,0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(13,0,33,0.72) 0%, rgba(13,0,33,0.88) 60%, rgba(13,0,33,0.96) 100%);
  pointer-events: none;
}
.hero-imaged .hero-inner { position: relative; z-index: 1; }

/* Brand logo (replaces text wordmark) */
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 220px;
}
@media (max-width: 720px) { .brand-logo { height: 30px; } }

/* Rating badge in verdict */
.rating-badge-img {
  display: block;
  width: 160px;
  height: 160px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 24px rgba(255, 215, 0, 0.25));
}
@media (min-width: 900px) {
  .rating-badge-img { float: right; margin: 0 0 14px 24px; }
}

/* In-content figure (with optional caption) */
.figure {
  margin: 28px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: var(--bg-card);
}
.figure img {
  display: block;
  width: 100%;
  height: auto;
}
.figure figcaption {
  padding: 12px 18px;
  font-size: 0.88rem;
  color: var(--text-dim);
  background: rgba(0,0,0,0.25);
  border-top: 1px solid var(--border);
}

/* Portrait info-card sidebar — for the c-series illustrative cards.
   Floats to the right inside a section so body text wraps around it on desktop,
   then drops to full-width on mobile. */
.info-card {
  float: right;
  width: 280px;
  max-width: 40%;
  margin: 8px 0 22px 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: var(--bg-card);
}
/* On wider viewports, give a touch more room so text wraps cleanly */
@media (min-width: 1100px) {
  .info-card { width: 320px; }
}
.info-card img {
  display: block;
  width: 100%;
  height: auto;
}
.info-card.left { float: left; margin: 8px 26px 18px 0; }
@media (max-width: 720px) {
  .info-card,
  .info-card.left {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 18px 0;
  }
}

/* 18+ badge in footer */
.responsible-badge {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-right: 14px;
  vertical-align: middle;
}
.ra-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.ra-logos img { display: block; }

/* Author page layout */
.author-page { max-width: 920px; margin: 32px auto; padding: 0 20px; }
.author-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,215,0,0.06) 0%, rgba(106,44,143,0.18) 100%);
  border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-card);
  margin-bottom: 36px;
}
.author-headshot {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 36px rgba(255, 215, 0, 0.25);
  flex-shrink: 0;
}
.author-meta { flex: 1 1 320px; min-width: 0; }
.author-meta .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.author-meta h1 { margin: 0 0 14px; }
.author-meta .lede { color: var(--text); font-size: 1.06rem; line-height: 1.55; margin: 0 0 12px; }
.author-meta .updated { color: var(--text-dim); font-size: 0.88rem; margin: 0; }

/* Inline author byline (in hero of indexable pages) */
.byline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 14px;
  padding: 6px 14px 6px 6px;
  background: rgba(255,215,0,0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.88rem;
  color: var(--text-mute);
  text-decoration: none;
  transition: background 0.2s;
}
.byline:hover { background: rgba(255,215,0,0.14); }
.byline img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
}
.byline strong { color: var(--gold); font-weight: 700; }

@media (max-width: 600px) {
  .author-hero { padding: 22px; gap: 22px; }
  .author-headshot { width: 140px; height: 140px; }
}

/* ============================================================
   VISUAL UPGRADE 2026-06-03 — colour, motion, boxed tables,
   scannable headings, pulsing CTAs, pressable slot grid.
   Inner-page rules are scoped under .sd-sec so they beat the
   per-page inline <style> blocks by specificity.
   ============================================================ */

/* --- Living, colourful background --- */
body { position: relative; }
body::before {
  content: ""; position: fixed; inset: -25%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 38% at 18% 18%, rgba(124, 58, 237, 0.34), transparent 70%),
    radial-gradient(42% 42% at 86% 24%, rgba(236, 72, 153, 0.24), transparent 70%),
    radial-gradient(48% 48% at 50% 92%, rgba(255, 215, 0, 0.16), transparent 70%),
    radial-gradient(40% 40% at 75% 80%, rgba(0, 180, 216, 0.16), transparent 70%);
  animation: sdGlow 20s ease-in-out infinite alternate;
}
@keyframes sdGlow {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -3%, 0) scale(1.10); }
}

/* --- Scannable gold headings on content pages --- */
.sd-sec h2 {
  color: #ffe07a;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  position: relative;
  padding-left: 16px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}
.sd-sec h2::before {
  content: ""; position: absolute; left: 0; top: 0.12em; bottom: 0.12em;
  width: 5px; border-radius: 3px;
  background: linear-gradient(180deg, #ffe07a, #e0962a);
  box-shadow: 0 0 12px rgba(255, 200, 90, 0.6);
}
.sd-sec h3 { color: #ffd700; }
.sd-sec h1 { text-shadow: 0 2px 18px rgba(124, 58, 237, 0.4); }

/* --- Boxed, standout tables --- */
.sd-sec .sd-tbl, .sd-sec .sd-fact {
  border-collapse: separate; border-spacing: 0;
  border: 1px solid rgba(255, 200, 90, 0.30);
  border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45), var(--shadow-gold);
}
.sd-sec .sd-fact th, .sd-sec .sd-fact td { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.sd-sec .sd-fact tr:nth-child(even) { background: rgba(255, 255, 255, 0.035); }
.sd-sec .sd-fact th { color: #ffe07a; }
.sd-sec .sd-fact tr:last-child th, .sd-sec .sd-fact tr:last-child td { border-bottom: 0; }
.sd-sec .sd-tbl thead th {
  background: linear-gradient(180deg, #ffe07a, #e0a52e);
  color: #1a1408; font-weight: 800;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.82rem;
}
.sd-sec .sd-tbl th, .sd-sec .sd-tbl td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sd-sec .sd-tbl tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.035); }
.sd-sec .sd-tbl tbody tr:hover { background: rgba(255, 200, 90, 0.09); }
.sd-sec .sd-tbl tbody tr:last-child td { border-bottom: 0; }

/* --- Verdict / callout boxes get a touch more colour --- */
.sd-sec .sd-verdict {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(255, 215, 0, 0.06));
  border-color: rgba(255, 215, 0, 0.30);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

/* --- Pulsing, shimmering CTAs --- */
.sd-sec .sd-cta, .btn-primary, .bonus-bar a.claim {
  position: relative; overflow: hidden;
  animation: sdPulse 1.9s ease-in-out infinite;
}
@keyframes sdPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 200, 90, 0.55), 0 6px 18px rgba(0, 0, 0, 0.4); }
  50%      { box-shadow: 0 0 24px 6px rgba(255, 200, 90, 0.85), 0 6px 18px rgba(0, 0, 0, 0.4); }
}
.sd-sec .sd-cta::after, .btn-primary::after, .bonus-bar a.claim::after {
  content: ""; position: absolute; top: 0; left: -65%; width: 42%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg); animation: sdShine 2.8s ease-in-out infinite;
}
@keyframes sdShine { 0% { left: -65%; } 60%, 100% { left: 135%; } }
.sd-sec .sd-cta { font-size: 1.05rem; }
.sd-sec .sd-cta:hover, .btn-primary:hover { transform: translateY(-2px); }

/* --- Pressable slot grid (like the lobby) --- */
.slot-section { max-width: 1100px; margin: 8px auto; padding: 8px 20px; }
.slot-section .slot-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.slot-section p.slot-sub { color: var(--text-mute); margin: 4px 0 18px; line-height: 1.7; }
.slot-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}
.slot-card {
  position: relative; display: block; border-radius: 14px; overflow: hidden;
  background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.slot-card:hover, .slot-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 200, 90, 0.4);
  border-color: rgba(255, 200, 90, 0.65);
}
.slot-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.slot-card .name {
  display: block; color: var(--text-mute); font-size: 0.8rem; font-weight: 600;
  text-align: center; padding: 8px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.slot-card::before {
  content: "▶ Play"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13, 0, 33, 0.62); color: #ffe07a; font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.04em; opacity: 0; transition: opacity 0.16s ease;
}
.slot-card:hover::before, .slot-card:focus-visible::before { opacity: 1; }

/* --- Respect users who prefer no motion --- */
@media (prefers-reduced-motion: reduce) {
  body::before,
  .sd-sec .sd-cta, .btn-primary, .bonus-bar a.claim,
  .sd-sec .sd-cta::after, .btn-primary::after, .bonus-bar a.claim::after {
    animation: none !important;
  }
}
