:root {
  --bg: #090b0d;
  --bg-2: #0e1215;
  --panel: #12171b;
  --panel-2: #171d22;
  --line: #232c33;
  --line-2: #34414a;
  --ink: #e7ecef;
  --muted: #8d99a3;
  --body-muted: #c4cdd3;
  --green: #5dff9c;
  --green-dark: #06100a;
  --amber: #ffb000;
  --red: #ff4b2b;
  --cyan: #22e3c8;
  --blue: #2fb8ff;
  --pink: #ff7ad9;
  --violet: #a78bfa;
  --steel: #cfe8f2;
  --display: "Black Ops One", "Saira Stencil One", Impact, sans-serif;
  --stencil: "Saira Stencil One", Impact, sans-serif;
  --mono: "Share Tech Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Saira", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 28px 70px rgba(0, 0, 0, .52);
  --holo-colors: #ff6ad5, #c774e8, #94d0ff, #5dff9a, #fff38a, #ff6ad5;
  --gold-edge: linear-gradient(135deg, #fff6d8, #e3b25a 25%, #fff1c2 50%, #b9822f 72%, #ffe7a8);
}

@property --holo-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: true;
}

/* Shared with the regenerated artwork, keyed by stratum rather than card order. */
[data-stratum] {
  --tier-edge: linear-gradient(135deg, color-mix(in srgb, var(--tier) 65%, transparent), color-mix(in srgb, var(--tier) 22%, transparent));
}
[data-stratum="0"] {
  --tier: #b48cff;
  --tier-ink: #f4f1ff;
  --tier-base: #020208;
  --tier-edge: conic-gradient(from var(--holo-angle), var(--holo-colors));
  --tier-halo: 0 0 32px rgba(180, 140, 255, .2), 0 0 12px rgba(148, 208, 255, .12);
}
[data-stratum="1"] {
  --tier: #ffc56b;
  --tier-ink: #fff1d1;
  --tier-base: #0f0a08;
  --tier-edge: var(--gold-edge);
  --tier-halo: 0 0 26px rgba(255, 197, 107, .15);
}
[data-stratum="2"] {
  --tier: #5aa8ff;
  --tier-ink: #cdeeff;
  --tier-base: #040a1e;
  --tier-halo: 0 0 20px rgba(61, 107, 255, .12);
}
[data-stratum="3"] {
  --tier: #ffa53d;
  --tier-ink: #fff0b8;
  --tier-base: #120804;
  --tier-halo: 0 0 17px rgba(255, 106, 31, .1);
}
[data-stratum="4"] {
  --tier: #a47cff;
  --tier-ink: #f1d6ff;
  --tier-base: #0b0616;
  --tier-halo: 0 0 14px rgba(123, 77, 255, .09);
}
[data-stratum="5"] {
  --tier: #2f9fae;
  --tier-ink: #9ff5e2;
  --tier-base: #03100f;
  --tier-halo: 0 0 10px rgba(47, 159, 174, .06);
}
[data-stratum="6"] {
  --tier: #8d8ca8;
  --tier-ink: #c9c4d6;
  --tier-base: #08080b;
  --tier-edge: linear-gradient(#373640, #25242c);
  --tier-halo: 0 0 0 transparent;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 4px),
    radial-gradient(1100px 680px at 82% -8%, rgba(93, 255, 156, .075), transparent 62%),
    radial-gradient(900px 560px at -12% 34%, rgba(255, 176, 0, .055), transparent 60%);
}
::selection {
  background: var(--green);
  color: var(--green-dark);
}
a { color: var(--green); }
button, input, textarea, select { font: inherit; }
button {
  color: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .015em;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 4.7vw, 58px);
  line-height: 1.02;
}
h2 em {
  color: var(--green);
  font-style: normal;
  text-shadow: 0 0 32px rgba(93, 255, 156, .2);
}
h3 {
  font-size: 24px;
  line-height: 1.08;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.grain, .orbit { display: none; }

/* Shared shell and type */
.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
  position: relative;
  z-index: 1;
  scroll-margin-top: 62px;
}
.section:not(.hero)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}
.section-heading.narrow { max-width: 710px; }
.section-heading > p:last-child {
  max-width: 720px;
  margin: 13px 0 0;
  color: var(--muted);
}
.eyebrow, .kick {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--green);
  font: 12px var(--mono);
  letter-spacing: .2em;
  line-height: 1.45;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: none;
  background: var(--green);
}
.eyebrow span {
  padding: 4px 7px;
  color: var(--green-dark);
  background: var(--green);
  font-size: 10px;
  letter-spacing: .12em;
}
.sub, .lede {
  color: var(--body-muted);
}
.fine-print, .note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

/* Cut-edge action system */
.cta, .primary-btn, .outline-btn, .text-btn, .pill {
  border: 0;
  text-decoration: none;
  text-transform: uppercase;
}
.cta, .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 23px;
  background: var(--green);
  color: var(--green-dark);
  font: 16px var(--display);
  letter-spacing: .055em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: filter .15s, transform .15s;
}
.cta:hover, .primary-btn:hover:not(:disabled) { filter: brightness(1.12); }
.cta:active, .primary-btn:active:not(:disabled) { transform: translateY(1px); }
.cta span { font-family: var(--mono); }
.primary-btn:disabled, .outline-btn:disabled, .text-btn:disabled {
  cursor: not-allowed;
  opacity: .42;
  filter: grayscale(1);
  transform: none;
}
.text-btn.disabled,
.text-btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: .42;
  filter: grayscale(1);
}
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font: 12px var(--mono);
  letter-spacing: .14em;
  transition: color .15s, box-shadow .15s, background .15s;
}
.outline-btn:hover:not(:disabled) {
  background: rgba(93, 255, 156, .06);
  color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}
.text-btn {
  padding: 0 0 5px;
  border-bottom: 1px solid var(--green);
  background: transparent;
  color: var(--ink);
  font: 12px var(--mono);
  letter-spacing: .13em;
}
.text-btn:hover { color: var(--green); }
.wide { width: 100%; }

