@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/pixelify-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/pixelify-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF;
}
@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/pixelify-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/pixelify-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF;
}

:root {
  --night: #0b1018;
  --pit: #070b10;
  --sky: #1c2a4a;
  --panel: #121a27;
  --panel-2: #182233;
  --line: #243044;
  --line-2: #2e3c54;
  --amber: #ffc857;
  --amber-deep: #e09a2e;
  --amber-dark: #a8661a;
  --hot: #ffd36a;
  --flame: #ff8a2a;
  --lava: #ff5a1f;
  --cream: #fff4dc;
  --mist: #a8b0c2;
  --danger: #ff6b5a;
  --ok: #5cbf73;
  --pixel: "Pixelify Sans", "Segoe UI", system-ui, sans-serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--cream);
  font: 17px/1.65 var(--ui);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--amber);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--hot);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--pixel);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

code {
  font: 0.9em/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.4em;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--pit);
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.kicker {
  font-family: var(--pixel);
  color: var(--amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 14px;
  margin: 0 0 12px;
}

.lead {
  color: var(--mist);
  font-size: 19px;
  max-width: 640px;
}

.muted {
  color: var(--mist);
}

.small {
  font-size: 13px;
}

/* ---------------------------------------------------------------- header */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 16, 24, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 60, 84, 0.6);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font: 700 24px/1 var(--pixel);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 0 18px rgba(255, 138, 42, 0.35);
}

.brand-tag {
  font: 500 14px var(--ui);
  color: var(--mist);
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  color: var(--mist);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--cream);
  background: var(--panel-2);
}

.nav a[aria-current="page"] {
  color: var(--amber);
  background: rgba(255, 200, 87, 0.1);
}

.nav .lang {
  margin-left: 6px;
  border: 1px solid var(--line-2);
  color: var(--cream);
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--hot), var(--amber-deep));
  color: #2a1606;
  font: 700 18px/1 var(--pixel);
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--amber-dark), 0 10px 30px rgba(255, 138, 42, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn:hover {
  color: #2a1606;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--amber-dark), 0 4px 14px rgba(255, 138, 42, 0.2);
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.btn-ghost {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber-deep);
  box-shadow: none;
}

.btn-ghost:hover {
  color: var(--hot);
  background: rgba(255, 200, 87, 0.08);
}

.btn-danger {
  background: #3a1616;
  color: #ffd2cc;
  border: 1px solid #6b2a24;
  box-shadow: none;
}

.btn-danger:hover {
  color: #fff;
  background: #5a1d1a;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-wide {
  width: 100%;
}

.icon-btn {
  border: 0;
  background: transparent;
  color: var(--mist);
  font-size: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--danger);
  background: rgba(255, 107, 90, 0.1);
}

form.inline {
  display: inline;
  margin: 0;
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(1200px 500px at 75% 110%, rgba(255, 90, 31, 0.22), transparent 60%),
    radial-gradient(800px 400px at 10% -10%, rgba(76, 104, 170, 0.35), transparent 70%),
    linear-gradient(180deg, var(--sky) 0%, var(--night) 75%);
}

.hero::before,
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 120px 80px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 200px 20px, #ffe9b8 50%, transparent 51%),
    radial-gradient(1px 1px at 260px 140px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 60px 170px, #cfd8ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 310px 60px, #fff 50%, transparent 51%);
  background-size: 340px 220px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}

.logo {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo-word {
  font-size: clamp(84px, 13vw, 148px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--amber);
  text-shadow:
    0 4px 0 var(--amber-deep),
    0 8px 0 #7a3a10,
    0 12px 0 #2a1606,
    0 0 60px rgba(255, 138, 42, 0.55);
}

.logo-sub {
  margin-top: 14px;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hot);
  text-shadow: 0 3px 0 #7a3a10;
}

.tagline {
  font: 700 clamp(22px, 2.6vw, 28px)/1.3 var(--pixel);
  color: var(--cream);
  margin-bottom: 12px;
}

