/* =================================================================
   EWALLETCASINO — Design system
   Palette: Midnight Luxe (near-black + electric violet + champagne gold).
   Token names kept generic (--navy / --royal / --orange) for compatibility.
   Mobile-first.
   ================================================================= */

:root {
  --bg:            #ffffff;
  --bg-soft:       #f5f3ff;
  --bg-tint:       #fafaf9;
  --logo-tile:     #1e1b3a;

  --navy:          #0c0a1f;
  --navy-2:        #1e1b3a;
  --navy-soft:     rgba(12, 10, 31, .06);
  --navy-line:     rgba(12, 10, 31, .18);
  --royal:         #7c3aed;
  --royal-2:       #8b5cf6;
  --royal-soft:    rgba(124, 58, 237, .08);
  --orange:        #facc15;
  --orange-2:      #eab308;
  --orange-soft:   #fef9c3;

  --ink:           #0c0a09;
  --ink-2:         #292524;
  --ink-muted:     #57534e;
  --ink-dim:       #78716c;
  --ink-faint:     #a8a29e;
  --ink-on-dark:   #f5f5f4;

  --line:          #e7e5e4;
  --line-strong:   #d6d3d1;
  --line-on-dark:  rgba(255,255,255,.14);

  --success:       #065f46;
  --win:           #10b981;
  --loss:          #ef4444;

  --f-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: 'Geist Mono', 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem; --sp-8: 2rem; --sp-10: 2.5rem;
  --sp-12: 3rem; --sp-16: 4rem; --sp-20: 5rem;

  --w: 1120px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;

  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--f-sans);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum";
}
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100vw; }

a { color: var(--royal); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--royal-2); }
img, video, iframe, embed, object { max-width: 100%; height: auto; display: block; }
table { max-width: 100%; }
pre, code { max-width: 100%; overflow-x: auto; word-wrap: break-word; }

/* Long bonus amounts / numbers shouldn't push card width */
.bonus-card .amount,
.fc-card .amount,
.rhero-score .big {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 19px; font-weight: 600; }
h4 { font-size: 15px; font-weight: 600; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--sp-6); width: 100%; }
.kicker {
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
}
.muted { color: var(--ink-muted); }
.dim { color: var(--ink-dim); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* ========== HEADER ========== */
.util-bar {
  background: var(--royal); color: var(--ink-on-dark);
  font-size: 12px;
  border-bottom: 1px solid var(--line-on-dark);
}
.util-bar .wrap {
  display: flex; align-items: center; justify-content: flex-start;
  padding: 8px var(--sp-6); gap: var(--sp-4);
}
.util-bar .dot { color: var(--orange); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { height: 80px; display: flex; align-items: center; gap: var(--sp-6); }

.brand {
  font-weight: 800; font-size: 20px;
  letter-spacing: -.02em; color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
}
.brand .brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--orange); color: var(--navy);
  font-family: var(--f-mono); font-weight: 700; font-size: 16px;
}
/* Site logo (TNG) — constrained to the header height, auto width. */
.brand .brand-logo {
  display: block; height: 40px; width: auto;
}

.nav { display: flex; gap: var(--sp-6); margin-left: var(--sp-4); }
.nav a {
  color: rgba(255,255,255,.78); font-weight: 500; font-size: 14px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--orange); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: var(--sp-3); }

.menu-btn {
  display: none; width: 40px; height: 40px; margin-left: auto;
  background: transparent; border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-md); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: #fff; position: relative; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after  { top:  6px; }

@media (max-width: 900px) {
  .site-header .wrap { height: 68px; gap: 10px; padding: 0 16px; }
  .nav, .nav-right { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px;
  font-weight: 600; font-size: 14px;
  border-radius: var(--r-md); border: 1px solid transparent;
  cursor: pointer; transition: all .15s var(--ease); text-decoration: none;
}
.btn-primary { background: var(--orange); color: var(--navy); font-weight: 700; }
.btn-primary:hover { background: var(--orange-2); color: var(--navy); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 7px 12px; font-size: 13px; }

/* ========== BREADCRUMB ========== */
.crumb {
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px;
  color: var(--ink-dim); letter-spacing: .04em;
}
.crumb .wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.crumb a { color: var(--ink-muted); }
.crumb a:hover { color: var(--navy); }
.crumb .sep { color: var(--line-strong); }
.crumb .current { color: var(--ink-2); font-weight: 500; }

/* ========== REVIEW HERO ========== */
.rhero { padding: var(--sp-10) 0 var(--sp-8); border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .rhero { padding: var(--sp-6) 0; } }

.rhero-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--sp-10);
  align-items: start;
}
@media (max-width: 900px) { .rhero-grid { grid-template-columns: 180px minmax(0, 1fr); gap: var(--sp-6); } }
@media (max-width: 640px) { .rhero-grid { grid-template-columns: 1fr; gap: var(--sp-5); } }

.rhero-logo {
  background: var(--logo-tile);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  min-height: 180px;
  display: flex; align-items: center; justify-content: center;
}
.rhero-logo img { max-width: 220px; max-height: 96px; }

.rhero-body .kicker { margin-bottom: var(--sp-2); display: block; }
.rhero-body h1 { margin-bottom: var(--sp-3); line-height: 1.1; }
.rhero-body .sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-muted);
  margin-bottom: var(--sp-6);
  max-width: 620px;
}

