/* ==========================================================================
   Bet4Win APK Guide — Dark Neutral / Warm-Gold Design System
   (recolored to match the official bet4win. app UI: near-black neutral
   surfaces with a warm cream-to-peach gold gradient accent, sampled from
   the operator's own homepage and registration modal)
   ========================================================================== */
:root {
  --color-bg: #14141d;
  --color-bg-alt: #1a1a23;
  --color-surface: #1e1e26;
  --color-surface-alt: #26262f;
  --color-primary: #e8b978;
  --color-primary-dark: #b98a52;
  --color-primary-hover: #f6c590;
  --color-secondary: #cbb896;
  --color-accent: #e8b978;
  --color-text: #f5f4f2;
  --color-text-muted: #a3a0ac;
  --color-border: rgba(232, 185, 120, 0.14);
  --color-border-strong: rgba(232, 185, 120, 0.32);
  --color-success: #4ade80;
  --color-warning: #e8b978;
  --color-danger: #e2617a;

  --font-heading: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container-width: 1200px;
  --header-height: 68px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 0 40px rgba(232, 185, 120, 0.12);
  --shadow-glow: 0 8px 20px rgba(232, 185, 120, 0.28);

  --transition-fast: 140ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 300ms linear;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

body {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 1100px 620px at 50% 0%, rgba(50, 46, 46, 0.55), transparent 68%),
    linear-gradient(180deg, #1c1b1e 0%, #16151a 40%, #101014 100%);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
}

main { display: block; }

.skip-link { position: absolute; top: -100px; left: 12px; z-index: 1000; background: var(--color-primary); color: #1a1206; padding: 10px 16px; font-weight: 700; transition: top var(--transition-base); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--color-primary); outline-offset: 2px; }
::selection { background: rgba(232, 185, 120, 0.3); color: #1a1206; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-text); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); text-transform: uppercase; }
h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); text-transform: uppercase; letter-spacing: 0.02em;
  margin-top: 2.8rem; margin-bottom: 1rem; scroll-margin-top: calc(var(--header-height) + 16px);
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--color-border-strong);
  display: flex; align-items: center; gap: 0.6rem;
}
h3 { font-size: clamp(1rem, 1.8vw, 1.15rem); margin-top: 1.9rem; margin-bottom: 0.65rem; scroll-margin-top: calc(var(--header-height) + 16px); color: var(--color-secondary); }
h4 { font-size: 0.92rem; margin-top: 1.4rem; margin-bottom: 0.5rem; color: var(--color-secondary); text-transform: uppercase; letter-spacing: 0.04em; }

p { color: var(--color-text); line-height: 1.75; margin-bottom: 1.05rem; max-width: 76ch; font-size: 0.94rem; }
a:not([class]) { color: var(--color-secondary); text-decoration: underline; text-decoration-color: rgba(232, 185, 120, 0.5); }
a:not([class]):hover { color: var(--color-primary-hover); }
strong { color: var(--color-primary-hover); font-weight: 700; }
em { color: var(--color-text-muted); font-style: italic; }

blockquote { border-left: 2px solid var(--color-primary); padding: 0.3rem 0 0.3rem 1.2rem; margin: 1.5rem 0; color: var(--color-text-muted); font-size: 0.95rem; max-width: 66ch; }
.lead { font-size: 1rem; color: var(--color-text-muted); max-width: 72ch; margin-bottom: 1.6rem; border-left: 2px solid var(--color-secondary); padding-left: 1rem; }

figure { margin: 1.6rem 0; }
figure img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; filter: saturate(1.15) contrast(1.05) hue-rotate(-8deg); border: 1px solid var(--color-border-strong); }
figcaption { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 0.5rem; }
.source-note { font-size: 0.76rem; color: var(--color-text-muted); border-top: 1px solid var(--color-border); padding-top: 0.6rem; margin-top: 0.4rem; max-width: 76ch; }

/* Signature element: bracketed terminal-log tag */
.log-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; padding: 0.1rem 0.4rem; border: 1px solid currentColor; }
.log-tag--confirmed { color: var(--color-success); }
.log-tag--claim { color: var(--color-primary); }
.log-tag--unverified { color: var(--color-text-muted); }

.review-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0.8rem 0; color: var(--color-text-muted); font-size: 0.82rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin-bottom: 1.6rem; }
.review-meta__item { display: flex; align-items: center; gap: 0.45rem; }
.review-meta__item img { width: 13px; height: 13px; }

