/* =========================================================
   Collector Crypt Holder Crates
   Static stylesheet. No build step.
   Brand tokens sampled from collectorcrypt.com and
   gacha.collectorcrypt.com.
   ========================================================= */

@font-face {
  font-family: "Clash Display";
  src: url("assets/fonts/clash-display-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/space-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/space-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand surfaces */
  --ink: #0d0d12;
  --bg: #0d0d12;
  --bg-2: #13131a;
  --panel: #15151b;
  --panel-2: #1b1c26;
  --panel-3: #20212c;
  --hairline: #23242f;
  --hairline-2: #33344a;

  /* Text */
  --text: #e6e8ef;
  --text-2: #cad5e2;
  --muted: #90a1b9;
  --faint: #62748e;

  /* Brand accents */
  --orange: #ff7c01;
  --orange-deep: #e35200;
  --cyan: #5beaff;
  --sky: #34cde3;
  --blue: #0483ff;
  --gold-chip: #ffb347;
  --cream: #fbf7ec;

  /* Type */
  --font-display: "Clash Display", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --section-pad: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);

  color-scheme: dark;
}

/* ---------- Tier materials ---------- */
[data-tier="copper"] {
  --m-hi: #ffd6b8; --m-mid: #d0814f; --m-lo: #7c3f1c; --m-dk: #3a1c0c;
  --shell-hi: #2b2b35; --shell-lo: #111117;
  --top-hi: #363642; --top-lo: #1b1b23;
  --glow: #ff9a5a;
  --tier-accent: #e0956a;
  --crate-scale: 0.84;
  --shelf-scale: 0.74;
}
[data-tier="bronze"] {
  --m-hi: #f8e2b8; --m-mid: #b98b4f; --m-lo: #6b4720; --m-dk: #33210d;
  --shell-hi: #2e2b31; --shell-lo: #121115;
  --top-hi: #3a3740; --top-lo: #1c1a20;
  --glow: #f0bf78;
  --tier-accent: #d1a468;
  --crate-scale: 0.9;
  --shelf-scale: 0.81;
}
[data-tier="silver"] {
  --m-hi: #ffffff; --m-mid: #c3cbd6; --m-lo: #6f7988; --m-dk: #2e3440;
  --shell-hi: #262a36; --shell-lo: #0f1118;
  --top-hi: #353b4a; --top-lo: #181b24;
  --glow: #bfe6ff;
  --tier-accent: #cfd6e0;
  --crate-scale: 0.94;
  --shelf-scale: 0.88;
}
[data-tier="gold"] {
  --m-hi: #fff4c8; --m-mid: #f2b347; --m-lo: #8f5c0e; --m-dk: #3e2804;
  --shell-hi: #23222b; --shell-lo: #0c0c11;
  --top-hi: #302e39; --top-lo: #15141b;
  --glow: #ffc56a;
  --tier-accent: #ffc35c;
  --crate-scale: 0.98;
  --shelf-scale: 0.94;
}
[data-tier="platinum"] {
  --m-hi: #ffffff; --m-mid: #dfe4ec; --m-lo: #8a93a4; --m-dk: #3b4250;
  --shell-hi: #18181e; --shell-lo: #050507;
  --top-hi: #22222a; --top-lo: #0b0b0f;
  --glow: #e3eeff;
  --tier-accent: #e9edf4;
  --crate-scale: 1;
  --shelf-scale: 1;
}

/* ---------- Crate artwork ---------- */
.crate {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 640 / 560;
  perspective: 1200px;
}
.crate-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.crate-svg .t-display { font-family: var(--font-display); font-weight: 600; }
.crate-svg .t-mono { font-family: var(--font-mono); }

.crate-root {
  transform-box: view-box;
  transform-origin: 320px 474px;
  transform: scale(var(--crate-scale, 1));
  transition: transform 0.7s var(--ease);
}

/* Level-gated details */
.crate .lv2, .crate .lv3, .crate .lv4, .crate .lv5 {
  transition: opacity 0.5s var(--ease);
}
.crate[data-level="1"] .lv2,
.crate[data-level="1"] .lv3,
.crate[data-level="1"] .lv4,
.crate[data-level="1"] .lv5,
.crate[data-level="2"] .lv3,
.crate[data-level="2"] .lv4,
.crate[data-level="2"] .lv5,
.crate[data-level="3"] .lv4,
.crate[data-level="3"] .lv5,
.crate[data-level="4"] .lv5 { opacity: 0; }
.crate[data-level="5"] .lv3-only { opacity: 0; }
.crate[data-level="3"] .mark-mono,
.crate[data-level="4"] .mark-mono,
.crate[data-level="5"] .mark-mono { opacity: 0; }