.rhero-score {
  display: flex; align-items: baseline; gap: var(--sp-4); flex-wrap: wrap;
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--sp-5);
}
.rhero-score .big {
  font-weight: 800;
  font-size: 56px; color: var(--navy);
  line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.rhero-score .big .of { font-size: 18px; color: var(--ink-dim); font-weight: 400; margin-left: 4px; }
.rhero-score .rank {
  font-family: var(--f-mono); font-size: 13px;
  letter-spacing: .08em;
  padding: 6px 12px; background: var(--orange-soft); color: var(--orange-2);
  border-radius: var(--r-sm); font-weight: 600;
}
.rhero-score .stars { color: var(--orange); font-size: 16px; letter-spacing: 2px; }

.rhero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
@media (max-width: 640px) { .rhero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rhero-meta .m {
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-tint);
  border-radius: var(--r-md);
  border-left: 2px solid var(--orange);
}
.rhero-meta .k {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--ink-dim); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 3px;
}
.rhero-meta .v { font-weight: 600; color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }

.rhero-ctas { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.rhero-ctas .btn { min-height: 48px; padding: 13px 24px; font-size: 15px; }
.rhero-disc {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--ink-dim); margin-top: var(--sp-3); letter-spacing: .02em;
}

/* ========== VERDICT (TL;DR) ========== */
.verdict {
  background: var(--navy); color: var(--ink-on-dark);
  padding: var(--sp-12) 0;
  position: relative; overflow: hidden;
}
.verdict::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(245,115,22,.12), transparent 60%);
}
.verdict .wrap { position: relative; z-index: 1; max-width: 820px; }
.verdict .label {
  font-family: var(--f-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--sp-4); display: block;
}
.verdict h2 {
  color: #fff;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.35;
  margin-bottom: var(--sp-5);
}
.verdict h2 strong { color: var(--orange); font-weight: 800; }
.verdict .conf {
  font-family: var(--f-mono); font-size: 13px;
  color: rgba(245,245,244,.7); letter-spacing: .06em;
}
.verdict .conf strong { color: var(--orange); }

/* ========== 2-COL BODY ========== */
.rbody { padding: var(--sp-12) 0; }
@media (max-width: 720px) { .rbody { padding: var(--sp-8) 0; } }

.rbody-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--sp-10);
  align-items: start;
}
@media (max-width: 960px) { .rbody-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); } }

.rmain { min-width: 0; }
.rmain section { margin-bottom: var(--sp-10); }
.rmain section:last-child { margin-bottom: 0; }
.rmain h2 {
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--line);
  scroll-margin-top: 80px;
}
.rmain h2 .n {
  font-family: var(--f-mono); font-weight: 500;
  color: var(--orange); font-size: .7em; margin-right: var(--sp-2);
}
.rmain h3 { margin: var(--sp-6) 0 var(--sp-3); }
.rmain p { font-size: 16px; line-height: 1.85; color: var(--ink-2); margin-bottom: var(--sp-4); }
.rmain p strong {
  color: var(--ink); font-weight: 600;
  background: linear-gradient(180deg, transparent 60%, var(--orange-soft) 60%);
  padding: 0 .1em;
}
.rmain ul, .rmain ol { padding-left: var(--sp-6); margin-bottom: var(--sp-4); }
.rmain li { font-size: 16px; line-height: 1.75; color: var(--ink-2); margin-bottom: 6px; }

/* Pros/cons */
.pc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-5); margin-bottom: var(--sp-5); }
@media (max-width: 640px) { .pc { grid-template-columns: 1fr; } }
.pc-col { padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.pc-col.pros { border-left: 3px solid var(--success); }
.pc-col.cons { border-left: 3px solid var(--loss); }
.pc-col h4 {
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: var(--sp-3); padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--line);
}
.pc-col.pros h4 { color: var(--success); }
.pc-col.cons h4 { color: var(--loss); }
.pc-col ul { list-style: none; padding: 0; margin: 0; }
.pc-col li { position: relative; padding-left: var(--sp-6); font-size: 15px; line-height: 1.7; margin-bottom: var(--sp-2); }
.pc-col.pros li::before { content: "✅"; position: absolute; left: 0; top: 0; }
.pc-col.cons li::before { content: "❌"; position: absolute; left: 0; top: 0; }

/* Bonus / claim card (in main column) */
.bonus-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  margin-bottom: var(--sp-6);
  position: relative; overflow: hidden;
}
.bonus-card::before {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,115,22,.22), transparent 65%);
}
.bonus-card .kicker { color: var(--orange); }
.bonus-card .amount {
  font-family: var(--f-mono); font-weight: 700;
  font-size: clamp(36px, 5vw, 48px); color: var(--orange);
  line-height: 1; margin: var(--sp-3) 0 var(--sp-4);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.bonus-card .terms {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
  margin: var(--sp-5) 0 var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.15);
}
@media (max-width: 640px) { .bonus-card .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bonus-card .terms > div .k {
  font-family: var(--f-mono); font-size: 10px;
  color: rgba(255,255,255,.5); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 4px;
}
.bonus-card .terms > div .v { font-family: var(--f-mono); font-weight: 600; color: #fff; font-size: 15px; }
.bonus-card .cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 28px; background: var(--orange); color: var(--navy);
  font-weight: 700; border-radius: var(--r-md); font-size: 15px;
}
.bonus-card .cta:hover { background: var(--orange-2); color: var(--navy); }
.bonus-card small { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,.55); }

