/* PHReview — PAGCOR licensed online gaming directory */
:root {
  --bg: #070b18;
  --bg-2: #0c1226;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-solid: #10172e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1fb;
  --muted: #9aa4c2;
  --faint: #6b7596;
  --gold: #f6c453;
  --gold-2: #ffdf8a;
  --gold-ink: #2a1d00;
  --blue: #4f7dff;
  --red: #ff5a6e;
  --green: #34d399;
  --amber: #fbbf24;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --max: 1200px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(79, 125, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(246, 196, 83, 0.10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 560px) { .container { padding: 0 16px; } }

/* ---------- Top bar & header ---------- */
.topbar {
  background: linear-gradient(90deg, #0038a8 0%, #0038a8 33%, #ce1126 66%, #ce1126 100%);
  color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 7px 16px;
}
.topbar strong { color: #fcd116; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 24, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.logo:hover { color: var(--text); }
.logo-mark { width: 34px; height: 34px; }
.logo b { color: var(--gold); font-weight: 800; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; transition: .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-toggle { display: none; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); width: 42px; height: 42px; border-radius: 12px; cursor: pointer; }
.nav-toggle svg { margin: auto; }
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 2px;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 10px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 14px; border-radius: 12px; }
}

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  font-family: inherit; white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #e5a722); color: var(--gold-ink); box-shadow: 0 10px 30px -10px rgba(246, 196, 83, .6); }
.btn-gold:hover { color: var(--gold-ink); transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(246, 196, 83, .75); }
.btn-ghost { background: var(--surface-2); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.1); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600;
  padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  white-space: nowrap;
}
.chip svg { width: 13px; height: 13px; opacity: .85; }
.chip.pending { background: transparent; border-style: dashed; color: var(--faint); }
.chip.gold { background: rgba(246,196,83,.12); border-color: rgba(246,196,83,.35); color: var(--gold-2); }
.chip.green { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.35); color: #8ef0c6; }
.chip.amber { background: rgba(251,191,36,.10); border-color: rgba(251,191,36,.35); color: #fcd581; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0,1fr); } .hero-art { display: none; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--gold-2);
  background: rgba(246,196,83,.08); border: 1px solid rgba(246,196,83,.25); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.hero h1 { overflow-wrap: break-word; font-size: clamp(32px, 5.4vw, 60px); font-weight: 800; margin-bottom: 18px; }
.grad { background: linear-gradient(100deg, var(--gold-2), var(--gold) 40%, #ff9b5a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 620px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 640px; }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.stat b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--text); line-height: 1.1; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.hero-art { position: relative; height: 540px; }
.float-card {
  position: absolute; width: 270px; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid var(--border-strong); border-radius: 20px; padding: 18px; box-shadow: var(--shadow);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: bob 7s ease-in-out infinite;
}
.float-card:nth-child(1) { top: 30px; left: 0; transform: rotate(-5deg); z-index: 1; }
.float-card:nth-child(2) { top: 200px; right: 0; transform: rotate(4deg); animation-delay: -2s; z-index: 2; }
.float-card:nth-child(3) { bottom: 0; left: 30px; transform: rotate(-2deg); animation-delay: -4s; z-index: 3; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } html { scroll-behavior: auto; } }
.float-card .fc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.float-card .fc-name { font-weight: 800; font-family: var(--font-display); }
.float-card .fc-co { font-size: 12px; color: var(--muted); }
.float-card .fc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.seal {
  position: absolute; right: 20px; top: 20px; z-index: 4; width: 110px; height: 110px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  color: var(--gold-ink); background: conic-gradient(from 0deg, var(--gold-2), var(--gold), #e5a722, var(--gold-2));
  box-shadow: 0 0 0 6px rgba(246,196,83,.15), var(--shadow); animation: spin 30s linear infinite;
}
.seal span { display: block; font-size: 26px; font-family: var(--font-display); letter-spacing: -0.02em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Monogram ---------- */
.mono {
  --h: 40;
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #fff; letter-spacing: -0.03em;
  background: linear-gradient(140deg, hsl(var(--h) 85% 62%), hsl(calc(var(--h) + 40) 80% 45%));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 20px -8px hsl(var(--h) 80% 50% / .7);
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.mono.lg { width: 76px; height: 76px; border-radius: 22px; font-size: 26px; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0; }
.section-head p { color: var(--muted); margin: 8px 0 0; max-width: 640px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }

/* ---------- Directory toolbar ---------- */
.toolbar {
  position: sticky; top: 10px; z-index: 20; display: grid; grid-template-columns: minmax(0,1fr); gap: 14px;
  background: rgba(12, 18, 38, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 24px;
}
.toolbar-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.search { position: relative; flex: 1 1 320px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.search input {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 13px 18px 13px 46px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--faint); }
.search input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(246,196,83,.15); }
.select {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 12px 38px 12px 16px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa4c2' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.filters::-webkit-scrollbar { display: none; }
.filter-btn {
  font: inherit; font-size: 13.5px; font-weight: 700; color: var(--muted); background: transparent;
  border: 1px solid var(--border-strong); padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; transition: .15s;
}
.filter-btn svg { width: 14px; height: 14px; }
.filter-btn:hover { color: var(--text); border-color: var(--muted); }
.filter-btn[aria-pressed="true"] { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.filter-btn .count { font-size: 11.5px; opacity: .7; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; user-select: none; }
.toggle input { appearance: none; width: 40px; height: 23px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-strong); position: relative; cursor: pointer; transition: .2s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--muted); transition: .2s; }
.toggle input:checked { background: var(--green); border-color: var(--green); }
.toggle input:checked::after { left: 19px; background: #fff; }
.result-meta { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.result-meta b { color: var(--text); }

/* ---------- Operator cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }

.card {
  min-width: 0; position: relative; display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(246,196,83,.4); box-shadow: 0 24px 50px -24px rgba(246,196,83,.25); }
.card-top { display: flex; gap: 14px; align-items: center; }
.card-title { min-width: 0; flex: 1; }
.card h3 { font-size: 19px; margin: 0 0 2px; }
.card h3 a { color: var(--text); }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card .company { font-size: 13px; color: var(--muted); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .num { font-size: 12px; font-weight: 700; color: var(--faint); align-self: flex-start; font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.card-foot .domain { min-width: 0; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-foot .arrow { flex: none; color: var(--gold); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.subs-line { font-size: 13px; color: var(--muted); margin: 0; }
.subs-line b { color: var(--text); font-weight: 600; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty[hidden] { display: none; }

/* ---------- Casino platform cards ---------- */
.casino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.casino {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px; border: 1px solid var(--border);
  background: radial-gradient(400px 200px at 100% 0%, rgba(246,196,83,.12), transparent 60%), var(--surface);
  display: flex; flex-direction: column; gap: 12px;
}
.casino h3 { font-size: 19px; margin: 0; }
.casino .venue { font-size: 13.5px; color: var(--muted); margin: 0; }
.casino .loc { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); font-weight: 600; }
.casino .links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.domain-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-strong); padding: 6px 11px; border-radius: 9px;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; word-break: break-all;
}
.domain-link:hover { color: var(--gold-2); border-color: rgba(246,196,83,.5); }
.domain-link svg { width: 12px; height: 12px; flex: none; opacity: .7; }

/* ---------- Steps / features ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  font-family: var(--font-display); font-weight: 800; color: var(--gold-ink); background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.step h3 { font-size: 18px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

.legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.legend-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.legend-item .ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(246,196,83,.12); color: var(--gold); }
.legend-item .ico svg { width: 18px; height: 18px; }
.legend-item b { display: block; font-size: 15px; }
.legend-item span { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 20px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(246,196,83,.35); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { color: var(--muted); padding-bottom: 18px; }
.faq .answer p:last-child { margin: 0; }

/* ---------- Callouts ---------- */
.callout {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(79,125,255,.14), rgba(246,196,83,.08)); border: 1px solid rgba(79,125,255,.3);
}
.callout svg { flex: none; color: var(--gold); margin-top: 2px; }
.callout p { margin: 0; color: var(--muted); }
.callout b { color: var(--text); }
.callout.warn { background: linear-gradient(120deg, rgba(255,90,110,.12), rgba(251,191,36,.06)); border-color: rgba(255,90,110,.3); }

.cta-band {
  border-radius: 28px; padding: 44px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, rgba(246,196,83,.22), transparent 70%), linear-gradient(160deg, #121a36, #0b1124);
  border: 1px solid rgba(246,196,83,.25);
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 34px); }
.cta-band p { color: var(--muted); max-width: 620px; margin: 0 auto 22px; }
@media (max-width: 560px) { .cta-band { padding: 32px 20px; } }

/* ---------- Detail pages ---------- */
.page-hero { padding: 28px 0 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--faint); margin-bottom: 26px; list-style: none; padding: 0; }
.crumbs a { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--faint); }
.op-head { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.op-head h1 { font-size: clamp(30px, 4.6vw, 48px); margin: 0 0 6px; }
.op-head .company { color: var(--muted); font-size: 16px; margin: 0; }
.op-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; padding-bottom: 40px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.panel h2 { font-size: 21px; margin-bottom: 14px; }
.panel > p { color: var(--muted); }
.aside { position: sticky; top: 20px; }
@media (max-width: 960px) { .aside { position: static; } }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.offer-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.offer-table th, .offer-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); }
.offer-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 700; }
.offer-table tr:last-child td { border-bottom: 0; }
.offer-table td:first-child { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.offer-table td:first-child svg { flex: none; width: 16px; height: 16px; color: var(--gold); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.live { color: var(--green); }
.status.soon { color: var(--amber); }
.domain-list { display: flex; flex-wrap: wrap; gap: 8px; }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.related a { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 700; transition: .2s; }
.related a:hover { border-color: rgba(246,196,83,.4); color: var(--text); }
.related .mono { width: 38px; height: 38px; border-radius: 11px; font-size: 14px; }
.related small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }

.prose { max-width: 780px; }
.prose h2 { font-size: clamp(22px, 2.8vw, 28px); margin-top: 1.6em; }
.prose h3 { font-size: 19px; margin-top: 1.4em; }
.prose p, .prose li { color: #c9cfe3; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-decoration-color: rgba(246,196,83,.4); text-underline-offset: 3px; }
.answer-box { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 18px 20px; margin: 0 0 1.4em; }
.answer-box p { margin: 0; color: var(--text) !important; }
.hotline { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 1em 0 1.6em; }
.hotline div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.hotline b { display: block; font-size: 15px; color: var(--text); }
.hotline span { font-size: 13.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(0,0,0,.35)); padding: 56px 0 28px; font-size: 14px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--text); font-size: 14px; margin-bottom: 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.age { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); font-weight: 800; font-size: 14px; flex: none; }
.foot-legal { display: flex; gap: 16px; align-items: flex-start; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.6; }
.foot-legal p { margin: 0 0 6px; }
.copyright { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* ---------- Age gate ---------- */
.agegate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 14, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.agegate[hidden] { display: none; }
.agegate-box { max-width: 440px; width: 100%; text-align: center; background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 24px; padding: 34px 28px; box-shadow: var(--shadow); }
.agegate-box .age { width: 64px; height: 64px; font-size: 20px; margin: 0 auto 16px; }
.agegate-box h2 { font-size: 24px; }
.agegate-box p { color: var(--muted); font-size: 15px; }
.agegate-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

.back-top { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; border: 0; cursor: pointer; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { color: var(--gold-ink); }

@media (max-width: 560px) {
  .hero { padding: 44px 0 32px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .toolbar { position: static; }
  .section-head .btn { width: 100%; }
}

/* ---------- List view (directory & casino platforms) ---------- */
.list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.list-head, .op-row {
  display: grid; align-items: center; gap: 18px;
  grid-template-columns: 34px minmax(220px, 1.25fr) minmax(0, 2fr) minmax(150px, .8fr) 20px;
}
.list-head {
  padding: 0 20px 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
}
.casino-head, .casino-row { grid-template-columns: minmax(260px, 1.3fr) minmax(0, 1.4fr) minmax(0, 1.2fr); }
.row { position: relative; padding: 16px 20px; border-top: 1px solid var(--border); transition: background .15s; }
.row:first-child { border-top: 0; }
.row:nth-child(even) { background: rgba(255, 255, 255, .015); }
.op-row:hover { background: rgba(246, 196, 83, .06); }
.op-row:hover .row-go { color: var(--gold); transform: translateX(3px); }
.op-row[hidden] { display: none; }
.casino-row { display: grid; align-items: center; gap: 18px; }
.row-num { font-size: 13px; font-weight: 800; color: var(--faint); font-variant-numeric: tabular-nums; }
.row-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.row-brand .mono { width: 42px; height: 42px; border-radius: 12px; font-size: 15px; }
.row-title { min-width: 0; }
.row h3 { font-size: 16.5px; margin: 0; letter-spacing: -0.01em; }
.row h3 a { color: var(--text); }
.op-row h3 a::after { content: ""; position: absolute; inset: 0; }
.row .company { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .licensee { color: var(--faint); white-space: normal; }
.subs-count { color: var(--gold-2); font-weight: 600; }
.row-games { gap: 5px; }
.row-games .chip { font-size: 11.5px; padding: 3px 8px; }
.row-games .chip svg { width: 12px; height: 12px; }
.row-site { min-width: 0; font-size: 13.5px; font-weight: 600; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-site .more { font-family: var(--font); font-weight: 500; color: var(--faint); font-size: 12.5px; }
.row-go { color: var(--faint); transition: .15s; display: grid; place-items: center; }
.casino-row .links { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.casino-row .domain-link { font-size: 12px; padding: 5px 9px; }

@media (max-width: 980px) {
  .list-head { display: none; }
  .op-row {
    grid-template-columns: 26px minmax(0, 1fr) 20px; row-gap: 10px;
    grid-template-areas: "num brand go" ". games games" ". site site";
  }
  .row-num { grid-area: num; }
  .op-row .row-brand { grid-area: brand; }
  .op-row .row-games { grid-area: games; }
  .op-row .row-site { grid-area: site; font-size: 12.5px; color: var(--muted); }
  .row-go { grid-area: go; }
  .casino-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 560px) {
  .row { padding: 14px 14px; }
  .op-row { column-gap: 10px; }
}
.casino-row .company { white-space: normal; }

/* Brand logos */
.mono.has-logo { background: #fff; padding: 0; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 8px 20px -10px rgba(0,0,0,.6); }
.mono.has-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Banners (header + floating footer) ---------- */
.slot-img { display: block; border-radius: 16px; overflow: hidden; line-height: 0; }
.slot-img img { width: 100%; height: auto; display: block; }
a.slot-img { transition: transform .2s, box-shadow .2s; }
a.slot-img:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -20px rgba(246,196,83,.5); }
.hero-slot { padding: 16px 0 0; }
.hero-slot .slot-img { box-shadow: 0 20px 50px -30px rgba(0,0,0,.8); }

body { padding-bottom: 120px; }
.dock-slot {
  position: fixed; left: 50%; bottom: 12px; z-index: 60; transform: translateX(-50%);
  width: min(728px, calc(100% - 24px));
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.6));
  animation: float-in .5s ease-out both;
}
.dock-slot[hidden] { display: none; }
.dock-slot .slot-img { border-radius: 14px; }
.dock-close {
  position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--surface-solid); color: var(--text);
  font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 2px;
}
.dock-close:hover { background: var(--red); border-color: var(--red); }
@keyframes float-in { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .dock-slot { animation: none; } }
@media (max-width: 640px) {
  .hero-slot { padding-top: 10px; }
  .hero-slot .slot-img { border-radius: 12px; }
  .dock-slot { width: min(320px, calc(100% - 24px)); }
  body { padding-bottom: 130px; }
}
body.no-float { padding-bottom: 0; }
.back-top { bottom: 120px; }
body.no-float .back-top { bottom: 18px; }

.mini-legal { display: flex; gap: 12px; align-items: center; font-size: 12.5px; color: var(--faint); margin: 24px auto 0; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid var(--border); }
.mini-legal .age { width: 32px; height: 32px; font-size: 11px; border-width: 1.5px; }
.mini-legal a { color: var(--muted); }
.mini-legal a:hover { color: var(--gold); }

/* Single page: rows link straight to the registered website */
.list-head, .op-row { grid-template-columns: 34px minmax(220px, 1.25fr) minmax(0, 2fr) minmax(170px, .8fr); }
.row-site a { color: var(--text); display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.row-site a svg { flex: none; opacity: .6; }
.row-site a:hover { color: var(--gold-2); }
.row-site .more { cursor: help; }
@media (max-width: 980px) {
  .op-row { grid-template-columns: 26px minmax(0, 1fr); grid-template-areas: "num brand" ". games" ". site"; }
}
.dir-title { font-size: clamp(28px, 3.8vw, 42px); margin: 0; }

/* =========================================================
   Styled ad banners (fire gradient, native app-ad look)
   ========================================================= */
.spot {
  --fire-1: #ff3d1f; --fire-2: #ff7a18; --fire-3: #ffb347;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 14px 22px; border-radius: 16px; color: #fff; text-decoration: none;
  background:
    radial-gradient(120% 140% at 85% 120%, rgba(255, 214, 102, .55), transparent 55%),
    radial-gradient(90% 120% at 10% -20%, rgba(255, 120, 40, .9), transparent 60%),
    linear-gradient(100deg, #c2160a 0%, var(--fire-1) 22%, var(--fire-2) 58%, var(--fire-3) 100%);
  box-shadow: 0 0 0 1px rgba(255, 210, 140, .35) inset, 0 18px 40px -18px rgba(255, 80, 20, .7);
}
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .8;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 30%, #fff8, transparent), radial-gradient(1.4px 1.4px at 28% 76%, #fff9, transparent),
    radial-gradient(2px 2px at 47% 22%, #fffa, transparent), radial-gradient(1.4px 1.4px at 63% 70%, #fff8, transparent),
    radial-gradient(1.8px 1.8px at 78% 28%, #fffb, transparent), radial-gradient(1.4px 1.4px at 90% 64%, #fff8, transparent),
    radial-gradient(1.2px 1.2px at 36% 48%, #fff7, transparent), radial-gradient(1.6px 1.6px at 70% 50%, #fff9, transparent);
}
.spot::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg); animation: spot-shine 5.5s ease-in-out infinite;
}
@keyframes spot-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.spot-waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; fill: none; stroke-linecap: round; }
.spot-waves path { stroke: rgba(255, 236, 170, .55); stroke-width: 2.2; filter: drop-shadow(0 0 6px rgba(255, 220, 120, .9)); }
.spot-waves path:nth-child(2) { stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; }
.spot-waves path:nth-child(3) { stroke: rgba(255, 200, 90, .35); stroke-width: 3; }
.spot-tag {
  position: absolute; top: 0; left: 0; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  background: rgba(60, 20, 0, .55); color: #fff; padding: 3px 9px; border-bottom-right-radius: 10px;
}
.spot-brand {
  font-family: var(--font-display); font-weight: 800; font-style: italic; letter-spacing: -0.02em; line-height: 1;
  font-size: 30px; color: #fff; white-space: nowrap; padding-left: 18px;
  text-shadow: 0 2px 0 rgba(120, 20, 0, .45), 0 0 18px rgba(255, 200, 80, .6);
}
.spot-brand b { color: #ffe066; }
.spot-logo { height: 44px; width: auto; max-width: 180px; object-fit: contain; margin-left: 18px; }
.spot-copy { display: grid; gap: 2px; min-width: 0; text-shadow: 0 1px 2px rgba(110, 20, 0, .45); }
.spot-copy strong { font-size: 18px; font-weight: 800; line-height: 1.2; }
.spot-copy small { font-size: 13.5px; font-weight: 600; color: #fff3dc; }
.spot-cta {
  justify-self: end; white-space: nowrap; font-weight: 800; font-size: 14px; color: #b3260b;
  background: linear-gradient(180deg, #fff, #ffe9c7); padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(120, 20, 0, .6), inset 0 -2px 0 rgba(200, 90, 20, .25);
  transition: transform .15s;
}
a.spot:hover .spot-cta { transform: scale(1.05); }
a.spot:hover { color: #fff; }
.spot-age {
  position: absolute; right: 8px; bottom: 6px; font-size: 10.5px; font-weight: 800; color: #3a1200;
  background: #ffe9a8; padding: 1px 6px; border-radius: 6px;
}

/* Header size */
.spot-top { min-height: 150px; padding: 26px 36px; gap: 28px; border-radius: 22px; }
.spot-top .spot-brand { font-size: 52px; padding-left: 0; }
.spot-top .spot-copy strong { font-size: 26px; }
.spot-top .spot-copy small { font-size: 15px; }
.spot-top .spot-cta { font-size: 16px; padding: 14px 26px; }
.spot-top .spot-tag { font-size: 12px; padding: 4px 11px; }

/* Floating size */
.dock-slot { width: min(780px, calc(100% - 24px)); }
.spot-float { min-height: 84px; padding-right: 26px; }

@media (max-width: 760px) {
  .spot-top { grid-template-columns: 1fr; gap: 10px; padding: 26px 18px 18px; min-height: 0; }
  .spot-top .spot-brand { font-size: 36px; }
  .spot-top .spot-copy strong { font-size: 19px; }
  .spot-top .spot-copy small { font-size: 13px; }
  .spot-top .spot-cta { justify-self: start; padding: 11px 20px; font-size: 14px; }
}
@media (max-width: 640px) {
  .dock-slot { width: calc(100% - 16px); bottom: 8px; }
  .spot-float { gap: 10px; padding: 12px 12px 12px 4px; min-height: 76px; border-radius: 14px; }
  .spot-float .spot-brand { font-size: 21px; padding-left: 12px; }
  .spot-float .spot-logo { height: 32px; max-width: 110px; margin-left: 12px; }
  .spot-float .spot-copy strong { font-size: 14px; }
  .spot-float .spot-copy small { font-size: 11.5px; }
  .spot-float .spot-cta { font-size: 11.5px; padding: 7px 11px; margin-bottom: 8px; }
  .spot-float .spot-tag { font-size: 10px; padding: 2px 7px; }
}
@media (max-width: 370px) { .spot-float .spot-copy small { display: none; } }
@media (prefers-reduced-motion: reduce) { .spot::after { animation: none; } }
.dock-close { z-index: 2; }

/* =========================================================
   Directory list: card rows
   ========================================================= */
.list { display: grid; gap: 12px; border: 0; background: none; overflow: visible; border-radius: 0; }
.list-head, .op-row { grid-template-columns: 44px minmax(240px, 1.3fr) minmax(0, 1.8fr) 200px; }
.casino-head, .casino-row { grid-template-columns: minmax(260px, 1.3fr) minmax(0, 1.6fr) 200px; }
.list-head { padding: 0 22px 2px; }
.row, .row:nth-child(even) {
  padding: 18px 22px; border-radius: 18px; border: 1px solid var(--border);
  background:
    radial-gradient(500px 160px at 0% 50%, hsl(var(--h, 40) 90% 55% / .10), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: inset 3px 0 0 hsl(var(--h, 40) 90% 60% / .85);
  transition: transform .2s ease, border-color .2s, box-shadow .2s, background .2s;
}
.row:first-child { border-top: 1px solid var(--border); }
.row:hover {
  transform: translateY(-2px); border-color: rgba(246,196,83,.45);
  box-shadow: inset 3px 0 0 hsl(var(--h, 40) 90% 60%), 0 18px 40px -22px rgba(246,196,83,.45);
}
.op-row:hover {
  background:
    radial-gradient(500px 160px at 0% 50%, hsl(var(--h, 40) 90% 55% / .16), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
}
.row-num { font-family: var(--font-display); font-size: 20px; color: rgba(255,255,255,.22); letter-spacing: -0.03em; }
.row-brand { gap: 16px; }
.row-brand .mono { width: 58px; height: 58px; border-radius: 16px; font-size: 19px; }
.row-brand .mono.has-logo { box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 10px 24px -10px hsl(var(--h, 40) 80% 50% / .8); }
.row h3 { font-size: 18.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verified {
  display: inline-flex; align-items: center; gap: 3px; font-family: var(--font); font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  color: #0b3d2a; background: linear-gradient(135deg, #6ef0b9, #34d399); padding: 2px 7px 2px 5px; border-radius: 999px;
}
.verified svg { stroke-width: 3.2; }
.row .company { font-size: 13px; }
.subs { margin: 4px 0 0; font-size: 12px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.subs b { color: var(--gold-2); font-weight: 700; margin-right: 4px; }

/* Colour-coded game chips */
.row-games { gap: 6px; }
.row-games .chip { font-size: 12px; padding: 4px 10px; border-color: transparent; }
.chip.c-EC { background: rgba(167, 139, 250, .16); color: #cbbcff; }
.chip.c-EB { background: rgba(244, 114, 182, .16); color: #ffb3d9; }
.chip.c-SB { background: rgba(52, 211, 153, .15); color: #8ef0c6; }
.chip.c-SP { background: rgba(251, 191, 36, .15); color: #fcd581; }
.chip.c-NG { background: rgba(56, 189, 248, .15); color: #9edcfb; }
.chip.c-TB { background: rgba(251, 146, 60, .16); color: #ffc196; }
.chip.c-PK { background: rgba(248, 113, 113, .16); color: #ffb0b0; }
.row-games .chip.pending { background: transparent; border: 1px dashed rgba(255,255,255,.18); color: var(--faint); }

/* Visit button */
.row-site { display: grid; gap: 6px; justify-items: stretch; font-family: var(--font); white-space: normal; overflow: visible; }
.row-site .visit {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; position: relative; z-index: 1;
  font-weight: 800; font-size: 14px; padding: 11px 16px; border-radius: 999px; color: var(--gold-ink);
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #e5a722);
  box-shadow: 0 8px 22px -10px rgba(246,196,83,.8); transition: transform .15s, box-shadow .2s;
}
.row-site .visit:hover { color: var(--gold-ink); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(246,196,83,.95); }
.visit.off { background: transparent; color: var(--faint); border: 1px dashed var(--border-strong); box-shadow: none; font-weight: 600; font-size: 12.5px; padding: 10px 12px; }
.site-name { text-align: center; font-size: 12px; color: var(--muted); font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-name .more { font-family: var(--font); color: var(--faint); }

@media (max-width: 980px) {
  .list-head { display: none; }
  .op-row, .casino-row {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "games" "site"; gap: 14px; padding: 18px 16px 16px;
  }
  .op-row .row-num { position: absolute; top: 14px; right: 16px; font-size: 16px; }
  .op-row .row-brand { grid-area: brand; padding-right: 30px; }
  .op-row .row-games { grid-area: games; }
  .op-row .row-site, .casino-row .row-site { grid-area: auto; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
  .op-row .row-site { grid-area: site; }
  .site-name { text-align: left; }
  .row:hover { transform: none; }
}
@media (max-width: 560px) {
  .row-brand .mono { width: 52px; height: 52px; border-radius: 14px; }
  .row h3 { font-size: 17px; }
  .visit { padding: 10px 16px; }
}

/* keep filter icons from shrinking */
.filter-btn svg { flex: none; }

/* =========================================================
   Mobile polish
   ========================================================= */
@media (max-width: 640px) {
  section { padding: 26px 0; }
  #directory { padding-top: 18px !important; }
  .section-head { margin-bottom: 14px; gap: 10px; }
  .kicker { font-size: 11px; margin-bottom: 6px; letter-spacing: .14em; }
  .dir-title { font-size: 27px; line-height: 1.12; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 14.5px; line-height: 1.55; margin-top: 8px; }

  /* Header banner: wordmark + button on top, copy below */
  .spot-top {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand cta" "copy copy";
    gap: 10px 12px; padding: 30px 16px 16px; border-radius: 18px;
  }
  .spot-top .spot-brand, .spot-top .spot-logo { grid-area: brand; }
  .spot-top .spot-brand { font-size: 30px; padding-left: 0; }
  .spot-top .spot-copy { grid-area: copy; }
  .spot-top .spot-copy strong { font-size: 17px; }
  .spot-top .spot-copy small { font-size: 12.5px; }
  .spot-top .spot-cta { grid-area: cta; justify-self: end; font-size: 13px; padding: 9px 14px; }
  .spot-top .spot-tag { font-size: 10.5px; padding: 3px 9px; }

  /* Compact search bar that stays pinned while scrolling */
  .toolbar {
    position: sticky; top: 0; z-index: 30;
    margin: 0 -16px 14px; padding: 10px 16px 10px; gap: 10px;
    border-radius: 0; border-left: 0; border-right: 0; border-top: 0;
    background: rgba(7, 11, 24, .94);
    box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .9);
  }
  .toolbar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
  .search { grid-column: 1 / -1; flex: none; }
  .search input { font-size: 16px; padding: 11px 14px 11px 42px; } /* 16px stops iOS zoom on focus */
  .search svg { left: 14px; }
  .sort .select { width: 100%; font-size: 13.5px; padding: 9px 32px 9px 14px; background-position: right 12px center; }
  .toggle { font-size: 13.5px; gap: 8px; justify-self: end; white-space: nowrap; }
  .toggle input { width: 36px; height: 21px; }
  .toggle input::after { width: 15px; height: 15px; }
  .toggle input:checked::after { left: 17px; }
  .filters { gap: 6px; margin: 0 -16px; padding: 0 16px 2px; }
  .filter-btn { font-size: 12.5px; padding: 7px 11px; gap: 5px; }
  .filter-btn .count { font-size: 11px; }
  .result-meta { font-size: 13px; margin-bottom: 10px; }

  /* Cards */
  .list { gap: 10px; }
  .op-row, .casino-row { padding: 16px 14px 14px; border-radius: 16px; gap: 12px; }
  .row-brand { gap: 12px; }
  .row-brand .mono { width: 50px; height: 50px; border-radius: 14px; font-size: 17px; }
  .row h3 { font-size: 17px; gap: 6px; }
  .verified { font-size: 9.5px; padding: 2px 6px 2px 4px; }
  .row .company { font-size: 12.5px; }
  .subs { font-size: 11.5px; }
  .row-games .chip { font-size: 11.5px; padding: 4px 9px; }
  .op-row .row-site, .casino-row .row-site {
    grid-template-columns: minmax(0, 1fr); gap: 6px; padding-top: 12px; border-top: 1px solid var(--border);
  }
  .row-site .visit { width: 100%; padding: 12px 16px; font-size: 15px; }
  .site-name { text-align: center; }
  .row-num { font-size: 14px; }

  /* Floating banner sits above the iPhone home bar */
  .dock-slot { bottom: max(8px, env(safe-area-inset-bottom)); }
  .back-top { width: 42px; height: 42px; right: 12px; bottom: 104px; }
}
@media (max-width: 420px) {
  .spot-float .spot-copy small { display: none; }
  .spot-float .spot-brand { font-size: 19px; }
  .spot-float .spot-copy strong { font-size: 14.5px; }
  .spot-float { min-height: 64px; }
}

/* Loud banner copy: heavy caps headline + pulsing CTA */
.spot-copy strong { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -0.01em; color: #fff; text-shadow: 0 2px 0 rgba(120, 20, 0, .55), 0 0 14px rgba(255, 220, 120, .55); }
.spot-cta { text-transform: uppercase; letter-spacing: .02em; animation: spot-pulse 1.6s ease-in-out infinite; }
@keyframes spot-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 16px -6px rgba(120, 20, 0, .6), 0 0 0 0 rgba(255, 240, 200, .75); }
  50% { transform: scale(1.07); box-shadow: 0 6px 16px -6px rgba(120, 20, 0, .6), 0 0 0 10px rgba(255, 240, 200, 0); }
}
@media (prefers-reduced-motion: reduce) { .spot-cta { animation: none; } }

/* Banner palette: royal blue → violet → magenta with gold accents (PHReview's own look) */
.spot {
  background:
    radial-gradient(120% 160% at 92% 130%, rgba(255, 196, 64, .45), transparent 55%),
    radial-gradient(70% 140% at 0% -30%, rgba(80, 140, 255, .55), transparent 60%),
    linear-gradient(105deg, #0b1d6b 0%, #2a1aa6 30%, #6a17c9 62%, #c2188f 100%);
  box-shadow: 0 0 0 1px rgba(255, 210, 120, .4) inset, 0 18px 44px -18px rgba(120, 40, 220, .8);
}
.spot-waves path { stroke: rgba(255, 214, 102, .6); filter: drop-shadow(0 0 6px rgba(255, 200, 80, .9)); }
.spot-waves path:nth-child(2) { stroke: rgba(160, 200, 255, .45); }
.spot-waves path:nth-child(3) { stroke: rgba(255, 120, 220, .35); }
.spot-tag { background: rgba(255, 196, 64, .95); color: #1a0f3d; }
.spot-brand { color: #fff; text-shadow: 0 2px 0 rgba(20, 10, 70, .6), 0 0 18px rgba(140, 120, 255, .8); }
.spot-brand b { color: #ffd34d; }
.spot-copy { text-shadow: 0 1px 2px rgba(20, 10, 70, .6); }
.spot-copy strong { text-shadow: 0 2px 0 rgba(20, 10, 70, .6), 0 0 16px rgba(255, 210, 90, .55); }
.spot-copy small { color: #e4dcff; }
.spot-cta {
  color: #2a1600;
  background: linear-gradient(180deg, #ffe58a, #ffc23d 55%, #f0a020);
  box-shadow: 0 6px 18px -6px rgba(255, 180, 40, .8), inset 0 -2px 0 rgba(150, 80, 0, .3);
}
@keyframes spot-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 18px -6px rgba(255, 180, 40, .8), 0 0 0 0 rgba(255, 214, 102, .8); }
  50% { transform: scale(1.07); box-shadow: 0 6px 18px -6px rgba(255, 180, 40, .8), 0 0 0 10px rgba(255, 214, 102, 0); }
}
.spot-age { background: rgba(255, 255, 255, .92); color: #2a1aa6; }

/* Official site shown as text only (no link) */
.site-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0;
  padding: 10px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border-strong);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; user-select: all; cursor: text;
}
.site-pill svg { flex: none; color: var(--gold); }
.site-domain { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-pill.off { color: var(--faint); font-family: var(--font); font-weight: 600; font-size: 12.5px; border-style: dashed; background: transparent; user-select: none; cursor: default; }
.site-more { text-align: center; font-size: 11.5px; color: var(--faint); cursor: help; }
@media (max-width: 980px) {
  .op-row .row-site, .casino-row .row-site { grid-template-columns: minmax(0, 1fr); }
  .site-more { text-align: left; }
}
@media (max-width: 640px) { .site-pill { width: 100%; padding: 11px 14px; font-size: 14px; } .site-more { text-align: center; } }

/* Promo popup */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 14, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: lb-fade .25s ease-out; }
.lightbox[hidden] { display: none; }
.lightbox-box { position: relative; width: min(420px, 100%); animation: lb-pop .35s cubic-bezier(.2, 1.4, .4, 1); }
.lightbox-link { display: block; border-radius: 20px; overflow: hidden; line-height: 0; box-shadow: 0 0 0 1px rgba(255, 214, 102, .5), 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 60px -10px rgba(140, 80, 255, .6); }
.lightbox-link img { width: 100%; height: auto; max-height: calc(100vh - 80px); object-fit: contain; background: #12082e; }
a.lightbox-link { transition: transform .2s; }
a.lightbox-link:hover { transform: scale(1.01); }
.lightbox-close {
  position: absolute; top: -12px; right: -12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85); background: #12082e; color: #fff; font-size: 22px; line-height: 1;
  display: grid; place-items: center; padding: 0 0 2px; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .6);
}
.lightbox-close:hover { background: var(--red); border-color: var(--red); }
.lightbox-note { display: block; text-align: center; margin-top: 8px; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .7); }
body.lightbox-open { overflow: hidden; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-pop { from { opacity: 0; transform: scale(.85) translateY(20px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .lightbox-close { top: -10px; right: -6px; } .lightbox-box { width: min(360px, 100%); } }
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox-box { animation: none; } }

/* Smooth popup: fade the backdrop, glide the card up, ease out on close */
.lightbox {
  animation: none; opacity: 0;
  transition: opacity .38s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox-box {
  animation: none; opacity: 0;
  transform: translateY(28px) scale(.95);
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
  will-change: transform, opacity;
}
.lightbox.is-open .lightbox-box { opacity: 1; transform: none; transition-delay: .06s; }
.lightbox:not(.is-open) .lightbox-box { transition-duration: .3s, .25s; transform: translateY(12px) scale(.97); }
.lightbox-close { transition: background .2s, border-color .2s, transform .2s; }
.lightbox-close:hover { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox-box { transition: opacity .2s ease; transform: none !important; }
}

/* Popup sizing: fit the visible screen (accounts for mobile browser toolbars) */
.lightbox { padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom)); }
.lightbox-box {
  /* width follows the available height so the whole 720×1279 image always fits */
  width: min(420px, 92vw, calc((100vh - 70px) * .563));
  width: min(420px, 92vw, calc((100dvh - 70px) * .563));
}
.lightbox-link img { max-height: none; width: 100%; height: auto; }
@media (max-width: 640px) {
  .lightbox { padding-left: 10px; padding-right: 10px; }
  .lightbox-box {
    width: min(94vw, calc((100vh - 56px) * .563));
    width: min(94vw, calc((100dvh - 56px) * .563));
  }
  .lightbox-link { border-radius: 16px; }
  .lightbox-close {
    top: 8px; right: 8px; width: 40px; height: 40px; font-size: 24px;
    background: rgba(10, 6, 30, .72); border: 1.5px solid rgba(255, 255, 255, .8);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  }
  .lightbox-close::after { content: ""; position: absolute; inset: -8px; } /* bigger tap area */
  .lightbox-note { margin-top: 6px; font-size: 11px; }
  .lightbox-box.dragging { transition: none; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .lightbox-box { width: min(60vw, calc((100dvh - 40px) * .563)); }
  .lightbox-note { display: none; }
}