/* Top navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 13, .9);
  backdrop-filter: blur(12px);
}
.topbar-inner {
  width: min(1180px, calc(100% - 40px));
  height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 24px var(--display);
  letter-spacing: .035em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 24px;
  height: 24px;
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  border: 2px solid var(--green);
  border-radius: 50%;
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  background: var(--green);
}
.brand-mark::before {
  top: -5px;
  width: 2px;
  height: 30px;
}
.brand-mark::after {
  left: -5px;
  width: 30px;
  height: 2px;
}
.brand-mark i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.nav {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-left: 14px;
}
.nav a {
  color: var(--muted);
  font: 12px var(--mono);
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav a:hover { color: var(--ink); }
.topbar-tools {
  margin-left: auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.lang-wrap { display: block; }
.lang-select {
  max-width: 122px;
  padding: 9px 25px 9px 9px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238d99a3'/%3E%3C/svg%3E") no-repeat right 8px center,
    transparent;
  color: var(--ink);
  font: 12px var(--mono);
  letter-spacing: .03em;
  outline: 0;
}
.lang-select option {
  background: #0d1114;
  color: var(--ink);
}
.pill {
  padding: 10px 14px;
  background: var(--green);
  color: var(--green-dark);
  font: 13px var(--display);
  letter-spacing: .06em;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.pill.connected {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

/* Hero */
.hero {
  min-height: 640px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 42px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 46px;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -255px;
  top: -170px;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  opacity: .42;
  background:
    repeating-radial-gradient(circle, transparent 0 59px, rgba(148, 208, 255, .16) 60px 61px),
    conic-gradient(from 0deg, rgba(180, 140, 255, .38), transparent 17%);
  -webkit-mask: radial-gradient(circle, #000 59%, transparent 71%);
  mask: radial-gradient(circle, #000 59%, transparent 71%);
  animation: radar 8s linear infinite;
}
.hero-copy { min-width: 0; }
.hero .eyebrow { margin-bottom: 14px; }
.hero h1 {
  margin: 0;
  font-size: clamp(58px, 7vw, 94px);
  line-height: .82;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.hero h1 span {
  color: var(--green);
  text-shadow: 0 0 34px rgba(93, 255, 156, .32);
}
.hero-tagline {
  max-width: 570px;
  margin: 14px 0 0;
  color: var(--muted);
  font: 15px/1.45 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-tagline em {
  color: var(--ink);
  font-style: normal;
}
.launch-banner {
  width: fit-content;
  max-width: 610px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 0;
  padding: 14px 17px;
  border: 1px solid rgba(255, 176, 0, .58);
  background: linear-gradient(90deg, rgba(255, 176, 0, .13), rgba(255, 176, 0, .015));
  color: #eadfc5;
  font: 13px var(--mono);
  letter-spacing: .055em;
  text-transform: uppercase;
  position: relative;
}
.launch-banner::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--amber);
  border-left: 3px solid var(--amber);
}
.banner-index {
  color: var(--amber);
  font: 30px var(--display);
  line-height: 1;
}
.launch-banner span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.hero-countdown {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-countdown b {
  color: var(--green);
  font-weight: 400;
  letter-spacing: .08em;
}
.hero .lede {
  max-width: 570px;
  margin: 20px 0 0;
  color: #c9d1d7;
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 620px;
  margin-top: 31px;
}
.hero-facts div {
  min-width: 0;
  padding-top: 11px;
  border-top: 1px solid var(--line-2);
}
.hero-facts strong {
  display: block;
  font: 27px var(--display);
  line-height: 1;
}
.hero-facts span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font: 11px var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-art {
  min-width: 0;
  position: relative;
}
.hero-deck {
  position: relative;
  aspect-ratio: 1.08;
}
.art-frame {
  position: absolute;
  left: 15%;
  top: 7%;
  z-index: 3;
  width: 66%;
  padding: 9px;
  border: 2px solid transparent;
  background: linear-gradient(var(--tier-base), var(--tier-base)) padding-box, var(--tier-edge) border-box;
  box-shadow: var(--shadow), var(--tier-halo);
  animation: holo-frame 8s linear infinite;
  transform: rotate(-1.2deg);
}
.art-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.mini-card {
  position: absolute;
  z-index: 2;
  width: 46%;
  padding: 7px;
  border: 1px solid transparent;
  background: linear-gradient(var(--tier-base), var(--tier-base)) padding-box, var(--tier-edge) border-box;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .55), var(--tier-halo);
}
.mini-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.hero-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 2px 3px;
  color: var(--tier);
  font: 10px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-caption b { font-weight: 400; }
.hero-caption span { flex: none; color: var(--tier-ink); opacity: .65; }
.art-frame .hero-caption { font-size: 12px; }
.mini-card-a {
  left: 0;
  top: 0;
  border-width: 2px;
  transform: rotate(-7deg);
}
.mini-card-b {
  right: 0;
  bottom: 0;
  transform: rotate(6deg);
}
.coordinate {
  position: absolute;
  right: 3px;
  bottom: -18px;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
  letter-spacing: .12em;
  text-align: right;
}

/* Panels and mint */
.panel {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
}
.panel::before, .panel::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 15px;
  height: 15px;
  border-color: var(--green);
  border-style: solid;
  pointer-events: none;
}
.panel::before {
  left: -1px;
  top: -1px;
  border-width: 2px 0 0 2px;
}
.panel::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}
.mint-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: 20px;
  align-items: start;
}
.mint-main { padding: 25px; }
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.panel-head > .eyebrow {
  margin: 4px 0 0;
}
.panel-head .eyebrow { margin-bottom: 8px; }
.panel-head h2, .panel-head h3 { margin-bottom: 0; }
.panel-head h2 {
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1;
}
.panel-head h3 { font-size: 24px; }
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font: 11px var(--mono);
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-chip i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--muted);
}
.status-chip.live {
  color: var(--green);
  border-color: rgba(93, 255, 156, .48);
}
.status-chip.live i {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: blink 1.25s infinite;
}
.status-chip.closed {
  color: var(--amber);
  border-color: rgba(255, 176, 0, .5);
}
.status-chip.closed i { background: var(--amber); }
.supply-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-top: 28px;
}
.supply-number {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--display);
  line-height: .9;
}
.supply-number span {
  font-size: clamp(44px, 5.5vw, 64px);
}
.supply-number small {
  color: var(--muted);
  font: 15px var(--mono);
  letter-spacing: .08em;
}
.supply-meta {
  color: var(--muted);
  font: 11px var(--mono);
  letter-spacing: .12em;
  text-align: right;
  text-transform: uppercase;
}
.supply-meta b {
  margin-left: 6px;
  color: var(--ink);
  font-weight: 400;
}
.progress {
  position: relative;
  height: 10px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #090c0e;
}
.progress i {
  display: block;
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--green) 0 6px, rgba(93, 255, 156, .58) 6px 8px);
  transition: width .6s ease;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 20px 0;
}
.countdown div {
  padding: 10px 4px;
  border: 1px solid var(--line);
  background: #090c0e;
  text-align: center;
}
.countdown strong {
  display: block;
  font: 29px var(--display);
  line-height: 1;
}
.countdown span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eligibility {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0;
  padding: 12px 14px;
  border: 1px dashed var(--line-2);
  color: var(--body-muted);
}
.eligibility p {
  margin: 0;
  font-size: 13px;
}
.eligibility-dot {
  width: 9px;
  height: 9px;
  flex: none;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--muted);
}
.eligibility.free .eligibility-dot {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.eligibility.paid .eligibility-dot { background: var(--amber); }
.eligibility.error .eligibility-dot { background: var(--red); }
.mint-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-2);
}
.quantity button {
  width: 46px;
  height: 49px;
  border: 0;
  background: #090c0e;
  color: var(--ink);
  font: 22px var(--mono);
}
.quantity button:hover { color: var(--green); }
.quantity input {
  width: 64px;
  height: 49px;
  appearance: textfield;
  border: 0;
  border-left: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font: 22px var(--display);
  text-align: center;
  outline: 0;
}
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.cost { text-align: right; }
.cost span {
  display: block;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cost strong {
  display: block;
  margin-top: 3px;
  font: 23px var(--display);
  font-weight: 400;
}
#mintBtn { min-height: 56px; font-size: 19px; }
.tx-feedback {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  font-size: 13px;
  line-height: 1.55;
  word-break: break-word;
}
.tx-feedback.show { display: flex; gap: 8px; }
.tx-feedback.ok {
  color: var(--green);
  border-color: rgba(93, 255, 156, .48);
}
.tx-feedback.err {
  color: #ffb3a3;
  border-color: rgba(255, 75, 43, .58);
}
.tx-feedback a { color: inherit; }
.micro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 19px;
  border: 1px solid var(--line);
  background: var(--line);
}
.micro-stats div {
  padding: 11px 12px;
  background: var(--bg-2);
}
.micro-stats span {
  display: block;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .12em;
}
.micro-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font: 18px var(--display);
  font-weight: 400;
}
.ledger-note {
  margin: 9px 0 0;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
  letter-spacing: .04em;
}
.side-stack {
  display: grid;
  gap: 20px;
}
.access-card, .x-card { padding: 22px; }
.access-card h3 { margin: 7px 0 18px; font-size: 27px; }
.route-meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.route-meter {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.route-meter-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px;
}
.route-meter-top span {
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .08em;
}
.route-meter-top b { font: 20px var(--display); }
.route-track {
  height: 4px;
  margin: 8px 0 6px;
  overflow: hidden;
  background: #070a0c;
}
.route-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green);
  transition: width .45s ease;
}
.route-meter:last-child .route-track i { background: var(--amber); }
.route-meter small {
  display: block;
  color: var(--muted);
  font: 8px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.access-row {
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 11px;
  padding: 12px 0;
  border-top: 1px dashed var(--line-2);
}
.access-index {
  color: var(--green);
  font: 22px var(--display);
  line-height: 1;
}
.access-row b {
  display: block;
  font: 14px var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.access-row p {
  margin: 4px 0 0;
  color: var(--body-muted);
  font-size: 13px;
  line-height: 1.55;
}
.access-card .fine-print { margin: 14px 0 0; }
.compact h3 { font-size: 23px; }
.tiny-label {
  padding: 5px 7px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .12em;
}
.x-intro {
  margin: 15px 0 12px;
  color: var(--body-muted);
  font-size: 13px;
}
textarea, .field input {
  width: 100%;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  outline: 0;
}
textarea {
  min-height: 126px;
  padding: 11px;
  resize: vertical;
  font: 12px/1.55 var(--mono);
}
textarea:focus, .field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(93, 255, 156, .16);
}
.copy-btn {
  margin: 8px 0 16px;
  font-size: 11px;
}
.x-share-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 16px;
}
.x-share-actions .copy-btn { margin: 0; }
.x-open-btn {
  color: var(--green);
  text-decoration: none;
}
.x-open-btn span { font-family: var(--mono); }
.x-open-btn.disabled {
  cursor: not-allowed;
  opacity: .4;
  pointer-events: none;
}
.field { display: block; margin-bottom: 13px; }
.field span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .13em;
}
.field input {
  height: 43px;
  padding: 0 11px;
  font: 12px var(--mono);
}
.turnstile-box { min-height: 0; margin: 8px 0; }
.turnstile-box:not(:empty) { min-height: 65px; }