/* Comparison / payment matrix table */
.pay-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (min-width: 720px) { .pay-table { display: table; overflow: hidden; } }
.pay-table th, .pay-table td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.pay-table thead th { background: var(--bg-tint); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); font-weight: 600; }
.pay-table tbody tr:last-child td { border-bottom: none; }
.pay-table .mono { font-family: var(--f-mono); color: var(--navy); font-weight: 600; }

/* Callout */
.callout { padding: var(--sp-5) var(--sp-6); background: var(--orange-soft); border-left: 4px solid var(--orange); border-radius: var(--r-md); margin: var(--sp-5) 0; }
.callout h4 { color: var(--orange-2); font-size: 14px; margin-bottom: 8px; font-family: var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.callout p { color: var(--ink-2); font-size: 15px; line-height: 1.7; margin-bottom: 0; }

/* ========== STICKY SIDEBAR ========== */
.rside {
  position: sticky;
  top: 84px;
  display: flex; flex-direction: column; gap: var(--sp-5);
}
@media (max-width: 960px) { .rside { position: static; top: auto; } }

.side-card { background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; }
.side-card .side-head {
  background: var(--navy); color: #fff;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.side-card .side-body { padding: var(--sp-5); }

.side-claim .logo-mini { background: var(--logo-tile); border-radius: var(--r-md); padding: var(--sp-4); min-height: 70px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-3); }
.side-claim .logo-mini img { max-height: 40px; }
.side-claim .score-mini { display: flex; align-items: baseline; gap: var(--sp-3); padding: var(--sp-3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-3); }
.side-claim .score-mini .n { font-family: var(--f-mono); font-weight: 700; font-size: 26px; color: var(--navy); line-height: 1; }
.side-claim .score-mini .of { font-size: 12px; color: var(--ink-dim); }
.side-claim .score-mini .stars { color: var(--orange); font-size: 13px; letter-spacing: 1px; }
.side-claim .bonus-line { font-family: var(--f-mono); font-weight: 700; font-size: 22px; color: var(--orange); letter-spacing: -.02em; margin-bottom: 4px; }
.side-claim .bonus-lbl { font-size: 12px; color: var(--ink-dim); margin-bottom: var(--sp-4); }
.side-claim .cta { display: block; width: 100%; text-align: center; padding: 14px; background: var(--orange); color: var(--navy); font-weight: 700; font-size: 14px; border-radius: var(--r-md); }
.side-claim .cta:hover { background: var(--orange-2); color: var(--navy); }
.side-claim small { display: block; margin-top: 8px; font-size: 10px; color: var(--ink-dim); font-family: var(--f-mono); text-align: center; letter-spacing: .04em; }

.toc { padding: var(--sp-4) var(--sp-5); }
.toc a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.toc a:last-child { border-bottom: none; }
.toc a:hover { color: var(--royal); padding-left: 4px; }
.toc a .n { font-family: var(--f-mono); color: var(--ink-dim); font-size: 11px; letter-spacing: .05em; }

.alts .alt { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3); border-bottom: 1px solid var(--line); transition: background .1s var(--ease); }
.alts .alt:last-child { border-bottom: none; }
.alts .alt:hover { background: var(--bg-tint); }
.alts .alt .logo { width: 48px; height: 36px; border-radius: 4px; background: var(--logo-tile); display: flex; align-items: center; justify-content: center; padding: 4px; flex-shrink: 0; }
.alts .alt .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.alts .alt .body { flex: 1; min-width: 0; }
.alts .alt .name { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.alts .alt .reason { font-size: 11px; color: var(--ink-muted); margin-top: 2px; }
.alts .alt .score { font-family: var(--f-mono); font-weight: 700; color: var(--navy); font-size: 13px; }

/* ========== RANKING CARDS (hub pages) ========== */
.rank-list { display: flex; flex-direction: column; gap: var(--sp-5); }
.rank-card {
  display: grid;
  grid-template-columns: 60px 110px minmax(0, 1fr) 200px;
  gap: var(--sp-5);
  align-items: center;
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  min-width: 0;
}
.rank-card:hover { border-color: var(--orange); box-shadow: 0 6px 24px rgba(10,30,74,.06); }
.rank-card .rank-num {
  font-family: var(--f-mono); font-weight: 700; font-size: 28px;
  color: var(--orange); text-align: center; line-height: 1;
}
.rank-card .rank-num .lbl { display: block; font-size: 10px; color: var(--ink-dim); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; margin-top: 4px; }
.rank-card .logo { background: var(--logo-tile); border-radius: var(--r-md); padding: var(--sp-3); height: 70px; display: flex; align-items: center; justify-content: center; }
.rank-card .logo img { max-width: 100%; max-height: 50px; }
.rank-card .body h3 { font-size: 18px; margin-bottom: 4px; }
.rank-card .body h3 a { color: var(--ink); }
.rank-card .body h3 a:hover { color: var(--royal); }
.rank-card .body .meta { display: flex; flex-wrap: wrap; gap: var(--sp-3); font-size: 13px; color: var(--ink-muted); margin-bottom: var(--sp-2); }
.rank-card .body .meta .pip { display: inline-flex; align-items: center; gap: 4px; }
.rank-card .body .meta .pip .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.rank-card .body .meta .pip .v { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.rank-card .body .reason { font-size: 14px; color: var(--ink-2); }
.rank-card .actions { display: flex; flex-direction: column; gap: var(--sp-2); align-items: stretch; }
.rank-card .actions .score-row { display: flex; align-items: baseline; gap: 6px; justify-content: center; }
.rank-card .actions .score-row .n { font-family: var(--f-mono); font-weight: 700; font-size: 22px; color: var(--navy); }
.rank-card .actions .score-row .of { font-size: 11px; color: var(--ink-dim); }
.rank-card .actions .score-row .stars { color: var(--orange); font-size: 12px; letter-spacing: 1px; }
.rank-card .actions .btn { width: 100%; }

@media (max-width: 820px) {
  .rank-card { grid-template-columns: 50px 90px minmax(0, 1fr); grid-template-areas: "num logo body" "actions actions actions"; gap: var(--sp-4); }
  .rank-card .rank-num { grid-area: num; }
  .rank-card .logo { grid-area: logo; height: 60px; }
  .rank-card .body { grid-area: body; min-width: 0; }
  .rank-card .actions { grid-area: actions; flex-direction: row; align-items: center; }
  .rank-card .actions .score-row { flex: 1; justify-content: flex-start; }
  .rank-card .actions .btn { width: auto; flex-shrink: 0; }
}

@media (max-width: 540px) {
  .rank-card { grid-template-columns: 50px minmax(0, 1fr); grid-template-areas: "num body" "logo body" "actions actions"; gap: var(--sp-3); padding: var(--sp-4); }
  .rank-card .logo { height: 48px; align-self: start; }
  .rank-card .rank-num { font-size: 22px; }
  .rank-card .body h3 { font-size: 16px; }
  .rank-card .body .meta { gap: var(--sp-2) var(--sp-3); font-size: 12px; }
  .rank-card .body .reason { font-size: 13px; }
  .rank-card .actions .btn { padding: 9px 14px; font-size: 13px; }
  .rank-card .actions .score-row .n { font-size: 18px; }
}

/* ========== FAQ ========== */
.faq-sec { background: var(--bg-soft); padding: var(--sp-12) 0; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .faq-sec { padding: var(--sp-8) 0; } }
.faq-sec h2 { margin-bottom: var(--sp-3); }
.faq-sec .lede { color: var(--ink-muted); margin-bottom: var(--sp-6); max-width: 640px; }
.faq-list { max-width: 820px; }
details.faq-item { border-bottom: 1px solid var(--line-strong); padding: var(--sp-4) 0; }
details.faq-item:first-child { border-top: 1px solid var(--line-strong); }
details.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 16px; color: var(--ink);
  padding-right: var(--sp-6); position: relative; list-style: none; line-height: 1.45;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-family: var(--f-mono); font-size: 22px; font-weight: 400;
  color: var(--navy); transition: transform .2s var(--ease);
}
details.faq-item[open] summary::after { content: '−'; }
details.faq-item p { margin-top: var(--sp-3); font-size: 15px; color: var(--ink-2); line-height: 1.7; }

/* ========== AT-A-GLANCE BOX (LLM-friendly structured facts) ========== */
.at-glance {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-6);
}
.at-glance h3 {
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--sp-4);
}
.at-glance dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-3) var(--sp-5); }
@media (max-width: 540px) { .at-glance dl { grid-template-columns: 1fr; } }
.at-glance dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.at-glance dd { font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: var(--sp-2); }