.author-card { display: flex; align-items: center; gap: 0.9rem; padding: 1rem; background: var(--color-surface); border: 1px solid var(--color-border); margin: 1.4rem 0; }
.author-card__avatar { width: 40px; height: 40px; border: 1px solid var(--color-secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.author-card__avatar img { width: 18px; height: 18px; }
.author-card__name { font-weight: 700; font-size: 0.9rem; }
.author-card__role { font-size: 0.78rem; color: var(--color-text-muted); }

.container { width: 100%; max-width: var(--container-width); margin-inline: auto; padding-inline: 18px; }
.reveal { opacity: 0; transform: translateX(-8px); transition: opacity var(--transition-slow), transform var(--transition-slow); }
.reveal.is-visible { opacity: 1; transform: translateX(0); }

/* ==== ARTICLE LAYOUT: single centered column, no sidebar rail at all —
   the TOC lives as a horizontal chip-row docked above the article instead
   of a left or right vertical index, so the page reads as one continuous
   feed rather than a two-column review-site layout. ==== */
.article-layout { display: block; max-width: 720px; margin-inline: auto; }
.article-body { min-width: 0; }

/* Header — on desktop, a normal inline bar: logo + nav links on the left,
   login/register on the right, no burger. On mobile (below 900px) it
   collapses to logo + burger, and the full nav/auth moves into the drawer. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--header-height); display: flex; align-items: stretch; background: rgba(20, 20, 29, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border-strong); transition: transform var(--transition-base); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { width: 100%; max-width: var(--container-width); margin-inline: auto; padding-inline: 18px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: baseline; gap: 1px; font-size: 1.1rem; font-weight: 700; flex-shrink: 0; }
.logo__bet { color: var(--color-text); }
.logo__number { color: var(--color-primary); }
.logo__win { color: var(--color-text); }
.logo__dot { color: var(--color-primary); }
.logo-mark { height: 22px; width: auto; display: block; }
.footer-brand__logo .logo-mark { height: 26px; }
.review-badge-inline { display: none; }

.header-left { display: flex; align-items: center; gap: 1.6rem; min-width: 0; }

.main-nav { display: none; min-width: 0; }
.main-nav__list { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.main-nav__link { display: inline-block; padding: 0.4rem 0.6rem; font-size: 0.78rem; color: var(--color-text-muted); white-space: nowrap; }
.main-nav__link:hover, .main-nav__link:focus-visible { color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm); color: var(--color-text-muted); border: 1px solid var(--color-border); }
.icon-btn img { width: 16px; height: 16px; }
.icon-btn:hover, .icon-btn:focus-visible { color: var(--color-primary); border-color: var(--color-border-strong); }
.header-auth { display: none; align-items: center; gap: 0.5rem; }
.menu-toggle { display: inline-flex; }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .header-auth { display: flex; }
  .menu-toggle { display: none; }
}

.mobile-drawer { position: fixed; inset: 0; z-index: 900; visibility: hidden; }
.mobile-drawer.is-open { visibility: visible; }
.mobile-drawer__overlay { position: absolute; inset: 0; background: rgba(20, 20, 29, 0.78); opacity: 0; transition: opacity var(--transition-base); }
.mobile-drawer.is-open .mobile-drawer__overlay { opacity: 1; }
.mobile-drawer__panel { position: absolute; top: 0; left: 0; height: 100%; width: min(86vw, 340px); background: var(--color-bg-alt); border-right: 1px solid var(--color-border-strong); transform: translateX(-100%); transition: transform var(--transition-slow); display: flex; flex-direction: column; overflow-y: auto; }
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-bottom: 1px solid var(--color-border); flex-shrink: 0; }
.mobile-drawer__nav { padding: 0.9rem 0.7rem 0.3rem; }
.mobile-drawer__list { display: flex; flex-direction: column; gap: 0; }
.mobile-drawer__link { display: flex; align-items: center; min-height: 44px; padding: 0.5rem 0.9rem; font-weight: 600; font-size: 0.9rem; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
.mobile-drawer__link:hover, .mobile-drawer__link:focus-visible { color: var(--color-primary); }
.mobile-drawer__lang { padding: 0.9rem 1.1rem; border-top: 1px solid var(--color-border); }
.mobile-drawer__lang-title { font-size: 0.68rem; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 0.6rem; }
.mobile-drawer__lang-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mobile-drawer__lang-option { padding: 0.4rem 0.75rem; border: 1px solid var(--color-border-strong); font-size: 0.8rem; color: var(--color-text-muted); min-height: 36px; }
.mobile-drawer__lang-option[aria-pressed="true"] { color: var(--color-primary); border-color: var(--color-primary); }
.mobile-drawer__auth { display: flex; flex-direction: column; gap: 0.6rem; padding: 0.9rem 1.1rem 1.4rem; border-top: 1px solid var(--color-border); margin-top: auto; }
body.no-scroll { overflow: hidden; }

.lang-switch { position: relative; }
.lang-switch__toggle { display: inline-flex; align-items: center; gap: 0.25rem; height: 36px; padding: 0 0.55rem; color: var(--color-text-muted); font-size: 0.76rem; }
.lang-switch__toggle:hover, .lang-switch__toggle:focus-visible { color: var(--color-primary); }
.lang-switch__toggle img:first-child { width: 14px; height: 14px; }
.lang-switch__toggle img:last-child { width: 11px; height: 11px; transition: transform var(--transition-fast); }
.lang-switch.is-open .lang-switch__toggle img:last-child { transform: rotate(180deg); }
.lang-switch__menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 130px; background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: var(--radius-md); padding: 0.3rem; opacity: 0; visibility: hidden; transition: opacity var(--transition-fast), visibility var(--transition-fast); z-index: 50; }
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; }
.lang-switch__option { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0.4rem 0.6rem; border-radius: var(--radius-sm); font-size: 0.78rem; color: var(--color-text-muted); text-align: left; min-height: 32px; }
.lang-switch__option:hover, .lang-switch__option:focus-visible { background: var(--color-surface-alt); color: var(--color-text); }
.lang-switch__option[aria-checked="true"] { color: var(--color-primary); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.7rem 1.3rem; font-weight: 700; font-size: 0.85rem; min-height: 42px; border: 1px solid transparent; border-radius: var(--radius-md); text-transform: none; letter-spacing: 0; transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast); }
.btn img { width: 14px; height: 14px; }
/* download.svg (and similarly light-stroked icons) ship light by default for
   use on dark surfaces; darken them back down for readability on the gold
   primary-button background. */
.btn--primary img { filter: brightness(0.25) saturate(0); }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover)); color: #1a1206; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(232, 185, 120, 0.35); }
.btn--secondary { background: var(--color-surface-alt); color: var(--color-text); border-color: var(--color-border-strong); }
.btn--secondary:hover { background: var(--color-surface); border-color: var(--color-primary); }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--small { padding: 0.4rem 0.85rem; font-size: 0.7rem; min-height: 32px; }
.btn--block { width: 100%; }
.btn--login { background: transparent; color: var(--color-text-muted); border-color: var(--color-border); border-radius: var(--radius-sm); padding: 0.45rem 0.95rem; min-height: 36px; font-size: 0.75rem; }
.btn--login:hover { color: var(--color-primary); }
.btn--register { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover)); color: #1a1206; border-radius: var(--radius-sm); padding: 0.45rem 1rem; min-height: 36px; font-size: 0.75rem; }
.btn--register:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Hero — content-first composition: headline and copy lead directly, no
   full-bleed image or device mockup above the fold. Everything shares one
   centered column and stacks top-to-bottom in reading order. */