/* Lid, seal, latches */
.crate-lid, .crate-seal, .crate-hasp, .crate-plate, .crate-glow, .crate-beam {
  transform-box: fill-box;
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
}
.crate-lid { transform-origin: 50% 100%; }
.crate-seal { transform-origin: 50% 50%; }
.crate-hasp { transform-origin: 50% 8%; }
.crate-glow { opacity: 0; }
.crate-beam { opacity: 0; }
.crate-plate { transform: translateY(0); }

.crate.is-unsealed .crate-seal {
  transform: rotate(-120deg) scale(0.2);
  opacity: 0;
  transition-duration: 0.55s;
}
.crate.is-unsealed .crate-hasp {
  transform: scaleY(-0.55);
  transition-duration: 0.45s;
}
.crate.is-open .crate-lid {
  transform: translateY(-138px) scale(0.86, 0.74);
  opacity: 0.5;
}
.crate.is-open .crate-glow { opacity: 1; transition-delay: 0.15s; }
.crate.is-open .crate-plate {
  transform: translateY(-228px) scale(1.2);
  transition: transform 1.1s var(--ease-spring) 0.35s;
}
.crate.is-open .crate-beam { opacity: 1; transition-delay: 0.45s; }
.crate.is-open .crate-fx { opacity: 0; }

/* Light play */
.crate-fx { transition: opacity 0.3s; }
.crate-glint {
  transform: translate(var(--gx, 0px), var(--gy, 0px));
  opacity: var(--glint, 0);
  transition: opacity 0.4s;
}
.crate-sheen { opacity: 0; }
.crate.is-sheening .crate-sheen {
  animation: crate-sheen 0.9s var(--ease) both;
}
@keyframes crate-sheen {
  0% { opacity: 1; translate: 0 0; }
  100% { opacity: 1; translate: 760px 0; }
}

