:root {
  --bg: #F7F5F0;
  --bg2: #EEEAE1;
  --card: #FFFFFF;
  --ink: #16181F;
  --ink2: #474B57;
  --ink3: #6B6F7B;
  --line: rgba(22, 24, 31, .12);
  --sky: #CDE5F4;
  --sky2: #E4EFF4;
  --purple: #480888;
  --brand: #480888;
  --orange: #F86000;
  --accent: var(--orange);
  --accent-2: var(--purple);
  --night: 0;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0E1016;
  --bg2: #151821;
  --card: #181B24;
  --ink: #F2F1EC;
  --ink2: #B9BCC6;
  --ink3: #8D919D;
  --line: rgba(255, 255, 255, .1);
  --sky: #070A18;
  --sky2: #0B0F20;
  --purple: #D7BEFF;
  --night: 1;
  color-scheme: dark;
}
html[data-theme="dark"] .btn.ghost { color: #F4EEFF; background: #2A1844; border-color: #D7BEFF; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
::selection { background: var(--accent); color: #16181F; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.kicker {
  font: 700 13px/1 "Pixelify Sans", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 12px 16px 0;
}
.nav {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border-radius: 18px;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(150%);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo { height: 36px; width: auto; display: block; }
.brand { color: var(--ink); }
.nav-links { display: flex; gap: 2px; margin-left: 8px; }
.nav-links a, .icon-btn, .menu-btn {
  padding: 9px 12px; border-radius: 10px; color: var(--ink2); font-weight: 600; font-size: 15px;
}
.nav-links a:hover, .icon-btn:hover { background: var(--line); color: var(--ink); }
.spacer { flex: 1; }
.icon-btn, .menu-btn {
  width: 38px; height: 38px; padding: 0; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
}
.menu-btn { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 12px;   border: 2px solid var(--brand);
  background: var(--orange); color: #fff; font-weight: 700; line-height: 1;
  box-shadow: 0 3px 0 var(--brand); cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--brand); color: #fff; }
.btn.ghost { background: var(--card); color: var(--brand); box-shadow: 0 3px 0 var(--brand); border-color: var(--brand); }
.btn.ghost:hover { color: var(--brand); }
.btn.big { padding: 17px 24px; border-radius: 14px; font-size: 18px; box-shadow: 0 5px 0 var(--brand); }
.btn.ghost.big { box-shadow: 0 5px 0 var(--brand); }

.hero {
  position: relative;
  margin-top: -74px;
  padding: 158px 0 40px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky2) 42%, var(--bg) 78%);
  overflow: hidden;
}
.clouds, .stars { position: absolute; inset: 0; pointer-events: none; }
.clouds { opacity: calc(1 - var(--night)); }
.stars { opacity: var(--night); }
.cloud { position: absolute; background: #fff; height: 22px; border-radius: 0; }
.cloud:before { content: ""; position: absolute; top: -12px; left: 18%; width: 42%; height: 16px; background: #fff; }
.star { position: absolute; width: 3px; height: 3px; background: #fff; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .2; } }
@keyframes drift { from { transform: translateX(-20vw); } to { transform: translateX(110vw); } }
.drift { animation: drift 90s linear infinite; }
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-weight: 650; font-size: 14px; color: var(--ink2);
}
.dot { width: 9px; height: 9px; border-radius: 2px; background: #1FB46B; box-shadow: 0 0 0 0 rgba(31,180,107,.6); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(31,180,107,0); } }
h1 {
  margin: 26px 0 0; max-width: 980px;
  font-size: clamp(42px, 6.4vw, 84px); line-height: .96; letter-spacing: -.045em; font-weight: 800;
}
h1 em {
  font-style: normal; font-family: "Pixelify Sans", monospace; color: var(--orange);
  text-shadow: .045em .05em 0 var(--purple);
}
.letter { display: inline-block; }
.gap { display: inline-block; width: .48em; }
.stairs {
  position: relative; width: min(980px, 100%); height: 248px; margin: 16px auto 0;
  pointer-events: none;
}
.stairs .plat:nth-child(1) { left: 0; top: 0; }
.stairs .plat:nth-child(2) { left: 70px; top: 62px; }
.stairs .plat:nth-child(3) { left: 210px; top: 28px; }
.stairs .plat:nth-child(4) { left: 150px; top: 124px; }
.stairs .plat:nth-child(5) { left: 60px; top: 186px; }
.climb {
  position: absolute; left: 0; top: 118px; z-index: 3;
  display: flex; flex-direction: column; gap: 54px;
  width: 100px; pointer-events: none;
}
.climb .plat { position: relative; width: 96px; }
.sub { margin: 22px 0 0; max-width: 680px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--ink2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.mail-line { margin-top: 18px; color: var(--ink3); font: 500 14px/1.4 "JetBrains Mono", monospace; }
.run-hint { margin: 8px 0 0; max-width: 460px; color: var(--ink3); font-size: 14px; }

.poster {
  width: min(980px, 100%);
  margin: 16px auto 12px;
  border: 2px solid #16181F;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--brand);
  background: #fff;
}
.poster img { display: block; width: 100%; height: auto; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg2); }
.track { display: flex; gap: 28px; width: max-content; padding: 14px 0; animation: slide 28s linear infinite; font: 700 14px/1 "Pixelify Sans", monospace; letter-spacing: .04em; text-transform: uppercase; }
@keyframes slide { to { transform: translateX(-50%); } }

section { padding: 96px 0; }
h2 { margin: 10px 0 0; font-size: clamp(34px, 4.6vw, 58px); line-height: .98; letter-spacing: -.04em; }
.lead { max-width: 640px; color: var(--ink2); font-size: 18px; line-height: 1.5; }

.grid3, .grid2 { display: grid; gap: 16px; margin-top: 56px; }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid2 { grid-template-columns: 1fr 1fr; }
.card, .step, .form-card {
  position: relative;
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
}
.card h3 { margin: 14px 0 8px; font-size: 26px; letter-spacing: -.03em; }
.card p, .card li { color: var(--ink2); line-height: 1.5; }
.card ul { margin: 0; padding-left: 18px; }
.swatch {
  position: relative;
  height: 120px; border-radius: 16px; border: 2px solid #16181F;
  display: grid; place-items: end start; padding: 12px; color: #16181F; font: 700 13px/1 "Pixelify Sans", monospace;
}
.swatch.a { background: linear-gradient(145deg, #FFC9A3, #F86000); color: #fff; }
.swatch.b { background: linear-gradient(160deg, #C9A6F0, #480888); color: #fff; }
.swatch.c { background: linear-gradient(145deg, #480888 0 46%, #F86000 46% 100%); color: #fff; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 64px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; min-height: 210px; }
.step em { font: 700 28px/1 "Pixelify Sans", monospace; color: var(--accent); font-style: normal; }
.step h3 { margin: 18px 0 8px; font-size: 22px; letter-spacing: -.03em; }
.step p { margin: 0; color: var(--ink2); line-height: 1.45; }

.plan { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.plan .price { font: 700 18px/1.3 "JetBrains Mono", monospace; color: var(--ink); }
.band { background: var(--bg2); }

.plat {
  position: absolute; width: 124px; height: 16px; z-index: 3;
  background: #F86000; border: 2px solid #16181F; border-radius: 4px;
  box-shadow: 4px 4px 0 #480888; pointer-events: none;
}
html[data-ink="roxo"] .plat { background: #480888; box-shadow: 4px 4px 0 #F86000; }
html[data-ink="claro"] .plat { background: #F4EEFF; color: #16181F; box-shadow: 4px 4px 0 #480888; }
html[data-ink="misto"] .plat:nth-child(odd) { background: #480888; box-shadow: 4px 4px 0 #F86000; }
html[data-ink="misto"] .plat:nth-child(even) { background: #F4EEFF; box-shadow: 4px 4px 0 #F86000; }
.lamp {
  position: absolute; z-index: 5; left: 22%; bottom: calc(100% + 4px);
  width: 20px; height: 34px; pointer-events: none;
}
.lamp::before {
  content: ""; position: absolute; top: 0; left: 9px; width: 2px; height: 12px; background: #16181F;
}
.lamp i {
  position: absolute; left: 1px; bottom: 0; width: 18px; height: 18px; border-radius: 50% 50% 46% 46%;
  background: #FFE58A; box-shadow: 0 0 0 2px #16181F, 0 0 14px #F86000;
}
html[data-theme="dark"] .lamp i { background: #2A261C; box-shadow: 0 0 0 2px #F4EEFF; }
.lamp.pop i { animation: bulb-pop .35s ease; }
@keyframes bulb-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}
.bug {
  position: absolute; left: 22%; bottom: calc(100% + 1px); z-index: 4;
  width: 44px; height: 34px; pointer-events: none;
}
.bug i { position: absolute; display: block; }
.bug .shell {
  left: 4px; top: 14px; width: 36px; height: 16px;
  background: #3CB44A; border-radius: 16px 16px 11px 11px;
  box-shadow: inset 0 5px 0 #9BE7A0, inset 0 -4px 0 #1B6B28, 0 0 0 2px #16181F;
}
.bug .eye {
  top: 16px; width: 9px; height: 9px; border-radius: 50%; background: #F7FBFF;
  box-shadow: inset 3px 2px 0 #16181F, 0 0 0 2px #16181F;
}
.bug .eye.a { left: 10px; }
.bug .eye.b { left: 24px; }
.bug .ant { top: 6px; width: 2px; height: 10px; background: #16181F; }
.bug .ant::after {
  content: ""; position: absolute; top: -5px; left: -3px;
  width: 8px; height: 8px; border-radius: 50%; background: #F86000;
  box-shadow: 0 0 0 2px #16181F;
}
.bug .ant.a { left: 14px; transform: rotate(-28deg); }
.bug .ant.b { left: 28px; transform: rotate(28deg); }
.bug .feet {
  left: 6px; bottom: 0; width: 32px; height: 5px;
  background:
    linear-gradient(#16181F, #16181F) 0 0 / 5px 5px no-repeat,
    linear-gradient(#16181F, #16181F) 9px 0 / 5px 5px no-repeat,
    linear-gradient(#16181F, #16181F) 18px 0 / 5px 5px no-repeat,
    linear-gradient(#16181F, #16181F) 27px 0 / 5px 5px no-repeat;
}
.bug.squashed { height: 14px; }
.bug.squashed .ant, .bug.squashed .eye, .bug.squashed .feet { display: none; }
.bug.squashed .shell { top: 4px; height: 8px; border-radius: 8px; }
.arena {
  position: relative; width: min(720px, 100%); height: 230px;
  margin: 0 auto 8px; pointer-events: none;
}
.arena .perch { width: 96px; top: 118px; }
.arena .perch.a { left: 0; }
.arena .perch.b { left: auto; right: 0; }
.arena .boss-floor { left: 6%; right: 6%; width: auto; top: auto; bottom: 8px; height: 16px; }
.boss {
  position: absolute; left: 50%; bottom: 24px; z-index: 5;
  width: 128px; height: 92px; margin-left: -64px; pointer-events: none;
}
.boss i, .boss b, .boss em { position: absolute; display: block; }
.boss .shell {
  left: 6px; top: 30px; width: 116px; height: 50px;
  background: #24963A; border-radius: 46px 46px 30px 30px;
  box-shadow: inset 0 14px 0 #9BE7A0, inset 0 -12px 0 #14521C, 0 0 0 3px #16181F;
}
.boss .jaw {
  left: 34px; top: 62px; width: 58px; height: 10px; background: #16181F; border-radius: 0 0 10px 10px;
}
.boss .jaw::after {
  content: ""; position: absolute; left: 8px; top: 0; width: 42px; height: 4px; background: #F4EEFF;
}
.boss .eye {
  top: 38px; width: 22px; height: 22px; border-radius: 50%; background: #F7FBFF;
  box-shadow: inset 8px 4px 0 #16181F, 0 0 0 3px #16181F;
}
.boss .eye.a { left: 26px; }
.boss .eye.b { left: 76px; box-shadow: inset -8px 4px 0 #16181F, 0 0 0 3px #16181F; }
.boss .ant { top: 16px; width: 3px; height: 18px; background: #16181F; }
.boss .ant::after {
  content: ""; position: absolute; top: -8px; left: -5px;
  width: 14px; height: 14px; border-radius: 50%; background: #F86000;
  box-shadow: 0 0 0 3px #16181F;
}
.boss .ant.a { left: 36px; transform: rotate(-24deg); }
.boss .ant.b { left: 86px; transform: rotate(24deg); }
.boss .horn { top: 22px; width: 8px; height: 22px; background: #F86000; box-shadow: 0 0 0 3px #16181F; }
.boss .horn.a { left: 18px; transform: rotate(-18deg); }
.boss .horn.b { left: 102px; transform: rotate(18deg); }
.boss .feet {
  left: 16px; bottom: 0; width: 96px; height: 8px;
  background:
    linear-gradient(#16181F, #16181F) 0 0 / 14px 8px no-repeat,
    linear-gradient(#16181F, #16181F) 28px 0 / 14px 8px no-repeat,
    linear-gradient(#16181F, #16181F) 56px 0 / 14px 8px no-repeat,
    linear-gradient(#16181F, #16181F) 82px 0 / 14px 8px no-repeat;
}
.boss .hp {
  left: 0; right: 0; top: -16px; height: 12px; border-radius: 99px;
  background: #1A1028; border: 2px solid #16181F; overflow: hidden;
}
.boss .hp i { left: 0; top: 0; bottom: 0; width: 100%; height: auto; background: #F86000; transition: width .12s linear; }
.boss em {
  left: 50%; top: -36px; transform: translateX(-50%);
  color: #fff; white-space: nowrap;
  font: 700 16px/1 "Pixelify Sans", monospace;
  text-shadow: 2px 2px 0 #16181F;
}
.boss.hit { filter: brightness(2.4); }
.boss.dead { height: 40px; }
.boss.dead .horn, .boss.dead .ant, .boss.dead .eye, .boss.dead .feet, .boss.dead .jaw, .boss.dead em { display: none; }
.boss.dead .shell { top: 8px; height: 24px; border-radius: 16px; }
.boss.dead .hp i { width: 0; }
.rumble {
  position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at center, transparent 42%, rgba(248, 96, 0, .42) 100%);
}
.rumble.on { animation: rumble-flash .45s ease-out; }
@keyframes rumble-flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.crate {
  position: absolute; z-index: 4; left: 50%; right: auto; top: auto;
  bottom: calc(100% + 8px); transform: translateX(-50%);
  width: 46px; height: 38px; border-radius: 4px;
  background: #E0B56A; border: 2px solid #16181F;
  box-shadow: 3px 3px 0 var(--brand);
  display: grid; place-items: center;
  color: #2A1844; font: 700 12px/1 "JetBrains Mono", monospace;
  pointer-events: none;
  animation: crate-bob 1.7s ease-in-out infinite;
}
@keyframes crate-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
.crate::before { content: "</>"; }
.crate b {
  position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%);
  white-space: nowrap; color: var(--brand);
  font: 700 14px/1 "Pixelify Sans", monospace;
  opacity: 0;
}
.crate.got {
  animation: none;
  transform: translateX(-50%);
  background: transparent; border-color: transparent; box-shadow: none;
}
.crate.got::before { opacity: 0; }
.crate.got b { opacity: 1; transform: translateX(-50%) translateY(-10px); }
.glint {
  position: fixed; z-index: 62; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  pointer-events: none;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: glint-out .55s ease-out forwards;
}
@keyframes glint-out {
  to { transform: translate(var(--dx), var(--dy)) scale(.15); opacity: 0; }
}
.popscore {
  position: absolute; left: 50%; top: -2px; z-index: 3;
  pointer-events: none; white-space: nowrap;
  color: #F86000; font: 700 18px/1 "Pixelify Sans", monospace;
  text-shadow: 2px 2px 0 #480888;
  animation: score-up .7s ease-out forwards;
}
@keyframes score-up {
  0% { opacity: 0; transform: translate(-50%, 6px) scale(.65); }
  20% { opacity: 1; transform: translate(-50%, -6px) scale(1.08); }
  100% { opacity: 0; transform: translate(-50%, -34px) scale(1); }
}

.finish { position: relative; width: 92px; height: 78px; margin: 0 auto 18px; }
.finish i { position: absolute; left: 8px; top: 0; width: 6px; height: 78px; background: #F4EEFF; display: block; }
.finish b {
  position: absolute; left: 14px; top: 8px;
  background: var(--orange); color: #fff;
  padding: 6px 10px; border-radius: 2px 8px 8px 2px;
  font: 700 16px/1 "Pixelify Sans", monospace;
}
.finish.arrived b { background: #fff; color: #480888; }

.bot {
  position: fixed; z-index: 46; width: 32px; height: 48px;
  pointer-events: none;
  filter:
    drop-shadow(1px 0 0 #F7F5F0) drop-shadow(-1px 0 0 #F7F5F0)
    drop-shadow(0 1px 0 #F7F5F0) drop-shadow(0 -1px 0 #F7F5F0)
    drop-shadow(2px 3px 0 rgba(22, 24, 31, .4));
}
.bot-flip { position: relative; width: 100%; height: 100%; }
.bot.left .bot-flip { transform: scaleX(-1); }
.bot i { position: absolute; display: block; }
.bot .cap {
  left: 6px; top: 0; width: 18px; height: 7px;
  background: linear-gradient(#F4EEFF, #F4EEFF) 0 0 / 100% 2px no-repeat, #480888;
  box-shadow: inset 0 -2px 0 #F86000, 0 0 0 2px #F7F5F0;
}
.bot .visor { left: 4px; top: 7px; width: 22px; height: 9px; background: #F7FBFF; box-shadow: inset 0 -3px 0 #7DE7FF; }
.bot .torso { left: 3px; top: 17px; width: 24px; height: 15px; background: #480888; box-shadow: inset 0 4px 0 #F86000; }
.bot .arm { left: 0; top: 19px; width: 5px; height: 10px; background: #C5CDD6; }
.bot .parcel { left: 24px; top: 18px; width: 10px; height: 8px; background: #E0B56A; border: 2px solid #2A1844; }
.bot .arm { transform-origin: 50% 0; }
.bot .leg { bottom: 8px; width: 6px; height: 12px; background: #9AA3AD; transform-origin: 50% 0; }
.bot .leg.a { left: 7px; }
.bot .leg.b { left: 18px; }
.bot .shoe { bottom: 0; width: 9px; height: 4px; background: #16181F; }
.bot .shoe.a { left: 4px; }
.bot .shoe.b { left: 16px; }
.bot[data-step="1"] .leg.a { transform: rotate(-34deg); }
.bot[data-step="1"] .leg.b { transform: rotate(22deg); }
.bot[data-step="1"] .shoe.a { transform: translate(-4px, -3px); }
.bot[data-step="1"] .shoe.b { transform: translate(3px, 1px); }
.bot[data-step="1"] .arm { transform: rotate(26deg); }
.bot[data-step="2"] .leg.a { transform: rotate(-6deg); }
.bot[data-step="2"] .leg.b { transform: rotate(6deg); }
.bot[data-step="2"] .torso { transform: translateY(1px); }
.bot[data-step="3"] .leg.a { transform: rotate(22deg); }
.bot[data-step="3"] .leg.b { transform: rotate(-34deg); }
.bot[data-step="3"] .shoe.a { transform: translate(3px, 1px); }
.bot[data-step="3"] .shoe.b { transform: translate(-4px, -3px); }
.bot[data-step="3"] .arm { transform: rotate(-22deg); }
.bot.run[data-step="1"] .leg.a { transform: rotate(-48deg); }
.bot.run[data-step="1"] .leg.b { transform: rotate(32deg); }
.bot.run[data-step="1"] .shoe.a { transform: translate(-6px, -2px); }
.bot.run[data-step="3"] .leg.a { transform: rotate(32deg); }
.bot.run[data-step="3"] .leg.b { transform: rotate(-48deg); }
.bot.run[data-step="3"] .shoe.b { transform: translate(-6px, -2px); }
.bot.air .leg.a { transform: rotate(-24deg); }
.bot.air .leg.b { transform: rotate(18deg); }
.bot.air .shoe.a { transform: translate(-2px, -5px); }
.bot.air .shoe.b { transform: translate(2px, -4px); }
.bot.air .arm { transform: rotate(-12deg); }
.bot.hurt { opacity: .55; }
.bot.pop { animation: bot-pop .22s ease-in forwards; }
@keyframes bot-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.5); }
  100% { transform: scale(0); opacity: 0; }
}
.boss.won em { color: #FFD36A; }
.say {
  position: fixed; top: 78px; left: 80px; width: 270px; z-index: 47;
  margin: 0; padding: 10px 12px; text-align: left;
  background: #fff; color: #16181F; border: 2px solid #16181F; border-radius: 4px 16px 16px 16px;
  box-shadow: 4px 4px 0 #480888;
  font: 650 14px/1.35 "Bricolage Grotesque", sans-serif;
  transform-origin: left center;
  animation: say-in .5s cubic-bezier(.16, 1.3, .4, 1) .15s both;
}
.say p { margin: 0; }
.say-touch { display: none; }
.say b {
  display: inline-block; min-width: 1.2em; padding: 1px 4px; margin: 0 1px;
  border: 2px solid #16181F; border-radius: 4px; background: #F86000; color: #fff;
  font: 700 12px/1.2 "JetBrains Mono", monospace; text-align: center;
}
.say.gone { animation: say-out .25s ease forwards; }
@keyframes say-in { from { transform: scale(.15); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes say-out { to { transform: scale(.2); opacity: 0; } }
.win {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  background: rgba(22, 24, 31, .5); padding: 20px;
}
.win[hidden] { display: none; }
.win-card {
  position: relative; width: min(480px, 100%);
  background: #fff; color: #16181F; text-align: center;
  border: 2px solid #16181F; border-radius: 22px; padding: 28px 24px;
  box-shadow: 8px 8px 0 #480888;
}
.win-card h2 { color: #16181F; }
.win-card p { color: #3a3348; }
.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confetti i {
  position: absolute; top: -16px; width: 9px; height: 14px; border-radius: 2px;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall { to { transform: translateY(105vh) rotate(420deg); } }

.runner-hud, .runner-pad { position: fixed; z-index: 35; }
.runner-hud {
  left: 16px; bottom: 16px; margin: 0;
  padding: 8px 12px; border-radius: 999px;
  background: #1A1028; color: #F4EEFF;
  border: 2px solid var(--brand);
  font: 600 13px/1 "JetBrains Mono", monospace;
}
.runner-pad {
  left: 0; right: 0; bottom: 0;
  display: none; justify-content: space-between; align-items: flex-end;
  gap: 10px; pointer-events: none;
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
}
.pad-move, .pad-act { display: flex; align-items: flex-end; gap: 8px; pointer-events: none; }
.runner-pad button {
  pointer-events: auto; touch-action: none; user-select: none;
  min-width: 52px; height: 52px; padding: 0 10px; border-radius: 16px;
  border: 2px solid var(--brand); background: var(--orange); color: #fff;
  font: 700 15px/1 "Bricolage Grotesque", sans-serif; cursor: pointer;
  box-shadow: 0 4px 0 var(--brand);
}
.pad-move button { width: 56px; font-size: 22px; }
.pad-act [data-move="sprint"] { min-width: 72px; height: 48px; }
.pad-act [data-move="jump"] {
  width: 76px; height: 76px; border-radius: 50%;
  font-size: 16px;
}
.pad-play { display: none; }
.runner-pad button.held,
.runner-pad button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--brand); }
.runner-pad.away { justify-content: flex-end; background: none; }
.runner-pad.away .pad-move,
.runner-pad.away .pad-act { display: none; }
.runner-pad.away .pad-play {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 92px; height: 48px; border-radius: 999px;
}
.stick {
  display: none;
  position: fixed; z-index: 36;
  left: 50%; bottom: calc(18px + env(safe-area-inset-bottom));
  width: 148px; height: 148px; margin-left: -74px;
  border-radius: 50%; touch-action: none; user-select: none;
  background: rgba(26, 16, 40, .72);
  border: 2px solid #480888;
  box-shadow: 4px 4px 0 rgba(72, 8, 136, .45);
}
.stick b {
  position: absolute; top: 10px; left: 0; right: 0;
  text-align: center; pointer-events: none;
  color: #F4EEFF; font: 700 16px/1 "Pixelify Sans", monospace;
}
.stick i {
  position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; pointer-events: none;
  background: #F86000; border: 2px solid #16181F;
  box-shadow: 3px 3px 0 #480888;
}
@media (max-width: 760px) {
  .climb { display: none; }
  .runner-pad { display: none; }
  .stick { display: block; }
  .runner-hud {
    top: 70px; bottom: auto; left: 10px;
    max-width: calc(100vw - 20px); font-size: 11px;
  }
  .runner-pad {
    background: linear-gradient(transparent, rgba(14, 16, 22, .45));
  }
  .runner-pad { padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); gap: 6px; }
  .pad-move, .pad-act { gap: 6px; }
  .pad-move button { width: 54px; height: 58px; }
  .pad-act [data-move="sprint"] { width: 62px; min-width: 62px; height: 46px; font-size: 13px; }
  .pad-act [data-move="jump"] { width: 72px; height: 72px; }
  .say {
    top: auto !important; left: 12px !important; right: 12px !important;
    width: auto !important; bottom: calc(178px + env(safe-area-inset-bottom));
    max-height: 140px; overflow: auto;
  }
  .say-keys, .run-hint { display: none; }
  .say-touch { display: block; }
  .win-card { max-height: calc(100vh - 48px); overflow: auto; padding: 22px 16px; }
  .win .actions { flex-direction: column; }
  .win .actions .btn { width: 100%; }
  .final { padding: 36px 12px 28px; margin: 0 8px 16px; }
  .arena { height: 200px; }
  .arena .perch { width: 72px; top: 96px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .pad-move button { width: 46px; height: 52px; }
  .pad-act [data-move="sprint"] { width: 52px; min-width: 52px; }
  .pad-act [data-move="jump"] { width: 64px; height: 64px; }
}

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.faq p { color: var(--ink2); line-height: 1.5; max-width: 720px; }

form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 650; font-size: 14px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-size: 16px;
}
textarea { min-height: 120px; resize: vertical; }
.form-card { padding: 22px; }
.note { min-height: 1.3em; color: var(--ink2); font-size: 14px; }

.final {
  margin: 0 16px 24px; border-radius: 28px; overflow: hidden;
  background: #480888; color: #F7F5F0; text-align: center; padding: 84px 20px;
  border: 2px solid #350666;
}
.final h2 { color: #F2F1EC; }
.final p { color: #C9CED9; }
.final .btn.ghost { background: #F7F5F0; color: #480888; border-color: #F7F5F0; box-shadow: 0 5px 0 #2A0550; }
.final .btn { border-color: #2A0550; box-shadow: 0 5px 0 #2A0550; }

footer { padding: 28px 0 48px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot a { color: var(--ink2); display: block; padding: 4px 0; }
.legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink3); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.pay { padding: 48px 0 80px; }
.pay-card { max-width: 640px; margin: 0 auto; }
.pix {
  margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--bg2);
  font: 500 13px/1.45 "JetBrains Mono", monospace; word-break: break-all;
}
.qr { width: 220px; height: 220px; margin: 12px auto; background: #fff; border-radius: 12px; padding: 8px; }
.status { font: 700 13px/1 "JetBrains Mono", monospace; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; left: 16px; right: 16px; top: 70px;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  }
  .menu-btn { display: grid; }
  .grid3, .steps, .grid2 { grid-template-columns: 1fr; }
  .side { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .rooms { grid-template-columns: 1fr; }
  header { position: sticky; }
  .nav { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