.hero { position: relative; padding-top: calc(var(--header-height) + 1.6rem); padding-bottom: 2rem; border-bottom: 1px solid var(--color-border-strong); text-align: center; }
.hero .container { max-width: 720px; }
.hero__grid { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.hero__title-rail { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.hero__badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.68rem; text-transform: uppercase; padding: 0.28rem 0.7rem; border: 1px solid var(--color-secondary); border-radius: 999px; color: var(--color-secondary); }
.hero__badge--age { border-color: var(--color-danger); color: var(--color-danger); }
.hero__badge img { width: 10px; height: 10px; }
.hero__title { margin-bottom: 0; max-width: 20ch; font-size: clamp(1.7rem, 5.5vw, 2.5rem); }
.hero__title-sub { display: none; }
.hero__title-sub-standalone { display: block; font-size: 0.9rem; color: var(--color-text-muted); max-width: 46ch; margin-inline: auto; }
.hero__text { font-size: 0.95rem; color: var(--color-text-muted); max-width: 54ch; margin: 0 auto 0.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-bottom: 0; }
.hero__updated { font-size: 0.74rem; color: var(--color-text-muted); margin-bottom: 0; }
.hero__media { display: none; }
.hero__copy { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; width: 100%; }

/* Stat strip: one horizontal row of label/value pairs directly under the
   headline, not a vertical ledger beside the copy. */
.hero__stat-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; width: 100%; border-top: 1px solid var(--color-border-strong); border-bottom: 1px solid var(--color-border-strong); }
.hero__stat-strip > div { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; padding: 0.8rem 1.2rem; flex: 1 1 0; border-left: 1px solid var(--color-border); }
.hero__stat-strip > div:first-child { border-left: none; }
.hero__stat-strip .stat-label { font-size: 0.66rem; text-transform: uppercase; color: var(--color-text-muted); }
.hero__stat-strip .stat-value { font-size: 0.95rem; color: var(--color-primary); font-weight: 700; }