/* Referral */
.referral-section {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: 34px;
  align-items: end;
}
.referral-copy h2 { margin-bottom: 18px; }
.referral-copy > p:last-child {
  max-width: 620px;
  color: var(--body-muted);
}
.referral-box { padding: 23px; }
.ref-by {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
  letter-spacing: .04em;
}
.referral-box > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font: 11px var(--mono);
  letter-spacing: .13em;
}
.ref-input {
  display: flex;
  gap: 8px;
  margin: 11px 0;
}
.ref-input input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  font: 12px var(--mono);
  outline: 0;
}
.ref-input input:focus { border-color: var(--green); }
.ref-input .text-btn {
  flex: none;
  padding: 0 12px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--green-dark);
  font-family: var(--display);
}
.ref-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 15px;
}
.ref-stats div {
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.ref-stats strong {
  display: block;
  color: var(--amber);
  font: 27px var(--display);
  font-weight: 400;
}
.ref-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .12em;
}
.ref-pool {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.ref-pool-head,
.ref-pool-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.ref-pool-head span,
.ref-pool-meta {
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ref-pool-head b {
  color: var(--amber);
  font: 16px var(--display);
  font-weight: 400;
  text-align: right;
}
.ref-pool-track {
  height: 7px;
  margin: 9px 0 7px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg);
}
.ref-pool-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--amber) 0 8px, rgba(255, 176, 0, .42) 8px 10px);
  transition: width .45s ease;
}

/* Strata / rarity frames */
.strata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 15px;
}
.stratum {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid transparent;
  background: linear-gradient(145deg, var(--tier-base), var(--bg-2)) padding-box, var(--tier-edge) border-box;
  box-shadow: var(--tier-halo);
}
.stratum[data-stratum="0"], .stratum[data-stratum="1"] { border-width: 2px; }
.stratum[data-stratum="0"] { animation: holo-frame 8s linear infinite; }
.stratum::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 5px;
  border: 1px solid color-mix(in srgb, var(--tier) 18%, transparent);
  pointer-events: none;
}
.stratum[data-stratum="0"]::after { border-color: rgba(199, 116, 232, .45); }
.stratum[data-stratum="1"]::after { border-color: rgba(255, 197, 107, .4); }
.stratum[data-stratum="5"]::after, .stratum[data-stratum="6"]::after { display: none; }
.stratum img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-bottom: 1px solid color-mix(in srgb, var(--tier) 22%, transparent);
  object-fit: contain;
  transition: filter .3s ease;
}
.stratum:hover img {
  filter: saturate(1.08) brightness(1.06);
}
.stratum-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--tier) 22%, transparent);
  color: var(--tier-ink);
  font: 10px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.stratum-top span {
  padding: 2px 0;
}
.stratum-top span:last-child { color: var(--tier); }
.stratum-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 15px 16px;
}
.stratum h3 {
  margin-bottom: 5px;
  color: var(--tier);
  font-size: 22px;
  text-shadow: 0 0 18px color-mix(in srgb, var(--tier) 38%, transparent);
}
.stratum[data-stratum="0"] h3, .art-frame .hero-caption b {
  background: conic-gradient(from var(--holo-angle), var(--holo-colors));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: none;
}
.stratum[data-stratum="1"] h3 {
  background: var(--gold-edge);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.stratum[data-stratum="5"] h3 { color: var(--tier-ink); }
.stratum[data-stratum="6"] h3 { text-shadow: none; }
.rarity {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 10px;
  margin: 1px 0 12px 2px;
}
.rarity-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--tier-ink) 28%, transparent);
  transform: rotate(45deg);
}
.rarity-dot.is-lit {
  border-color: var(--tier-ink);
  background: var(--tier);
  box-shadow: 0 0 7px color-mix(in srgb, var(--tier) 32%, transparent);
}
.stratum[data-stratum="0"] .rarity-dot.is-lit { background: var(--tier-edge); }
.stratum[data-stratum="1"] .rarity-dot.is-lit { background: var(--gold-edge); }
.stratum[data-stratum="6"] .rarity-dot.is-lit { box-shadow: none; }
.stratum p {
  min-height: 39px;
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.stratum-meta {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px dashed color-mix(in srgb, var(--tier) 25%, transparent);
  color: var(--muted);
  font: 11px var(--mono);
  line-height: 1.4;
}
.stratum-meta b {
  color: var(--ink);
  font-weight: 400;
}
.strata-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .12em;
}
.sample-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 25px 0 10px;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .12em;
}
.sample-head b {
  color: var(--green);
  font-weight: 400;
  text-align: right;
}
.samples {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.sample-card {
  --sample-accent: var(--tier);
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color .2s, transform .2s;
}
.sample-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: filter .2s;
}
.sample-card:hover {
  z-index: 2;
  border-color: var(--sample-accent, var(--green));
  transform: translateY(-2px);
}
.sample-card:hover img { filter: saturate(1.12) brightness(1.08); }
.sample-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sample-accent, var(--green));
}
.sample-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 7px 7px 8px;
  color: var(--muted);
  font: 7px/1.35 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sample-label b {
  overflow: hidden;
  color: var(--tier-ink);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sample-label span { flex: none; color: var(--sample-accent, var(--green)); }

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.story-visual {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line-2);
  background: var(--panel);
}
.story-visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  top: 10px;
  height: 2px;
  background: var(--green);
}
.story-visual img { width: 100%; }
.story-visual span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .13em;
}
.story-copy h2 { margin-bottom: 20px; }
.story-copy > p {
  max-width: 680px;
  color: var(--body-muted);
  line-height: 1.7;
}
.story-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 25px;
}
.story-metrics div {
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.story-metrics b {
  display: block;
  font: 22px var(--display);
  font-weight: 400;
}
.story-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .1em;
}

