/* BiliBet888 — independent Bet88 guide. Palette from Bet88's own brand tokens (bet88.ph): night-purple surfaces,
   magenta brand (#ba3691 → #f565ae), gold (#f6c742) and ribbon orange (#ff9b08). */
:root {
  --bg: #0f071c;          /* Bet88 theme/background */
  --bg-2: #120d27;        /* Bet88 page background */
  --panel: #1a153b;       /* Bet88 panel dark */
  --panel-2: #2f2768;     /* Bet88 panel / footer info */
  --line: #3a3178;
  --line-soft: rgba(203, 87, 168, .22);
  --text: #f7f3ff;
  --muted: #b8afd9;
  --brand-0: #841562;
  --brand-1: #a21a79;
  --brand: #ba3691;       /* Bet88 primary */
  --brand-3: #cb57a8;
  --pink: #f565ae;        /* Bet88 button border / highlight */
  --gold: #f6c742;        /* Bet88 gold */
  --gold-2: #ffd866;
  --ribbon: #ff9b08;      /* Bet88 ribbon */
  --green: #33cc53;
  --red: #f2695a;
  --grad: linear-gradient(135deg, var(--brand-1) 0%, var(--brand) 45%, var(--pink) 100%);
  --grad-gold: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #c78800);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
  --wrap: 1180px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.promo-lock { overflow: hidden; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(186, 54, 145, .22), transparent 60%),
                    radial-gradient(900px 500px at -10% 20%, rgba(47, 39, 104, .55), transparent 60%);
  background-attachment: fixed;
}
body.has-dock { padding-bottom: 92px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: rgba(245, 101, 174, .12); color: var(--gold-2); padding: .1em .4em; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
section { padding: 72px 0; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
a.skip:focus { left: 16px; top: 16px; width: auto; height: auto; z-index: 999; background: var(--gold); color: #1a0f00; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 999px; font: 700 .95rem/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-main, .btn-hot { background: var(--grad); color: #fff; border-color: var(--pink); box-shadow: 0 10px 30px -10px rgba(245, 101, 174, .8); }
.btn-main:hover, .btn-hot:hover { color: #fff; box-shadow: 0 14px 36px -10px rgba(245, 101, 174, 1); }
.btn-gold, .btn-claim { background: var(--grad-gold); color: #2a1a00; border-color: #ffe599; box-shadow: 0 10px 30px -12px rgba(246, 199, 66, .9); }
.btn-gold:hover, .btn-claim:hover { color: #2a1a00; }
.btn-ghost, .btn-line { background: rgba(186, 54, 145, .08); color: var(--text); border-color: #952372; }
.btn-ghost:hover, .btn-line:hover { background: rgba(186, 54, 145, .2); color: #fff; }
.btn-dark { background: var(--bg); color: #fff; border-color: var(--line); }
.btn-dark:hover { color: var(--gold); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }
.tag-ad { font-size: .62rem; font-weight: 800; padding: 2px 6px; border-radius: 5px; background: rgba(0, 0, 0, .28); letter-spacing: .06em; vertical-align: middle; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.text-link { font-weight: 700; text-decoration: none; color: var(--pink); }
.text-link:hover { color: var(--gold); }

/* ---------- top strip + header ---------- */
.strip { background: linear-gradient(90deg, var(--brand-0), var(--brand-1) 50%, var(--brand-0)); font-size: .78rem; color: #ffe3f3; }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.strip a { color: #fff; }
.badge21 { display: inline-block; background: var(--red); color: #fff; font-weight: 800; font-size: .7rem; padding: 1px 7px; border-radius: 6px; margin-right: 4px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 7, 28, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn), .mega > summary { color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 9px 13px; border-radius: 999px; cursor: pointer; list-style: none; }
.mega > summary::-webkit-details-marker { display: none; }
.mega > summary::after { content: "▾"; margin-left: 6px; font-size: .75em; opacity: .7; }
.nav > a:not(.btn):hover, .mega > summary:hover, .nav > a[aria-current="page"] { background: rgba(186, 54, 145, .16); color: #fff; }
.nav > a[aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(245, 101, 174, .45); }
.nav .btn { margin-left: 8px; }
.mega { position: relative; }
.mega-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(720px, 92vw); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.mega-panel a { display: block; color: var(--text); text-decoration: none; padding: 6px 8px; border-radius: 8px; font-size: .9rem; }
.mega-panel a:hover, .mega-panel a[aria-current="page"] { background: rgba(186, 54, 145, .18); color: var(--gold); }
.mega-h { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--pink); font-weight: 800; margin: 0 0 6px 8px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 42px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- shared section heads ---------- */
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.eyebrow.red { color: var(--red); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(51, 204, 83, .2); }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head p { color: var(--muted); }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.sec-head.split h2 { margin: 0; }
.grad { background: linear-gradient(90deg, var(--pink), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(186, 54, 145, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(186, 54, 145, .07) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .grad { display: block; }
.lead { font-size: 1.12rem; color: #e4dcfa; max-width: 620px; }
.hero-ticks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; color: var(--muted); }
.hero-ticks b { color: var(--text); }
.hero-art { position: relative; min-height: 380px; }
.hero-art .glow { position: absolute; inset: 10% 5%; background: radial-gradient(circle, rgba(245, 101, 174, .45), transparent 65%); filter: blur(30px); }
.chip { position: absolute; top: 0; right: 4%; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; transform: rotate(-14deg);
  background: repeating-conic-gradient(var(--brand) 0 15deg, #fff 15deg 30deg); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); animation: float 6s ease-in-out infinite; }
.chip span { width: 104px; height: 104px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 900; font-size: 2rem; color: #fff; border: 4px dashed rgba(255, 255, 255, .55); }
.ticket { position: absolute; left: 2%; top: 70px; width: min(330px, 88%); background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid rgba(245, 101, 174, .45);
  border-radius: 20px; padding: 22px 22px 16px; box-shadow: var(--shadow); transform: rotate(-3deg); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 58px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(245, 101, 174, .45); }
.ticket::before { left: -12px; } .ticket::after { right: -12px; }
.ticket-h { font-weight: 800; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 2px dashed rgba(245, 101, 174, .35); display: flex; justify-content: space-between; align-items: center; }
.ticket-h span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.ticket-h img { height: 36px; width: auto; border-radius: 8px; }
/* Bet88's official logo — shown only where we identify our partner, never as our own site logo */
.partner-logo { display: block; height: 40px; width: auto; border-radius: 10px; margin-bottom: 14px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .8); }
.partner-logo.lg { height: 60px; border-radius: 14px; margin-bottom: 16px; }
.ticket dl { margin: 0; display: grid; gap: 10px; }
.ticket dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.ticket dt { color: var(--muted); } .ticket dd { margin: 0; font-weight: 700; }
.ticket dd.ok { color: var(--green); }
.ticket-foot { margin: 16px 0 0; font-size: .72rem; color: var(--muted); text-align: center; }
.odds-pill { position: absolute; right: 0; bottom: 18px; display: flex; align-items: center; gap: 10px; background: var(--grad-gold); color: #2a1a00; padding: 10px 18px; border-radius: 999px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow); animation: float 7s ease-in-out infinite reverse; }
.odds-pill b { font-size: 1.4rem; font-weight: 900; }
@keyframes float { 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .chip, .odds-pill { animation: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* ---------- ticker (at a glance) ---------- */
.ticker { padding: 0; }
.ticker-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(26, 21, 59, .7); overflow: hidden; }
.ticker-grid div { padding: 20px 22px; border-right: 1px solid var(--line); }
.ticker-grid div:last-child { border-right: 0; }
.ticker-grid b { display: block; font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.ticker-grid span { font-size: .82rem; color: var(--muted); }

/* ---------- quick-start step track ---------- */
.steps-track { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step-card { position: relative; display: grid; gap: 6px; height: 100%; padding: 24px 22px 22px; text-decoration: none; color: var(--text); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(47, 39, 104, .55), rgba(26, 21, 59, .9)); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.step-card:hover { border-color: var(--pink); transform: translateY(-3px); color: var(--text); }
.step-n { font-size: .8rem; font-weight: 900; color: #fff; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); margin-bottom: 8px; }
.step-t { font-weight: 800; font-size: 1.08rem; }
.step-b { color: var(--muted); font-size: .9rem; }
.step-go { position: absolute; right: 20px; top: 24px; color: var(--pink); font-weight: 800; transition: translate .2s; }
.step-card:hover .step-go { translate: 4px 0; color: var(--gold); }

/* ---------- verdict / scorecard ---------- */
.verdict-sec { background: linear-gradient(180deg, transparent, rgba(47, 39, 104, .35), transparent); }
.verdict { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.verdict-cta p { color: #e4dcfa; }
.fine { font-size: .78rem; color: var(--muted); margin-top: 14px; }
.board { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.board::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad); }
.board-h { font-weight: 800; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.board-h span { font-size: .75rem; color: var(--muted); font-weight: 600; }
.board dl { margin: 0; }
.board dl > div { display: grid; grid-template-columns: 110px 1fr 30px; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid rgba(58, 49, 120, .7); font-size: .92rem; }
.board dt { color: var(--muted); font-weight: 600; }
.board dd { margin: 0; }
.st { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.st.ok { background: rgba(51, 204, 83, .16); color: var(--green); }
.st.warn { background: rgba(255, 155, 8, .16); color: var(--ribbon); }
.score-inline { color: var(--gold); font-size: 1.05rem; }
.row-warn dd { color: #ffd9a8; }

/* ---------- legit check ---------- */
.check-sec { position: relative; }
.checker { max-width: 760px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.checker form { display: flex; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
.checker input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: 500 1rem var(--font); padding: 0 16px; outline: none; }
.checker input::placeholder { color: #8077a8; }
.pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.pop button { background: rgba(186, 54, 145, .12); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: 500 .8rem var(--font); cursor: pointer; }
.pop button:hover { border-color: var(--pink); }
.result { display: none; margin-top: 18px; padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-2); }
.result.show { display: block; }
.result.ok { border-color: rgba(51, 204, 83, .6); background: rgba(51, 204, 83, .07); }
.result.warn { border-color: rgba(242, 105, 90, .7); background: rgba(242, 105, 90, .08); }
.result.unk { border-color: rgba(255, 155, 8, .6); background: rgba(255, 155, 8, .07); }
.result h3 { font-size: 1.05rem; }
.result .btn { margin: 6px 6px 0 0; min-height: 40px; font-size: .85rem; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 28px auto 0; }
.tips p { margin: 0; padding: 18px; border-radius: var(--radius-sm); background: rgba(26, 21, 59, .6); border: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }
.tips b { display: block; color: var(--text); margin-bottom: 4px; }

/* ---------- games ---------- */
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.game-card { position: relative; display: block; padding: 24px; border-radius: var(--radius); text-decoration: none; color: var(--text); background: var(--panel);
  border: 1px solid var(--line); overflow: hidden; transition: transform .2s, border-color .2s; }
.game-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 101, 174, .25), transparent 70%); }
.game-card:hover { transform: translateY(-4px); border-color: var(--pink); color: var(--text); }
.game-card.is-hot { background: linear-gradient(150deg, var(--brand-1), var(--panel-2) 70%); border-color: var(--pink); }
.game-ico { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.game-stat { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; color: #2a1a00; background: var(--gold); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.game-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.game-card.is-hot p { color: #f3dcf0; }

/* ---------- money: planner + red flags ---------- */
.money-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.planner, .flags-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.planner { background: linear-gradient(160deg, var(--panel-2), var(--panel)); }
.planner-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.planner-fields label { font-size: .82rem; color: var(--muted); font-weight: 600; display: grid; gap: 6px; }
.field { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 12px 14px; font: 600 1rem var(--font); }
.field:focus { border-color: var(--pink); outline: none; }
.planner-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.planner-out div { background: rgba(15, 7, 28, .6); border-radius: 14px; padding: 14px; text-align: center; border: 1px solid var(--line); }
.planner-out b { display: block; font-size: 1.45rem; color: var(--gold); font-weight: 800; }
.planner-out span { font-size: .74rem; color: var(--muted); }
.redflags { list-style: none; padding: 0; margin: 0; counter-reset: f; display: grid; gap: 12px; }
.redflags li { counter-increment: f; position: relative; padding: 12px 14px 12px 52px; background: rgba(242, 105, 90, .06); border: 1px solid rgba(242, 105, 90, .25); border-radius: 12px; font-size: .92rem; }
.redflags li::before { content: counter(f); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.links-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; font-weight: 600; font-size: .9rem; }

/* ---------- brand table ---------- */
.brand-filter { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.brand-filter .field { max-width: 420px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(26, 21, 59, .6); margin: 18px 0; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(58, 49, 120, .7); vertical-align: top; }
thead th { background: var(--panel-2); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(186, 54, 145, .05); }
table.brands { min-width: 820px; }
tr.grp th { background: rgba(186, 54, 145, .14); color: var(--gold); font-size: .85rem; text-transform: none; letter-spacing: 0; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(184, 175, 217, .14); color: var(--muted); white-space: nowrap; }
.pill.ok { background: rgba(51, 204, 83, .15); color: var(--green); }
.pill.ad { background: var(--ribbon); color: #2a1a00; }
.pill.warn { background: rgba(255, 155, 8, .16); color: var(--ribbon); }
.note { font-size: .8rem; color: var(--muted); }

/* ---------- blog cards ---------- */
.posts { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.post { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.post:hover { border-color: var(--pink); transform: translateY(-3px); color: var(--text); }
.post-lead { background: linear-gradient(160deg, var(--panel-2), var(--panel)); }
.post-img { border-radius: 12px; margin-bottom: 10px; }
.post time, .post-date { font-size: .75rem; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.post p { color: var(--muted); font-size: .9rem; flex: 1; }

/* ---------- editor + faq ---------- */
.editor { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.editor img { border-radius: 50%; border: 3px solid var(--pink); }
.editor-role { color: var(--gold); font-weight: 600; font-size: .9rem; }
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq details[open] { border-color: rgba(245, 101, 174, .6); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 8px; background: rgba(186, 54, 145, .2); color: var(--pink); display: grid; place-items: center; font-weight: 800; }
.faq details[open] summary::after { content: "–"; background: var(--grad); color: #fff; }
.faq details > div { padding: 0 18px 16px; color: #ded6f5; }

/* ---------- inner page ---------- */
.page-hero { padding: 48px 0 30px; border-bottom: 1px solid var(--line-soft); background: radial-gradient(800px 300px at 80% 0, rgba(186, 54, 145, .22), transparent 70%); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 860px; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .82rem; color: var(--muted); margin-top: 16px; align-items: center; }
.byline { display: inline-flex; align-items: center; gap: 8px; }
.byline img { border-radius: 50%; }
.answer { margin: 28px 0 0; padding: 20px 22px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(186, 54, 145, .18), rgba(47, 39, 104, .5)); border: 1px solid rgba(245, 101, 174, .45); }
.answer strong { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.answer p { margin: 0; font-size: 1.04rem; }
.article { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding-top: 36px; padding-bottom: 64px; }
.article.no-toc { grid-template-columns: minmax(0, 820px); justify-content: center; }
.toc-col { position: relative; }
.toc { position: sticky; top: 96px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: .86rem; }
.toc-h { font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--pink); }
.side-cta { display: grid; gap: 4px; margin-top: 16px; padding: 18px; border-radius: var(--radius); background: var(--grad); color: #fff; text-decoration: none; position: sticky; top: calc(96px + var(--toc-h, 0px)); }
.side-cta:hover { color: #fff; filter: brightness(1.08); }
.side-tag { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.side-cta span:last-child { font-size: .82rem; opacity: .9; }
.prose { min-width: 0; }
.prose h2 { margin-top: 1.8em; padding-top: .2em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--pink); }
.featured { margin: 0 0 28px; } .featured img { border-radius: var(--radius); }
.steps { list-style: none; padding: 0 !important; counter-reset: st; display: grid; gap: 12px; margin: 18px 0; }
.steps > li { counter-increment: st; position: relative; padding: 16px 16px 16px 64px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin: 0; }
.steps > li::before { content: counter(st); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps-2 { grid-template-columns: 1fr 1fr; }
.flags { list-style: none; padding: 0 !important; display: grid; gap: 10px; margin: 16px 0; }
.flags li { padding: 12px 14px 12px 42px; position: relative; background: rgba(242, 105, 90, .06); border: 1px solid rgba(242, 105, 90, .25); border-radius: 12px; margin: 0; }
.flags li::before { content: "🚩"; position: absolute; left: 12px; top: 11px; }
.callout { margin: 22px 0; padding: 16px 18px; border-radius: 14px; background: rgba(246, 199, 66, .07); border: 1px solid rgba(246, 199, 66, .35); border-left: 4px solid var(--gold); font-size: .95rem; }
.callout.red { background: rgba(242, 105, 90, .07); border-color: rgba(242, 105, 90, .4); border-left-color: var(--red); }
.callout.green { background: rgba(51, 204, 83, .07); border-color: rgba(51, 204, 83, .4); border-left-color: var(--green); }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card { display: block; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--pink); transform: translateY(-3px); color: var(--text); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .9rem; }
.thumb { border-radius: 12px; margin-bottom: 12px; }
.more { color: var(--pink); font-weight: 700; font-size: .88rem; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.pros, .cons { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.pros { border-top: 4px solid var(--green); } .cons { border-top: 4px solid var(--red); }
.pc-h { font-weight: 800; margin-bottom: 8px; }
.pros ul, .cons ul { margin: 0; padding-left: 1.2em; }
.scorecard { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: start; margin: 18px 0; }
.score-big { text-align: center; padding: 22px 14px; border-radius: var(--radius); background: var(--grad); }
.score-big b { display: block; font-size: 3.4rem; line-height: 1; font-weight: 900; }
.score-big span { display: block; font-weight: 700; }
.score-big small { display: block; margin-top: 10px; font-size: .72rem; opacity: .9; }
.score-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: table; }
.score-table th { width: 150px; }
.bar { display: inline-block; width: 90px; height: 8px; border-radius: 99px; background: rgba(184, 175, 217, .2); vertical-align: middle; overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--v) / 5 * 100%); background: var(--grad); border-radius: 99px; }
.score-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 18px 0; padding: 14px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid rgba(245, 101, 174, .45); text-decoration: none; color: var(--text); }
.score-link b { font-size: 1.8rem; color: var(--gold); font-weight: 900; }
.score-link em { font-style: normal; color: var(--pink); font-weight: 700; font-size: .88rem; }
.next-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.next-list a { display: grid; gap: 2px; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); }
.next-list a:hover { border-color: var(--pink); }
.next-list span { color: var(--muted); font-size: .86rem; }
.author { display: flex; gap: 20px; align-items: flex-start; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.av { border-radius: 50%; border: 3px solid var(--pink); flex-shrink: 0; }
.profile-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0 !important; }
.profile-links a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }

/* ---------- pre-footer + footer ---------- */
.pre-foot { padding: 0; margin-top: 20px; }
.pre-foot .wrap { display: flex; align-items: center; gap: 22px; padding: 26px; border-radius: 24px; background: var(--grad); }
.pre-foot img { border-radius: 18px; flex-shrink: 0; }
.pre-foot .wrap > div { flex: 1; }
.pre-foot p { margin: 0; color: #fff; }
.pre-foot-h { font-weight: 800; font-size: 1.2rem; }
.site-footer { margin-top: 56px; background: #0b0516; border-top: 1px solid var(--line-soft); padding: 56px 0 30px; font-size: .88rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; }
.foot-brand .logo { margin-bottom: 14px; }
.foot-h { font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer ul a { color: var(--muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--pink); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

/* ---------- 21+ gate ---------- */
.gate { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 3, 16, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gate.show { display: flex; }
.gate-box { position: relative; max-width: 440px; width: 100%; text-align: center; background: linear-gradient(170deg, var(--panel-2), var(--panel)); border: 1px solid rgba(245, 101, 174, .5); border-radius: 26px; padding: 34px 26px 28px; box-shadow: var(--shadow); }
.gate-cat { margin: 0 auto 10px; border-radius: 22px; }
.gate-age { display: inline-block; background: var(--red); color: #fff; font-weight: 900; padding: 3px 14px; border-radius: 999px; margin-bottom: 12px; }
.gate-box h2 { font-size: 1.5rem; }
.gate-box p { color: var(--muted); font-size: .92rem; }
.gate-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ---------- floating ad dock ---------- */
.dock { position: fixed; left: 50%; bottom: 14px; translate: -50% 0; z-index: 90; width: min(760px, calc(100% - 24px)); }
.dock[hidden] { display: none; }
.spot { display: flex; align-items: center; gap: 14px; padding: 10px 56px 10px 10px; border-radius: 20px; background: linear-gradient(100deg, var(--brand-0), var(--brand) 55%, var(--panel-2)); border: 1px solid var(--pink); color: #fff; text-decoration: none; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8); }
.spot:hover { color: #fff; }
.spot-cat { border-radius: 14px; width: 56px; height: 56px; flex-shrink: 0; }
.spot-copy { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.spot-tag { font-size: .62rem; font-weight: 800; letter-spacing: .12em; opacity: .85; }
.spot-copy strong { font-size: .95rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-copy small { font-size: .74rem; opacity: .85; }
.spot-cta { flex-shrink: 0; background: var(--grad-gold); color: #2a1a00; font-weight: 900; font-size: .85rem; padding: 10px 16px; border-radius: 999px; }
.dock-close { position: absolute; right: 10px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .35); color: #fff; font-size: 1.2rem; cursor: pointer; }

/* ---------- promo popup ---------- */
.promo { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 3, 16, 0); transition: background .3s; }
.promo[hidden] { display: none; }
.promo.open { background: rgba(8, 3, 16, .82); }
.promo-box { position: relative; width: min(420px, 92vw); opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .3s, transform .3s; }
.promo.open .promo-box { opacity: 1; transform: none; }
.promo-media img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); max-height: 80vh; object-fit: contain; }
.promo-close { position: absolute; right: -8px; top: -12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; background: var(--brand); color: #fff; font-size: 1.4rem; cursor: pointer; }
.promo-note { text-align: center; color: var(--muted); font-size: .76rem; margin: 10px 0 0; }
.promo-note span { background: var(--ribbon); color: #2a1a00; font-weight: 800; padding: 1px 6px; border-radius: 5px; margin-right: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px; background: var(--bg-2); border-bottom: 1px solid var(--line); max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav .btn { margin: 10px 0 0; }
  .mega-panel { position: static; width: 100%; grid-template-columns: 1fr; box-shadow: none; margin-top: 6px; padding: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  section { padding: 56px 0; }
  .hero-grid, .verdict, .money-grid, .faq-split { grid-template-columns: 1fr; }
  .hero-art { min-height: 340px; max-width: 460px; width: 100%; margin: 0 auto; }
  .ticker-grid { grid-template-columns: 1fr 1fr; }
  .ticker-grid div:nth-child(2) { border-right: 0; }
  .ticker-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps-track, .game-grid, .posts { grid-template-columns: 1fr 1fr; }
  .tips { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; gap: 24px; }
  .toc-col { order: 2; }
  .toc, .side-cta { position: static; }
  .scorecard { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .strip-mid { display: none; }
  .strip .wrap { justify-content: center; text-align: center; }
  .logo img { height: 38px; }
  .steps-track, .game-grid, .posts, .grid-2, .proscons, .steps-2, .planner-fields { grid-template-columns: 1fr; }
  .planner-out b { font-size: 1.15rem; }
  .board dl > div { grid-template-columns: 1fr 30px; }
  .board dt { grid-column: 1 / -1; font-size: .78rem; }
  .board dd { grid-column: 1; }
  .board .st { grid-column: 2; grid-row: 2; }
  .checker form { flex-direction: column; border-radius: 18px; }
  .checker input { min-height: 44px; }
  .pre-foot .wrap { flex-direction: column; text-align: center; }
  .foot-grid { grid-template-columns: 1fr; }
  .editor { grid-template-columns: 1fr; text-align: center; } .editor img { margin: 0 auto; }
  .author { flex-direction: column; }
  .ticket { left: 0; }
  .hero-art { min-height: 400px; }
  .odds-pill { bottom: 0; }
  .chip { width: 120px; height: 120px; } .chip span { width: 84px; height: 84px; font-size: 1.6rem; }
  .spot { padding-right: 48px; gap: 10px; } .spot-cat { width: 44px; height: 44px; } .spot-copy small { display: none; } .spot-cta { padding: 8px 12px; font-size: .78rem; }
  body.has-dock { padding-bottom: 84px; }
}