/* ========== LAST UPDATED ========== */
.last-updated {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--ink-dim); letter-spacing: .04em;
  margin-top: var(--sp-3);
}
.last-updated strong { color: var(--ink-2); font-weight: 600; }
.byline { display: flex; align-items: center; gap: var(--sp-3); font-size: 13px; color: var(--ink-muted); margin-top: var(--sp-3); }
.byline a { color: var(--ink-2); font-weight: 600; }

/* ========== FOOTER ========== */
.site-footer { background: var(--navy); color: rgba(245,245,244,.7); padding: var(--sp-12) 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-8); padding-bottom: var(--sp-10); }
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--sp-4); font-family: var(--f-mono); }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: rgba(245,245,244,.7); }
.footer-grid a:hover { color: var(--orange); }
.footer-grid .brand { color: #fff; margin-bottom: var(--sp-3); }
.footer-grid .brand .brand-mark { background: var(--orange); color: var(--navy); }
.footer-grid p { line-height: 1.55; max-width: 280px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.responsible-band {
  background: rgba(255,255,255,.04);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line-on-dark);
  font-size: 13px;
  color: rgba(245,245,244,.75);
}
.responsible-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); justify-content: center; text-align: center; }
.responsible-band .age { color: var(--orange); font-family: var(--f-mono); font-weight: 700; letter-spacing: .04em; }

.legal-strip { border-top: 1px solid var(--line-on-dark); padding: var(--sp-4) 0; font-size: 12px; color: rgba(245,245,244,.55); }
.legal-strip .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sp-4); font-family: var(--f-mono); letter-spacing: .05em; }
.legal-strip .dot { color: var(--orange); }