/* Reveal and claim */
.reveal-section .timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 5px;
  border: 1px solid var(--line);
}
.timeline-step {
  position: relative;
  min-width: 0;
  min-height: 200px;
  padding: 19px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}
.timeline-step:last-child { border-right: 0; }
.timeline-step > span {
  color: var(--amber);
  font: 10px var(--mono);
  letter-spacing: .15em;
}
.timeline-step .step-state {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 6px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font: 8px var(--mono);
  font-style: normal;
  letter-spacing: .12em;
}
.timeline-step[data-state="done"] {
  opacity: .68;
}
.timeline-step[data-state="done"] .step-state {
  color: var(--green);
  border-color: rgba(93, 255, 156, .35);
}
.timeline-step[data-state="current"] {
  background: linear-gradient(180deg, rgba(93, 255, 156, .055), var(--panel));
}
.timeline-step[data-state="current"] .step-state {
  color: var(--green-dark);
  border-color: var(--green);
  background: var(--green);
}
.timeline-step h3 {
  margin: 43px 0 8px;
  font-size: 20px;
}
.timeline-step p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.timeline-step:nth-child(1) { box-shadow: inset 0 -3px 0 var(--green); }
.timeline-step:nth-child(2) { box-shadow: inset 0 -3px 0 var(--amber); }
.timeline-step:nth-child(3) { box-shadow: inset 0 -3px 0 var(--blue); }
.timeline-step:nth-child(4) { box-shadow: inset 0 -3px 0 var(--pink); }
.claim-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
  margin-top: 20px;
  padding: 24px;
}
.claim-panel p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.big-amount {
  margin-top: 5px;
  font: clamp(35px, 4.8vw, 58px)/1 var(--display);
}
.claim-actions {
  display: flex;
  flex: none;
  gap: 9px;
}
.claim-actions .primary-btn { min-height: 48px; font-size: 15px; }
.claim-wallet {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.claim-wallet span {
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .12em;
}
.claim-wallet strong {
  color: var(--green);
  font: 18px var(--display);
  font-weight: 400;
}
.owned-panel {
  margin-top: 12px;
  padding: 18px;
}
.owned-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .13em;
}
.owned-head b {
  color: var(--green);
  font: 11px var(--mono);
  font-weight: 400;
}
.owned-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  gap: 9px;
  margin-top: 13px;
}
.owned-grid:empty::before {
  content: "—";
  color: var(--muted);
  font: 12px var(--mono);
}
.owned-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.owned-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: zoom-in;
}
.owned-card figcaption {
  padding: 7px 8px;
  color: var(--muted);
  font: 8px/1.5 var(--mono);
  letter-spacing: .04em;
}
.owned-card.is-pending figcaption { color: var(--amber); }
.owned-card.is-claimed figcaption { color: var(--green); }
.owned-card.is-claimed img { opacity: .72; }
.owned-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  padding: 4px 6px;
  border: 1px solid rgba(255, 176, 0, .55);
  background: rgba(9, 11, 13, .9);
  color: var(--amber);
  font: 8px var(--mono);
  letter-spacing: .09em;
}
.owned-card.is-claimed .owned-badge {
  border-color: rgba(93, 255, 156, .5);
  color: var(--green);
}

/* Tokenomics */
.token-grid {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: 34px;
  align-items: center;
}
.token-launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
  padding: 20px 22px;
}
.token-launch h3 {
  margin: 0 0 6px;
  font-size: 26px;
}
.token-launch p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.token-countdown {
  display: grid;
  grid-template-columns: repeat(4, 54px);
  gap: 5px;
}
.token-countdown div {
  padding: 8px 3px;
  border: 1px solid var(--line);
  background: var(--bg);
  text-align: center;
}
.token-countdown strong {
  display: block;
  font: 23px/1 var(--display);
  font-weight: 400;
}
.token-countdown span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 8px var(--mono);
  letter-spacing: .1em;
}
.token-launch-state {
  max-width: 130px;
  padding: 7px 9px;
  border: 1px solid rgba(93, 255, 156, .45);
  color: var(--green);
  font: 9px/1.45 var(--mono);
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.token-launch-state.pending {
  color: var(--muted);
  border-color: var(--line-2);
}
.token-ring {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--bg-2) 0 42%, transparent 43%),
    conic-gradient(from 205deg, var(--green) 0 40%, var(--amber) 40% 47.8%, var(--pink) 47.8% 49.8%, var(--blue) 49.8% 100%);
  box-shadow: inset 0 0 0 18px var(--bg);
}
.token-ring::before, .token-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.token-ring::before {
  inset: 11%;
  border: 1px dashed rgba(231, 236, 239, .35);
}
.token-ring::after {
  inset: 25%;
  border: 1px solid var(--line-2);
}
.token-ring-inner {
  position: relative;
  z-index: 2;
  width: 43%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.token-ring-inner strong {
  font: 52px/1 var(--display);
}
.token-ring-inner span {
  margin-top: 7px;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .12em;
  text-align: center;
}
.allocation {
  padding: 23px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
}
.allocation-bar {
  display: flex;
  height: 22px;
  margin: 3px 0 17px;
  border: 1px solid var(--line-2);
}
.allocation-bar i { display: block; height: 100%; }
.allocation-bar i:nth-child(1) { background: var(--green); }
.allocation-bar i:nth-child(2) { background: var(--amber); }
.allocation-bar i:nth-child(3) { background: var(--pink); }
.allocation-bar i:nth-child(4) { background: var(--blue); }
.allocation-row {
  display: grid;
  grid-template-columns: 12px 112px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.allocation-row s {
  width: 10px;
  height: 10px;
  text-decoration: none;
}
.allocation-row b {
  font-family: var(--mono);
  font-weight: 400;
}
.allocation-row span { color: var(--body-muted); }
.allocation-row em {
  color: var(--muted);
  font: normal 12px var(--mono);
  text-align: right;
}
.tier-a { background: var(--green); }
.tier-b { background: var(--amber); }
.tier-c { background: var(--pink); }
.tier-d { background: var(--blue); }
.allocation > .fine-print { margin: 16px 0; }
.ledger-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  padding: 9px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .12em;
}
.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.ledger-row span { color: var(--muted); }
.ledger-row b { font: 16px var(--display); font-weight: 400; }
.stratum-ledger-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 10px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .11em;
}
.stratum-ledger-head b {
  color: var(--green);
  font-weight: 400;
  text-align: right;
}
.stratum-ledger {
  border-bottom: 1px solid var(--line);
}
.stratum-ledger-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.35fr) repeat(3, minmax(64px, .65fr));
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font: 10px var(--mono);
}
.stratum-ledger-row:last-child { border-bottom: 0; }
.stratum-ledger-row > span:not(:first-child) { text-align: right; }
.stratum-ledger-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--body-muted);
}
.stratum-ledger-row i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--tier, var(--green));
  box-shadow: 0 0 9px color-mix(in srgb, var(--tier, var(--green)) 45%, transparent);
}
.stratum-ledger-row b {
  display: block;
  color: var(--ink);
  font: 13px var(--display);
  font-weight: 400;
}
.stratum-ledger-row small {
  display: block;
  color: var(--muted);
  font-size: 8px;
}
.stratum-ledger-row.is-head {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stratum-ledger-row.is-head > span:not(:first-child) { text-align: right; }
.token-flow {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  gap: 11px;
  align-items: stretch;
  margin-top: 22px;
}
.token-flow article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), var(--bg-2));
}
.token-flow article > span {
  color: var(--amber);
  font: 9px var(--mono);
  letter-spacing: .14em;
}
.token-flow h3 {
  margin: 24px 0 8px;
  font-size: 20px;
}
.token-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.token-flow > i {
  display: grid;
  place-items: center;
  color: var(--green);
  font: normal 20px var(--mono);
}

