/* ==========================================================================
   JioWinAPK.com — design system
   Dark premium iGaming theme, India-first, mobile-first (320px up)
   ========================================================================== */

:root {
  --bg: #0d1220;
  --bg-2: #111931;
  --surface: #151d33;
  --surface-2: #1b2440;
  --line: #26314f;
  --line-soft: #1f2942;

  --gold: #ffc53d;
  --gold-dark: #e0a71f;
  --saffron: #ff7a1a;
  --teal: #16c8a8;
  --green: #29c467;
  --red: #ff5b5b;

  --text: #e9edf7;
  --text-soft: #b9c3d9;
  --muted: #8e9ab4;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .75);
  --shadow-gold: 0 12px 30px -10px rgba(255, 168, 29, .55);

  --font-display: "Segoe UI Semibold", "Helvetica Neue", Inter, Roboto,
    "Noto Sans", system-ui, -apple-system, Arial, sans-serif;
  --font-body: Inter, Roboto, "Segoe UI", "Noto Sans", system-ui,
    -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 16px;
}

/* ---------- Typography ---------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: #fff;
  margin: 0 0 14px;
  text-wrap: balance;
}

h1 { font-size: clamp(1.7rem, 6.2vw, 2.85rem); }
h2 { font-size: clamp(1.35rem, 4.6vw, 1.95rem); margin-top: 8px; }
h3 { font-size: clamp(1.12rem, 3.6vw, 1.32rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 16px; }

.lead { font-size: 1.08rem; color: var(--text-soft); }

.sec {
  padding: 30px 0 6px;
  border-top: 1px solid var(--line-soft);
  margin-top: 26px;
}
.sec:first-of-type { border-top: 0; margin-top: 0; }

/* Direct-answer / snippet block */
.answer {
  background: linear-gradient(180deg, rgba(22, 200, 168, .10), rgba(22, 200, 168, .03));
  border: 1px solid rgba(22, 200, 168, .32);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 0 0 20px;
  color: #eaf6f3;
  font-size: 1.03rem;
}
.answer p:last-child { margin-bottom: 0; }
.answer strong { color: #fff; }

.note {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 20px 0;
  font-size: .96rem;
  color: var(--text-soft);
}

ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 9px; }

.ticks { list-style: none; padding-left: 0; }
.ticks li {
  position: relative;
  padding-left: 30px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 197, 61, .16);
}

/* ---------- Header ------------------------------------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(13, 18, 32, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr-in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}
.logo:hover { text-decoration: none; }
.logo span b { color: var(--gold); }
.logo small {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav a {
  color: var(--text-soft);
  font-size: .93rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: #fff;
  background: var(--surface-2);
  text-decoration: none;
}
.age {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: -.02em;
}
.burger {
  margin-left: auto;
  display: none;
  width: 42px; height: 38px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 9px;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 8px 12px 14px;
    margin: 0;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; font-size: 1rem; }
}

/* ---------- Buttons ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--saffron) 100%);
  color: #16110a;
  box-shadow: var(--shadow-gold);
  animation: pulse 2.6s ease-in-out infinite;
}
.btn-primary:hover { filter: brightness(1.06); }

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 2px solid rgba(255, 197, 61, .5);
}
.btn-ghost:hover { background: rgba(255, 197, 61, .1); }

.btn-teal {
  background: linear-gradient(135deg, var(--teal), #0e9c86);
  color: #04211c;
  box-shadow: 0 12px 28px -12px rgba(22, 200, 168, .6);
}

.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; animation: none; }
.btn-block { width: 100%; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px -10px rgba(255, 168, 29, .55), 0 0 0 0 rgba(255, 197, 61, .42); }
  55%      { box-shadow: 0 12px 30px -10px rgba(255, 168, 29, .55), 0 0 0 14px rgba(255, 197, 61, 0); }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 8px;
}
.cta-row .btn { flex: 1 1 240px; }

/* Mid-content CTA band */
.cta-band {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 122, 26, .18), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  margin: 30px 0;
  text-align: center;
}
.cta-band h3 { margin-bottom: 6px; }
.cta-band p { color: var(--text-soft); margin-bottom: 16px; font-size: .98rem; }
.cta-band .btn { min-width: 260px; }

/* ---------- Hero -------------------------------------------------------- */

.hero {
  position: relative;
  padding: 26px 0 30px;
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(255, 122, 26, .17), transparent 62%),
    radial-gradient(80% 70% at 92% 8%, rgba(22, 200, 168, .14), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .hero { padding: 44px 0 48px; }
}
.hero h1 { margin-bottom: 12px; }

