:root {
  --red: #ed1c24;
  --red-d: #b3141a;
  --green: #1c953f;
  --green-d: #13702e;
  --gold: #d5b061;
  --gold-d: #a8853c;
  --ink: #1f2328;
  --muted: #555d66;
  --paper: #fffdf7;
  --panel: #ffffff;
  --line: #2b2b2b;
  --sky-1: #6ebeff;
  --sky-2: #bfe6ff;
  --grass: #5bb04a;
  --grass-d: #45913a;
  --dirt: #8a6143;
  --dirt-d: #6f4c33;
  --wood: #9c6b3f;
  --wood-d: #7d5330;
  --night-1: #0d1330;
  --night-2: #263066;
  --radius: 0;
  --font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; font-weight: 900; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Pixel buttons ---------- */
.btn {
  --bg: var(--green); --bg-d: var(--green-d); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; min-height: 48px; padding: .55em 1.4em;
  font: 800 1rem/1.2 var(--font); color: var(--fg); text-decoration: none;
  background: var(--bg);
  border: 3px solid var(--line);
  box-shadow: inset -4px -4px 0 var(--bg-d), inset 4px 4px 0 rgba(255,255,255,.35), 0 4px 0 var(--line);
  transition: transform .12s ease, box-shadow .12s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: inset -4px -4px 0 var(--bg-d), inset 4px 4px 0 rgba(255,255,255,.35), 0 6px 0 var(--line); }
.btn:active { transform: translateY(3px); box-shadow: inset -4px -4px 0 var(--bg-d), inset 4px 4px 0 rgba(255,255,255,.35), 0 1px 0 var(--line); }
.btn-red { --bg: var(--red); --bg-d: var(--red-d); }
.btn-green { --bg: var(--green); --bg-d: var(--green-d); }
.btn-ghost { --bg: #fff; --bg-d: #d9d9d9; --fg: var(--ink); }
.btn-ghost-light { --bg: rgba(255,255,255,.12); --bg-d: rgba(0,0,0,.25); --fg: #fff; border-color: #fff; box-shadow: 0 4px 0 #000; }
.btn-ghost-light:hover { box-shadow: 0 6px 0 #000; }
.btn-sm { min-height: 40px; padding: .35em 1.1em; font-size: .95rem; }
.btn-lg { min-height: 56px; font-size: 1.1rem; padding-inline: 1.6em; }

/* ---------- Panels ---------- */
.panel {
  background: var(--panel);
  border: 3px solid var(--line);
  box-shadow: inset -4px -4px 0 #e4e0d4, inset 4px 4px 0 #fff, 6px 6px 0 rgba(0,0,0,.18);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,247,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 108px; }
.brand-text { font-weight: 900; font-size: 1.25rem; white-space: nowrap; }
.red { color: var(--red); }
.green { color: var(--green); }
.site-header nav { margin-inline-start: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: block; padding: 6px 12px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent;
}
.nav-links a:hover { border-color: var(--line); background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 100%);
  padding: clamp(40px, 7vw, 90px) 0 0;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 24px;
}
.hero-copy { padding-bottom: clamp(48px, 7vw, 110px); }
.eyebrow {
  display: inline-block; margin: 0 0 .9em; padding: 2px 12px;
  font-weight: 800; font-size: .9rem; color: #fff;
  background: var(--green); border: 2px solid var(--line);
  box-shadow: 3px 3px 0 var(--line);
}
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  color: #fff;
  text-shadow: 3px 3px 0 var(--line), -1px -1px 0 var(--line), 1px -1px 0 var(--line), -1px 1px 0 var(--line);
}
.hero h1 .hl {
  display: block; color: var(--gold);
  text-shadow: 3px 3px 0 #6b4f17, 6px 6px 0 var(--line), -1px -1px 0 var(--line), 1px -1px 0 var(--line), -1px 1px 0 var(--line);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 34em;
  background: rgba(255,255,255,.85); border: 3px solid var(--line);
  padding: 14px 18px; box-shadow: 5px 5px 0 rgba(0,0,0,.2);
}
.lead strong { color: #b5850e; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero-cta.center { justify-content: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; font-weight: 700; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border: 2px solid var(--line); }
.dot.g { background: var(--green); }
.dot.y { background: var(--gold); }
.dot.r { background: var(--red); }

.hero-stage { position: relative; min-height: 420px; }
.hero-steve {
  position: absolute; bottom: -6px; inset-inline-start: 6%;
  width: min(340px, 80%);
  animation: bob 3.2s ease-in-out infinite;
}
.hero-sheep {
  position: absolute; bottom: 0; inset-inline-end: 2%; width: 130px;
  animation: graze 9s ease-in-out infinite;
}
.float-card {
  position: absolute; top: 4%; inset-inline-end: 6%;
  width: 150px; padding: 10px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  animation: float 4s ease-in-out infinite;
  transform: rotate(-6deg);
}

.sky span { position: absolute; display: block; }
.sun {
  top: 40px; inset-inline-end: 8%; width: 84px; height: 84px;
  background: #ffe066; border: 6px solid #ffc533;
  box-shadow: 0 0 0 8px rgba(255,224,102,.35), 0 0 60px 20px rgba(255,224,102,.5);
}
.cloud {
  height: 28px; background: #fff;
  box-shadow: 0 -20px 0 -2px #fff, 0 6px 0 #dbe9f5;
  animation: drift linear infinite;
  opacity: .95;
}
.cloud::before {
  content: ""; position: absolute; top: -20px; inset-inline-start: 25%;
  width: 45%; height: 20px; background: #fff;
}
.c1 { width: 160px; top: 70px; animation-duration: 60s; animation-delay: -10s; }
.c2 { width: 110px; top: 120px; animation-duration: 80s; animation-delay: -45s; opacity: .8; }
.c3 { width: 200px; top: 30px; animation-duration: 95s; animation-delay: -70s; opacity: .7; }

.ground {
  position: relative; z-index: 1; height: 72px;
  background:
    linear-gradient(var(--grass) 0 18px, transparent 18px),
    repeating-linear-gradient(90deg, var(--grass-d) 0 12px, transparent 12px 24px) 0 0 / 100% 24px no-repeat,
    repeating-linear-gradient(90deg, var(--dirt) 0 24px, var(--dirt-d) 24px 36px, var(--dirt) 36px 60px);
  border-top: 3px solid #2f5f22;
}
.ground::after {
  content: ""; position: absolute; inset: 24px 0 0;
  background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(0,0,0,.08) 22px 24px);
}

/* ---------- Facts ---------- */
.facts { background: var(--dirt-d); color: #fff; border-bottom: 3px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; flex-direction: column; align-items: center; padding: 18px 8px; text-align: center; }
.fact + .fact { border-inline-start: 2px dashed rgba(255,255,255,.25); }
.fact b { font-size: 2rem; line-height: 1.2; color: var(--gold); text-shadow: 3px 3px 0 #000; }
.fact span { font-size: .95rem; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt {
  background:
    linear-gradient(rgba(255,253,247,.94), rgba(255,253,247,.94)),
    repeating-conic-gradient(#e9e2cf 0 25%, #f4efe1 0 50%) 0 0 / 32px 32px;
  border-block: 3px solid var(--line);
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 34px 20px 18px; text-align: center; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
.step-num {
  position: absolute; top: -18px; inset-inline-start: 50%; transform: translateX(50%);
  width: 40px; height: 40px; display: grid; place-items: center;
  font-weight: 900; color: #fff; background: var(--red);
  border: 3px solid var(--line); box-shadow: 3px 3px 0 var(--line);
}
.step-icon, .r-icon {
  display: block; width: 64px; height: 64px; margin: 6px auto 12px;
  background: center / contain no-repeat; image-rendering: pixelated;
}
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; inset-inline-end: -20px; z-index: 2;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' shape-rendering='crispEdges'%3E%3Cpath fill='%232b2b2b' d='M4 0h1v1H4zM3 1h1v1H3zM2 2h1v1H2zM1 3h1v1H1zM2 4h1v1H2zM3 5h1v1H3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Pixel item icons (original 8x8 / 10x10 art, inline so no extra requests) */
.i-can { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect x='2' y='0' width='6' height='10' fill='%232b2b2b'/%3E%3Crect x='3' y='1' width='4' height='8' fill='%23c9ced4'/%3E%3Crect x='3' y='3' width='4' height='4' fill='%23ed1c24'/%3E%3Crect x='4' y='4' width='2' height='1' fill='%23fff'/%3E%3Crect x='5' y='2' width='1' height='1' fill='%231c953f'/%3E%3Crect x='3' y='1' width='1' height='8' fill='%23e8ecef'/%3E%3C/svg%3E"); }
.i-key { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect x='0' y='2' width='10' height='6' fill='%232b2b2b'/%3E%3Crect x='1' y='3' width='8' height='4' fill='%23fffdf7'/%3E%3Crect x='2' y='4' width='1' height='2' fill='%23ed1c24'/%3E%3Crect x='4' y='4' width='1' height='2' fill='%231c953f'/%3E%3Crect x='6' y='4' width='1' height='2' fill='%23d5b061'/%3E%3Crect x='8' y='4' width='1' height='2' fill='%232b2b2b'/%3E%3C/svg%3E"); }
.i-chest { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect x='0' y='1' width='10' height='9' fill='%232b2b2b'/%3E%3Crect x='1' y='2' width='8' height='3' fill='%23a5713f'/%3E%3Crect x='1' y='6' width='8' height='3' fill='%23855a30'/%3E%3Crect x='1' y='5' width='8' height='1' fill='%235b3b1f'/%3E%3Crect x='4' y='4' width='2' height='3' fill='%23d5b061'/%3E%3Crect x='1' y='2' width='8' height='1' fill='%23c08a52'/%3E%3C/svg%3E"); }
.i-gem { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Cpath fill='%232b2b2b' d='M2 1h6v1h1v1h1v2H9v1H8v1H7v1H6v1H4V8H3V7H2V6H1V5H0V3h1V2h1z'/%3E%3Cpath fill='%2337d1c4' d='M3 2h4v1h1v1h1v1H8v1H7v1H6v1H4V7H3V6H2V5H1V4h1V3h1z'/%3E%3Cpath fill='%23a6fff6' d='M3 2h2v1H4v1H2V3h1z'/%3E%3Cpath fill='%23199b90' d='M6 5h2v1H7v1H6z'/%3E%3C/svg%3E"); }
.i-bag { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Cpath fill='%232b2b2b' d='M3 0h4v1h1v2h1v7H1V3h1V1h1z'/%3E%3Crect x='2' y='4' width='6' height='5' fill='%231c953f'/%3E%3Crect x='3' y='1' width='4' height='1' fill='%23d5b061'/%3E%3Crect x='3' y='2' width='1' height='2' fill='%23d5b061'/%3E%3Crect x='6' y='2' width='1' height='2' fill='%23d5b061'/%3E%3Crect x='4' y='5' width='2' height='2' fill='%23ffe066'/%3E%3C/svg%3E"); }
.i-star { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11' shape-rendering='crispEdges'%3E%3Cpath fill='%232b2b2b' d='M4 0h3v3h4v3H9v2h1v3H7v-1H4v1H1V8h1V6H0V3h4z'/%3E%3Cpath fill='%23ffd23f' d='M5 1h1v3h4v1H8v3h1v1H7V8H4v1H2V8h1V5H1V4h4z'/%3E%3Crect x='5' y='1' width='1' height='3' fill='%23fff3b0'/%3E%3C/svg%3E"); }
.i-ticket { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Cpath fill='%232b2b2b' d='M0 2h10v2H9v2h1v2H0V6h1V4H0z'/%3E%3Cpath fill='%23ed1c24' d='M1 3h8v1H8v2h1v1H1V6h1V4H1z'/%3E%3Crect x='6' y='3' width='1' height='4' fill='%23fffdf7'/%3E%3Crect x='3' y='4' width='2' height='2' fill='%23ffe066'/%3E%3C/svg%3E"); }
.i-book { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' shape-rendering='crispEdges'%3E%3Crect x='1' y='0' width='8' height='10' fill='%232b2b2b'/%3E%3Crect x='2' y='1' width='6' height='8' fill='%237b3fa0'/%3E%3Crect x='2' y='1' width='1' height='8' fill='%23d5b061'/%3E%3Crect x='4' y='3' width='3' height='2' fill='%23fffdf7'/%3E%3Crect x='8' y='2' width='1' height='7' fill='%23fffdf7'/%3E%3C/svg%3E"); }

/* ---------- Rarity cards ---------- */
.section-wood {
  background:
    repeating-linear-gradient(180deg, transparent 0 46px, rgba(0,0,0,.28) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 140px, rgba(0,0,0,.12) 140px 142px),
    linear-gradient(var(--wood), var(--wood-d));
  border-block: 3px solid var(--line);
}
.on-dark, .on-dark p { color: #fff !important; text-shadow: 2px 2px 0 rgba(0,0,0,.55); }
.section-wood .eyebrow { background: var(--gold); color: var(--ink); text-shadow: none; }

.card-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tcard, .float-card {
  --c: #9aa3ad; --c2: #6c757d;
  position: relative;
  background: linear-gradient(160deg, #fff 0%, #f1f1f1 100%);
  border: 4px solid var(--line);
  box-shadow: inset 0 0 0 4px var(--c), 6px 6px 0 rgba(0,0,0,.35);
}
.tcard {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 12px 14px; text-align: center;
  transition: transform .2s ease;
}
.tcard:hover { transform: translateY(-8px) rotate(-1.5deg); }
.tc-tag, .fc-tag {
  font-size: .8rem; font-weight: 800; color: #fff; background: var(--c2);
  padding: 0 10px; border: 2px solid var(--line);
}
.tc-art, .fc-art {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1;
  font-size: 3.2rem; color: #fff;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, #fff), var(--c));
  border: 3px solid var(--line);
}
.fc-art { font-size: 3.6rem; text-shadow: 3px 3px 0 #8a6a18; }
.tc-name, .fc-name { font-weight: 800; }
.tc-meter { width: 100%; height: 10px; background: #ddd; border: 2px solid var(--line); }
.tc-meter i { display: block; height: 100%; width: var(--w); background: var(--c2); }

.rarity-common { --c: #a7b0b8; --c2: #6c757d; }
.rarity-uncommon { --c: #68c06a; --c2: #2e8b3a; }
.rarity-rare { --c: #4aa3ff; --c2: #1f6fd1; }
.rarity-epic { --c: #b77df0; --c2: #7b3fa0; }
.rarity-legendary { --c: #ffc93c; --c2: #c98a00; }
.rarity-legendary::after, .float-card::after {
  content: ""; position: absolute; inset: -4px; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.75) 45%, transparent 60%) -200% 0 / 250% 100% no-repeat;
  animation: shine 3.5s ease-in-out infinite;
}
.rarity-epic, .rarity-legendary { box-shadow: inset 0 0 0 4px var(--c), 6px 6px 0 rgba(0,0,0,.35), 0 0 28px 2px color-mix(in srgb, var(--c) 70%, transparent); }
.note { text-align: center; margin: 34px 0 0; font-weight: 600; }

/* ---------- Rewards ---------- */
.reward-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.reward { padding: 24px 20px; }
.reward .r-icon { margin: 0 0 14px; width: 56px; height: 56px; }
.reward h3 { font-size: 1.2rem; }
.reward p { color: var(--muted); margin: 0; }

/* ---------- Achievements ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.split-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.split-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.ach-list { display: grid; gap: 14px; }
.ach {
  --m: #cd7f32;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center;
  padding: 14px 18px; background: #fff; border: 3px solid var(--line);
  box-shadow: 5px 5px 0 rgba(0,0,0,.18);
}
.ach h3 { font-size: 1.05rem; margin: 0; }
.ach p { margin: 0; color: var(--muted); font-size: .95rem; }
.ach-medal {
  grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center;
  font-weight: 900; font-size: 1.3rem; color: #fff; background: var(--m);
  border: 3px solid var(--line);
  box-shadow: inset -4px -4px 0 rgba(0,0,0,.25), inset 4px 4px 0 rgba(255,255,255,.35);
  text-shadow: 2px 2px 0 rgba(0,0,0,.35);
}
.ach-bar { height: 10px; background: #e6e6e6; border: 2px solid var(--line); }
.ach-bar i { display: block; height: 100%; width: var(--w); background: var(--green); }
.tier-silver { --m: #9ea7b0; }
.tier-gold { --m: #e0a800; }
.tier-platinum { --m: #4b5563; }
.tier-platinum .ach-medal { background: repeating-linear-gradient(45deg, #4b5563 0 6px, #374151 6px 12px); }

/* ---------- Avatar / Referral ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { padding: 26px; text-align: center; }
.duo-card h3 { font-size: 1.3rem; }
.duo-card p { color: var(--muted); margin: 0; }
.avatars {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; padding: 12px;
  background: linear-gradient(var(--sky-1), var(--sky-2)); border: 3px solid var(--line);
}
.avatars img { width: 112px; }
.avatars img:last-child { animation: bob 3s ease-in-out infinite .6s; }
.avatars img:first-child { animation: bob 3s ease-in-out infinite; }
.invite-code {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 140px; margin-bottom: 14px; padding: 12px;
  background: repeating-linear-gradient(45deg, #fff6dd 0 12px, #fbecc3 12px 24px);
  border: 3px dashed var(--line);
}
.invite-code span { font-weight: 700; color: var(--muted); }
.invite-code b {
  direction: ltr; font-size: 1.7rem; letter-spacing: .12em; color: var(--red);
  font-family: ui-monospace, "Courier New", monospace;
}

/* ---------- Parents ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust li { padding: 24px; border-top-width: 8px; border-top-color: var(--green); }
.trust h3 { font-size: 1.15rem; }
.trust p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details { padding: 0; }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 16px 20px; padding-inline-end: 56px; font-weight: 800; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center;
  color: #fff; background: var(--green); border: 2px solid var(--line); font-weight: 900;
}
.faq details[open] summary::after { content: "−"; background: var(--red); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(70px, 10vw, 130px) 0 0;
  background: linear-gradient(180deg, var(--night-1), var(--night-2));
}
.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 10% 20%, #fff 99%, transparent),
    radial-gradient(2px 2px at 30% 60%, #fff 99%, transparent),
    radial-gradient(3px 3px at 55% 25%, #fff 99%, transparent),
    radial-gradient(2px 2px at 75% 50%, #fff 99%, transparent),
    radial-gradient(2px 2px at 88% 15%, #fff 99%, transparent),
    radial-gradient(2px 2px at 45% 75%, #fff 99%, transparent),
    radial-gradient(3px 3px at 20% 85%, #fff 99%, transparent),
    radial-gradient(2px 2px at 65% 10%, #fff 99%, transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
.moon { position: absolute; top: 40px; inset-inline-start: 9%; width: 72px; image-rendering: pixelated; }
.final-inner { position: relative; z-index: 2; padding-bottom: 110px; }
.final h2 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); text-shadow: 3px 3px 0 #000; }
.final p { font-size: 1.15rem; opacity: .9; }
.final-creeper {
  position: absolute; bottom: 70px; z-index: 2; width: 40px;
  inset-inline-end: 12%; image-rendering: pixelated;
  animation: creep 14s ease-in-out infinite;
}
.ground-night { filter: brightness(.55) saturate(.8); }

/* ---------- Footer ---------- */
.site-footer { background: #1b1e22; color: #d6d9dc; padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner .brand img { width: 120px; background: #fff; padding: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); text-decoration: underline; }
.copy { margin: 0; font-size: .9rem; opacity: .75; }

/* ---------- Animations ---------- */
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes float { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-14px); } }
@keyframes drift { from { inset-inline-start: 110%; } to { inset-inline-start: -30%; } }
@keyframes shine { 0%, 40% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }
@keyframes graze { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-40px); } }
@keyframes creep { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-140px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .card-row { grid-template-columns: repeat(3, 1fr); }
  .reward-grid, .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .steps .step::after { display: none; }
  .nav-links { display: none; }
  .site-header nav { margin-inline-start: auto; }
}
@media (max-width: 760px) {
  .hero-grid, .split, .duo, .trust { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-stage { min-height: 300px; }
  .hero-steve { width: 230px; inset-inline-start: 50%; transform: translateX(50%); animation: none; }
  .float-card { width: 118px; top: 0; inset-inline-end: 0; }
  .sun { width: 56px; height: 56px; top: 18px; }
  .cloud { opacity: .55; }
  .c2, .c3 { display: none; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-inline-start: 0; }
  .fact:nth-child(n+3) { border-top: 2px dashed rgba(255,255,255,.25); }
  .card-row { grid-template-columns: repeat(2, 1fr); }
  .card-row li:last-child { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
  .brand-text { display: none; }
}
@media (max-width: 520px) {
  .reward-grid, .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-sheep { width: 96px; }
}