/* FAQ */
.faq-section { padding-top: 78px; }
.faq {
  margin-top: 27px;
  border-top: 1px solid var(--line);
}
.faq details {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  cursor: pointer;
  font: 19px var(--display);
  letter-spacing: .015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--green);
  font: 22px var(--mono);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  max-width: 900px;
  margin: 10px 0 0;
  color: var(--body-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Footer and dock */
footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 98px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-brand {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: clamp(50px, 10vw, 122px)/.9 var(--display);
}
.footer-brand sup {
  margin-left: 4px;
  color: var(--green);
  font: 11px var(--mono);
  vertical-align: top;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 23px 0;
}
.footer-grid p {
  max-width: 570px;
  margin: 0;
  line-height: 1.65;
}
.footer-grid div {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 17px;
  flex-wrap: wrap;
}
.footer-grid a {
  color: var(--ink);
  font: 11px var(--mono);
  letter-spacing: .1em;
  text-decoration: none;
}
.footer-grid a:hover { color: var(--green); }
.footer-grid a.disabled {
  pointer-events: none;
  opacity: .4;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font: 10px var(--mono);
  letter-spacing: .08em;
}
.footer-meta span { word-break: break-all; }
.mobile-dock { display: none; }
.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 24px;
  max-width: min(92vw, 560px);
  padding: 11px 15px;
  border: 1px solid var(--line-2);
  background: #161c21;
  color: var(--ink);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity .2s, transform .2s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Motion */
.reveal-on-load, .reveal-up {
  opacity: 0;
  transform: translateY(18px);
}
body.ready .reveal-on-load,
body.ready .reveal-up.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease;
}
body.ready .reveal-on-load:nth-child(2) { transition-delay: .09s; }
body.ready .delay-1 { transition-delay: .08s; }
body.ready .delay-2 { transition-delay: .16s; }
body.ready .delay-3 { transition-delay: .24s; }
@keyframes radar { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .28; } }
@keyframes holo-frame { to { --holo-angle: 360deg; } }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 28px;
    padding-top: 42px;
  }
  .hero-art {
    width: min(520px, 100%);
    margin: 0 auto;
  }
  .mint-layout { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: 1fr 1fr; }
  .story-grid, .token-grid, .referral-section { grid-template-columns: 1fr; }
  .story-visual { width: min(650px, 100%); }
  .referral-box { max-width: 760px; }
  .token-ring { width: min(440px, 72vw); }
  .samples { grid-template-columns: repeat(4, 1fr); }
  .token-launch { grid-template-columns: 1fr auto; }
  .token-launch-state { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 720px) {
  html, body {
    max-width: 100%;
  }
  body {
    font-size: 14px;
    padding-bottom: 70px;
  }
  .topbar-inner, .section, footer {
    width: min(100% - 26px, 1180px);
  }
  .topbar-inner {
    height: 58px;
    gap: 8px;
    min-width: 0;
  }
  .brand {
    min-width: 0;
    font-size: 20px;
  }
  .brand-mark {
    width: 21px;
    height: 21px;
    transform: scale(.9);
  }
  .brand-mark::before { top: -4px; height: 27px; }
  .brand-mark::after { left: -4px; width: 27px; }
  .topbar-tools {
    min-width: 0;
    gap: 5px;
  }
  .lang-select {
    width: 83px;
    max-width: 83px;
    padding: 8px 20px 8px 7px;
    font-size: 11px;
    background-position: right 6px center;
  }
  .pill {
    flex: none;
    padding: 9px 10px;
    font-size: 11px;
    white-space: nowrap;
  }
  .section { padding: 34px 0; }
  .section:not(.hero)::before { left: 0; right: 0; }
  .section-heading { margin-bottom: 20px; }
  h2 { font-size: clamp(34px, 10vw, 47px); }
  .eyebrow { font-size: 10px; letter-spacing: .14em; }
  .hero {
    padding-top: 38px;
    padding-bottom: 34px;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 12.2vw, 54px);
    letter-spacing: -.035em;
  }
  .hero-tagline {
    margin-top: 11px;
    font-size: 10px;
    letter-spacing: .11em;
  }
  .hero .lede {
    max-width: 100%;
    margin-top: 16px;
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  .launch-banner {
    align-items: flex-start;
    gap: 9px;
    padding: 11px 12px;
    font-size: 11px;
  }
  .banner-index { font-size: 23px; }
  .hero-actions {
    display: grid;
    gap: 17px;
    align-items: stretch;
  }
  .hero-actions .cta { width: 100%; }
  .hero-actions .text-btn { justify-self: start; }
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 25px;
  }
  .hero-facts div:last-child { grid-column: 1 / -1; }
  .hero-facts strong { font-size: 22px; }
  .hero-facts span { font-size: 9px; }
  .hero-art { width: min(440px, 100%); }
  .art-frame { padding: 6px; }
  .mini-card { width: 47%; padding: 5px; }
  .hero-caption {
    padding: 6px 2px 2px;
    font-size: 8px;
  }
  .art-frame .hero-caption { font-size: 10px; }
  .mini-card-a { top: 0; }
  .mini-card-b { bottom: 0; }
  .coordinate { display: none; }
  .mint-main, .access-card, .x-card,
  .referral-box, .allocation, .claim-panel {
    padding: 17px;
  }
  .panel-head { align-items: flex-start; }
  .status-chip {
    padding: 6px 7px;
    font-size: 9px;
  }
  .supply-row { display: block; }
  .supply-meta {
    margin-top: 10px;
    text-align: left;
  }
  .countdown strong { font-size: 24px; }
  .countdown span { font-size: 8px; }
  .mint-controls { align-items: stretch; }
  .quantity { align-self: flex-start; }
  .cost { text-align: left; }
  .micro-stats { grid-template-columns: 1fr; }
  .micro-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .micro-stats strong { margin-top: 0; }
  .ledger-note { font-size: 9px; }
  .side-stack { grid-template-columns: 1fr; }
  .ref-stats { grid-template-columns: 1fr 1fr; }
  .ref-pool-head,
  .ref-pool-meta {
    align-items: flex-start;
  }
  .ref-pool-head b { max-width: 55%; }
  .strata-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stratum h3 { font-size: 19px; }
  .stratum p { min-height: 56px; font-size: 11px; }
  .stratum-top { font-size: 8px; }
  .samples { grid-template-columns: repeat(3, 1fr); }
  .sample-head { display: block; line-height: 1.7; }
  .sample-head b { display: block; text-align: left; }
  .strata-footer { display: block; line-height: 1.75; }
  .strata-footer span { display: block; }
  .story-metrics { grid-template-columns: 1fr; }
  .story-metrics div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .reveal-section .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-step {
    min-height: 180px;
    border-bottom: 1px solid var(--line);
  }
  .timeline-step:nth-child(2) { border-right: 0; }
  .timeline-step:nth-child(n+3) { border-bottom: 0; }
  .timeline-step h3 { margin-top: 31px; font-size: 18px; }
  .claim-panel { display: block; }
  .claim-actions { margin-top: 18px; }
  .claim-actions button { flex: 1; }
  .claim-wallet { margin-top: 14px; }
  .owned-panel { padding: 14px; }
  .owned-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .token-launch {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 17px;
  }
  .token-countdown { grid-template-columns: repeat(4, 1fr); width: 100%; }
  .token-launch-state { max-width: none; text-align: left; }
  .token-flow { grid-template-columns: 1fr; }
  .token-flow > i { min-height: 18px; transform: rotate(90deg); }
  .token-ring-inner strong { font-size: 42px; }
  .allocation-row {
    grid-template-columns: 10px 78px 1fr;
  }
  .allocation-row em { display: none; }
  .ledger-head {
    grid-template-columns: 1fr auto;
  }
  .ledger-head span:last-child { display: none; }
  .faq summary { font-size: 17px; }
  .faq details p { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid div {
    justify-content: flex-start;
    gap: 13px;
  }
  .footer-meta {
    display: block;
    line-height: 1.8;
  }
  .footer-meta span {
    display: block;
    margin-bottom: 7px;
  }
  .mobile-dock {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    bottom: 0;
    display: flex;
    gap: 9px;
    padding: 10px 13px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(9, 11, 13, .95);
    backdrop-filter: blur(12px);
  }
  .mobile-dock button {
    flex: 1;
    min-width: 0;
    min-height: 47px;
    padding: 10px;
    border: 0;
    background: var(--green);
    color: var(--green-dark);
    font: 14px var(--display);
    letter-spacing: .05em;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  }
  .mobile-dock button:first-child {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line-2);
  }
}