.hero-text {
  color: var(--mist);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 28px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  background: #05080c;
  border: 1px solid #3a4558;
  color: var(--cream);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.store:hover {
  color: var(--cream);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.store svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.store span {
  display: flex;
  flex-direction: column;
  font: 600 20px/1.15 var(--ui);
}

.store small {
  font-size: 12px;
  font-weight: 500;
  color: var(--mist);
}

.store.is-soon {
  opacity: 0.75;
  border-style: dashed;
}

.store.is-soon small {
  color: var(--amber);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--mist);
  font-size: 15px;
}

.stats strong {
  font: 700 26px/1 var(--pixel);
  color: var(--amber);
  margin-right: 4px;
}

/* hero scene: a tiny looping room */

.hero-art {
  position: relative;
}

.glow {
  position: absolute;
  inset: 10% -10% -10% 20%;
  background: radial-gradient(closest-side, rgba(255, 138, 42, 0.35), transparent);
  filter: blur(20px);
}

.scene {
  --dur: 7s;
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, #f3e6c8 0 5%, rgba(243, 230, 200, 0.18) 5.5% 10%, transparent 10.5%),
    linear-gradient(180deg, #1c2a4a 0%, #121c2c 70%, #0b1018 100%);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 6px rgba(7, 11, 16, 0.6);
}

.scene::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 14%;
  height: 34%;
  background:
    radial-gradient(60% 100% at 25% 100%, #1a2740 99%, transparent 100%),
    radial-gradient(50% 80% at 85% 100%, #121c2c 99%, transparent 100%);
}

.ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16%;
  background:
    linear-gradient(180deg, #6a7686 0 3px, transparent 3px),
    repeating-linear-gradient(90deg, transparent 0 46px, #2a3340 46px 49px),
    linear-gradient(180deg, #465266 0 50%, #3e4a5c 50% 52%, #384454 52%);
  box-shadow: 0 -2px 18px rgba(255, 200, 87, 0.12);
}

.door {
  position: absolute;
  right: 4%;
  bottom: 15.5%;
  width: 32%;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 22px rgba(255, 170, 60, 0.6));
}

.spikes {
  position: absolute;
  left: 38%;
  bottom: 15.5%;
  width: 14%;
  height: 9%;
  display: flex;
}

.spikes i {
  flex: 1;
  background: linear-gradient(90deg, #8a96a6, #dfe6ee 45%, #6a7686);
  clip-path: polygon(50% 0, 92% 100%, 8% 100%);
}

.saw {
  position: absolute;
  left: 8%;
  bottom: 9%;
  width: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #2a3340 0 12%, #8a96a6 13% 20%, #3b4656 21% 24%, transparent 25%),
    repeating-conic-gradient(#e2e8ef 0 9deg, #6a7686 9deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 64%, transparent 65%), repeating-conic-gradient(#000 0 9deg, transparent 9deg 18deg);
  mask: radial-gradient(circle, #000 64%, transparent 65%), repeating-conic-gradient(#000 0 9deg, transparent 9deg 18deg);
  animation: saw-spin 0.5s linear infinite, saw-pop var(--dur) ease-in-out infinite;
  translate: 0 70%;
}

.runner {
  position: absolute;
  left: 0;
  bottom: 14.5%;
  width: 22%;
  aspect-ratio: 1;
  animation: run-x var(--dur) linear infinite, run-y var(--dur) linear infinite, run-fade var(--dur) linear infinite;
}

.runner .f {
  position: absolute;
  inset: 0;
  width: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 10px rgba(255, 138, 42, 0.55));
}

.runner .f1 {
  animation: legs-a 0.26s steps(1) infinite, on-ground var(--dur) steps(1) infinite;
}

.runner .f2 {
  animation: legs-b 0.26s steps(1) infinite, on-ground var(--dur) steps(1) infinite;
}

.runner .f3 {
  animation: in-air var(--dur) steps(1) infinite;
}

@keyframes saw-spin {
  to {
    rotate: 360deg;
  }
}

@keyframes saw-pop {
  0%, 20% { translate: 0 70%; }
  26%, 70% { translate: 0 0; }
  78%, 100% { translate: 0 70%; }
}

@keyframes run-x {
  0% { left: -6%; }
  30% { left: 22%; }
  48% { left: 50%; }
  76% { left: 66%; }
  100% { left: 66%; }
}

@keyframes run-y {
  0%, 30% { bottom: 14.5%; animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1); }
  39% { bottom: 42%; animation-timing-function: cubic-bezier(0.6, 0, 0.8, 0.3); }
  48%, 100% { bottom: 14.5%; }
}

@keyframes run-fade {
  0% { opacity: 0; scale: 1; }
  4% { opacity: 1; }
  76% { opacity: 1; scale: 1; }
  86%, 100% { opacity: 0; scale: 0.7; }
}

@keyframes legs-a {
  0% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes legs-b {
  0% { opacity: 0; }
  50% { opacity: 1; }
}

@keyframes on-ground {
  0% { visibility: visible; }
  30% { visibility: hidden; }
  48% { visibility: visible; }
}

@keyframes in-air {
  0% { visibility: hidden; }
  30% { visibility: visible; }
  48% { visibility: hidden; }
}

/* embers */

.embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.embers i {
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: var(--hot);
  box-shadow: 0 0 8px 2px rgba(255, 138, 42, 0.8);
  opacity: 0;
  animation: rise 9s linear infinite;
}

.embers i:nth-child(1) { left: 4%; animation-duration: 11s; animation-delay: -1s; }
.embers i:nth-child(2) { left: 11%; animation-duration: 8s; animation-delay: -6s; width: 3px; height: 3px; }
.embers i:nth-child(3) { left: 17%; animation-duration: 13s; animation-delay: -3s; }
.embers i:nth-child(4) { left: 24%; animation-duration: 9s; animation-delay: -8s; width: 5px; height: 5px; }
.embers i:nth-child(5) { left: 31%; animation-duration: 12s; animation-delay: -2s; width: 3px; height: 3px; }
.embers i:nth-child(6) { left: 37%; animation-duration: 10s; animation-delay: -5s; }
.embers i:nth-child(7) { left: 44%; animation-duration: 14s; animation-delay: -9s; width: 3px; height: 3px; }
.embers i:nth-child(8) { left: 52%; animation-duration: 9s; animation-delay: -4s; }
.embers i:nth-child(9) { left: 58%; animation-duration: 11s; animation-delay: -7s; width: 5px; height: 5px; }
.embers i:nth-child(10) { left: 64%; animation-duration: 8s; animation-delay: -1.5s; }
.embers i:nth-child(11) { left: 70%; animation-duration: 12s; animation-delay: -10s; width: 3px; height: 3px; }
.embers i:nth-child(12) { left: 76%; animation-duration: 10s; animation-delay: -3.5s; }
.embers i:nth-child(13) { left: 81%; animation-duration: 13s; animation-delay: -6.5s; width: 5px; height: 5px; }
.embers i:nth-child(14) { left: 86%; animation-duration: 9s; animation-delay: -2.5s; }
.embers i:nth-child(15) { left: 90%; animation-duration: 11s; animation-delay: -8.5s; width: 3px; height: 3px; }
.embers i:nth-child(16) { left: 94%; animation-duration: 14s; animation-delay: -4.5s; }
.embers i:nth-child(17) { left: 48%; animation-duration: 15s; animation-delay: -12s; width: 3px; height: 3px; }
.embers i:nth-child(18) { left: 97%; animation-duration: 10s; animation-delay: -7.5s; }

@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(18px, -50vh); }
  80% { opacity: 0.7; }
  100% { transform: translate(-10px, -95vh); opacity: 0; }
}

/* ---------------------------------------------------------------- sections */

.band {
  position: relative;
  padding: 88px 0;
}

.band-dark {
  background: linear-gradient(180deg, var(--pit), #0d131d);
  border-block: 1px solid var(--line);
}

.title {
  font-size: clamp(32px, 4.4vw, 46px);
  color: var(--hot);
}

.title-sm {
  font-size: 28px;
  color: var(--hot);
}

.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.feature {
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  border-color: rgba(255, 200, 87, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 138, 42, 0.08);
}

.feature .icon {
  width: 44px;
  height: 44px;
  padding: 9px;
  margin-bottom: 18px;
  color: var(--amber);
  background: rgba(255, 200, 87, 0.1);
  border: 1px solid rgba(255, 200, 87, 0.25);
  border-radius: 12px;
}

.feature h3 {
  font-size: 22px;
}

.feature p {
  color: var(--mist);
  margin: 0;
  font-size: 16px;
}

.worlds {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.world {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.world::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(0, 0, 0, 0.25) 34px 36px),
    var(--floor, #3e4a5c);
}

.world-num {
  font: 700 15px/1 var(--pixel);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--hot);
  margin-bottom: 18px;
}

.world h3 {
  font-size: 26px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.world p {
  font-size: 15px;
  color: rgba(255, 244, 220, 0.85);
  margin-bottom: 18px;
}

.world-rooms {
  margin-top: auto;
  margin-bottom: 18%;
  font: 600 13px var(--pixel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 244, 220, 0.7);
}

.world-threshold {
  background: radial-gradient(circle at 80% 18%, #f3e6c8 0 14px, transparent 15px), linear-gradient(180deg, #1c2a4a, #0b1018);
}

.world-hearth {
  --floor: #2c2632;
  background: radial-gradient(120% 60% at 50% 100%, rgba(255, 106, 42, 0.55), transparent 70%), linear-gradient(180deg, #160c1e, #4a1a2c 55%, #a8401e);
}

.world-furnace {
  --floor: #3b4656;
  background:
    repeating-linear-gradient(-45deg, #f2b632 0 10px, #1a2029 10px 20px) top / 100% 8px no-repeat,
    radial-gradient(80% 40% at 50% 90%, rgba(255, 162, 42, 0.45), transparent 70%),
    linear-gradient(180deg, #0c1119, #18212e 55%, #3a2620);
}

.world-shore {
  --floor: #c9a26a;
  background: radial-gradient(circle at 25% 22%, #ffd48a 0 16px, rgba(255, 165, 90, 0.3) 17px 30px, transparent 31px), linear-gradient(180deg, #2a1e4a, #b24a64 45%, #1e5a7a 46%, #14385a);
}

.world-forest {
  --floor: #3f5a2c;
  background:
    radial-gradient(40% 30% at 20% 60%, #182a1f 99%, transparent),
    radial-gradient(35% 34% at 80% 58%, #12241a 99%, transparent),
    linear-gradient(180deg, #2a3a2e, #1f3d2a 55%, #0f1d16);
}

.cta {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 34px 40px;
  border-radius: 22px;
  background:
    radial-gradient(500px 200px at 0% 50%, rgba(255, 138, 42, 0.2), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
}

.cta img {
  image-rendering: pixelated;
  filter: drop-shadow(0 0 16px rgba(255, 138, 42, 0.6));
  flex-shrink: 0;
}

.cta div {
  flex: 1;
}

.cta h2 {
  font-size: 30px;
  color: var(--hot);
  margin-bottom: 4px;
}

.cta p {
  margin: 0;
  color: var(--mist);
}

/* ---------------------------------------------------------------- inner pages */

.page-head {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(900px 300px at 80% 120%, rgba(255, 90, 31, 0.18), transparent 60%),
    linear-gradient(180deg, var(--sky), var(--night));
  border-bottom: 1px solid var(--line);
}

.page-head .wrap {
  position: relative;
}

.page-head h1 {
  font-size: clamp(40px, 6vw, 60px);
  color: var(--amber);
  text-shadow: 0 4px 0 #7a3a10;
}

.page-head .lead {
  margin: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
  padding: 56px 0 88px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  margin-bottom: 10px;
  transition: border-color 0.15s ease;
}

.faq details[open] {
  border-color: rgba(255, 200, 87, 0.35);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 18px;
  font-weight: 650;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  translate: 0 -50%;
  font: 700 22px/1 var(--pixel);
  color: var(--amber);
  transition: rotate 0.2s ease;
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--mist);
  overflow-wrap: anywhere;
}

.contact {
  position: sticky;
  top: 88px;
  padding: 32px;
}

.form {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  font-weight: 650;
  font-size: 15px;
  padding: 0;
}

.field legend {
  margin-bottom: 7px;
}

.opt {
  color: var(--mist);
  font-weight: 400;
  font-size: 13px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  font: 16px/1.5 var(--ui);
  color: var(--cream);
  background: #0c121c;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  padding: 11px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

select {
  appearance: none;
  padding-right: 40px;
  background:
    linear-gradient(45deg, transparent 50%, var(--amber) 50%) calc(100% - 20px) 50% / 6px 6px no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--amber) 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
    #0c121c;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

::placeholder {
  color: #66708a;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #3d4e6b;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 200, 87, 0.15);
}

[aria-invalid="true"] {
  border-color: var(--danger) !important;
}

.hint,
.counter,
.field-error {
  margin: 0;
  font-size: 13px;
  color: var(--mist);
}

.counter {
  text-align: right;
  margin-top: -2px;
}

.counter.is-near {
  color: var(--amber);
}

.field-error {
  color: var(--danger);
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.chip span {
  display: inline-block;
  padding: 9px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: #0c121c;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.chip:hover span {
  border-color: #3d4e6b;
}

.chip input:checked + span {
  border-color: var(--amber);
  background: rgba(255, 200, 87, 0.12);
  color: var(--hot);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400 !important;
  color: var(--mist);
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--amber);
}

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert,
.notice {
  padding: 13px 16px;
  border-radius: 10px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 15px;
}

.alert {
  background: rgba(255, 107, 90, 0.1);
  border: 1px solid rgba(255, 107, 90, 0.45);
  color: #ffc4bc;
}

.notice {
  background: rgba(92, 191, 115, 0.1);
  border: 1px solid rgba(92, 191, 115, 0.45);
  color: #c4f0cf;
  margin: 24px 0 0;
}

.alt-contact {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--mist);
}

.sent {
  text-align: center;
  padding: 24px 0;
}

.sent img {
  image-rendering: pixelated;
  filter: drop-shadow(0 0 16px rgba(255, 138, 42, 0.6));
  animation: hop 1.4s ease-in-out infinite;
}

.sent h2 {
  font-size: 30px;
  color: var(--ok);
}

.sent p {
  color: var(--mist);
}

@keyframes hop {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

/* legal docs */

.doc {
  max-width: 780px;
  padding: 56px 0 96px;
}

.doc-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 12px;
}

.doc-head h1 {
  font-size: clamp(36px, 5vw, 52px);
  color: var(--amber);
}

.doc-date {
  color: var(--mist);
  font-size: 15px;
  margin-bottom: 8px;
}

.doc-lang {
  font-size: 15px;
  font-weight: 600;
}

.doc section {
  padding: 18px 0 4px;
}

.doc h2 {
  font-size: 23px;
  color: var(--hot);
  margin-bottom: 8px;
}

.doc p {
  color: #e6dcc6;
  overflow-wrap: anywhere;
}

/* 404 */

.notfound {
  text-align: center;
  padding: 96px 0;
}

.notfound img {
  image-rendering: pixelated;
  filter: grayscale(0.6) brightness(0.7);
}

.notfound h1 {
  font-size: 42px;
  color: var(--amber);
  margin-top: 24px;
}

.notfound .lead {
  margin: 0 auto 28px;
}

/* ---------------------------------------------------------------- footer */

.foot {
  border-top: 1px solid var(--line);
  background: var(--pit);
  padding: 40px 0 28px;
  font-size: 15px;
}

.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 420px;
}

.foot-brand img {
  border-radius: 10px;
}

.foot-brand strong {
  font-family: var(--pixel);
  font-size: 19px;
}

.foot-brand p {
  margin: 2px 0 0;
  color: var(--mist);
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.foot-links a {
  color: var(--mist);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--amber);
}

.foot-copy {
  color: #6b7590;
  font-size: 13px;
  margin-top: 28px;
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- admin */

.admin {
  padding: 32px 0 80px;
}

.narrow {
  max-width: 460px;
  margin: 64px auto;
}

.steps {
  padding-left: 20px;
  color: var(--mist);
}

.steps li {
  margin-bottom: 8px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 18px;
}

.admin-head h1 {
  margin: 0;
}

.badge {
  display: inline-block;
  vertical-align: middle;
  font: 700 13px/1 var(--ui);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: #2a1606;
  margin-left: 8px;
}

.tabs {
  display: flex;
  gap: 6px;
}

.tabs a {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--mist);
  border: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 600;
}

.tabs a[aria-current="page"] {
  color: var(--hot);
  border-color: var(--amber-deep);
  background: rgba(255, 200, 87, 0.08);
}

.inbox {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.inbox li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid transparent;
  border-radius: 12px;
  padding-right: 8px;
}

.inbox li.is-unread {
  border-left-color: var(--amber);
  background: var(--panel-2);
}

.inbox li > a {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  color: var(--cream);
  text-decoration: none;
}

.inbox li > a:hover strong {
  color: var(--amber);
}

.inbox-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.inbox-top strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.is-unread .inbox-top strong::before {
  content: "● ";
  color: var(--amber);
}

.inbox-top time {
  color: var(--mist);
  font-size: 13px;
  white-space: nowrap;
}

.inbox-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: #0c121c;
  border: 1px solid var(--line-2);
  color: var(--mist);
}

.inbox-preview {
  color: var(--mist);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty {
  text-align: center;
  color: var(--mist);
}

.pager {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 24px;
}

.pager a {
  min-width: 36px;
  padding: 6px 10px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  text-decoration: none;
  color: var(--mist);
}

.pager a[aria-current="page"] {
  color: #2a1606;
  background: var(--amber);
  border-color: var(--amber);
}

.message-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.message-head p {
  margin: 0;
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.meta {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px 16px;
  margin: 0 0 20px;
  font-size: 15px;
}

.meta dt {
  color: var(--mist);
}

.meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.message-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #0c121c;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  font-size: 16px;
  line-height: 1.7;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .worlds {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .world {
    min-height: 240px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 48px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    text-align: center;
  }

  .logo {
    align-items: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .stores,
  .stats {
    justify-content: center;
  }

  .scene {
    margin: 0 auto;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    position: static;
  }

  .cta {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .top-row {
    min-height: 58px;
  }

  .brand span {
    display: none;
  }

  .brand .brand-tag {
    display: inline;
  }

  .nav a {
    padding: 7px 9px;
    font-size: 14px;
  }

  .band {
    padding: 64px 0;
  }

  .row.two {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 22px;
  }

  .meta {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .meta dd {
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .runner {
    left: 22%;
  }

  .runner .f2,
  .runner .f3,
  .embers {
    display: none;
  }

  .saw {
    translate: 0 0;
  }
}