.crate .holo { animation: holo-shift 7s linear infinite; }
@keyframes holo-shift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .crate-svg, .crate-root, .crate-lid, .crate-seal, .crate-hasp, .crate-plate, .crate-glow, .crate-beam,
  .crate .lv2, .crate .lv3, .crate .lv4, .crate .lv5 {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .crate .holo, .crate.is-sheening .crate-sheen { animation: none; }
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.04; color: #fff; }
h2 { font-size: clamp(2.35rem, 5vw, 4.2rem); margin-bottom: 0.4em; }
h3 { font-size: 1.5rem; }
code { font-family: var(--font-mono); }
dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: 100px;
  background: #fff; color: var(--ink); font-weight: 700; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.section { position: relative; padding: var(--section-pad) 0; overflow-x: clip; }

/* ---------- Shared type pieces ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange);
}
.kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--orange);
  box-shadow: 10px 0 0 var(--cyan);
  margin-right: 10px;
}
.sticker {
  display: inline-block;
  margin: 0 0 22px;
  padding: 8px 18px 7px;
  background: #fff; color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.1;
  transform: rotate(-3deg);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
}
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 40ch; }
.fineprint { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.fineprint a { color: var(--text); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > p:last-child { color: var(--text-2); font-size: 1.08rem; max-width: 60ch; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center > p:last-child { margin-left: auto; margin-right: auto; }
.accent { color: var(--orange); }

.chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px 5px; margin: 0 0 22px;
  border-radius: 4px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.chip-gold {
  background: linear-gradient(180deg, #ffd27a, var(--gold-chip));
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 201, 61, 0.6), 0 0 18px rgba(255, 201, 61, 0.18);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px 5px;
  border-radius: 4px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3;
}
.badge-illustrative {
  background: linear-gradient(180deg, #ffd27a, var(--gold-chip));
  color: var(--ink);
}
.badge-warn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 26px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  font-family: var(--font-body); font-size: 14px; font-weight: 700; line-height: 1;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 14.5px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 12.5px; }
.btn-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(255, 124, 1, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { background: #ff8f26; transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(255, 124, 1, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: #fff; background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.07); }
.btn:focus-visible { outline-offset: 4px; border-radius: 100px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-center { justify-content: center; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.text-link::after { content: "\2192"; transition: transform 0.25s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(13, 13, 18, 0.6);
  color: #fff; font-size: 18px; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.icon-btn:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(13, 13, 18, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 150px; height: auto; }
.brand-divider { width: 1px; height: 22px; background: var(--hairline-2); }
.brand-sub {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.nav-menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-menu a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  border-radius: 8px;
  color: var(--text-2); text-decoration: none;
  font-size: 14.5px; font-weight: 600;
  transition: color 0.2s, background-color 0.2s;
}
.nav-menu a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-menu a.is-current { color: #fff; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    position: relative; display: inline-grid; place-items: center;
    width: 48px; height: 48px; border-radius: 12px;
    border: 1px solid var(--hairline-2); background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff;
    transition: transform 0.3s var(--ease), opacity 0.2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-menu {
    position: fixed; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px;
    background: rgba(13, 13, 18, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hairline);
    max-height: calc(100vh - 72px); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .nav-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-menu a:not(.btn) {
    min-height: 56px; padding: 0 4px; border-radius: 0;
    font-family: var(--font-display); font-size: 22px; color: #fff;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-cta { margin: 20px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 54px; font-size: 14px; }
}
@media (max-width: 520px) {
  .brand img { width: 128px; }
  .brand { gap: 10px; }
  .brand-sub { font-size: 10px; letter-spacing: 0.12em; }
}
@media (max-width: 360px) {
  .brand-divider, .brand-sub { display: none; }
}

/* =========================================================
   Stage, pedestal, spotlight
   ========================================================= */
.stage { position: relative; display: grid; place-items: center; isolation: isolate; }
.stage .crate { z-index: 2; }
.stage .crate::before {
  content: ""; position: absolute; z-index: -1;
  left: 6%; right: 6%; top: 79%; height: 13%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 35%, #30313f 0%, #1c1d27 50%, #121219 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.08),
    0 12px 0 -1px #0a0a0f,
    0 12px 0 0 rgba(255, 255, 255, 0.04),
    0 30px 50px -10px rgba(0, 0, 0, 0.8);
}
.pedestal {
  position: absolute; z-index: 0;
  left: 0; right: 0; bottom: 2%; height: 30%;
  background: radial-gradient(ellipse 50% 45% at 50% 60%, rgba(255, 255, 255, 0.06), transparent 70%);
  pointer-events: none;
}
.spotlight {
  position: absolute; z-index: 0; inset: -12% 0 18%;
  background: radial-gradient(ellipse 38% 62% at 50% 0%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.crate-float { animation: float 7s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* =========================================================
   02 Hero
   ========================================================= */
.hero { position: relative; padding: clamp(24px, 4vw, 48px) 0 40px; overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.orb-orange { width: 420px; height: 420px; left: -160px; top: -80px; background: radial-gradient(circle, rgba(255, 124, 1, 0.55), transparent 65%); }
.orb-cyan { width: 620px; height: 620px; right: -160px; top: 40px; background: radial-gradient(circle, rgba(52, 205, 227, 0.28), rgba(4, 131, 255, 0.12) 45%, transparent 70%); }
.vault-rings {
  position: absolute; right: max(-140px, calc(50% - 760px)); top: 50%;
  width: min(820px, 70vw); height: auto; transform: translateY(-48%);
  fill: none; stroke: rgba(255, 255, 255, 0.05); stroke-width: 1.2;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
  min-height: min(720px, calc(100svh - 150px));
}
.hero h1 { margin: 0 0 22px; }
.h1-main .nw { white-space: nowrap; }
.h1-kicker {
  display: block; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.h1-main {
  display: block;
  font-size: clamp(3.1rem, 5.6vw, 5.9rem);
  line-height: 0.96; letter-spacing: -0.02em;
}
.hero .lede { margin-bottom: 14px; }
.hero-triad {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin: 0 0 28px;
  font-family: var(--font-display); font-size: 1.2rem; color: #fff;
}
.hero-triad span:last-child { color: var(--gold-chip); }
.formula {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 28px 0 0;
}
.f-term {
  padding: 9px 13px 8px; border-radius: 8px;
  border: 1px solid var(--hairline-2); background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2);
}
.f-op { font-family: var(--font-display); font-size: 20px; color: var(--muted); }
.f-result { color: var(--ink); background: linear-gradient(180deg, #ffd27a, var(--gold-chip)); border-color: transparent; }
.hero-visual { position: relative; }
.stage-hero { padding: 6% 0 2%; }
.stage-hero .crate { width: min(100%, 600px); }
.stage-caption {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 4px 0 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.stage-caption .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.hero-status {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 28px 0 0; padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px; color: var(--muted);
}
.status-dot {
  flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%;
  background: var(--gold-chip); box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.15);
}

/* =========================================================
   03 Open Your Crate
   ========================================================= */
.open-section {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%);
}
.open-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
}
.open-layout {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.open-stage {
  padding: 64px 6% 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline-2);
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, #1d1e29 0%, #121219 60%, #0c0c11 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.open-stage::after {
  content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}
.open-stage .badge { position: absolute; top: 20px; left: 20px; z-index: 3; }
.open-stage .crate { width: min(100%, 520px); }

.tier-picker { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.tier-picker legend {
  padding: 0; margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.tier-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tier-chip { position: relative; cursor: pointer; }
.tier-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tier-chip span {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 0 16px 0 10px;
  border-radius: 100px; border: 1px solid var(--hairline-2);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 700; font-size: 14px; color: var(--text-2);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.tier-chip i {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--m-hi), var(--m-mid) 45%, var(--m-lo));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.05);
}
.tier-chip:hover span { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.tier-chip input:checked + span { border-color: var(--tier-accent); background: rgba(255, 255, 255, 0.07); color: #fff; }
.tier-chip input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 3px; }

.demo-card {
  margin-bottom: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline-2);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  overflow: hidden;
}
.demo-card-label {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(90deg, var(--m-lo), var(--m-hi) 28%, var(--m-mid) 58%, var(--m-hi) 82%, var(--m-lo));
  color: var(--ink);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.demo-state::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--ink); vertical-align: 1px; }
.demo-tier { margin: 20px 22px 2px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.05; color: #fff; }
.demo-num { margin: 0 22px 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.demo-line {
  margin: 0 22px; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--tier-accent);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease);
}
.demo-card[data-state="open"] .demo-line { max-height: 120px; opacity: 1; margin-bottom: 10px; transition-delay: 0.6s; }
.demo-hint { margin: 0 22px 20px; font-size: 14.5px; color: var(--text-2); }

/* =========================================================
   04 How it works
   ========================================================= */
.how-panel {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 72px) clamp(32px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--sky);
  color: var(--ink);
}
.how-panel .sticker { position: absolute; top: -22px; left: clamp(20px, 5vw, 64px); margin: 0; }
.how-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.how-panel h2 { color: var(--ink); margin: 0; }
.how-equation {
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--ink);
}
.how-equation span {
  padding: 7px 12px 6px; border-radius: 8px;
  border: 2px solid var(--ink); background: #fff;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.how-equation span:last-child { background: var(--ink); color: #fff; }
.steps { --steps-gap: clamp(48px, 5.5vw, 88px); list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--steps-gap); }
.step { position: relative; }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.step-num { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 0.9; color: var(--ink); }
.step-icon { width: 120px; height: 96px; flex: none; }
.step-kicker { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(13, 13, 18, 0.7); }
.step h3 { color: var(--ink); font-size: clamp(1.45rem, 2.2vw, 1.85rem); margin-bottom: 10px; }
.step p { color: rgba(13, 13, 18, 0.86); font-weight: 500; margin: 0; }
.step + .step::before {
  content: "\2192"; position: absolute; left: calc(var(--steps-gap) / -2 - 18px); top: 18px;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 16px;
}
.how-foot {
  margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 18px;
  border-top: 2px solid rgba(13, 13, 18, 0.15);
  font-family: var(--font-mono); font-size: 13px; color: rgba(13, 13, 18, 0.85);
}

/* =========================================================
   05 The five Crates
   ========================================================= */
.showcase {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline-2);
  background: radial-gradient(ellipse 70% 50% at 50% 0%, #1c1d28, #111117 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.shelf {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end;
  gap: clamp(4px, 1.5vw, 20px);
  padding: clamp(20px, 3vw, 36px) clamp(10px, 3vw, 40px) 0;
}
.shelf::after {
  content: ""; position: absolute; left: clamp(10px, 3vw, 40px); right: clamp(10px, 3vw, 40px); bottom: 64px; height: 10px;
  border-radius: 3px;
  background: linear-gradient(180deg, #3a3b4c, #1a1b24 40%, #0d0d12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 16px 30px -10px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}
.shelf-item {
  position: relative; z-index: 1;
  display: grid; justify-items: center; align-content: end;
  padding: 0 0 14px; min-height: 44px;
  border: 0; border-radius: 14px 14px 0 0;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s;
}
.shelf-item:hover { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.03)); }
.shelf-crate {
  width: calc(100% * var(--shelf-scale, 1)); max-width: 190px;
  margin-bottom: -9%;
  opacity: 0.55; filter: saturate(0.7);
  transition: opacity 0.3s, filter 0.3s, transform 0.4s var(--ease);
}
.shelf-crate .crate-root { transform: none; }
.shelf-item:hover .shelf-crate, .shelf-item[aria-selected="true"] .shelf-crate { opacity: 1; filter: none; }
.shelf-item[aria-selected="true"] .shelf-crate { transform: translateY(-6px); }
.shelf-num { margin-top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.shelf-name { font-family: var(--font-display); font-size: clamp(0.85rem, 1.6vw, 1.15rem); color: var(--text-2); }
.shelf-item[aria-selected="true"] .shelf-name { color: #fff; }
.shelf-item::after {
  content: ""; position: absolute; left: 30%; right: 30%; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--tier-accent); transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.shelf-item[aria-selected="true"]::after { transform: scaleX(1); }
.shelf-item:focus-visible { outline-offset: -3px; border-radius: 14px; }

.inspect {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(16px, 3vw, 48px); align-items: center;
  padding: clamp(16px, 3vw, 40px);
  border-top: 1px solid var(--hairline);
}
.inspect-stage { padding: 36px 4% 64px; }
.inspect-stage .crate { width: min(100%, 520px); }
.inspect-nav { position: absolute; z-index: 3; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.inspect-panel:focus-visible { outline-offset: 8px; }
.tier-index { margin: 0 0 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.inspect-panel h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 8px; }
.tier-line { font-family: var(--font-display); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.3; color: var(--tier-accent); margin-bottom: 16px; }
.inspect-panel > p:not(.tier-index):not(.tier-line) { color: var(--text-2); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 22px; border-radius: 12px; overflow: hidden; background: var(--hairline-2); border: 1px solid var(--hairline-2); }
.spec div { padding: 14px 16px; background: var(--panel); }
.spec dt { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.spec dd { font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.35; }
.inspect-panel { animation: panel-in 0.5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =========================================================
   06 Progression
   ========================================================= */
.progression-section { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.prog-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "head visual" "controls visual";
  gap: 0 clamp(24px, 5vw, 72px); align-items: start;
}
.prog-head { grid-area: head; align-self: end; }
.prog-head > p:last-child { color: var(--text-2); font-size: 1.08rem; max-width: 50ch; }
.prog-visual { grid-area: visual; align-self: center; }
.prog-controls { grid-area: controls; margin-top: 12px; }
.control {
  padding: 20px 22px 18px; margin-bottom: 14px;
  border-radius: var(--radius); border: 1px solid var(--hairline-2);
  background: var(--panel);
}
.control-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.control-head label { font-weight: 700; font-size: 15px; color: #fff; }
.control-head output { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-chip); }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 36px; margin: 0;
  background: transparent; cursor: pointer;
  --fill: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, var(--orange) 0 var(--fill), #2a2b38 var(--fill) 100%);
}
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: #2a2b38; }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--orange); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px; margin-top: -11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #dfe4ec 45%, #8a93a4);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 2px var(--orange), 0 6px 14px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s var(--ease);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #dfe4ec 45%, #8a93a4);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 2px var(--orange), 0 6px 14px rgba(0, 0, 0, 0.6);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--orange), 0 0 0 6px var(--cyan); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--orange), 0 0 0 6px var(--cyan); }

.ticks { list-style: none; position: relative; height: 18px; margin: 6px 15px 0; }
.ticks li {
  position: absolute; top: 0; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  color: var(--muted); transition: color 0.2s;
}
.ticks li:nth-child(1) { left: 0; transform: translateX(-15px); }
.ticks li:nth-child(2) { left: 25%; }
.ticks li:nth-child(3) { left: 50%; }
.ticks li:nth-child(4) { left: 75%; }
.ticks li:nth-child(5) { left: 100%; transform: translateX(calc(-100% + 15px)); }
.ticks li.is-active { color: #fff; font-weight: 700; }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 8px; }
.prog-stage { padding: 4% 4% 0; }
.prog-stage .crate { width: min(100%, 500px); }
.prog-result { text-align: center; margin-top: 4px; }
.prog-tier { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; line-height: 1.1; }
.prog-tier-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); vertical-align: middle; margin-left: 6px; }
.meter { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; }
.meter i { width: 44px; height: 6px; border-radius: 6px; background: #2a2b38; transition: background-color 0.4s var(--ease); }
.prog-result[data-level="1"] .meter i:nth-child(-n+1),
.prog-result[data-level="2"] .meter i:nth-child(-n+2),
.prog-result[data-level="3"] .meter i:nth-child(-n+3),
.prog-result[data-level="4"] .meter i:nth-child(-n+4),
.prog-result[data-level="5"] .meter i:nth-child(-n+5) { background: var(--tier-accent); }
.prog-line { color: var(--tier-accent); font-family: var(--font-display); font-size: 1.2rem; margin: 0; }

/* =========================================================
   07 Rewards and comparison
   ========================================================= */
.rewards-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
  margin-bottom: clamp(56px, 8vw, 110px);
}
.rewards-copy .lede { max-width: 46ch; margin-bottom: 28px; }
.points { list-style: none; counter-reset: pt; }
.points li {
  counter-increment: pt;
  position: relative; padding: 20px 0 20px 64px;
  border-top: 1px solid var(--hairline);
}
.points li::before {
  content: "0" counter(pt);
  position: absolute; left: 0; top: 22px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--orange);
}
.points h3 { font-size: 1.4rem; margin-bottom: 6px; }
.points p { margin: 0; color: var(--text-2); }

.status-card {
  position: sticky; top: 100px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  padding: 0 0 18px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 0 0 7px rgba(255, 255, 255, 0.14), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.status-card-top {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--ink);
  color: #fff;
}
.status-card-top h3 { font-size: 1.15rem; color: #fff; flex: 1; }
.status-card-top img { width: 18px; height: 24px; }
.status-pill {
  padding: 5px 9px 4px; border-radius: 4px;
  background: linear-gradient(180deg, #ffd27a, var(--gold-chip)); color: var(--ink);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.status-list { padding: 6px 20px 0; }
.status-list div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(13, 13, 18, 0.22); }
.status-list dt { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4a4c5a; padding-top: 2px; }
.status-list dd { font-weight: 700; font-size: 14.5px; line-height: 1.4; }
.status-list dd.is-unset { color: #6a5a3c; }
.status-card .fineprint { margin: 14px 20px 0; color: #3b3d4a; }
.status-card .fineprint a { color: var(--ink); font-weight: 700; }

.compare {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline-2);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: clamp(28px, 5vw, 64px);
}
.compare-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 20px 48px; align-items: end; margin-bottom: 36px; }
.compare-title { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; }
.compare-title em { font-style: normal; color: var(--orange); }
.compare-head p { margin: 0; color: var(--text-2); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.compare-col { padding: 26px 26px 24px; border-radius: var(--radius); border: 1px solid var(--hairline-2); background: rgba(13, 13, 18, 0.55); }
.compare-label {
  display: inline-block; margin: 0 0 16px; padding: 5px 10px 4px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.compare-gacha .compare-label { background: linear-gradient(271deg, #9c30e8, #8217cf); color: #fff; }
.compare-crates { border-color: rgba(255, 124, 1, 0.45); background: linear-gradient(180deg, rgba(255, 124, 1, 0.07), rgba(13, 13, 18, 0.55) 60%); }
.compare-crates .compare-label { background: var(--orange); color: var(--ink); }
.compare-col ul { list-style: none; margin-bottom: 20px; }
.compare-col li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--hairline); color: var(--text-2); font-size: 15.5px; }
.compare-col li:last-child { border-bottom: 0; }
.compare-col li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); }
.compare-gacha li::before { background: #9c30e8; }
.compare-crates li::before { background: var(--orange); }
.not-list { padding: 22px 26px; border-radius: var(--radius); border: 1px dashed var(--hairline-2); margin-bottom: 22px; }
.not-list .compare-label { background: transparent; color: var(--muted); padding: 0; margin-bottom: 12px; }
.not-list ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.not-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 100px; border: 1px solid var(--hairline-2);
  font-size: 14px; font-weight: 600; color: var(--text-2);
}
.not-list li::before { content: "\00D7"; font-weight: 700; color: #ff6b6b; font-size: 16px; line-height: 1; }
.existing-note { margin: 0; padding-left: 16px; border-left: 3px solid var(--cyan); font-size: 15px; color: var(--text-2); max-width: 90ch; }

/* =========================================================
   08 About
   ========================================================= */
.about-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.about-head h2 { margin: 0; }
.about-head > p { margin: 0; color: var(--text-2); font-size: 1.08rem; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.pillar {
  position: relative; padding: 26px 24px 24px;
  border-radius: 20px; border: 1px solid var(--hairline-2);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.pillar:hover { border-color: #4a4c66; transform: translateY(-3px); }
.pillar-num { display: block; margin-bottom: 36px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--cyan); }
.pillar h3 { font-size: 1.6rem; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.official-links { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.official-links a {
  position: relative; display: grid; gap: 4px;
  padding: 18px 48px 18px 20px; border-radius: 16px;
  border: 1px solid var(--hairline-2); background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 0.25s, background-color 0.25s;
}
.official-links a::after { content: "\2197"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--muted); transition: color 0.25s, transform 0.25s var(--ease); }
.official-links a:hover { border-color: var(--orange); background: rgba(255, 124, 1, 0.06); }
.official-links a:hover::after { color: var(--orange); transform: translate(2px, calc(-50% - 2px)); }
.ol-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ol-url { font-family: var(--font-display); font-size: 1.05rem; color: #fff; overflow-wrap: anywhere; }

/* =========================================================
   09 Token
   ========================================================= */
.token-section { background: linear-gradient(180deg, var(--bg), var(--bg-2) 40%, var(--bg)); }
.token-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.token-copy > p:not(.kicker):not(.fineprint) { color: var(--text-2); font-size: 1.08rem; }
.token-card {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--hairline-2);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.token-card-band {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 22px;
  background: var(--cream); color: var(--ink);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.token-list { padding: 4px 22px; }
.token-list > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.token-list dt { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.token-list dd { font-weight: 600; color: #fff; }
.token-ticker { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.mint-row dd { display: grid; gap: 12px; justify-items: start; }
.mint {
  display: block; width: 100%;
  padding: 12px 14px; border-radius: 10px;
  background: #0a0a0e; border: 1px solid var(--hairline-2);
  font-size: 14.5px; line-height: 1.5; color: var(--cyan);
  word-break: break-all;
}
.btn-copy {
  min-height: 42px; padding: 0 16px; font-size: 12px;
  background: #fff; color: var(--ink);
}
.btn-copy svg { width: 16px; height: 16px; }
.btn-copy:hover { background: var(--cyan); }
.btn-copy.is-copied { background: #5bf0a0; }
.token-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 22px 22px; }

/* =========================================================
   10 FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head > p:last-child { color: var(--text-2); }
.faq-group {
  margin: 36px 0 6px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange);
}
.faq-group:first-child { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  position: relative; display: block;
  padding: 18px 48px 18px 0;
  font-weight: 700; font-size: 1.05rem; line-height: 1.4; color: #fff;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  border: 1px solid var(--hairline-2);
  background:
    linear-gradient(#fff, #fff) center / 10px 1.5px no-repeat,
    linear-gradient(#fff, #fff) center / 1.5px 10px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); border-color: var(--orange); background-color: rgba(255, 124, 1, 0.12); }
.faq-item summary:hover { color: var(--text-2); }
.faq-item summary:focus-visible { outline-offset: 2px; }
.faq-a { padding: 0 48px 20px 0; color: var(--text-2); }
.faq-a p { margin: 0; }
.faq-a a { color: #fff; }
.mint-inline { font-size: 0.92em; color: var(--cyan); word-break: break-all; }

/* =========================================================
   11 Final CTA
   ========================================================= */
.final-section { padding: 0 0 var(--section-pad); overflow-x: clip; }
.final-panel {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px) clamp(48px, 6vw, 88px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline-2);
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(255, 124, 1, 0.16), transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(52, 205, 227, 0.12), transparent 70%),
    linear-gradient(180deg, #16161e, #0e0e13);
  text-align: center;
}
.lineup {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end;
  gap: clamp(0px, 1vw, 12px);
  max-width: 940px; margin: 0 auto clamp(24px, 4vw, 40px);
}
.lineup .crate { width: calc(100% * var(--shelf-scale, 1)); margin: 0 auto; }
.lineup .crate .crate-root { transform: none; }
.final-panel h2 { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 0.96; margin-bottom: 16px; }
.final-panel > p { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--text-2); margin-bottom: 30px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { border-top: 1px solid var(--hairline); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); background: #0a0a0e; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 14px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer-nav ul { list-style: none; display: grid; gap: 6px; align-content: start; }
.footer-nav a { color: var(--text-2); text-decoration: none; font-size: 14.5px; display: inline-block; padding: 4px 0; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-legal p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.copyright { font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11.5px !important; margin: 0; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .pillars, .official-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { padding-top: 20px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  .h1-kicker { margin-bottom: 12px; font-size: 11.5px; }
  .hero-copy { display: contents; }
  .hero-grid > .hero-copy > * { min-width: 0; }
  .hero .chip { order: 1; justify-self: start; margin-bottom: 14px; }
  .hero h1 { order: 2; margin-bottom: 0; }
  .hero-visual { order: 3; margin: calc(min(100vw - 2 * var(--gutter), 460px) * -0.16) -4% -3%; }
  .hero .cta-row { order: 4; margin-bottom: 26px; }
  .hero .lede { order: 5; }
  .hero-triad { order: 6; }
  .hero .formula { order: 7; margin-top: 4px; }
  .stage-hero { padding: 0; }
  .stage-caption { display: none; }
  .h1-main { font-size: clamp(3rem, 13.5vw, 4.6rem); }
  .h1-main .nw { white-space: normal; }
  .hero-triad { font-size: 1.05rem; margin-bottom: 22px; }
  .stage-hero .crate { width: min(100%, 460px); }
  .vault-rings { width: 130vw; right: -50vw; top: 72%; }
  .orb-cyan { width: 420px; height: 420px; right: -200px; top: 50%; }

  .open-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .open-panel { display: contents; }
  .open-panel .tier-picker { order: 1; margin: 0; }
  .open-stage { order: 2; padding: 52px 4% 8px; }
  .open-panel .cta-row { order: 3; }
  .open-panel .demo-card { order: 4; margin: 0; }
  .open-panel .fineprint { order: 5; margin: 0; }
  .stage-hero .spotlight { display: none; }

  .how-head { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 24px 0; border-top: 2px solid rgba(13, 13, 18, 0.14); }
  .step:first-child { border-top: 0; padding-top: 0; }
  .step + .step::before { display: none; }
  .step-top { margin-bottom: 10px; }
  .step-icon { width: 96px; height: 77px; }

  .inspect { grid-template-columns: 1fr; }
  .inspect-stage { padding: 24px 4% 70px; }

  .prog-grid { grid-template-columns: 1fr; grid-template-areas: "head" "visual" "controls"; }
  .prog-visual { margin: 8px 0 18px; }

  .rewards-grid { grid-template-columns: 1fr; }
  .status-card { position: relative; top: 0; }
  .compare-head { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }

  .about-head { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

@media (max-width: 600px) {
  :root { --radius-lg: 22px; }
  h2 { font-size: clamp(2.2rem, 10.5vw, 2.9rem); }
  .cta-row .btn-lg { flex: 1 1 100%; }
  .hero .cta-row .btn-lg { min-height: 54px; }
  .formula { gap: 6px; }
  .f-term { font-size: 10.5px; padding: 8px 9px 7px; letter-spacing: 0.06em; }
  .f-op { font-size: 16px; }
  .hero-status { font-size: 12.5px; }

  .open-stage .badge { top: 14px; left: 14px; font-size: 10px; }
  .tier-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tier-chip span { width: 100%; padding: 0 10px 0 8px; font-size: 13px; gap: 7px; }
  .tier-chip i { width: 18px; height: 18px; flex: none; }

  .how-panel .sticker { font-size: 18px; top: -18px; }
  .how-equation { gap: 6px; font-size: 0.95rem; }
  .how-equation span { padding: 6px 8px 5px; font-size: 10.5px; letter-spacing: 0.05em; border-width: 1.5px; }

  .shelf { padding: 18px 8px 0; gap: 2px; }
  .shelf::after { left: 8px; right: 8px; bottom: 56px; height: 7px; }
  .shelf-item { padding-bottom: 12px; }
  .shelf-num { margin-top: 10px; font-size: 9.5px; }
  .shelf-name { font-size: 12px; }
  .spec { grid-template-columns: 1fr; }

  .control { padding: 16px 16px 14px; }
  .ticks li { display: none; }
  .ticks li.is-active { display: block; color: var(--muted); }
  .ticks li.is-active:not(:first-child):not(:last-child) { transform: translateX(-50%); }
  .meter i { width: 36px; }

  .points li { padding-left: 44px; }
  .status-list div { grid-template-columns: 1fr; gap: 2px; }
  .compare-col, .not-list { padding: 20px 18px; }
  .pillars, .official-links { grid-template-columns: 1fr; }
  .pillar-num { margin-bottom: 18px; }
  .token-list > div { grid-template-columns: 1fr; gap: 6px; }
  .token-links .btn { flex: 1 1 auto; }
  .faq-item summary { font-size: 1rem; padding-right: 44px; }
  .faq-a { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .crate-float { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .inspect-panel { animation: none; }
  .btn, .pillar, .shelf-crate, .nav-menu { transition: none; }
}
.nowrap { white-space: nowrap; }