/* ==== TOC: horizontal chip row docked above the article, not a vertical
   sidebar rail on either side. ==== */
.toc { border: none; margin-bottom: 1.8rem; }
.toc__header { display: none; }
.toc__toggle { display: none; }
.toc__body { overflow: visible; }
.toc__body-inner { padding: 0; overflow: visible; }
.toc__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.toc__link { display: inline-flex; align-items: center; max-width: 100%; padding: 0.4rem 0.85rem; font-size: 0.76rem; color: var(--color-text-muted); background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: 999px; white-space: normal; text-align: center; line-height: 1.3; }
.toc__link:hover, .toc__link:focus-visible { color: var(--color-text); border-color: var(--color-primary); }
.toc__link.is-active { color: #1a1206; background: var(--color-primary); border-color: var(--color-primary); }
.toc__link.is-active::before { content: none; }
/* sub-headings are not shown as separate chips in the horizontal row */
.toc__list > li > ul { display: none; }

.article-header { margin-bottom: 1.4rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.74rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs__sep { opacity: 0.5; }

.affiliate-disclosure { display: flex; gap: 0.6rem; align-items: flex-start; background: var(--color-surface); border: 1px solid var(--color-border); padding: 0.75rem 0.9rem; font-size: 0.78rem; color: var(--color-text-muted); margin-bottom: 1.4rem; }
.affiliate-disclosure img { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }
.affiliate-disclosure p { margin-bottom: 0; max-width: none; }

.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.1rem; }

/* Feature counter-strip: numbered horizontal ledger, replaces card grid */
.key-features { display: flex; flex-direction: column; margin: 1.6rem 0; border-top: 1px solid var(--color-border-strong); counter-reset: kf; }
.key-feature-card { counter-increment: kf; display: flex; align-items: baseline; gap: 0.9rem; padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
.key-feature-card::before { content: "0" counter(kf); color: var(--color-primary); font-weight: 700; font-size: 0.8rem; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(232, 185, 120, 0.14); display: inline-flex; align-items: center; justify-content: center; }
.key-feature-card__icon { display: none; }
.key-feature-card__title { font-weight: 700; font-size: 0.85rem; flex: 0 0 160px; }
.key-feature-card__text { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 0; flex: 1; }

@media (max-width: 600px) { .key-feature-card { flex-wrap: wrap; } .key-feature-card__title { flex-basis: 100%; } }

/* Category cards: single-row compact index, text-first not image-first */
.category-cards { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.6rem 0; }
.category-card { position: relative; display: grid; grid-template-columns: 90px 1fr; border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); overflow: hidden; min-height: 90px; }
.category-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) hue-rotate(-8deg); }
.category-card::after { display: none; }
.category-card__body { padding: 0.8rem 1rem; display: flex; flex-direction: column; justify-content: center; }
.category-card__label { font-weight: 700; font-size: 0.9rem; color: var(--color-text); }
.category-card__desc { display: block; font-size: 0.76rem; color: var(--color-text-muted); margin-top: 0.2rem; }

.payment-icons { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.4rem 0; }
.payment-icon { display: flex; align-items: center; justify-content: center; min-width: 84px; height: 38px; padding: 0 0.9rem; background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: 999px; font-size: 0.7rem; font-weight: 700; color: var(--color-text-muted); }