.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(22, 200, 168, .1);
  border: 1px solid rgba(22, 200, 168, .3);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 14px;
}

.stars {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--text-soft);
  font-size: .95rem;
}
.stars b { color: var(--gold); font-size: 1.15rem; }
.stars .st { color: var(--gold); letter-spacing: 2px; font-size: 1.08rem; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 4px;
  padding: 0;
  list-style: none;
}
.badges li {
  margin: 0;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-soft);
}
.badges li b { color: #fff; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.trust li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(22, 200, 168, .08);
  border: 1px solid rgba(22, 200, 168, .28);
  border-radius: 8px;
  padding: 6px 11px;
}
.trust li::before {
  content: "✓";
  font-size: .9rem;
}

.phone-art {
  position: relative;
  margin-inline: auto;
  max-width: 300px;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6));
}
.bonus-tag {
  position: absolute;
  top: 8px; right: -6px;
  z-index: 2;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: #17110a;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.15;
  padding: 9px 14px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-gold);
  transform: rotate(4deg);
}
.bonus-tag small { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; opacity: .82; }

/* ---------- Breadcrumbs ------------------------------------------------- */

.crumbs {
  font-size: .85rem;
  color: var(--muted);
  padding: 10px 0 0;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0; padding: 0;
}
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 7px; color: var(--line); }
.crumbs a { color: var(--text-soft); }

/* ---------- Layout: content + TOC --------------------------------------- */

.main { padding: 4px 0 40px; }

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
@media (min-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr) 288px; gap: 38px; align-items: start; }
  .rail { position: sticky; top: 78px; }
}

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 22px 0 28px;
}
.toc h2 {
  font-size: 1.02rem;
  margin: 0 0 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 1;
  font-size: .95rem;
}
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: 26px; } }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--text-soft); }
.toc a:hover { color: var(--gold); }

.rail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
}
.rail-card h3 { font-size: 1.05rem; }
.rail-card p { font-size: .92rem; color: var(--text-soft); }
.rail-card ul { font-size: .92rem; color: var(--text-soft); }

/* ---------- Tables ------------------------------------------------------ */