@media (max-width: 480px) {
  .brand > span:last-child { display: none; }
  .brand-mark { margin-right: 2px; }
  .lang-select {
    width: 76px;
    max-width: 76px;
  }
  .strata-grid { grid-template-columns: 1fr; }
  .stratum {
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr);
  }
  .stratum img { align-self: center; border-bottom: 0; }
  .stratum-top {
    grid-column: 1 / -1;
    padding: 8px 12px;
  }
  .stratum-top span { font-size: 8px; }
  .stratum-body { padding: 13px 12px; }
  .stratum p { min-height: 0; }
  .stratum-meta { flex-wrap: wrap; font-size: 10px; }
  .token-ring { width: min(88vw, 370px); }
  .claim-actions { display: grid; grid-template-columns: 1fr; }
  .owned-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .samples { grid-template-columns: repeat(2, 1fr); }
  .sample-label { font-size: 7px; }
  .stratum-ledger-row {
    grid-template-columns: minmax(104px, 1fr) repeat(3, minmax(48px, .62fr));
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal-on-load, .reveal-up {
    opacity: 1;
    transform: none;
  }
}

/* Wallet selection, zoom and mint receipt extensions */
[hidden] { display: none !important; }
#maxBtn {
  width: auto;
  padding: 0 12px;
  color: var(--green);
  font: 11px var(--mono);
  letter-spacing: .08em;
}
.mint-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  background: var(--line);
}
.mint-summary div {
  min-width: 0;
  padding: 9px 10px;
  background: #0b0f12;
}
.mint-summary span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font: 8px var(--mono);
  letter-spacing: .1em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mint-summary b {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--ink);
  font: 15px var(--display);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mint-summary div:last-child b { color: var(--green); }
.minted-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 8px;
  margin-top: 15px;
}
.minted-grid.has-items { display: grid; }
.minted-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.minted-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: zoom-in;
}
.minted-grid figcaption {
  padding: 7px 8px;
  color: var(--muted);
  font: 8px/1.4 var(--mono);
  letter-spacing: .05em;
}
.x-mint-btn { margin-top: 9px; }
.x-state-note { min-height: 17px; margin: 8px 0 0; }

.wallet-modal,
.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 4, 6, .82);
  backdrop-filter: blur(8px);
}
.wallet-modal.show,
.zoom-overlay.show { display: flex; }
.wallet-modal-box {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.wallet-modal-box h3 { margin: 0 0 10px; font-size: 28px; }
.wallet-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 24px var(--mono);
}
.wallet-modal-close:hover { color: var(--green); }
.wallet-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.wallet-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
  font: 12px var(--mono);
  letter-spacing: .08em;
  text-align: left;
  text-decoration: none;
}
.wallet-option:hover {
  border-color: var(--green);
  color: var(--green);
}
.wallet-option img { width: 24px; height: 24px; object-fit: contain; }
.zoom-overlay { z-index: 110; cursor: zoom-out; }
.zoom-overlay img {
  max-width: min(92vw, 900px);
  max-height: 90vh;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}