.trust-card { display: flex; gap: 0.9rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.1rem; margin: 1.4rem 0; }
.trust-card__icon { width: 34px; height: 34px; border-radius: var(--radius-sm); background: rgba(232, 185, 120, 0.12); color: var(--color-secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-card__icon img { width: 15px; height: 15px; }
.trust-card__title { font-weight: 700; font-size: 0.86rem; margin-bottom: 0.25rem; }
.trust-card__text { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 0; }

.verify-row { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.4rem 0; border-bottom: 1px dashed var(--color-border); font-size: 0.85rem; }
.verify-row__label { color: var(--color-text-muted); flex-shrink: 0; }
.verify-row__fill { flex: 1; border-bottom: 1px dotted var(--color-border); transform: translateY(-4px); min-width: 12px; }
.verify-row__value { font-weight: 700; color: var(--color-text); text-align: right; }

.styled-list, .check-list, .pros-list, .cons-list, .limits-list, .steps-list, .spec-list, .features-tags { display: flex; flex-direction: column; gap: 0.5rem; margin: 1.2rem 0; max-width: 76ch; }
.styled-list li { position: relative; padding-left: 1.2rem; line-height: 1.6; font-size: 0.9rem; }
.styled-list li::before { content: "-"; position: absolute; left: 0; color: var(--color-primary); }
.check-list li, .pros-list li, .cons-list li, .limits-list li { display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.55; font-size: 0.88rem; }
.check-list li img, .pros-list li img, .cons-list li img, .limits-list li img { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }

.steps-list { counter-reset: steps; gap: 0.8rem; max-width: 76ch; }
.steps-list li { position: relative; padding-left: 2.2rem; min-height: 26px; font-size: 0.88rem; }
.steps-list li::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 0; color: #1a1206; font-weight: 700; font-size: 0.78rem; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover)); border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }

.spec-list { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; }
.spec-list li { padding: 0.32rem 0.8rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; font-size: 0.76rem; color: var(--color-text-muted); }
.features-tags { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; }
.features-tags li { padding: 0.32rem 0.75rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; font-size: 0.75rem; color: var(--color-text-muted); }

.checklist-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; margin: 1.4rem 0; }
.checklist-box h4 { margin-top: 0; }

/* Pros/cons: two independent inline blocks separated by a vertical rule, not stacked cards */
.pros-cons-grid { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0; }
.pros-cons-grid .card { flex: 1 1 260px; margin: 0; }
.pros-cons-grid h4 { margin-top: 0; display: flex; align-items: center; gap: 0.4rem; text-transform: none; font-size: 0.85rem; }
.pros-cons-grid h4 img { width: 15px; height: 15px; }

.table-wrapper { margin: 1.6rem 0; overflow-x: auto; border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); }
.review-table { width: 100%; border-collapse: collapse; background: var(--color-surface); min-width: 560px; font-size: 0.85rem; }
.review-table th, .review-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--color-border); overflow-wrap: break-word; }
.review-table thead th { background: var(--color-surface-alt); color: var(--color-secondary); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; }
.review-table tbody tr:last-child th, .review-table tbody tr:last-child td { border-bottom: none; }
.review-table td[data-highlight="true"] { color: var(--color-primary); font-weight: 700; }
.review-table--general th:first-child, .review-table--general td:first-child { color: var(--color-text-muted); width: 34%; }
.review-table .btn { min-height: 30px; padding: 0.35rem 0.7rem; font-size: 0.68rem; }
.status-pill { display: inline-flex; align-items: center; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.18rem 0.55rem; border-radius: 999px; background: currentColor; white-space: nowrap; }
.status-pill { color: #14111d !important; }
.status-pill--confirmed { background: var(--color-success); }
.status-pill--claim { background: var(--color-primary); }
.status-pill--check { background: var(--color-text-muted); }
.status-pill--confirmed { color: var(--color-success); }
.status-pill--claim { color: var(--color-primary); }
.status-pill--check { color: var(--color-text-muted); }

@media (max-width: 720px) {
  .table-wrapper--stack { border: none; overflow-x: visible; }
  .table-wrapper--stack .review-table { min-width: 0; }
  .table-wrapper--stack .review-table, .table-wrapper--stack .review-table thead, .table-wrapper--stack .review-table tbody, .table-wrapper--stack .review-table th, .table-wrapper--stack .review-table td, .table-wrapper--stack .review-table tr { display: block; width: 100%; }
  .table-wrapper--stack .review-table thead { position: absolute; left: -9999px; top: -9999px; }
  .table-wrapper--stack .review-table tbody tr { background: var(--color-surface); border: 1px solid var(--color-border-strong); margin-bottom: 0.8rem; padding: 0.3rem 0; }
  .table-wrapper--stack .review-table tbody tr:last-child { margin-bottom: 0; }
  .table-wrapper--stack .review-table td, .table-wrapper--stack .review-table th[scope="row"] { border-bottom: 1px dashed var(--color-border); display: flex; justify-content: space-between; gap: 0.8rem; text-align: right; }
  .table-wrapper--stack .review-table td:last-child, .table-wrapper--stack .review-table th[scope="row"]:last-child { border-bottom: none; }
  .table-wrapper--stack .review-table td::before, .table-wrapper--stack .review-table th[scope="row"]::before { content: attr(data-label); font-weight: 700; font-size: 0.65rem; text-transform: uppercase; color: var(--color-text-muted); text-align: left; }
  .table-wrapper--stack .review-table td .btn { width: 100%; }
}

.promo-banner { position: relative; border: 1px solid var(--color-border-strong); border-radius: var(--radius-xl); overflow: hidden; margin: 1.8rem 0; }
.promo-banner__bg { position: absolute; inset: 0; z-index: 0; }
.promo-banner__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.14; filter: saturate(1.3) hue-rotate(-8deg); }
.promo-banner__bg::after { content: ""; position: absolute; inset: 0; background: var(--color-surface); opacity: 0.75; }
.promo-banner__content { position: relative; z-index: 1; padding: clamp(1.2rem, 3vw, 1.8rem); }
.promo-banner--offer .promo-banner__content, .promo-banner--code .promo-banner__content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.3rem; }
.promo-banner__text { max-width: 520px; }
.promo-banner__eyebrow { display: inline-block; font-size: 0.68rem; text-transform: uppercase; color: var(--color-secondary); margin-bottom: 0.4rem; }
.promo-banner__title { font-size: 1.1rem; margin-bottom: 0.4rem; }
.promo-banner__desc { color: var(--color-text-muted); margin-bottom: 0; max-width: none; font-size: 0.86rem; }
.promo-banner__fine { font-size: 0.72rem; color: var(--color-text-muted); margin-top: 0.6rem; margin-bottom: 0; max-width: none; }