/* ========== STICKY MOBILE CTA (single-review only) ========== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--navy); color: #fff;
  border-top: 3px solid var(--orange);
  padding: 12px var(--sp-5);
  display: none;
  align-items: center; gap: var(--sp-4);
  z-index: 90;
  box-shadow: 0 -10px 28px rgba(0,0,0,.18);
}
.sticky-cta .sc-logo { width: 72px; height: 56px; border-radius: 6px; background: var(--logo-tile); display: inline-flex; align-items: center; justify-content: center; padding: 6px; flex-shrink: 0; border: 1px solid rgba(255,255,255,.08); }
.sticky-cta .sc-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sticky-cta .sc-body { flex: 1; min-width: 0; }
.sticky-cta .sc-name { font-size: 15px; font-weight: 700; line-height: 1.25; margin-bottom: 3px; }
.sticky-cta .sc-bonus { font-size: 12.5px; color: var(--orange); font-family: var(--f-mono); letter-spacing: .03em; line-height: 1.3; }
.sticky-cta .btn { padding: 13px 22px; font-size: 14px; min-height: 46px; font-weight: 700; }
@media (max-width: 900px) {
  .sticky-cta.is-active { display: flex; }
  body.has-sticky-cta { padding-bottom: 96px; }
}

/* ========== HUB ARCHIVES (e-wallet hub, etc) ========== */
.hub-hero { padding: var(--sp-12) 0 var(--sp-8); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hub-hero h1 { margin-bottom: var(--sp-3); }
.hub-hero .lede { font-size: clamp(15px, 1.6vw, 17px); color: var(--ink-muted); max-width: 720px; }
.hub-section { padding: var(--sp-10) 0; }
.hub-section h2 { margin-bottom: var(--sp-6); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--sp-6); gap: var(--sp-4); flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
@media (max-width: 540px) { .section-head { flex-direction: column; align-items: flex-start; gap: var(--sp-3); } }

/* ========== HOMEPAGE ========== */
.home-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--ink-on-dark);
  padding: var(--sp-16) 0 var(--sp-12);
  position: relative; overflow: hidden;
}
.home-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 20%, rgba(250,204,21,.14), transparent 55%),
              radial-gradient(ellipse at 15% 80%, rgba(124,58,237,.18), transparent 60%);
  pointer-events: none;
}
.home-hero .wrap { position: relative; z-index: 1; max-width: 920px; }
.home-hero .kicker { color: var(--orange); margin-bottom: var(--sp-4); display: block; }
.home-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin-bottom: var(--sp-5); letter-spacing: -.02em; }
.home-hero .lede { font-size: clamp(16px, 1.7vw, 19px); color: rgba(245,245,244,.82); max-width: 720px; margin-bottom: var(--sp-8); line-height: 1.6; }
.home-hero .hero-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-10); }
.home-hero .hero-actions .btn-ghost { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.25); }
.home-hero .hero-actions .btn-ghost:hover { color: #fff; border-color: var(--orange); }

.hero-pips {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  list-style: none; padding: 0; margin: 0;
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 720px) { .hero-pips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); } }
.hero-pips li { display: flex; flex-direction: column; gap: 4px; }
.hero-pips strong { font-family: var(--f-mono); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); color: var(--orange); letter-spacing: -.02em; line-height: 1; }
.hero-pips span { font-size: 12px; color: rgba(245,245,244,.7); line-height: 1.4; }

/* E-wallet tile grid */
.ewallet-section { background: var(--bg-soft); }
.ewallet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
@media (max-width: 820px) { .ewallet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ewallet-grid { grid-template-columns: 1fr; } }
.ewallet-tile {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: all .15s var(--ease);
}
.ewallet-tile:hover { border-color: var(--royal); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(12,10,31,.08); }
.ewallet-tile .logo {
  background: var(--logo-tile);
  border-radius: var(--r-md);
  height: 80px; padding: var(--sp-3);
  display: flex; align-items: center; justify-content: center;
}
.ewallet-tile .logo img { max-width: 100%; max-height: 56px; object-fit: contain; }
.ewallet-tile .logo .placeholder { color: var(--orange); font-family: var(--f-mono); font-weight: 700; font-size: 18px; letter-spacing: .04em; }
/* /ewallet/ archive only: real logos are dark/transparent PNGs, so the tile
   chip is light + rounded here (same idea as the homepage .ewallet-logo chip).
   Scoped to the archive body class — the homepage tiles keep the dark chip. */
body.post-type-archive-ewallet_guide .ewallet-tile .logo {
  background: #fff;
  border: 1px solid var(--line);
}
.ewallet-tile h3 { color: var(--ink); font-size: 17px; margin: 0; }
.ewallet-tile .meta { display: flex; gap: var(--sp-4); font-size: 13px; color: var(--ink-muted); flex-wrap: wrap; }
.ewallet-tile .meta strong { color: var(--ink); font-family: var(--f-mono); }