@media (max-width: 720px) {
  .mint-summary { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   GHOSTSHELL template compatibility layer
   index.template.html / app.ts generated markup
   ============================================================ */
html, body { min-height: 100%; }
body { background: #05070a; }
body::before { opacity: .9; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.narrow { max-width: 880px; }
.mu { color: var(--muted); }
.small { font-size: 12px; }
.dim { color: var(--muted); }
.ok { color: var(--green); }
.sep { color: var(--line-2); margin: 0 8px; }
.addr { color: var(--muted); font: 12px var(--mono); overflow-wrap: anywhere; }
.empty { color: var(--muted); font: 12px/1.7 var(--mono); letter-spacing: .04em; margin: 0; }

/* Background FX */
.scanlines, .grid-bg, .glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}
.scanlines {
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px);
  opacity: .35;
  mix-blend-mode: overlay;
}
.grid-bg {
  inset: 0;
  background-image:
    linear-gradient(rgba(34,227,200,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,227,200,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
  mask: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
  opacity: .55;
}
.glow {
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
}
.glow-a { top: -16vw; left: -10vw; background: #22e3c8; }
.glow-b { right: -12vw; bottom: -18vw; background: #ff4bb8; opacity: .1; }
main, .site-head, .site-foot { position: relative; z-index: 1; }

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5,7,10,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.site-head .hd {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  color: var(--ink);
  font: 32px var(--display);
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.logo small { color: var(--muted); font: 11px var(--mono); letter-spacing: .18em; margin-left: 6px; }
.logo .cursor { color: var(--green); animation: blink 1.1s steps(2, start) infinite; }
.site-head nav { display: flex; align-items: center; gap: 18px; margin-left: 12px; }
.site-head nav a {
  color: var(--muted);
  font: 11px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.site-head nav a:hover { color: var(--green); border-bottom-color: var(--green); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.head-actions select {
  appearance: none;
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
  font: 11px var(--mono);
  letter-spacing: .1em;
  outline: 0;
}
.head-actions select:focus { border-color: var(--green); }
.ticker { overflow: hidden; border-top: 1px solid rgba(34,227,200,.14); }
.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 6px 0;
  color: rgba(93,255,156,.7);
  font: 10px var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--panel-2);
  color: var(--ink);
  font: 12px var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s, transform .15s;
}
.btn:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 32px; padding: 7px 11px; font-size: 10px; }
.btn-neon {
  border-color: var(--green);
  background: var(--green);
  color: #03100a;
  font-weight: 700;
  box-shadow: 0 0 22px rgba(93,255,156,.25), inset 0 0 0 1px rgba(255,255,255,.25);
}
.btn-neon:hover {
  background: #8dffbd;
  color: #03100a;
  box-shadow: 0 0 34px rgba(93,255,156,.48);
}
.btn-ghost { background: rgba(10,14,18,.6); color: var(--steel); }
.btn-ghost:hover { background: rgba(93,255,156,.07); }
.btn.full, .btn-neon.full, .btn-ghost.full { width: 100%; margin-top: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }

/* Hero */
.hero { display: block; min-height: 0; padding: 0; overflow: visible; }
.hero::after { display: none; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 48px;
  align-items: center;
  padding: 78px 0 88px;
}
.hero-copy { min-width: 0; }
.hero .pill { display: inline-block; margin-bottom: 18px; font-size: 11px; }
.hero h1 {
  font-size: clamp(78px, 11.5vw, 156px);
  line-height: .82;
  letter-spacing: -.01em;
  white-space: normal;
  margin: 0 0 20px;
  color: var(--ink);
  text-shadow: 0 0 52px rgba(34,227,200,.16);
}
.hero h1 .caret { color: var(--green); font-size: .58em; }
.lead {
  max-width: 590px;
  margin: 0 0 26px;
  color: var(--body-muted);
  font-size: 16px;
  line-height: 1.72;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 620px;
  margin-top: 32px;
}
.stat { min-width: 0; padding-top: 12px; border-top: 1px solid var(--line-2); }
.stat b { display: block; font: 28px var(--display); line-height: 1; color: var(--ink); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font: 10px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.hero-readout {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 26px;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-readout .dot, .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.hero-readout .dot.on, #liveDot.on { background: var(--green); box-shadow: 0 0 12px var(--green); animation: blink 1.3s infinite; }
.hero-visual { position: relative; min-width: 0; }
.hero-orb {
  position: absolute;
  inset: -14% -8% -10% 4%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 46%, rgba(34,227,200,.28), transparent 46%),
    repeating-radial-gradient(circle, transparent 0 38px, rgba(34,227,200,.12) 39px 40px);
  filter: blur(2px);
  opacity: .8;
  animation: radar 24s linear infinite;
}

/* Terminal */
.terminal-card {
  border: 1px solid rgba(34,227,200,.32);
  background: linear-gradient(180deg, rgba(11,17,21,.96), rgba(5,8,11,.98));
  box-shadow: 0 30px 80px rgba(0,0,0,.65), 0 0 44px rgba(34,227,200,.08);
  overflow: hidden;
}
.tilt { transform: perspective(900px) rotateY(-4deg) rotateX(1.5deg); transition: transform .3s; }
.tilt:hover { transform: perspective(900px) rotateY(0deg) rotateX(0deg); }
.term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .12em;
}
.term-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #ffbd2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 8px; }
.term-body { padding: 18px; font: 12px/1.9 var(--mono); color: #b9f7e7; }
.term-body p { margin: 0; }
.prompt { color: var(--green); margin-right: 6px; }
.ascii { margin: 12px 0; color: var(--green); font: 10px/1.15 var(--mono); white-space: pre; overflow-x: auto; text-shadow: 0 0 12px rgba(93,255,156,.35); }
.caret, .cursor { animation: blink 1.1s steps(2, start) infinite; }

/* Section headings */
.section { padding: 78px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 4px 0 0; font-size: clamp(36px, 4.6vw, 58px); }
.section-head .sub { max-width: 560px; margin: 0; font-size: 14px; line-height: 1.7; }
.kicker { display: block; color: var(--green); font: 10px var(--mono); letter-spacing: .24em; text-transform: uppercase; }

/* Panels / grids */
.panel { background: linear-gradient(180deg, rgba(18,23,27,.94), rgba(8,11,14,.96)); }
.panel.mini { padding: 16px; }
.panel-hot { box-shadow: inset 0 0 0 1px rgba(34,227,200,.22), 0 0 42px rgba(34,227,200,.05); }
.panel-hot .panel-head { padding: 18px 20px 0; }
.panel-hot > :not(.panel-head):not(.progress) { margin-left: 20px; margin-right: 20px; }
.panel-hot > .progress { margin: 14px 20px 0; }
.panel-hot > .btn { width: calc(100% - 40px); }
.panel-hot > .note { margin-bottom: 20px; }
.mint-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 20px; align-items: start; }
.mint-side { display: grid; gap: 14px; }
.mint-side .panel { padding: 16px; }
.garage-grid, .market-grid, .rewards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.garage-grid .panel, .market-grid .panel, .rewards-grid .panel { padding: 20px; }
.garage-grid { grid-template-columns: 1.2fr .8fr; }
.rewards-grid { grid-template-columns: 1.3fr .7fr; }
.rewards-side { display: grid; gap: 14px; }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 12px; }
.market-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-bottom: 22px;
}

/* Tags, chips, labels */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.tag.green { color: var(--green); border-color: rgba(93,255,156,.45); }
.tag.cyan { color: var(--cyan); border-color: rgba(34,227,200,.45); }
.tag.green, .tag.cyan { background: rgba(93,255,156,.05); }
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber);
  font: 9px var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.live.on { color: var(--green); }
.live.on::before { animation: blink 1.25s infinite; }

/* Forms */
.field {
  display: block;
  margin: 15px 0 7px;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
input[type="text"], input[type="number"], input[type="url"], input:not([type]), .field input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: rgba(4,6,8,.75);
  color: var(--ink);
  font: 12px var(--mono);
  outline: 0;
}
input:focus { border-color: var(--green); box-shadow: 0 0 0 1px rgba(93,255,156,.2); }
.qty-row { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; align-items: stretch; }
.qty-row input { text-align: center; }
.step {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
  font: 20px var(--mono);
  line-height: 1;
}
.step:hover { border-color: var(--green); color: var(--green); }
.ref-row { margin-top: 12px; }
.copy-row { display: flex; gap: 8px; margin-top: 14px; }
.copy-row input { flex: 1; min-width: 0; }
.cost-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 11px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cost-row b { color: var(--ink); font-weight: 400; }
.cost-row.small { border-bottom: 0; padding-top: 8px; }
.cost-row.small b { color: var(--green); }
.fee-preview {
  margin-top: 14px;
  padding: 9px 11px;
  border: 1px dashed var(--line-2);
  color: var(--muted);
  font: 11px var(--mono);
}
.kv { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font: 11px var(--mono); }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.kv b { color: var(--ink); font-weight: 400; text-align: right; overflow-wrap: anywhere; }
.kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 18px; margin-top: 8px; }

/* Progress */
.progress { height: 6px; overflow: hidden; background: rgba(255,255,255,.06); }
.progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--cyan)); box-shadow: 0 0 14px rgba(93,255,156,.5); transition: width .4s; }
.progress-meta { display: flex; justify-content: space-between; gap: 12px; margin: 7px 0 16px; color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; }
.progress-meta b { color: var(--ink); font-weight: 400; }