.promo-code { display: flex; align-items: center; gap: 0.5rem; background: var(--color-bg); border: 1px dashed var(--color-border-strong); border-radius: var(--radius-md); padding: 0.5rem 0.6rem 0.5rem 0.9rem; }
.promo-code__value { font-size: 0.9rem; font-weight: 700; color: var(--color-primary); }
.promo-code__copy { display: inline-flex; align-items: center; gap: 0.35rem; background: var(--color-secondary); color: #1a1206; border-radius: var(--radius-sm); padding: 0.4rem 0.75rem; font-size: 0.7rem; font-weight: 700; min-height: 32px; }
.promo-code__copy img { width: 13px; height: 13px; }
.promo-code__copy:hover { background: var(--color-primary); }
.promo-code__copy.is-copied { background: var(--color-success); }

.promo-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); background: var(--color-surface); border: 1px solid var(--color-primary); border-radius: var(--radius-md); color: var(--color-text); padding: 0.6rem 1rem; font-size: 0.8rem; display: flex; align-items: center; gap: 0.5rem; opacity: 0; pointer-events: none; transition: opacity var(--transition-base), transform var(--transition-base); z-index: 1200; }
.promo-toast img { width: 14px; height: 14px; }
.promo-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.promo-banner--download .promo-banner__content { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.promo-banner__icon-box { width: 56px; height: 56px; border: 1px solid var(--color-primary); border-radius: var(--radius-lg); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--color-primary); }
.promo-banner__icon-box img { width: 24px; height: 24px; }
.promo-banner__body { flex: 1 1 240px; min-width: 0; }
.promo-banner__badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.7rem 0; }
.platform-badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.32rem 0.7rem; background: var(--color-bg); border: 1px solid var(--color-border-strong); border-radius: 999px; font-size: 0.68rem; font-weight: 700; color: var(--color-text-muted); }