/* Free credit cards */
.free-credit-section { background: #fff; }
.fc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
@media (max-width: 820px) { .fc-grid { grid-template-columns: 1fr; } }
.fc-card {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-6);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform .15s var(--ease);
}
.fc-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(250,204,21,.18), transparent 60%); }
.fc-card:hover { transform: translateY(-3px); }
.fc-card .kicker { color: var(--orange); position: relative; z-index: 1; }
.fc-card h3 { color: #fff; font-size: 18px; margin: 0; position: relative; z-index: 1; }
.fc-card .amount { font-family: var(--f-mono); font-weight: 700; font-size: 32px; color: var(--orange); letter-spacing: -.02em; line-height: 1; position: relative; z-index: 1; }
.fc-card .terms { list-style: none; padding: 0; margin: 0; display: flex; gap: var(--sp-4); font-size: 13px; color: rgba(245,245,244,.75); flex-wrap: wrap; position: relative; z-index: 1; }
.fc-card .terms strong { color: #fff; font-family: var(--f-mono); }

/* Trust strip */
.trust-strip { background: var(--bg-tint); padding: var(--sp-12) 0; border-top: 1px solid var(--line); }
.trust-strip h2 { margin-bottom: var(--sp-8); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-grid > div { padding-top: var(--sp-4); border-top: 2px solid var(--royal); }
.trust-grid .kicker { display: block; margin-bottom: var(--sp-3); color: var(--royal); }
.trust-grid p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 0; }

/* ========== STATIC PAGE TEMPLATE ========== */
.trust-page { padding-bottom: var(--sp-16); }
.trust-hero { padding: var(--sp-10) 0 var(--sp-6); background: var(--bg-soft); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-10); }
.trust-hero h1 { margin-bottom: var(--sp-3); max-width: 800px; }
.trust-hero .lede { font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-muted); max-width: 720px; margin-bottom: var(--sp-4); line-height: 1.6; }
.wrap-narrow { max-width: 740px; }
.prose { font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: var(--sp-10) 0 var(--sp-4); padding-bottom: var(--sp-3); border-bottom: 2px solid var(--line); scroll-margin-top: 80px; }
.prose h3 { font-size: 19px; margin: var(--sp-8) 0 var(--sp-3); }
.prose p { margin-bottom: var(--sp-5); }
.prose p strong {
  color: var(--ink); font-weight: 600;
  background: linear-gradient(180deg, transparent 60%, var(--orange-soft) 60%);
  padding: 0 .1em;
}
.prose ul, .prose ol { padding-left: var(--sp-6); margin-bottom: var(--sp-5); }
.prose li { margin-bottom: var(--sp-2); }
.prose blockquote { margin: var(--sp-6) 0; padding: var(--sp-5) var(--sp-6); border-left: 4px solid var(--royal); background: var(--royal-soft); color: var(--ink-2); font-style: italic; border-radius: 0 var(--r-md) var(--r-md) 0; }
.prose a { color: var(--royal); text-decoration: underline; text-decoration-color: rgba(124,58,237,.35); text-underline-offset: 2px; }
.prose a:hover { text-decoration-color: var(--royal); }
.prose code { font-family: var(--f-mono); font-size: 14px; background: var(--bg-tint); padding: 2px 6px; border-radius: 4px; }


/* =================================================================
   RESPONSIVE OVERHAUL
   Breakpoints: 1024 desktop · 900 tablet-landscape · 720 tablet · 540 phablet · 380 small phone
   Strategy: progressive enhancement up from mobile-first baseline.
   ================================================================= */

/* ---------- Touch target sizing (>= 44px on mobile) ---------- */
@media (max-width: 720px) {
  .btn { min-height: 44px; padding: 12px 18px; }
  .btn-sm { min-height: 38px; padding: 9px 14px; }
  .nav a { padding: 12px 0; }
  .toc a { padding: 12px 0; }
  details.faq-item summary { padding: 4px 32px 4px 0; min-height: 44px; display: flex; align-items: center; }
}

/* ---------- Wrap padding adjustments ---------- */
@media (max-width: 540px) {
  .wrap { padding: 0 var(--sp-4); }
  .home-hero { padding: var(--sp-10) 0 var(--sp-8); }
  .hub-section { padding: var(--sp-8) 0; }
  .trust-strip { padding: var(--sp-10) 0; }
  .hub-hero { padding: var(--sp-8) 0 var(--sp-6); }
}