.tbl-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .95rem;
}
caption {
  caption-side: top;
  text-align: left;
  padding: 13px 16px 4px;
  font-weight: 700;
  color: var(--gold);
  font-size: .93rem;
  letter-spacing: .02em;
}
th, td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
thead th {
  background: var(--surface-2);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr:nth-child(even) { background: rgba(255, 255, 255, .018); }
tbody tr:last-child td { border-bottom: 0; }
td b, th b { color: #fff; }
.scroll-hint {
  font-size: .8rem;
  color: var(--muted);
  margin: -14px 0 20px;
}
@media (min-width: 760px) { .scroll-hint { display: none; } }

/* ---------- Fact sheet -------------------------------------------------- */

.fact {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 6px 4px;
  margin: 24px 0;
}
.fact table { min-width: 300px; }
.fact th { background: transparent; text-transform: none; letter-spacing: 0; font-size: .92rem; color: var(--muted); white-space: normal; width: 44%; }

/* ---------- Download card (APK) ---------------------------------------- */

.dl-card {
  background:
    radial-gradient(100% 130% at 100% 0%, rgba(22, 200, 168, .16), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(255, 197, 61, .28);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
.dl-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.dl-head img { width: 62px; height: 62px; border-radius: 15px; }
.dl-head h2, .dl-head h3, .dl-head p { margin: 0; }
.dl-head p { font-size: .88rem; color: var(--muted); }
.dl-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
@media (min-width: 620px) { .dl-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dl-specs li {
  margin: 0;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}
.dl-specs span {
  display: block;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.dl-specs b { font-size: 1rem; color: #fff; font-family: var(--font-display); }

/* ---------- Steps ------------------------------------------------------- */

.steps {
  list-style: none;
  counter-reset: s;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 12px;
}
.steps > li {
  counter-increment: s;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px 15px 62px;
  margin: 0;
}
.steps > li::before {
  content: counter(s);
  position: absolute;
  left: 15px; top: 14px;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: #17110a;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}
.steps strong { display: block; color: #fff; font-family: var(--font-display); }
.steps p { margin: 4px 0 0; font-size: .96rem; color: var(--text-soft); }

/* ---------- Pros & cons ------------------------------------------------- */

.pc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 22px 0;
}
@media (min-width: 700px) { .pc { grid-template-columns: 1fr 1fr; } }
.pc > div {
  border-radius: var(--radius);
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.pc .pros { border-color: rgba(41, 196, 103, .34); background: linear-gradient(180deg, rgba(41, 196, 103, .09), transparent); }
.pc .cons { border-color: rgba(255, 91, 91, .3); background: linear-gradient(180deg, rgba(255, 91, 91, .08), transparent); }
.pc h3 { font-size: 1.06rem; margin-bottom: 8px; }
.pc .pros h3 { color: var(--green); }
.pc .cons h3 { color: #ff8b8b; }
.pc ul { list-style: none; padding: 0; margin: 0; font-size: .96rem; }
.pc li { padding-left: 25px; position: relative; color: var(--text-soft); }
.pc .pros li::before { content: "＋"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.pc .cons li::before { content: "－"; position: absolute; left: 0; color: #ff8b8b; font-weight: 700; }

/* ---------- Verdict ----------------------------------------------------- */

.verdict {
  border: 1px solid rgba(255, 197, 61, .32);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 197, 61, .09), transparent 70%), var(--surface);
  padding: 20px;
  margin: 22px 0;
}
.score {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 10px;
}
.score small { font-size: .95rem; color: var(--muted); font-weight: 600; }

/* ---------- FAQ (native details = crawlable) ---------------------------- */

.faq { margin: 20px 0 8px; display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 46px 14px 16px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { background: var(--surface-2); }
.faq .fa {
  padding: 0 16px 14px;
  color: var(--text-soft);
  font-size: .98rem;
  animation: slide .22s ease;
}
.faq .fa p:last-child { margin-bottom: 0; }
@keyframes slide { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* ---------- Author / E-E-A-T ------------------------------------------- */

.author {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin: 30px 0 10px;
}
.author img {
  width: 72px; height: 72px;
  flex: 0 0 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.author h3 { margin: 0 0 2px; font-size: 1.08rem; }
.author .role { color: var(--gold); font-size: .88rem; font-weight: 700; margin: 0 0 8px; }
.author p { font-size: .95rem; color: var(--text-soft); margin: 0 0 8px; }
.author .meta { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- Payment logos ---------------------------------------------- */

.pays {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.pays li {
  margin: 0;
  background: #fff;
  border-radius: 9px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: .84rem;
  color: #16110a;
  font-family: var(--font-display);
  letter-spacing: -.01em;
}
.pays li.upi { color: #0b7d3e; }
.pays li.ptm { color: #00b9f1; }
.pays li.ppe { color: #5f259f; }
.pays li.gpay { color: #1a73e8; }
.pays li.bank { color: #1f2942; }
.pays li.crypto { color: #f7931a; }

/* ---------- Sticky mobile CTA ------------------------------------------ */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: rgba(11, 15, 26, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .txt { flex: 1 1 auto; min-width: 0; }
.sticky-cta strong { display: block; font-size: .93rem; color: #fff; font-family: var(--font-display); line-height: 1.2; }
.sticky-cta span { font-size: .76rem; color: var(--muted); }
.sticky-cta .btn { flex: 0 0 auto; min-height: 46px; padding: 10px 20px; font-size: .96rem; }
@media (min-width: 1000px) { .sticky-cta { display: none; } }
body { padding-bottom: 0; }
@media (max-width: 999px) { body.has-sticky { padding-bottom: 76px; } }

/* ---------- Footer ----------------------------------------------------- */

.ftr {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 34px 0 26px;
  font-size: .92rem;
  color: var(--muted);
}
.ftr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 760px) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; } }
.ftr h2, .ftr h3 {
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 8px; }
.ftr a { color: var(--text-soft); }
.ftr a:hover { color: var(--gold); }
.disclaimer {
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  font-size: .84rem;
  line-height: 1.65;
}
.disclaimer p { margin-bottom: 10px; }
.rg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
.rg-row .age { width: 40px; height: 40px; font-size: .8rem; }
.rg-row span {
  font-size: .8rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--text-soft);
}

/* ---------- 404 --------------------------------------------------------- */

.e404 { text-align: center; padding: 60px 0 40px; }
.e404 .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 22vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.e404 ul { list-style: none; padding: 0; display: grid; gap: 10px; max-width: 420px; margin: 24px auto 0; }
.e404 a.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.e404 a.card:hover { border-color: var(--gold); }

/* ---------- A11y / motion ---------------------------------------------- */

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #17110a;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 200;
}
.skip:focus { left: 8px; top: 8px; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