.promo-banner--demo .promo-banner__content { padding: clamp(1rem, 2.5vw, 1.4rem); }
.demo-slot { width: 100%; }
.demo-slot__frame-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--color-bg); border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); }
.demo-slot__poster, .demo-slot__frame-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.demo-slot__poster { object-fit: cover; }
.demo-slot__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; background: rgba(20, 20, 29, 0.62); text-align: center; padding: 1.2rem; }
.demo-slot__play { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--color-primary); color: var(--color-primary); display: flex; align-items: center; justify-content: center; }
.demo-slot__play img { width: 18px; height: 18px; margin-left: 2px; }
.demo-slot__play:hover { background: var(--color-primary); color: #1a1206; }
.demo-slot__overlay-text { color: var(--color-text-muted); font-size: 0.78rem; max-width: 46ch; margin: 0; }
.demo-slot__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 1rem; }
.demo-slot__age-notice { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; color: var(--color-text-muted); border: 1px solid var(--color-border-strong); border-radius: 999px; padding: 0.3rem 0.7rem; }
.demo-slot__age-notice strong { color: var(--color-primary); }

.faq-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.4rem; }
.faq-item { background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.9rem; padding: 0.85rem 1.05rem; text-align: left; font-weight: 700; font-size: 0.86rem; color: var(--color-text); min-height: 40px; }
.faq-item__question img { width: 15px; height: 15px; flex-shrink: 0; transition: transform var(--transition-base); }
.faq-item.is-open .faq-item__question img { transform: rotate(180deg); }
.faq-item__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--transition-base); }
.faq-item.is-open .faq-item__answer { grid-template-rows: 1fr; }
.faq-item__answer-inner { overflow: hidden; }
.faq-item__answer p { padding: 0 1.05rem 1rem; color: var(--color-text-muted); margin-bottom: 0; font-size: 0.85rem; }

/* Scorecard as a terminal readout, values right-aligned monospace */
.scorecard { margin: 1.6rem 0; background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); padding: clamp(1.1rem, 2.5vw, 1.5rem); }
.scorecard__overall { display: flex; align-items: center; gap: 1.1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--color-border-strong); }
.scorecard__overall-value { font-size: 2rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.scorecard__overall-max { font-size: 0.9rem; color: var(--color-text-muted); }
.scorecard__overall-label { font-size: 0.76rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.scorecard__rows { display: flex; flex-direction: column; gap: 0.75rem; }
.scorecard__row { display: grid; grid-template-columns: 130px 1fr 40px; align-items: center; gap: 0.8rem; }
.scorecard__row-label { font-size: 0.78rem; font-weight: 600; }
.scorecard__row-track { height: 6px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.scorecard__row-fill { height: 100%; background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover)); border-radius: 999px; }
.scorecard__row-value { font-size: 0.76rem; font-weight: 700; color: var(--color-text-muted); text-align: right; }
.scorecard__note { margin-top: 1rem; margin-bottom: 0; font-size: 0.74rem; color: var(--color-text-muted); }

.popup-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(20, 20, 29, 0.82); opacity: 0; visibility: hidden; transition: opacity var(--transition-base), visibility var(--transition-base); }
.popup-overlay.is-visible { opacity: 1; visibility: visible; }
.popup { position: relative; width: 100%; max-width: 400px; max-height: 90vh; overflow-y: auto; background: var(--color-surface); border: 1px solid var(--color-primary); border-radius: var(--radius-xl); padding: 1.7rem 1.5rem 1.5rem; }
.popup__close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; color: var(--color-text-muted); }
.popup__close img { width: 14px; height: 14px; }
.popup__close:hover { color: var(--color-primary); }
.popup__eyebrow { font-size: 0.65rem; text-transform: uppercase; color: var(--color-secondary); margin-bottom: 0.4rem; display: block; }
.popup__title { font-size: 1.05rem; margin-bottom: 0.6rem; padding-right: 1.2rem; }
.popup__offer { color: var(--color-text-muted); margin-bottom: 1.1rem; font-size: 0.85rem; }
.popup__secondary { display: block; text-align: center; font-size: 0.78rem; color: var(--color-text-muted); text-decoration: underline; margin-top: 0.8rem; padding: 0.4rem; }
.popup__secondary:hover { color: var(--color-primary); }
.popup__responsible { font-size: 0.7rem; color: var(--color-text-muted); margin-top: 0.9rem; margin-bottom: 0; padding-top: 0.9rem; border-top: 1px solid var(--color-border); }