/* ---------- Mobile drawer nav (hamburger now functional via ewc.js) ---------- */
@media (max-width: 900px) {
  .site-header { position: relative; }
  .site-header .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    gap: 0;
    padding: var(--sp-3) var(--sp-4);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s var(--ease), padding .25s var(--ease);
    display: flex;
  }
  .site-header .nav.is-open {
    max-height: 80vh;
    padding: var(--sp-4);
  }
  .site-header .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.85);
    font-size: 15px;
  }
  .site-header .nav a:last-child { border-bottom: none; }
  .menu-btn[aria-expanded="true"] { background: rgba(255,255,255,.08); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Header sizing on small phones ---------- */
@media (max-width: 540px) {
  .util-bar { font-size: 11px; }
  .util-bar .wrap { padding: 6px var(--sp-4); }
  .brand { font-size: 17px; gap: 6px; }
  .brand .brand-mark { width: 28px; height: 28px; font-size: 14px; }
  .brand .brand-logo { height: 32px; }
}
@media (max-width: 380px) {
  .util-bar .wrap span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .brand span:not(.brand-mark) { display: none; }
}

/* ---------- Homepage hero polish ---------- */
@media (max-width: 540px) {
  .home-hero h1 { font-size: clamp(26px, 7vw, 32px); }
  .home-hero .lede { font-size: 15px; margin-bottom: var(--sp-6); }
  .home-hero .hero-actions { gap: var(--sp-2); }
  .home-hero .hero-actions .btn { flex: 1; min-width: 0; padding: 13px 16px; font-size: 14px; }
  .hero-pips { gap: var(--sp-3); padding-top: var(--sp-6); }
  .hero-pips strong { font-size: 22px; }
  .hero-pips span { font-size: 11px; }
}
@media (max-width: 380px) {
  .hero-pips { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- Casino review hero polish ---------- */
@media (max-width: 540px) {
  .rhero-logo { min-height: 140px; padding: var(--sp-5); }
  .rhero-logo img { max-width: 160px; max-height: 70px; }
  .rhero-body h1 { font-size: clamp(26px, 7vw, 32px); }
  .rhero-score { gap: var(--sp-3); padding: var(--sp-4) 0; }
  .rhero-score .big { font-size: 44px; }
  .rhero-score .rank { font-size: 11px; padding: 4px 9px; }
  .rhero-meta { gap: var(--sp-2); }
  .rhero-meta .m { padding: var(--sp-3); }
  .rhero-meta .v { font-size: 14px; }
  .rhero-ctas { flex-direction: column; gap: var(--sp-2); }
  .rhero-ctas .btn { width: 100%; }
}

/* ---------- Verdict section ---------- */
@media (max-width: 540px) {
  .verdict { padding: var(--sp-8) 0; }
  .verdict h2 { font-size: 19px; line-height: 1.4; }
  .verdict .conf { font-size: 12px; }
}

/* ---------- E-wallet hub & e-wallet tile ---------- */
@media (max-width: 540px) {
  .ewallet-tile { padding: var(--sp-4); }
  .ewallet-tile .logo { height: 64px; }
  .ewallet-tile h3 { font-size: 16px; }
  .ewallet-tile .meta { font-size: 12px; gap: var(--sp-3); }
}

/* ---------- Free credit card ---------- */
@media (max-width: 540px) {
  .fc-card { padding: var(--sp-5); }
  .fc-card .amount { font-size: 28px; }
  .fc-card h3 { font-size: 16px; }
}

/* ---------- Bonus card (single review main col) ---------- */
@media (max-width: 540px) {
  .bonus-card { padding: var(--sp-5); }
  .bonus-card .amount { font-size: 32px; }
  .bonus-card .terms { gap: var(--sp-2); margin: var(--sp-4) 0; padding-top: var(--sp-4); }
  .bonus-card .terms > div .v { font-size: 13px; }
  .bonus-card .cta { width: 100%; padding: 13px 18px; }
}

/* ---------- Trust strip ---------- */
@media (max-width: 540px) {
  .trust-grid { gap: var(--sp-5); }
  .trust-grid > div { padding-top: var(--sp-3); }
  .trust-grid p { font-size: 13px; }
}

/* ---------- Footer ---------- */
@media (max-width: 540px) {
  .site-footer { padding: var(--sp-8) 0 0; font-size: 13px; }
  .footer-grid { gap: var(--sp-6); padding-bottom: var(--sp-6); }
  .footer-grid h4 { margin-bottom: var(--sp-3); }
  .responsible-band { padding: var(--sp-3) 0; font-size: 12px; }
  .responsible-band .wrap { gap: var(--sp-2); }
  .legal-strip { padding: var(--sp-4) var(--sp-3); }
  .legal-strip .wrap { font-size: 11px; gap: var(--sp-2); }
}

/* ---------- Sticky CTA polish ---------- */
@media (max-width: 540px) {
  .sticky-cta { padding: 10px var(--sp-3); gap: var(--sp-2); }
  .sticky-cta .sc-logo { width: 56px; height: 44px; padding: 4px; }
  .sticky-cta .sc-name { font-size: 13px; line-height: 1.2; -webkit-line-clamp: 1; -webkit-box-orient: vertical; display: -webkit-box; overflow: hidden; }
  .sticky-cta .sc-bonus { font-size: 11px; line-height: 1.25; -webkit-line-clamp: 1; -webkit-box-orient: vertical; display: -webkit-box; overflow: hidden; }
  .sticky-cta .btn { padding: 10px 14px; font-size: 13px; min-height: 42px; }
  body.has-sticky-cta { padding-bottom: 80px; }
}

/* ---------- Sidebar cards on mobile (no longer sticky) ---------- */
@media (max-width: 960px) {
  .rside { gap: var(--sp-4); }
  .side-claim .logo-mini { min-height: 60px; padding: var(--sp-3); }
  .side-claim .bonus-line { font-size: 18px; }
}

/* ---------- Trust page (page.php) ---------- */
@media (max-width: 540px) {
  .trust-hero { padding: var(--sp-6) 0 var(--sp-4); margin-bottom: var(--sp-6); }
  .trust-hero h1 { font-size: clamp(24px, 7vw, 32px); }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 22px; margin: var(--sp-8) 0 var(--sp-3); }
  .prose h3 { font-size: 17px; }
  .prose blockquote { padding: var(--sp-4); margin: var(--sp-4) 0; }
}

/* ---------- Image safety ---------- */
img { max-width: 100%; height: auto; }

/* ====================================================================
   TASK 1 — hide every review-directing link sitewide (safety net).
   Catches casino_review archive + single-review URLs (/casino-reviews/…)
   anywhere they slip through (breadcrumbs, free-credit CTAs, etc.).
   Reversible — delete this rule to restore. Does NOT touch claim/
   affiliate buttons (external URLs) or the ranking cards themselves.
   ==================================================================== */
a[href*="/casino-reviews/"] { display: none !important; }

/* ====================================================================
   TASK 2 / TASKS 4 & 5 — editorial copy blocks styled as intentional
   "Midnight Luxe" dark panels, reusing existing tokens (no new palette).
   .ewc-home-copy  → homepage (front-page.php)
   .ewc-guide-copy → e-wallet guide pages (single-ewallet_guide.php)
   ==================================================================== */
.ewc-home-copy,
.ewc-guide-copy {
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: rgba(245, 245, 244, .82);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--r-lg);
  padding: var(--sp-10) clamp(var(--sp-5), 4vw, var(--sp-10));
  margin: var(--sp-12) 0;
}

/* Headings — same family/weight/scale as the theme's existing headings */
/* Page title (H1) — first child of the copy block; page-title scale, on-dark. */
.ewc-home-copy h1,
.ewc-guide-copy h1 {
  color: var(--ink-on-dark);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 var(--sp-6);
}
.ewc-home-copy h2,
.ewc-guide-copy h2 {
  color: var(--ink-on-dark);
  font-size: clamp(22px, 2.4vw, 28px);
  margin: var(--sp-10) 0 var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.ewc-home-copy h3,
.ewc-guide-copy h3 {
  color: var(--ink-on-dark);
  font-size: 19px;
  margin: var(--sp-8) 0 var(--sp-3);
}
.ewc-home-copy > :first-child,
.ewc-guide-copy > :first-child { margin-top: 0; }

/* Body copy — comfortable rhythm, on-dark readable */
.ewc-home-copy p,
.ewc-guide-copy p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(245, 245, 244, .82);
  margin-bottom: var(--sp-5);
}

/* Lists (e.g. DuitNow numbered top-up steps) */
.ewc-home-copy ol, .ewc-home-copy ul,
.ewc-guide-copy ol, .ewc-guide-copy ul {
  margin: 0 0 var(--sp-5);
  padding-left: var(--sp-6);
  color: rgba(245, 245, 244, .82);
}
.ewc-home-copy li,
.ewc-guide-copy li { font-size: 16px; line-height: 1.7; margin-bottom: var(--sp-2); }

/* Links — existing accent token, readable on the dark panel */
.ewc-home-copy a,
.ewc-guide-copy a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.ewc-home-copy a:hover,
.ewc-guide-copy a:hover { color: var(--orange-2); }
.ewc-home-copy h2 a,
.ewc-guide-copy h2 a { color: inherit; }

/* Each homepage e-wallet entry (h3 + logo + paras) gets a subtle divider
   so the block reads as designed, not pasted. */
.ewc-home-copy h3 {
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* e-wallet logos: dark/transparent PNGs sit on a light rounded chip so
   they stay visible on the dark panel. Scoped to .ewc-home-copy only. */
.ewc-home-copy .ewallet-logo {
  display: inline-block;
  height: 52px;
  width: auto;
  margin: var(--sp-1) 0 var(--sp-4);
  padding: 8px;
  background: #ffffff;
  border-radius: 8px;
}

@media (max-width: 540px) {
  .ewc-home-copy, .ewc-guide-copy { padding: var(--sp-6) var(--sp-5); margin: var(--sp-8) 0; }
  .ewc-home-copy .ewallet-logo { height: 44px; }
}

/* ---------- Author box (single source: WP user profile) ----------
   Sits above the footer (below the FAQ where present). Blank avatar is a
   neutral rounded placeholder — never a Gravatar or broken image. */
.ewc-author-box { margin: var(--sp-9) 0 var(--sp-3); }
.ewc-author-card {
  display: flex; align-items: flex-start; gap: var(--sp-5);
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.ewc-author-avatar {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ece9f6, #d9d4ea);
  border: 1px solid var(--line);
  display: inline-block;
}
.ewc-author-name { margin: 0 0 var(--sp-2); font-size: 16px; font-weight: 700; color: var(--ink); }
.ewc-author-name a { color: var(--royal); text-decoration: none; }
.ewc-author-name a:hover { text-decoration: underline; }
.ewc-author-bio { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-muted); }

/* Author archive page (/author/aaron-tan/) — lives inside the shared dark
   .ewc-guide-copy panel, so it inherits the dark bg, on-dark headings and
   orange links. These rules cover the author-specific bits + override the
   light author-box defaults above so nothing renders purple-on-dark. */
.ewc-author-head { display: flex; align-items: center; gap: var(--sp-5); margin-bottom: var(--sp-6); }
.ewc-author-avatar-lg { width: 88px; height: 88px; }
/* Blank avatar placeholder reads on the dark panel: light neutral disc. */
.ewc-author-copy .ewc-author-avatar {
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.14);
}
.ewc-author-copy .ewc-author-bio-lede {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  color: rgba(245, 245, 244, .82);
  margin-bottom: var(--sp-8);
}
.ewc-author-posts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.ewc-author-copy .ewc-author-posts { padding-left: 0; }
.ewc-author-copy .ewc-author-posts li { margin-bottom: 0; }
.ewc-author-copy .ewc-author-posts a { color: var(--orange); text-decoration: none; font-weight: 600; }
.ewc-author-copy .ewc-author-posts a:hover { color: var(--orange-2); text-decoration: underline; }

@media (max-width: 540px) {
  .ewc-author-card { flex-direction: column; gap: var(--sp-4); }
  .ewc-author-head { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
}

/* ---------- Tap highlight + smooth tap experience ---------- */
a, button { -webkit-tap-highlight-color: rgba(124, 58, 237, 0.15); }

/* ---------- Reduce motion already handled in :root reset ---------- */
