/* Practical PKM — Black Friday 2026 (8-bit edition) */

@font-face { font-family: 'SF Pro Display'; src: url('../assets/sf-pro-display-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SF Pro Display'; src: url('../assets/sf-pro-display-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'SF Pro Display'; src: url('../assets/sf-pro-display-heavy.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --bg: #000;
  --panel: #0D0919;
  --panel-2: #140F26;
  --line: #2B2346;
  --line-2: #3E3463;
  --text: #EEEAF7;
  --muted: #A39CB8;
  --dim: #6E6787;
  --purple: #C322FF;
  --blue: #2469FF;
  --s1: #C322FF; --s2: #A330FF; --s3: #833EFF; --s4: #644DFF; --s5: #445BFF; --s6: #2469FF;
  --grad: linear-gradient(90deg, #C322FF, #2469FF);
  --grad-step: linear-gradient(90deg, var(--s1) 0 16.667%, var(--s2) 16.667% 33.333%, var(--s3) 33.333% 50%, var(--s4) 50% 66.667%, var(--s5) 66.667% 83.333%, var(--s6) 83.333% 100%);
  --pixel: 'Press Start 2P', ui-monospace, Menlo, monospace;
  --sans: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --notch-1: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
  --notch-2: polygon(0 8px, 4px 8px, 4px 4px, 8px 4px, 8px 0, calc(100% - 8px) 0, calc(100% - 8px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 4px) calc(100% - 8px), calc(100% - 4px) calc(100% - 4px), calc(100% - 8px) calc(100% - 4px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 8px), 0 calc(100% - 8px));
  --wrap: 1160px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- state switching (pre / live / over) ---------- */
body[data-state="pre"] [data-show]:not([data-show~="pre"]),
body[data-state="live"] [data-show]:not([data-show~="live"]),
body[data-state="over"] [data-show]:not([data-show~="over"]) { display: none !important; }

/* ---------- starfield ---------- */
.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.star { position: absolute; width: 2px; height: 2px; background: #fff; opacity: .35; animation: twinkle 3.2s steps(2, jump-none) infinite; }
.star.big { width: 4px; height: 4px; }
@keyframes twinkle { 0%, 60% { opacity: var(--o, .35); } 80% { opacity: .05; } 100% { opacity: var(--o, .35); } }
main, header, footer { position: relative; z-index: 1; }

/* ---------- pixel type ---------- */
.px { font-family: var(--pixel); font-weight: 400; letter-spacing: 0; line-height: 1.5; text-transform: uppercase; }
.eyebrow { font-family: var(--pixel); font-size: 12px; color: var(--purple); letter-spacing: .02em; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 8px; height: 8px; background: var(--purple); box-shadow: 4px 4px 0 var(--blue); flex: none; }
.center .eyebrow { justify-content: center; }
.grad-text { background: var(--grad-step); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title { font-weight: 800; font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -0.02em; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 18px; max-width: 640px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- pixel boxes ---------- */
.pbox { clip-path: var(--notch-2); background: var(--line); padding: 4px; }
.pbox > .pbox-in { clip-path: var(--notch-1); background: var(--panel); height: 100%; }
.pbox.is-grad { background: var(--grad-step); }

/* ---------- buttons ---------- */
.btn { display: inline-block; text-decoration: none; filter: drop-shadow(4px 4px 0 var(--blue)); transition: filter .12s steps(2), transform .12s steps(2); cursor: pointer; border: 0; background: none; padding: 0; }
.btn-face {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  clip-path: var(--notch-1);
  background: var(--purple);
  color: #fff;
  font-family: var(--pixel); font-size: 13px; line-height: 1.4; text-transform: uppercase;
  padding: 18px 22px 16px;
  box-shadow: inset 0 4px 0 rgba(255,255,255,.28), inset 0 -4px 0 rgba(0,0,0,.28);
  white-space: nowrap;
}
.chip::before, .chip::after { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--purple); vertical-align: 2px; }
.chip::before { margin-right: 10px; }
.chip::after { margin-left: 10px; background: var(--blue); }
.btn:hover { transform: translate(-2px, -2px); filter: drop-shadow(6px 6px 0 var(--blue)); }
.btn:active { transform: translate(4px, 4px); filter: drop-shadow(0 0 0 var(--blue)); }
.btn.block { display: block; }
.btn.small .btn-face { font-size: 11px; padding: 13px 16px 11px; }
.btn.ghost { filter: drop-shadow(4px 4px 0 var(--line-2)); }
.btn.ghost .btn-face { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 4px var(--line-2); }
.btn.is-locked { filter: drop-shadow(4px 4px 0 var(--line-2)); }
.btn.is-locked .btn-face { background: var(--panel-2); color: var(--muted); box-shadow: inset 0 0 0 4px var(--line-2); }
.btn.is-locked:hover .btn-face { color: #fff; box-shadow: inset 0 0 0 4px var(--purple); }
.btn .lock { display: inline-block; width: 16px; height: 14px; flex: none; }
.btn .lock svg { width: 100%; height: 100%; }
.btn-face > span { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- top HUD bar ---------- */
.hud {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hud::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-step); }
.hud .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.hud-logo img { height: 26px; width: auto; }
.hud-right { display: flex; align-items: center; gap: 18px; }
.hud-timer { font-family: var(--pixel); font-size: 11px; color: var(--muted); white-space: nowrap; }
.hud-timer b { color: #fff; font-weight: 400; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.035) 0 1px, transparent 1px 4px);
}
.hero::before {
  content: ''; position: absolute; left: 50%; top: -260px; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(195,34,255,.22), rgba(36,105,255,.10) 55%, transparent 75%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.chip {
  display: inline-block; font-family: var(--pixel); font-size: 11px; color: #fff;
  background: var(--panel-2); clip-path: var(--notch-1); padding: 10px 14px 9px;
  box-shadow: inset 0 0 0 4px var(--line-2); margin-bottom: 26px;
}
.title {
  font-family: var(--pixel); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 7.2vw, 84px); line-height: 1.12; margin: 0 0 26px;
  filter: drop-shadow(4px 4px 0 #3D0F70) drop-shadow(4px 4px 0 #0B1F63);
}
.title span { display: block; background: var(--grad-step); -webkit-background-clip: text; background-clip: text; color: transparent; }
.headline { line-height: 1.15; font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; margin: 0 0 14px; }
.lede { color: var(--muted); font-size: 19px; max-width: 540px; margin-bottom: 30px; }
.lede strong { color: var(--text); font-weight: 700; }

/* countdown */
.timer { display: inline-block; }
.timer .pbox-in { padding: 16px 20px 14px; background: #07050E; }
.timer-label { font-family: var(--pixel); font-size: 10px; color: var(--purple); margin-bottom: 12px; }
.timer-digits { display: flex; gap: 6px; align-items: flex-start; }
.timer-unit { text-align: center; }
.timer-unit b { display: block; font-family: var(--pixel); font-weight: 400; font-size: 30px; line-height: 1; color: #fff; min-width: 2.1ch; }
.timer-unit small { display: block; font-family: var(--pixel); font-size: 8px; color: var(--dim); margin-top: 10px; }
.timer-sep { font-family: var(--pixel); font-size: 26px; line-height: 1.1; color: var(--line-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* title-screen menu */
.menu .pbox-in { background: #07050E; }
.menu-head { background: var(--grad-step); color: #fff; font-family: var(--pixel); font-size: 11px; padding: 14px 18px 12px; display: flex; justify-content: space-between; gap: 12px; }
.menu-head span:last-child { opacity: .8; }
.menu-list { list-style: none; margin: 0; padding: 10px; }
.menu-item a {
  display: grid; grid-template-columns: 20px 58px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 12px 12px; text-decoration: none; clip-path: var(--notch-1);
}
.menu-item a:hover, .menu-item a:focus-visible, .menu-item.is-active a { background: var(--panel-2); outline: none; }
.menu-cursor { width: 12px; height: 21px; opacity: 0; }
.menu-item a:hover .menu-cursor, .menu-item a:focus-visible .menu-cursor, .menu-item.is-active a .menu-cursor { opacity: 1; animation: nudge .6s steps(2) infinite; }
@keyframes nudge { 50% { transform: translateX(3px); } }
.menu-art svg { width: 58px; height: auto; }
.menu-name { display: block; font-weight: 700; font-size: 18px; line-height: 1.2; color: #fff; }
.menu-why { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.menu-price { text-align: right; font-family: var(--pixel); }
.menu-price s { display: block; font-size: 10px; color: var(--dim); }
.menu-price b { display: block; font-weight: 400; font-size: 18px; color: #fff; margin-top: 6px; }
.menu-price em { display: block; font-style: normal; font-size: 8px; color: var(--muted); margin-top: 6px; }
.menu-foot { border-top: 4px solid var(--line); padding: 14px 22px 16px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.menu-foot a { color: #fff; }

.press-start { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-family: var(--pixel); font-size: 12px; color: #fff; text-decoration: none; animation: blink 1.1s steps(1) infinite; }

/* game over */
.over-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* ---------- divider ---------- */
.divider { height: 8px; background: var(--grad-step); -webkit-mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 16px); mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 16px); opacity: .7; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-head { margin-bottom: 52px; }

/* ---------- collection ---------- */
.collection-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.seg { display: flex; gap: 10px; flex-wrap: wrap; }
.seg button { font-family: var(--pixel); font-size: 11px; color: var(--muted); background: var(--panel-2); border: 0; clip-path: var(--notch-1); padding: 14px 16px 12px; cursor: pointer; box-shadow: inset 0 0 0 4px var(--line); }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { color: #fff; background: var(--purple); box-shadow: inset 0 4px 0 rgba(255,255,255,.25), inset 0 -4px 0 rgba(0,0,0,.25); }
.counter { font-family: var(--pixel); font-size: 12px; color: var(--muted); }
.counter b { color: #fff; font-weight: 400; }
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.slot { font: inherit; color: inherit; text-align: left; border: 0; width: 100%; cursor: pointer; position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; background: var(--panel); clip-path: var(--notch-1); box-shadow: inset 0 0 0 4px var(--line); transition: opacity .2s steps(2); }
.slot .cart { width: 64px; height: auto; }
.slot-type { font-family: var(--pixel); font-size: 8px; color: var(--purple); margin-bottom: 6px; }
.slot-name { font-weight: 700; font-size: 15.5px; line-height: 1.25; color: #fff; }
.slot-desc { font-size: 13px; line-height: 1.35; color: var(--muted); margin-top: 4px; }
.slot-lock { position: absolute; top: 10px; right: 10px; display: none; align-items: center; gap: 6px; font-family: var(--pixel); font-size: 8px; color: var(--dim); }
.slot-lock svg { width: 12px; height: 11px; }
.slot.is-locked { box-shadow: inset 0 0 0 4px #1A1530; background: #08060F; }
.slot.is-locked .cart { filter: grayscale(1) brightness(.45); }
.slot.is-locked .slot-name, .slot.is-locked .slot-desc, .slot.is-locked .slot-type { color: var(--dim); }
.slot.is-locked .slot-lock { display: flex; }
.slot.just-unlocked { animation: flash .5s steps(2) 2; }
@keyframes flash { 50% { box-shadow: inset 0 0 0 4px var(--purple); } }
.collection-note { margin-top: 26px; font-size: 15px; color: var(--muted); }

/* ---------- continue ---------- */
.continue .pbox-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; padding: 44px 48px; background: #07050E; }
.continue-big { font-family: var(--pixel); text-align: center; }
.continue-big .q { font-size: clamp(22px, 3vw, 32px); color: #fff; display: block; }
.continue-big .n { display: block; font-size: 72px; line-height: 1.2; margin-top: 18px; background: var(--grad-step); -webkit-background-clip: text; background-clip: text; color: transparent; }
.continue h2 { font-weight: 800; font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.continue p { color: var(--muted); font-size: 18px; }
.continue p strong { color: #fff; }
.continue .small { font-size: 15px; margin: 0; }

/* ---------- testimonials ---------- */
.scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.score .pbox-in { padding: 30px 30px 26px; display: flex; flex-direction: column; }
.score-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.score-q { font-family: var(--pixel); font-size: 28px; line-height: 1; color: var(--purple); }
.score-tag { font-family: var(--pixel); font-size: 8px; color: var(--muted); background: var(--panel-2); clip-path: var(--notch-1); padding: 7px 9px 6px; box-shadow: inset 0 0 0 3px var(--line); }
.score blockquote { margin: 0 0 22px; font-size: 19px; line-height: 1.5; font-style: italic; color: var(--text); flex: 1; }
.score cite { font-style: normal; font-weight: 700; font-size: 15px; color: #fff; }
.score cite span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { margin-bottom: 14px; background: var(--panel); clip-path: var(--notch-1); box-shadow: inset 0 0 0 4px var(--line); }
.faq details[open] { box-shadow: inset 0 0 0 4px var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--pixel); font-size: 16px; color: var(--purple); flex: none; }
.faq details[open] summary::after { content: '-'; }
.faq .a { padding: 0 26px 22px; color: var(--muted); }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- final CTA ---------- */
.final .pbox-in { padding: 64px 32px; text-align: center; background: radial-gradient(closest-side, rgba(195,34,255,.18), transparent 85%), #07050E; }
.final .px-line { font-family: var(--pixel); font-size: 12px; color: var(--purple); margin-bottom: 18px; }
.final-btns { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- footer ---------- */
.foot { padding: 48px 0 56px; border-top: 4px solid var(--line); margin-top: 0; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot img { height: 24px; width: auto; }
.foot nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot small { color: var(--dim); font-size: 13px; }

/* ---------- HUD nav ---------- */
.hud-nav { display: flex; gap: 24px; font-family: var(--pixel); font-size: 10px; }
.hud-nav a { color: var(--muted); text-decoration: none; }
.hud-nav a:hover { color: #fff; }

/* ---------- holiday lights ---------- */
.lights { position: absolute; left: 0; right: 0; top: 0; height: 30px; overflow: hidden; pointer-events: none; z-index: 2; }
.lights svg { height: 30px; width: auto; max-width: none; }
.lights .blink-a { animation: lightsA 1.6s steps(1) infinite; }
.lights .blink-b { animation: lightsB 1.6s steps(1) infinite; }
@keyframes lightsA { 50% { opacity: .3; } }
@keyframes lightsB { 0% { opacity: .3; } 50% { opacity: 1; } }
.hero { padding-top: 104px; }

/* ---------- deal levels ---------- */
.level { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; padding: 64px 0 72px; }
.level + .level { border-top: 4px solid var(--line); }
.level.flip .level-art { order: 2; }
.level-art { position: sticky; top: 108px; }
.gamebox { --gbw: 280px; position: relative; width: 380px; max-width: 100%; height: 400px; margin: 0 auto; }
.gb-box { position: absolute; left: 0; top: 0; width: var(--gbw); z-index: 1; filter: drop-shadow(10px 10px 0 #160F2B); }
.gb-box .pbox-in { display: flex; flex-direction: column; aspect-ratio: 7 / 9; background: radial-gradient(closest-side at 50% 60%, rgba(131,62,255,.32), transparent 85%), #07050E; }
.gb-top { display: flex; justify-content: space-between; font-family: var(--pixel); font-size: 9px; color: #fff; background: var(--grad-step); padding: 11px 12px 9px; }
.gb-title { font-family: var(--pixel); text-transform: uppercase; font-size: 30px; line-height: 1.2; color: #fff; padding: 22px 18px 0; filter: drop-shadow(3px 3px 0 #3D0F70); }
.gb-title.small { font-size: 23px; }
.gb-art { flex: 1; display: grid; place-items: center; padding: 8px; }
.gb-art svg { width: 120px; height: auto; }
.gb-foot { display: flex; justify-content: space-between; align-items: center; font-family: var(--pixel); font-size: 8px; color: var(--muted); padding: 11px 12px 10px; border-top: 4px solid var(--line); }
.gb-foot .lives { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.gb-foot .lives svg { width: 14px; height: 12px; }
.gb-foot .lives .inf svg { width: 18px; height: 10px; }
.gb-cart { position: absolute; right: 0; top: 70px; z-index: 0; }
.gb-cart svg { width: 150px; height: auto; animation: peek 2.4s steps(2) infinite; }
@keyframes peek { 50% { transform: translateX(6px); } }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { font-family: var(--pixel); font-size: 9px; color: var(--muted); background: var(--panel-2); clip-path: var(--notch-1); padding: 9px 10px 8px; box-shadow: inset 0 0 0 3px var(--line); }
.tag.hot { color: #fff; background: var(--purple); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
.level-name { font-weight: 800; font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.02em; margin-bottom: 10px; }
.level-tagline { font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 14px; line-height: 1.35; }
.level-desc { font-size: 18px; color: var(--muted); }
.level-desc em { color: #fff; }
.grid-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.grid-list li, .bullets li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.45; }
.grid-list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--purple); box-shadow: 2px 2px 0 var(--blue); }
.levels { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 10px; }
.levels li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--panel); clip-path: var(--notch-1); box-shadow: inset 0 0 0 4px var(--line); padding: 14px 18px; font-size: 15px; color: var(--muted); line-height: 1.4; }
.levels b { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.lv { font-family: var(--pixel); font-size: 11px; color: var(--purple); }

.quote { margin: 0 0 30px; padding: 22px 24px 20px; background: var(--panel); clip-path: var(--notch-1); box-shadow: inset 4px 0 0 var(--purple), inset 0 0 0 4px var(--line); }
.quote blockquote { margin: 0 0 16px; font-size: 17px; line-height: 1.55; font-style: italic; color: var(--text); }
.quote figcaption, .wall-card figcaption { display: flex; align-items: center; gap: 12px; }
.quote b, .wall-card b { display: block; font-size: 15px; color: #fff; }
.quote small, .wall-card small { display: block; font-size: 13px; color: var(--muted); }
.avatar { flex: none; width: 40px; height: 40px; display: grid; place-items: center; font-family: var(--pixel); font-size: 10px; color: #fff; background: var(--grad-step); clip-path: var(--notch-1); }

.buy { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; padding: 24px 0; border-top: 4px solid var(--line); border-bottom: 4px solid var(--line); margin-bottom: 34px; }
.buy .price, .boss-buy .price { margin: 0; align-items: center; }
.price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price b { font-family: var(--pixel); font-weight: 400; font-size: 40px; line-height: 1.1; background: var(--grad-step); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(3px 3px 0 #2B1065); }
.price s { font-family: var(--pixel); font-size: 15px; color: var(--dim); text-decoration: none; position: relative; }
.price s::after { content: ''; position: absolute; left: -3px; right: -3px; top: 50%; height: 4px; margin-top: -3px; background: var(--purple); }
.price .save { font-family: var(--pixel); font-size: 10px; color: #EBD3FF; }
.buy-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.more-link { font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.more-link:hover { color: #fff; }

/* receipt: thermal paper with pixel perforations */
.receipt { position: relative; background: #F3EEFB; color: #1A1530; padding: 26px 26px 24px; margin: 8px 0 24px; }
.receipt::before, .receipt::after { content: ''; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, #F3EEFB 0 8px, transparent 8px 16px); }
.receipt::before { top: -8px; }
.receipt::after { bottom: -8px; }
.receipt-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--pixel); font-size: 14px; padding-bottom: 16px; margin-bottom: 18px; background: repeating-linear-gradient(90deg, #1A1530 0 6px, transparent 6px 12px) bottom / 100% 3px no-repeat; }
.receipt-title span { font-size: 9px; color: #6E6787; text-align: right; }
.receipt-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--pixel); font-size: 9px; color: #6E6787; margin: 6px 0 8px; }
.receipt-lines { list-style: none; padding: 0; margin: 0 0 4px; }
.receipt-lines li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 2px dotted #CFC6E2; font-size: 15.5px; line-height: 1.35; }
.receipt-lines li small { display: block; font-size: 13px; color: #6E6787; margin-top: 3px; }
.receipt-lines b { font-family: var(--pixel); font-weight: 400; font-size: 12px; white-space: nowrap; text-align: right; }
.receipt-lines b.muted { font-size: 9px; color: #8C86A3; }
.ri svg { width: 28px; height: 28px; }
.ri:empty { width: 28px; }
.receipt-total { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0 12px; font-weight: 700; font-size: 16px; }
.receipt-total b { font-family: var(--pixel); font-weight: 400; font-size: 15px; }
.receipt-today { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 6px; padding: 16px 18px 15px; background: #1A1530; color: #fff; clip-path: var(--notch-1); font-weight: 700; font-size: 16px; line-height: 1.3; }
.receipt-today b { font-family: var(--pixel); font-weight: 400; font-size: 22px; background: var(--grad-step); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.included { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); margin: 18px 0 0; }
.included svg { width: 18px; height: 15px; }

/* ---------- final level (Library Lifetime) ---------- */
.boss {
  position: relative; padding: 128px 0 112px;
  background-color: #06040D;
  background-image: linear-gradient(rgba(131,62,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(131,62,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
  border-top: 4px solid var(--line); border-bottom: 4px solid var(--line);
}
.boss-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.boss-left { position: sticky; top: 108px; }
.boss-buy { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 12px; text-align: center; }
.center-chips { justify-content: center; margin: 0; }
.boss-buy .price b { font-size: 56px; }
.payoff { margin-top: 40px; }
.payoff .pbox-in { padding: 26px 28px 24px; background: #0B0817; }
.payoff-title { font-family: var(--pixel); font-size: 11px; color: #fff; margin-bottom: 20px; }
.payoff-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 76px; gap: 14px; align-items: center; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.payoff-row b { font-family: var(--pixel); font-weight: 400; font-size: 11px; color: var(--muted); text-align: right; }
.bar { height: 16px; background: #15102A; }
.bar i { display: block; height: 100%; width: var(--w); background: #4A4460; -webkit-mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 16px); mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 16px); }
.payoff-row.is-life { color: #fff; font-weight: 700; }
.payoff-row.is-life b { color: #fff; }
.payoff-row.is-life i { background: var(--grad-step); }
.payoff-note { margin: 16px 0 0; font-size: 15px; color: var(--text); }
.collection { margin-top: 112px; }
.section-title.smaller { font-size: clamp(26px, 3.4vw, 38px); }
.boss-quote { max-width: 760px; margin: 72px auto 0; }

/* ---------- testimonial wall ---------- */
.wall { columns: 3 300px; column-gap: 22px; }
.wall-card { break-inside: avoid; margin: 0 0 22px; padding: 24px 24px 22px; background: var(--panel); clip-path: var(--notch-1); box-shadow: inset 0 0 0 4px var(--line); }
.wall-card .score-tag { display: inline-block; margin-bottom: 14px; }
.wall-card blockquote { margin: 0 0 18px; font-size: 16.5px; line-height: 1.55; font-style: italic; color: var(--text); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 72px; align-items: center; }
.about-photo { text-align: center; }
.about-copy p:not(.eyebrow) { font-size: 18px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.stat { background: var(--panel); clip-path: var(--notch-1); box-shadow: inset 0 0 0 4px var(--line); padding: 18px 14px 16px; }
.stat b { display: block; font-family: var(--pixel); font-weight: 400; font-size: 17px; margin-bottom: 10px; background: var(--grad-step); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; font-size: 13px; line-height: 1.3; color: var(--muted); }

/* ---------- final CTA extras ---------- */
.final .pbox-in { position: relative; padding-top: 84px; }
.final-carts { display: flex; justify-content: center; gap: 28px; margin: 26px 0 6px; }
.final-carts svg { width: 84px; height: auto; animation: bob 1.6s steps(2) infinite; }
.final-carts span:nth-child(2) svg { animation-delay: -.5s; }
.final-carts span:nth-child(3) svg { animation-delay: -1s; }
@keyframes bob { 50% { transform: translateY(-6px); } }


/* ---------- collection slots as buttons ---------- */
.slot-text { display: block; }
.slot-text > span { display: block; }
.slot-info { position: absolute; right: 10px; bottom: 10px; font-family: var(--pixel); font-size: 8px; color: var(--muted); opacity: 0; transition: opacity .15s steps(2); }
.slot:hover, .slot:focus-visible { box-shadow: inset 0 0 0 4px var(--purple); outline: none; }
.slot:hover .slot-info, .slot:focus-visible .slot-info { opacity: 1; color: #fff; }
.slot.is-locked:hover { box-shadow: inset 0 0 0 4px var(--line-2); }
.slot.is-locked .slot-info { display: none; }

/* ---------- game-info popup ---------- */
.gameinfo { padding: 0; border: 0; background: transparent; color: var(--text); width: min(820px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow: visible; }
.gameinfo::backdrop { background: rgba(3, 1, 10, .82); backdrop-filter: blur(3px); }
.gameinfo.pop .pbox { animation: popin .22s steps(3); }
@keyframes popin { from { transform: scale(.88); opacity: 0; } to { transform: none; opacity: 1; } }
.gameinfo > .pbox { filter: drop-shadow(10px 10px 0 #160F2B); }
.gameinfo .pbox-in { background: #07050E; max-height: calc(100dvh - 40px); overflow: auto; }
.g-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--grad-step); color: #fff; font-family: var(--pixel); font-size: 11px; padding: 10px 10px 10px 18px; }
.g-head i { font-style: normal; opacity: .75; margin-left: 10px; }
.g-close { font-family: var(--pixel); font-size: 12px; color: #fff; background: rgba(0,0,0,.35); border: 0; clip-path: var(--notch-1); width: 36px; height: 32px; cursor: pointer; }
.g-close:hover { background: rgba(0,0,0,.6); }
.g-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 34px; padding: 34px 36px 36px; }
.g-art { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.g-cart { width: 100%; display: grid; place-items: center; padding: 28px 0; background: radial-gradient(closest-side, rgba(131,62,255,.35), transparent 85%); }
.g-cart svg { width: 168px; height: auto; animation: bob 1.6s steps(2) infinite; }
.g-nav { display: flex; gap: 10px; }
.g-nav button { font-size: 14px; color: var(--muted); background: var(--panel-2); border: 0; clip-path: var(--notch-1); box-shadow: inset 0 0 0 4px var(--line); width: 52px; height: 40px; cursor: pointer; }
.g-nav button:hover { color: #fff; box-shadow: inset 0 0 0 4px var(--purple); }
.g-type { font-family: var(--pixel); font-size: 10px; color: var(--purple); margin: 0 0 12px; }
.g-name { font-weight: 800; font-size: 30px; letter-spacing: -0.01em; color: #fff; margin-bottom: 8px; }
.g-desc { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.g-bullets { list-style: none; padding: 0; margin: 0 0 24px; }
.g-bullets li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 15.5px; line-height: 1.45; }
.g-bullets li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--purple); box-shadow: 2px 2px 0 var(--blue); }
.g-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 16px 0; border-top: 4px solid var(--line); border-bottom: 4px solid var(--line); margin-bottom: 18px; }
.g-price-lbl { font-family: var(--pixel); font-size: 9px; color: var(--dim); }
.g-price b { font-family: var(--pixel); font-weight: 400; font-size: 26px; background: var(--grad-step); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-price b.word { font-size: 15px; }
.g-price small { font-size: 14px; color: var(--muted); }
.g-unlock-lbl { font-family: var(--pixel); font-size: 9px; color: var(--dim); margin: 0 0 10px; }
.g-deals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.g-deal { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pixel); font-size: 9px; color: var(--dim); background: #0B0817; clip-path: var(--notch-1); box-shadow: inset 0 0 0 3px #1A1530; padding: 9px 11px 8px; }
.g-deal svg { width: 12px; height: 11px; opacity: .6; }
.g-deal.on { color: #fff; background: var(--panel-2); box-shadow: inset 0 0 0 3px var(--purple); }
.g-deal.on svg { width: 14px; height: 12px; opacity: 1; }
.g-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.g-ctas [hidden] { display: none !important; }
.g-ctas { flex-direction: column; align-items: stretch; gap: 14px; }
.g-ctas .btn-face { width: 100%; font-size: 11px; line-height: 1.6; white-space: normal; text-align: center; padding: 15px 16px 13px; }
.g-ctas .more-link { align-self: center; }
.g-note { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 680px) {
  .g-body { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px 26px; }
  .g-art { flex-direction: row; justify-content: space-between; }
  .g-cart { width: auto; padding: 8px 18px; }
  .g-cart svg { width: 96px; }
  .g-name { font-size: 24px; }
  .g-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .g-ctas .btn-face { width: 100%; white-space: normal; }
}


/* ---------- "take this" scene ---------- */
.quest-section { padding: 96px 0; }
.quest { max-width: 980px; margin: 0 auto; }
.quest .pbox-in { background: #07050E; }
.quest-stage { position: relative; height: 400px; overflow: hidden; background: radial-gradient(closest-side at 50% 70%, rgba(131,62,255,.25), transparent 80%), #07050E; }
.quest-line { position: absolute; left: 50%; top: 34px; transform: translateX(-50%); width: min(720px, 88%); margin: 0; text-align: center; font-family: var(--pixel); font-size: 18px; line-height: 1.7; color: #fff; min-height: 3.4em; z-index: 3; }
.quest-line .caret { display: inline-block; width: 12px; height: 18px; margin-left: 4px; vertical-align: -2px; background: var(--purple); animation: blink 1s steps(1) infinite; }
.quest-shelves { position: absolute; left: 0; right: 0; top: 128px; height: 96px; background-repeat: repeat-x; background-size: 96px 96px; background-position: center top; opacity: .22; }
.quest-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; border-top: 4px solid var(--line-2); background-color: #0D0919; background-image: linear-gradient(90deg, rgba(131,62,255,.25) 4px, transparent 4px), linear-gradient(rgba(131,62,255,.18) 4px, transparent 4px); background-size: 48px 48px; }
.quest-mike { position: absolute; bottom: 76px; left: calc(50% - 150px); z-index: 2; }
.quest-mike svg { width: 96px; height: 156px; }
.quest-item { position: absolute; bottom: 76px; left: calc(50% + 50px); width: 84px; z-index: 2; }
.quest-chest svg { width: 80px; height: 80px; margin: 0 auto 6px; animation: bob 1.4s steps(2) infinite; filter: drop-shadow(0 0 14px rgba(195,34,255,.65)); }
.quest-ped svg { width: 84px; height: 36px; }
.spark { position: absolute; }
.spark svg { width: 15px; height: 15px; }
.spark.s1 { left: -16px; top: 4px; animation: sparkle 1.2s steps(2) infinite; }
.spark.s2 { right: -14px; top: 30px; animation: sparkle 1.2s steps(2) -.4s infinite; }
.spark.s3 { left: 30px; top: -22px; animation: sparkle 1.2s steps(2) -.8s infinite; }
@keyframes sparkle { 50% { opacity: .15; } }
.quest-box { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 22px; align-items: start; padding: 26px 30px 30px; border-top: 4px solid var(--line); }
.quest-avatar { clip-path: var(--notch-1); background: var(--grad-step); padding: 4px; }
.quest-avatar img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; clip-path: var(--notch-1); }
.quest-who { font-family: var(--pixel); font-size: 12px; color: var(--purple); margin-bottom: 10px; }
.quest-text p:not(.quest-who) { font-size: 18px; color: var(--text); }
.quest-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- portraits + name tags ---------- */
.portrait { clip-path: var(--notch-2); background: var(--grad-step); padding: 4px; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; clip-path: var(--notch-1); }
.nametag { position: relative; top: -14px; display: inline-block; font-family: var(--pixel); font-size: 10px; color: #fff; background: var(--purple); clip-path: var(--notch-1); padding: 9px 12px 8px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }

@media (max-width: 680px) {
  .quest-section { padding: 64px 0; }
  .quest-stage { height: 340px; }
  .quest-line { font-size: 13px; top: 24px; }
  .quest-line .caret { width: 9px; height: 13px; }
  .quest-shelves { top: 112px; background-size: 72px 72px; height: 72px; }
  .quest-floor { height: 72px; }
  .quest-mike { bottom: 60px; left: calc(50% - 110px); }
  .quest-mike svg { width: 72px; height: 117px; }
  .quest-item { bottom: 60px; left: calc(50% + 30px); width: 70px; }
  .quest-chest svg { width: 64px; height: 64px; }
  .quest-ped svg { width: 70px; height: 30px; }
  .quest-box { grid-template-columns: 1fr; gap: 14px; padding: 22px 18px 24px; }
  .quest-avatar { width: 56px; }
  .quest-text p:not(.quest-who) { font-size: 16px; }
  .quest-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .quest-ctas .btn-face { width: 100%; }
}


/* ---------- holiday: snow + Christmas sprites ---------- */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 45; }
.capped { position: relative; }
.quest-wrap { max-width: 980px; margin: 0 auto; }
.quest-wrap .quest { max-width: none; }
.snowcap { position: absolute; left: 0; right: 0; top: -18px; height: 24px; background-image: var(--snowcap); background-repeat: repeat-x; background-size: 48px 24px; z-index: 3; pointer-events: none; }
.gamebox .snowcap { width: var(--gbw); right: auto; z-index: 4; }
.hero { padding-bottom: 150px; }
.hero-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: 1; pointer-events: none; }
.hero-ground::before { content: ''; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 30px; background-image: var(--drift); background-repeat: repeat-x; background-size: 96px 30px; }
.hg { position: absolute; z-index: 3; bottom: 8px; }
.hg svg { display: block; }
.hg-tree1, .hg-tree2 { bottom: 4px; }
.hg-tree1 svg, .hg-tree2 svg { width: 72px; height: 72px; }
.hg-gift1 svg, .hg-gift2 svg { width: 40px; height: 30px; }
.hg-snowman svg { width: 48px; height: 56px; }
.hg-tree1 { left: 3%; }
.hg-gift1 { left: calc(3% + 78px); }
.hg-gift2 { left: calc(3% + 124px); }
.hg-snowman { right: calc(3% + 92px); }
.hg-tree2 { right: 3%; }
.final-carts { align-items: flex-end; }
@media (max-width: 680px) {
  .hero { padding-bottom: 120px; }
  .hg-tree2, .hg-gift2 { display: none; }
  .hg-tree1 svg { width: 56px; height: 56px; }
  .hg-gift1 { left: calc(3% + 62px); }
  .hg-snowman { right: 5%; }
  .final-carts { gap: 10px; }
  .final-carts svg { width: 56px; }
}
@media (prefers-reduced-motion: reduce) { .snow { display: none; } }


/* ---------- rare item: Library Lifetime exclusivity ---------- */
.rare { max-width: 780px; margin: -16px auto 64px; display: flex; align-items: center; gap: 18px; padding: 20px 24px; background: #0B0817; clip-path: var(--notch-1); box-shadow: inset 0 0 0 4px var(--purple); }
.rare-tag { flex: none; font-family: var(--pixel); font-size: 10px; color: #fff; background: var(--grad-step); clip-path: var(--notch-1); padding: 10px 11px 9px; animation: blink 1.4s steps(1) infinite; }
.rare p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--muted); }
.rare p strong { color: #fff; }
@media (max-width: 680px) { .rare { flex-direction: column; align-items: flex-start; gap: 12px; margin: -8px auto 48px; padding: 18px; } }


/* ---------- winter scene at the very bottom ---------- */
.winter { position: relative; z-index: 1; height: 310px; overflow: hidden; pointer-events: none; }
.winter::after { content: ''; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 30px; background-image: var(--drift); background-repeat: repeat-x; background-size: 96px 30px; }
.winter svg { display: block; }
.w-moon { position: absolute; top: 26px; right: 12%; }
.w-moon svg { width: 72px; height: 72px; filter: drop-shadow(0 0 18px rgba(235, 211, 255, .35)); }
.w-sleigh { position: absolute; top: 118px; left: 0; animation: fly 20s linear infinite; }
.w-sleigh::before { content: ''; position: absolute; left: -10px; top: 40px; width: 4px; height: 4px; background: #fff; box-shadow: -16px 6px 0 rgba(255,255,255,.7), -34px 2px 0 rgba(255,255,255,.5), -52px 9px 0 rgba(255,255,255,.3), -70px 4px 0 rgba(255,255,255,.15); animation: sparkle .8s steps(2) infinite; }
.w-sleigh-bob { animation: bob .9s steps(2) infinite; }
.w-sleigh-bob svg { width: 248px; height: 60px; }
@keyframes fly { 0% { transform: translateX(-300px); } 65% { transform: translateX(calc(100vw + 40px)); } 100% { transform: translateX(calc(100vw + 40px)); } }
.w-item { position: absolute; z-index: 3; bottom: 8px; }
.w-t1 { left: 4%; bottom: 4px; }
.w-t1 svg { width: 80px; height: 80px; }
.w-cabin { left: calc(4% + 96px); bottom: 6px; }
.w-cabin svg { width: 112px; height: 91px; }
.w-g1 { left: calc(4% + 222px); }
.w-g2 { left: calc(4% + 266px); }
.w-g1 svg, .w-g2 svg { width: 40px; height: 30px; }
.w-t2 { right: calc(4% + 196px); bottom: 6px; }
.w-t2 svg { width: 56px; height: 56px; }
.w-snowman { right: calc(4% + 108px); }
.w-snowman svg { width: 52px; height: 61px; }
.w-t3 { right: 4%; bottom: 4px; }
.w-t3 svg { width: 96px; height: 96px; }
@media (max-width: 680px) {
  .winter { height: 270px; }
  .w-moon { right: 8%; top: 20px; }
  .w-moon svg { width: 48px; height: 48px; }
  .w-sleigh { top: 104px; }
  .w-sleigh-bob .bubble { max-width: 250px; }
  .w-sleigh-bob svg { width: 186px; height: 45px; }
  .w-t2, .w-g2, .w-t3 { display: none; }
  .w-t1 svg { width: 56px; height: 56px; }
  .w-cabin { left: calc(4% + 64px); }
  .w-cabin svg { width: 80px; height: 65px; }
  .w-g1 { left: calc(4% + 152px); }
  .w-g1 svg { width: 32px; height: 24px; }
  .w-snowman { right: 6%; }
  .w-snowman svg { width: 40px; height: 47px; }
}
@media (prefers-reduced-motion: reduce) { .w-sleigh { left: 50%; transform: translateX(-50%); } }


/* ---------- Christmas easter eggs ---------- */
.w-sleigh-bob { position: relative; --u: 4px; }
.nose-glow { position: absolute; left: calc(59 * var(--u)); top: calc(5 * var(--u)); width: var(--u); height: var(--u); background: #FF3B4E; box-shadow: 0 0 8px 3px rgba(255, 59, 78, .75); animation: blink 1s steps(1) infinite; }
[data-icon="tree"] .tree-alt { position: absolute; left: 0; top: 0; width: 100% !important; height: 100% !important; animation: blink 1.3s steps(1) infinite; }
.smoke { position: absolute; left: 76%; top: 0; width: 0; height: 0; }
.smoke i { position: absolute; left: 0; top: 0; width: 8px; height: 8px; background: rgba(214, 222, 240, .75); opacity: 0; animation: smoke 3.6s steps(8) infinite; }
.smoke i:nth-child(2) { animation-delay: -1.2s; }
.smoke i:nth-child(3) { animation-delay: -2.4s; }
@keyframes smoke { 0% { opacity: .8; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(-18px, -54px) scale(1.8); } }
.w-snowman, .hg-snowman, .w-g1, .w-g2, .hg-gift1, .hg-gift2, .w-moon { pointer-events: auto; cursor: pointer; }
.bubble { position: absolute; right: 0; bottom: calc(100% + 12px); width: max-content; max-width: 230px; font-family: var(--pixel); font-size: 9px; line-height: 1.6; color: #0B0814; background: #fff; clip-path: var(--notch-1); padding: 9px 11px 8px; z-index: 5; animation: popin .2s steps(3); }
.reveal { position: absolute; left: 50%; translate: -50% 0; bottom: calc(100% + 8px); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; z-index: 6; animation: reveal 3.2s steps(16) forwards; }
.reveal-art svg { display: block; filter: drop-shadow(0 0 10px rgba(195, 34, 255, .55)); }
.reveal-line { width: max-content; max-width: 210px; text-align: center; font-family: var(--pixel); font-size: 9px; line-height: 1.6; color: #0B0814; background: #fff; clip-path: var(--notch-1); padding: 9px 11px 8px; }
.reveal-line small { display: block; margin-top: 4px; font-size: 7px; color: #8E1BC0; }
@keyframes reveal { 0% { opacity: 0; transform: translateY(14px) scale(.6); } 10% { opacity: 1; transform: none; } 85% { opacity: 1; transform: translateY(-6px); } 100% { opacity: 0; transform: translateY(-14px); } }
.hop { animation: hop .5s steps(4); }
@keyframes hop { 40% { transform: translateY(-16px); } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; z-index: 60; font-family: var(--pixel); font-size: 11px; color: #fff; background: var(--grad-step); clip-path: var(--notch-1); padding: 14px 18px 12px; transition: transform .3s steps(4); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.xmas { font-family: var(--pixel); font-size: 9px; color: var(--purple); margin-right: 16px; }
@media (max-width: 680px) { .w-sleigh-bob { --u: 3px; } .xmas { display: block; margin: 0 0 8px; } }


/* ---------- the elf (standing on the hero menu's snow cap) ---------- */
.elf-perch { position: absolute; right: 30px; bottom: calc(100% + 4px); z-index: 4; cursor: pointer; }
.elf-perch svg { display: block; width: 48px; height: 72px; animation: bob 1.2s steps(2) infinite; }
@media (max-width: 680px) { .elf-perch { right: 20px; } .elf-perch svg { width: 40px; height: 60px; } }
@media (max-width: 980px) { .hero-grid > .capped { margin-top: 56px; } }

/* ---------- clickable Santa ---------- */
.w-sleigh-bob { pointer-events: auto; cursor: pointer; }
.w-sleigh-bob .bubble { left: 12px; right: auto; max-width: 320px; }


/* ---------- clickable pixel Mike ---------- */
.quest-mike { cursor: pointer; }
.quest-mike .bubble { left: 0; right: auto; max-width: 280px; }
@media (max-width: 680px) { .quest-mike .bubble { max-width: 220px; } }


/* ---------- clickable chest ---------- */
.quest-item { pointer-events: auto; }
.quest-chest { position: relative; cursor: pointer; }
.quest-chest.is-open svg { animation: none; filter: drop-shadow(0 0 22px rgba(235, 211, 255, .9)); }
.burst { position: absolute; left: 50%; top: 40%; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; background: #fff; box-shadow: 0 0 6px #C322FF; animation: burst .6s steps(6) forwards; }
.burst i:nth-child(odd) { background: #EBD3FF; }
@keyframes burst { from { transform: translate(0, 0); opacity: 1; } to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }


/* ---------- "remind me" signup ---------- */
.remind-hero { margin-top: 22px; }
.signup-dlg { width: min(680px, calc(100% - 32px)); }
.s-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 30px; align-items: center; padding: 34px 34px 32px; }
.s-art { position: relative; display: grid; place-items: center; padding: 18px 0; background: radial-gradient(closest-side, rgba(131,62,255,.35), transparent 85%); }
.s-art .cart { width: 120px; height: auto; animation: bob 1.6s steps(2) infinite; }
.s-lock { position: absolute; right: 6px; bottom: 6px; }
.s-lock svg { width: 40px; height: 35px; filter: drop-shadow(3px 3px 0 #160F2B); }
.s-form { display: flex; gap: 12px; margin: 6px 0 12px; }
.s-form input[type="email"] { flex: 1; min-width: 0; font: 16px var(--sans); color: #fff; background: #0B0817; border: 0; clip-path: var(--notch-1); box-shadow: inset 0 0 0 4px var(--line-2); padding: 15px 16px; }
.s-form input[type="email"]:focus { outline: none; box-shadow: inset 0 0 0 4px var(--purple); }
.s-form .btn-face { height: 100%; }
.s-form .btn[disabled] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.s-status { min-height: 1.4em; margin: 0 0 6px; font-family: var(--pixel); font-size: 9px; line-height: 1.6; color: #EBD3FF; }
.s-fine { margin: 0; font-size: 13px; color: var(--dim); }
@media (max-width: 680px) {
  .s-body { grid-template-columns: 1fr; gap: 16px; padding: 22px 18px 24px; }
  .s-art .cart { width: 84px; }
  .s-form { flex-direction: column; }
  .remind-hero .btn, .remind-hero .btn-face { width: 100%; }
  .remind-hero .btn-face { font-size: 10px; padding-left: 10px; padding-right: 10px; }
  .remind-hero .btn-face > span { gap: 8px; }
}


.final-signup { max-width: 560px; margin: 36px auto 0; padding-top: 28px; border-top: 4px solid var(--line); text-align: left; }
.final-signup-lbl { margin: 0 0 12px; font-size: 17px; font-weight: 700; color: #fff; text-align: center; }
.final-signup .s-fine, .final-signup .s-status { text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .continue .pbox-in { grid-template-columns: 1fr; gap: 28px; text-align: center; padding: 36px 26px; }
  .scores { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hud .wrap { height: 60px; }
  .hud-logo img { height: 20px; }
  .hud-timer .lbl { display: none; }
  .hud .btn { display: none; }
  .hero { padding: 44px 0 64px; }
  .lede { font-size: 17px; }
  .timer .pbox-in { padding: 14px 14px 12px; }
  .timer-unit b { font-size: 22px; }
  .timer-sep { font-size: 18px; }
  .menu-head { font-size: 9px; padding: 12px 14px 10px; }
  .menu-list { padding: 6px; }
  .menu-item a { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 12px 8px; }
  .menu-cursor { display: none; }
  .menu-art svg { width: 44px; }
  .menu-name { font-size: 16px; }
  .menu-why { font-size: 13px; }
  .menu-price b { font-size: 14px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .btn-face { font-size: 12px; padding: 17px 14px 15px; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .slot { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; padding: 16px 10px 14px; }
  .slot .cart { width: 56px; }
  .slot-name { font-size: 14px; }
  .slot-desc { font-size: 12px; }
  .slot-lock { top: 8px; right: 8px; }
  .slot-lock { font-size: 0; gap: 0; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 13px 8px 11px; font-size: 9px; }
  .score .pbox-in { padding: 24px 22px 22px; }
  .score blockquote { font-size: 17px; }
  .faq summary { padding: 18px 20px; font-size: 16px; }
  .faq .a { padding: 0 20px 18px; }
  .final .pbox-in { padding: 48px 20px; }
  .final-btns .btn { width: 100%; }
}


/* ---------- responsive: new sections ---------- */
@media (max-width: 980px) {
  .hud-nav { display: none; }
  .level { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 56px; }
  .level.flip .level-art { order: 0; }
  .level-art, .boss-left { position: static; }
  .boss-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo .portrait { max-width: 260px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hero { padding-top: 76px; }
  .gamebox { width: 300px; height: 330px; }
  .gamebox { --gbw: 224px; }
  .gb-title { font-size: 24px; padding: 18px 14px 0; }
  .gb-title.small { font-size: 18px; }
  .gb-art svg { width: 96px; }
  .gb-cart { top: 56px; }
  .gb-cart svg { width: 118px; }
  .level-tagline { font-size: 19px; }
  .level-desc { font-size: 17px; }
  .grid-list { grid-template-columns: 1fr; }
  .levels li { grid-template-columns: 1fr; gap: 4px; }
  .buy { flex-direction: column; align-items: stretch; }
  .buy-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .buy-ctas .btn-face, .boss-buy .btn-face { width: 100%; }
  .boss-buy .btn { width: 100%; }
  .price b { font-size: 34px; }
  .receipt { padding: 22px 16px 20px; }
  .receipt-lines li { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; font-size: 14.5px; }
  .ri svg { width: 24px; height: 24px; }
  .receipt-title { font-size: 12px; }
  .receipt-today { font-size: 14px; padding: 14px; }
  .receipt-today b { font-size: 18px; }
  .boss { padding: 96px 0 80px; }
  .boss-buy .price b { font-size: 44px; }
  .payoff .pbox-in { padding: 22px 16px; }
  .payoff-row { grid-template-columns: 84px minmax(0, 1fr) 62px; gap: 10px; font-size: 13px; }
  .payoff-row b { font-size: 9px; }
  .collection { margin-top: 80px; }
  .about-copy p:not(.eyebrow) { font-size: 17px; }
  .stat b { font-size: 15px; }
  .final-carts svg { width: 64px; }
}

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