:root {
  --bg: #07140f;
  --bg-2: #0d241b;
  --card: rgba(14, 42, 32, 0.82);
  --ink: #f4faf6;
  --muted: #b7cfc2;
  --cyan: #3ad4ef;
  --gold: #f0c14b;
  --violet: #8d6bff;
  --moss: #3eaf6d;
  --line: rgba(186, 232, 210, 0.16);
  --danger: #ff9b9b;
  --ok: #9be7b4;
  --serif: "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", "Trebuchet MS", sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(58, 212, 239, 0.16), transparent 60%),
    radial-gradient(800px 520px at 110% 8%, rgba(141, 107, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #081610 0%, var(--bg) 40%, #06110d 100%);
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--gold); }
button, input { font-family: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
p { margin: 0 0 14px; }
.ico { vertical-align: -3px; flex: 0 0 auto; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.lede { color: var(--muted); font-size: 18px; max-width: 68ch; }

.site-top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 20, 15, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-top::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--moss), var(--gold), var(--cyan));
}
.top-row { display: flex; align-items: center; gap: 22px; min-height: 86px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.brand img {
  width: 54px;
  height: 54px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.brand-name { display: flex; flex-direction: column; min-width: 0; }
.brand-name strong { font-size: 15px; letter-spacing: 0.04em; line-height: 1.2; }
.brand-name small { color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; }
.menu { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
}
.menu a.on { color: var(--gold); }
.menu a.store {
  margin-left: 8px;
  padding: 11px 18px;
  font-weight: 800;
  color: #102117;
  background: linear-gradient(120deg, #f0c14b 0%, #ffe7a3 42%, #7eebf8 100%);
  box-shadow: 0 10px 28px rgba(240, 193, 75, 0.32);
}
.menu a.store:hover { color: #102117; transform: translateY(-1px); }
.menu a.store.on { box-shadow: 0 0 0 3px #fff, 0 12px 28px rgba(58, 212, 239, 0.45); }
.menu-btn {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 12px 10px;
}
.menu-btn span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

.stage { position: relative; }
.stage-pic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}
.stage-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(5, 16, 12, 0.88) 0%, rgba(5, 16, 12, 0.55) 42%, rgba(5, 16, 12, 0.05) 78%);
}
.stage-copy h1 { font-size: clamp(36px, 4.6vw, 64px); max-width: 10em; }
.stage-copy .lede { color: #e7f6ee; }
.badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.badges a img {
  width: 210px;
  height: auto;
  aspect-ratio: 499 / 171;
  display: block;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.badges a:hover img { transform: translateY(-2px); }

.block { padding: 88px 0; }
.block h2 { font-size: clamp(32px, 4vw, 52px); }
.block h2 em { font-style: italic; color: var(--gold); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.pillars, .quads, .promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.tile, .step, .coin, .vision, .reach-card, .pass, .seal, .fault {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.tile, .step { padding: 26px 22px 22px; }
.mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #102117;
  background: linear-gradient(140deg, var(--gold), var(--cyan));
  margin-bottom: 16px;
}
.tile h3, .step h3, .vision h3 { font-size: 24px; }
.tile p, .step p, .vision p { color: var(--muted); }

.film {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}
.film img, .gallery img, .inset img, .reach-pic img {
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 800;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.film .wide { grid-column: 1 / -1; }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.split.flip { grid-template-columns: 0.85fr 1.15fr; }
.portrait {
  width: min(100%, 420px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}
.btn.solid {
  color: #102117;
  border-color: transparent;
  background: linear-gradient(120deg, var(--gold), #ffe7a3 40%, var(--cyan));
}
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }

.essay { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 36px; align-items: start; }
.essay + .essay { margin-top: 28px; }
.inset { justify-self: end; width: min(100%, 360px); }
.inset figcaption, .gallery figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.adv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.adv article, .strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(8, 28, 21, 0.65);
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.vision { padding: 28px; }
.culture {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(58, 212, 239, 0.08), rgba(240, 193, 75, 0.06));
}
.culture img { width: 100%; aspect-ratio: 1280 / 800; object-fit: cover; border-radius: 16px; }

.strips { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.strip .mark { margin: 0; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }

.reach { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.reach-card { padding: 8px 8px 8px 0; }
.reach-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
}
.reach-line:last-child { border-bottom: 0; }
.reach-line b { display: block; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.reach-pic { width: min(100%, 460px); justify-self: end; }

.market-top { display: grid; grid-template-columns: 1.4fr 220px; gap: 28px; align-items: center; }
.coin-badge {
  width: 180px;
  height: 180px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 40%, rgba(240, 193, 75, 0.35), transparent 60%),
    rgba(10, 32, 24, 0.8);
  border: 1px solid var(--line);
}
.coin-badge img { width: 92px; height: 92px; aspect-ratio: 58 / 57; object-fit: contain; }
.switch { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.switch[hidden], .note-bad[hidden], .note-wait[hidden] { display: none !important; }
.switch button, .pay-opt span, .pay-show {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.switch button.on, .pay-opt input:checked + span {
  background: var(--gold);
  color: #102117;
  border-color: transparent;
  font-weight: 800;
}
.pay-show { cursor: default; opacity: 0.72; }
.coins { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin-top: 26px; }
.coin { padding: 22px 16px 18px; text-align: center; cursor: pointer; }
.coin img { width: 72px; height: 72px; aspect-ratio: 58 / 57; object-fit: contain; }
.coin h3 { font-size: 22px; }
.coin .price { color: var(--gold); font-size: 26px; font-family: var(--serif); }
.coin .kind { display: inline-block; margin-top: 6px; color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.coin.on { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(58, 212, 239, 0.35); }
.coin .pick { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--cyan); }

.desk {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(8, 24, 18, 0.92);
  box-shadow: var(--shadow);
}
.desk-side, .desk-form { padding: 32px; }
.desk-side { background: linear-gradient(180deg, rgba(58, 212, 239, 0.08), rgba(240, 193, 75, 0.05)); }
.sum-row, .pass-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-row b, .pass-row b { text-align: right; }
.sum-row.total b { color: var(--gold); font-size: 26px; font-family: var(--serif); }
.field { margin-bottom: 16px; }
.field label, .field .lbl { display: block; margin-bottom: 6px; font-weight: 700; }
.field input[type="text"], .field input[type="email"] {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 12px 14px;
}
.field.bad input, .field.bad .pays { outline: 1px solid var(--danger); }
.hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
.err { display: none; color: var(--danger); font-size: 13px; margin-top: 6px; }
.field.bad .err { display: block; }
.pays { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.agree input { margin-top: 4px; }
.note-bad, .note-wait {
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.note-bad { display: block; background: rgba(255, 120, 120, 0.12); color: var(--danger); }
.note-wait { color: var(--muted); text-align: center; }
.desk-form .btn { width: 100%; justify-content: center; border: 0; }

.promise { grid-template-columns: 1fr 1fr; }
.step a { text-decoration: underline; }

.site-foot { border-top: 1px solid var(--line); padding-top: 48px; background: #06110d; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.2fr; gap: 28px; }
.foot-grid h2 { font-family: var(--sans); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.foot-grid a, .foot-line { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); margin: 8px 0; }
.foot-lead { color: var(--muted); margin-top: 14px; }
.foot-bar { margin-top: 28px; border-top: 1px solid var(--line); }
.foot-bar-in { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0 22px; color: var(--muted); font-size: 14px; }
.foot-bar-in span:last-child { display: inline-flex; gap: 6px; align-items: center; }

.ticket-wrap, .seal-wrap, .fault-wrap { padding: 72px 0 96px; }
.pass {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 36px 32px;
  background:
    radial-gradient(circle at 0 120px, transparent 14px, var(--card) 15px),
    radial-gradient(circle at 100% 120px, transparent 14px, var(--card) 15px);
  background-color: #0e2a20;
}
.pass h1, .seal h1, .fault h1 { font-size: clamp(34px, 4vw, 52px); }
.pass-acts, .seal-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.seal, .fault { width: min(680px, 100%); margin: 0 auto; padding: 42px 32px; text-align: center; }
.seal.good { box-shadow: 0 0 0 1px rgba(155, 231, 180, 0.35), var(--shadow); }
.seal.bad { box-shadow: 0 0 0 1px rgba(255, 155, 155, 0.35), var(--shadow); }
.fault { text-align: left; border-left: 6px solid var(--gold); border-radius: 8px 22px 22px 8px; }
.big-mark { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; color: #102117; background: var(--gold); }
.big-mark.good { background: var(--ok); }
.big-mark.bad { background: var(--danger); }
.count { color: var(--muted); }

.crumb { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.crumb a { color: var(--muted); }

@media (max-width: 980px) {
  .pillars, .quads { grid-template-columns: 1fr 1fr; }
  .split, .split.flip, .essay, .reach, .desk, .market-top, .culture, .foot-grid { grid-template-columns: 1fr; }
  .inset, .reach-pic, .coin-badge { justify-self: start; margin-left: 0; }
  .film, .gallery { grid-template-columns: 1fr; }
  .stage-copy { position: static; background: transparent; padding: 28px 0 10px; }
  .stage-copy h1 { max-width: none; }
}
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .menu {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: rgba(7, 20, 15, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .menu.open { display: flex; }
  .menu a.store { margin: 6px 0 0; justify-content: center; }
  .pillars, .quads, .promise, .adv, .pair { grid-template-columns: 1fr; }
  .shell { width: min(1180px, calc(100% - 28px)); }
  .block { padding: 64px 0; }
  .foot-bar-in { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