.site-footer { background: var(--color-bg-alt); border-top: 1px solid var(--color-border-strong); margin-top: 3.5rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.6rem; padding-block: 2.4rem; }
.footer-brand__logo { margin-bottom: 0.7rem; }
.footer-brand__text { color: var(--color-text-muted); font-size: 0.8rem; max-width: 34ch; margin-bottom: 0; }
.footer-col__title { font-size: 0.72rem; text-transform: uppercase; color: var(--color-secondary); margin-bottom: 0.8rem; }
.footer-col__list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col__list a { font-size: 0.78rem; color: var(--color-text-muted); }
.footer-col__list a:hover { color: var(--color-primary); }
.footer-legal-row { display: flex; flex-wrap: wrap; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--color-border); align-items: center; }
.footer-legal-row a { font-size: 0.74rem; color: var(--color-text-muted); }
.footer-legal-row a:hover { color: var(--color-primary); }
.footer-disclaimer { padding: 1.3rem 0; border-top: 1px solid var(--color-border); font-size: 0.72rem; color: var(--color-text-muted); line-height: 1.65; max-width: 90ch; }
.footer-disclaimer p { max-width: none; color: inherit; font-size: inherit; margin-bottom: 0.7rem; }
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 1.1rem 0 1.8rem; border-top: 1px solid var(--color-border); }
.footer-bottom__legal { display: flex; align-items: center; gap: 0.7rem; font-size: 0.72rem; color: var(--color-text-muted); }
.age-badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--color-danger); border-radius: var(--radius-sm); font-weight: 700; font-size: 0.72rem; color: var(--color-danger); flex-shrink: 0; }

.back-to-top { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover)); border-radius: 50%; color: #1a1206; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-glow); opacity: 0; visibility: hidden; transition: opacity var(--transition-base), visibility var(--transition-base); z-index: 400; }
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-primary-hover); }
.back-to-top img { width: 16px; height: 16px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sr-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-primary); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (min-width: 720px) { .footer-bottom { flex-wrap: nowrap; } }
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn, .promo-banner .btn { width: 100%; }
  .promo-banner--offer .promo-banner__content, .promo-banner--code .promo-banner__content { flex-direction: column; align-items: stretch; }
  .promo-code { flex-direction: column; align-items: stretch; }
  .promo-code__copy { justify-content: center; }
  .scorecard__row { grid-template-columns: 90px 1fr 36px; gap: 0.5rem; }
  .category-card { grid-template-columns: 70px 1fr; min-height: 70px; }
}
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } .hero { padding-top: calc(var(--header-height) + 1.4rem); } .scorecard__overall { flex-direction: column; align-items: flex-start; gap: 0.3rem; } }

/* ==========================================================================
   APK guide additions: phone-frame screenshot gallery, spec/version cards
   ========================================================================== */

/* Phone mockup: real app screenshots shown inside a device frame, the
   signature visual proof-of-content element for this guide */
.phone-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.1rem; margin: 1.6rem 0; }
.phone-frame { position: relative; border-radius: 28px; padding: 10px; background: linear-gradient(160deg, var(--color-surface-alt), var(--color-bg-alt)); border: 1px solid var(--color-border-strong); box-shadow: var(--shadow-md); }
.phone-frame__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 46%; height: 18px; background: var(--color-bg); border-radius: 0 0 12px 12px; z-index: 2; }
.phone-frame__screen { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 1100 / 2100; border: 1px solid rgba(0,0,0,0.4); background: var(--color-bg); }
.phone-frame__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-frame__caption { text-align: center; font-size: 0.74rem; color: var(--color-text-muted); margin-top: 0.65rem; margin-bottom: 0; }

/* APK spec card: version/size/rating readout, echoes the hero stat-strip */
.apk-spec-strip { display: flex; flex-direction: column; margin: 1.6rem 0; border-top: 1px solid var(--color-border-strong); }
.apk-spec-strip > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--color-border); }
.apk-spec-strip .stat-label { font-size: 0.76rem; color: var(--color-text-muted); }
.apk-spec-strip .stat-value { font-size: 0.9rem; color: var(--color-primary); font-weight: 700; text-align: right; }

.rating-stars { color: var(--color-secondary); letter-spacing: 0.05em; }

@media (max-width: 560px) { .phone-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .phone-gallery { grid-template-columns: 1fr 1fr; gap: 0.7rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