/* Tier strip and model cards */
.tier-strip { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.tier-strip .tier, .tier-strip > * {
  padding: 11px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font: 10px var(--mono);
  letter-spacing: .08em;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-row button, .filter-btn {
  padding: 7px 11px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.filter-row button.on, .filter-row button:hover, .filter-btn.on { border-color: var(--green); color: var(--green); background: rgba(93,255,156,.06); }
.model-card { border: 1px solid var(--line); background: var(--bg-2); padding: 6px; }
.model-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--t) 34%, transparent);
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--t) 16%, transparent), transparent 68%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px),
    #05080b;
  color: var(--t);
  font: 12px var(--mono);
  letter-spacing: .06em;
  text-align: center;
  padding: 10px;
  text-shadow: 0 0 14px color-mix(in srgb, var(--t) 45%, transparent);
}
.model-meta { display: flex; justify-content: space-between; gap: 6px; padding: 8px 2px 2px; color: var(--muted); font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.model-meta b { color: var(--ink); font-weight: 400; }
.model-card.tier-0 { --t: #b48cff; border-color: rgba(180,140,255,.3); }
.model-card.tier-1 { --t: #ffc56b; border-color: rgba(255,197,107,.3); }
.model-card.tier-2 { --t: #5aa8ff; border-color: rgba(90,168,255,.3); }
.model-card.tier-3 { --t: #ffa53d; border-color: rgba(255,165,61,.3); }
.model-card.tier-4 { --t: #a47cff; border-color: rgba(164,124,255,.3); }

/* Owned / listings */
.owned-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 26px 0 12px; }
.owned-head h3 { margin: 0; }
.owned-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.owned-card { border: 1px solid var(--line); background: var(--bg-2); padding: 12px; font: 11px var(--mono); }
.owned-card b { display: block; color: var(--green); font-weight: 400; }
.owned-card span { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.listing-list { display: grid; gap: 8px; margin-top: 12px; }
.listing {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: rgba(4,6,8,.55);
  font: 11px var(--mono);
}
.listing b { color: var(--green); font-weight: 400; }
.listing span { color: var(--muted); }

/* Pools and rewards table */
.pool { margin-top: 14px; }
.pool-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pool-top b { color: var(--ink); font-weight: 400; }
.reward-table-wrap { overflow-x: auto; margin-top: 12px; }
.cyber-table { width: 100%; border-collapse: collapse; font: 11px var(--mono); }
.cyber-table th, .cyber-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.cyber-table th { color: var(--muted); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; }
.cyber-table td { color: var(--steel); }
.cyber-table tr:hover td { background: rgba(93,255,156,.04); color: var(--green); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); background: rgba(8,11,14,.7); }
.faq-item summary {
  position: relative;
  padding: 15px 44px 15px 16px;
  color: var(--ink);
  font: 13px var(--mono);
  letter-spacing: .03em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--green); font: 18px var(--mono); }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--green); }
.faq-item p { margin: 0; padding: 0 16px 16px; color: var(--body-muted); font-size: 13px; line-height: 1.7; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: rgba(4,6,8,.8); padding: 38px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.site-foot .logo { font-size: 26px; }
.foot-meta { display: grid; gap: 7px; color: var(--muted); font: 11px var(--mono); }
.foot-meta code { color: var(--steel); overflow-wrap: anywhere; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.foot-bottom a { color: var(--muted); text-decoration: none; }
.foot-bottom a:hover { color: var(--green); }

/* Toast and modal */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 130;
  max-width: min(520px, calc(100% - 32px));
  padding: 12px 16px;
  border: 1px solid var(--green);
  background: rgba(6,14,10,.96);
  color: var(--ink);
  font: 11px var(--mono);
  letter-spacing: .04em;
  box-shadow: 0 16px 50px rgba(0,0,0,.7), 0 0 24px rgba(93,255,156,.16);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.show, .toast.on { opacity: 1; transform: translate(-50%, 0); }
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2,4,6,.84);
  backdrop-filter: blur(8px);
}
.modal[hidden] { display: none; }
.modal-box { width: min(480px, 100%); border: 1px solid var(--line-2); background: var(--panel); box-shadow: var(--shadow); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.modal-head b { font: 16px var(--display); letter-spacing: .04em; }
.modal-box > div:last-child { padding: 16px; color: var(--body-muted); font-size: 13px; line-height: 1.7; }

/* Glitch text */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: .55;
  pointer-events: none;
  clip-path: inset(0 0 60% 0);
}
.glitch::before { color: var(--cyan); transform: translate(-2px, -2px); animation: glitch-a 4.2s infinite steps(1); }
.glitch::after { color: var(--pink); transform: translate(2px, 2px); animation: glitch-b 3.4s infinite steps(1); }
@keyframes glitch-a { 0%,88%,100% { clip-path: inset(0 0 100% 0); } 90% { clip-path: inset(10% 0 58% 0); } 93% { clip-path: inset(42% 0 30% 0); } 96% { clip-path: inset(74% 0 6% 0); } }
@keyframes glitch-b { 0%,90%,100% { clip-path: inset(100% 0 0 0); } 92% { clip-path: inset(58% 0 18% 0); } 95% { clip-path: inset(20% 0 62% 0); } }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 54px 0 64px; }
  .hero-visual { max-width: 560px; }
  .mint-grid, .garage-grid, .market-grid, .rewards-grid { grid-template-columns: 1fr; }
  .tier-strip { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .site-head .hd { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .site-head nav { order: 3; width: 100%; overflow-x: auto; gap: 14px; padding-bottom: 4px; margin-left: 0; }
  .site-head nav a { white-space: nowrap; }
  .head-actions { margin-left: auto; }
  .head-actions .btn { display: none; }
  .stats, .market-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section { padding: 54px 0; }
  .section-head { display: block; }
  .section-head .sub { margin-top: 12px; }
  .kv-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .tilt { transform: none; }
  .tier-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .listing { grid-template-columns: 1fr auto; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100% - 28px); }
  .hero h1 { font-size: 68px; }
  .stats { gap: 12px; }
  .btn-row .btn { flex: 1 1 100%; }
}
