/* =========================================================
   NGMI — neo-brutalist editorial white theme
   Warm paper · hard black rules · poster type · mono data
   ========================================================= */

:root {
  --paper: #f4f3ec;     /* warm off-white */
  --paper-2: #ffffff;
  --paper-3: #eae7dc;
  --ink: #0b0b0b;
  --ink-soft: #5a564d;
  --acid: #c6f24e;      /* lime accent */
  --acid-ink: #1d2b00;
  --rug: #e5341f;       /* liquidation red */
  --rug-soft: #fbe2dc;
  --dot: rgba(11,11,11,.05);
  --line: var(--ink);

  --font: 'Archivo', system-ui, -apple-system, Segoe UI, sans-serif;
  --poster: 'Anton', 'Archivo', sans-serif;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.1px);
  background-size: 22px 22px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: .9em; background: var(--paper-3); padding: 1px 5px; border: 1px solid var(--ink); }
.muted { color: var(--ink-soft); }
.down { color: var(--rug); }


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: .04em;
  border: 2px solid var(--ink); background: var(--paper-2); color: var(--ink);
  padding: 11px 18px; border-radius: 2px; cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease, background .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #000; }
.btn--accent { background: var(--acid); color: var(--acid-ink); }
.btn--ghost { background: transparent; }
.btn--big { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: var(--paper); border-bottom: 3px solid var(--ink);
}
.nav__brand { justify-self: start; display: flex; align-items: center; gap: 9px; font-family: var(--poster); font-size: 22px; letter-spacing: .02em; }
.nav__mark { background: var(--ink); color: var(--acid); padding: 2px 8px; border-radius: 2px; }
.nav__links { justify-self: center; display: flex; gap: 24px; font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.nav__links a { color: var(--ink-soft); padding-bottom: 2px; border-bottom: 2px solid transparent; transition: color .12s, border-color .12s; }
.nav__links a:hover { color: var(--ink); border-color: var(--acid); }
.nav__toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 42px; height: 38px; padding: 0; background: none; border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav .btn { justify-self: end; }

/* ---------- Layout ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px); }
.section__head { margin-bottom: 44px; }
.section__kick { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--rug); letter-spacing: .05em; display: block; margin-bottom: 12px; }
.section__kick--light { color: var(--acid); }
.section__title { font-family: var(--poster); font-weight: 400; font-size: clamp(34px, 6vw, 66px); line-height: .95; letter-spacing: .005em; margin: 0; }
.section__lead { max-width: 680px; color: var(--ink-soft); font-size: 18px; margin: 18px 0 0; }
.section__lead em { color: var(--ink); font-style: normal; font-weight: 800; }

/* ---------- Ticker (ruglist/admin label) ---------- */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; border-bottom: 3px solid var(--ink); }
.ticker__track {
  display: inline-flex; gap: 40px; white-space: nowrap; padding: 9px 0;
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em;
  animation: scroll 40s linear infinite; will-change: transform;
}
.ticker__track .down { color: var(--rug); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: start;
  padding: clamp(44px, 7vw, 88px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 72px);
}
.kicker { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .04em; border: 2px solid var(--ink); padding: 5px 11px; border-radius: 2px; background: var(--paper-2); }
.tag--red { background: var(--rug); color: #fff; border-color: var(--ink); }
.tag--live { background: var(--acid); color: var(--acid-ink); }
.hero__title { font-family: var(--poster); font-weight: 400; font-size: clamp(46px, 8.2vw, 104px); line-height: .9; letter-spacing: .003em; margin: 0 0 24px; text-transform: uppercase; }
.hero__title .hl { background: var(--acid); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__sub { font-size: 19px; color: var(--ink-soft); max-width: 540px; margin: 0 0 30px; }
.hero__sub strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero__cta .js-soon { border-style: dashed; color: var(--ink-soft); }
.hero__note { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); margin: 0; max-width: 520px; line-height: 1.5; }

/* Mint widget */
.mint { border: 2px solid var(--ink); background: var(--paper-2); border-radius: 3px; padding: 20px; box-shadow: var(--shadow); }
.mint__head { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); margin-bottom: 14px; }
.mint__tag { font-weight: 700; font-size: 13px; color: var(--acid-ink); background: var(--acid); padding: 2px 8px; border-radius: 2px; }
.mint__soon { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 12px; color: var(--rug); letter-spacing: .03em; }
.mint__cta { display: flex; flex-direction: column; gap: 10px; }
.mint__cta .js-soon { color: var(--ink-soft); border-style: dashed; }
.mint__bar { height: 14px; background: var(--paper-3); border: 2px solid var(--ink); border-radius: 2px; overflow: hidden; margin-bottom: 16px; }
.mint__fill { height: 100%; width: 0%; background: var(--acid); border-right: 2px solid var(--ink); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.mint__row { display: flex; gap: 0; border: 2px solid var(--ink); border-radius: 2px; margin-bottom: 16px; }
.mint__stat { flex: 1; padding: 10px 12px; border-right: 2px solid var(--ink); }
.mint__stat:last-child { border-right: none; }
.mint__label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--ink-soft); font-weight: 700; }
.mint__value { display: block; font-family: var(--poster); font-size: 20px; margin-top: 3px; }
.mint__note { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin: 14px 0 0; line-height: 1.5; }

/* Hero art — evidence card */
.hero__art { position: relative; perspective: 1100px; }
.evidence-card {
  position: relative; margin: 0; aspect-ratio: 1; background: var(--paper-2);
  border: 3px solid var(--ink); border-radius: 3px; box-shadow: var(--shadow);
  overflow: hidden; transform-style: preserve-3d;
  transform: rotate(1.4deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .2s ease-out, box-shadow .2s;
}
.hero__art:hover .evidence-card { box-shadow: var(--shadow-lg); }
.evidence-card svg { width: 100%; height: 100%; display: block; }
.evidence-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }

/* ---------- Collection gallery (real art) ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 14px; }
.gcard { margin: 0; border: 3px solid var(--ink); border-radius: 3px; background: var(--paper-2); box-shadow: 6px 6px 0 var(--ink); transition: transform .12s ease-out, box-shadow .12s; }
.gcard:hover { transform: translate(-2px, -2px) rotate(-.4deg); box-shadow: 9px 9px 0 var(--ink); }
.gcard img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; image-rendering: pixelated; border-bottom: 3px solid var(--ink); }
.gcard figcaption { font-family: var(--mono); font-size: 11.5px; font-weight: 700; padding: 8px 10px; display: flex; justify-content: space-between; gap: 6px; }
.gcard figcaption .down { color: var(--rug); font-weight: 400; }
.evidence-card__stamp {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-14deg);
  font-family: var(--poster); font-size: clamp(38px, 7vw, 60px); color: var(--rug);
  border: 5px solid var(--rug); padding: 4px 18px; border-radius: 6px;
  letter-spacing: .04em; opacity: .82; pointer-events: none; mix-blend-mode: multiply;
  text-transform: uppercase;
}
.evidence-card__plate {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .04em;
  background: var(--ink); color: var(--paper); padding: 9px 14px;
  border: 3px solid var(--ink); border-top: none; border-radius: 0 0 3px 3px;
  transform: rotate(1.4deg);
}
.evidence-card__plate .down { color: var(--rug); }

/* ---------- Field-notes report band ---------- */
.report {
  background: var(--ink); color: var(--paper); border-block: 3px solid var(--ink);
  padding: clamp(48px, 7vw, 90px) clamp(16px, 4vw, 48px);
}
.report__kick { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--rug); letter-spacing: .05em; display: block; max-width: 1080px; margin: 0 auto 22px; }
.report__quote {
  max-width: 1080px; margin: 0 auto; padding: 0;
  font-family: var(--poster); font-weight: 400; font-size: clamp(26px, 4.2vw, 50px);
  line-height: 1.12; letter-spacing: .005em;
}
.report__quote b { color: var(--acid); font-weight: 400; }
.report__punch { display: inline; background: var(--rug); color: #fff; padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.report__cite { max-width: 1080px; margin: 26px auto 0; font-family: var(--mono); font-size: 12.5px; color: #8d887b; line-height: 1.6; }

/* ---------- Manifesto ---------- */
.manifesto { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.manifesto li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 30px 0; border-bottom: 2px solid var(--ink); align-items: start; }
.manifesto__n { font-family: var(--poster); font-size: clamp(56px, 8vw, 96px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.manifesto h3 { font-family: var(--font); font-weight: 900; font-size: clamp(22px, 3vw, 30px); margin: 6px 0 8px; letter-spacing: -.01em; }
.manifesto p { color: var(--ink-soft); font-size: 17px; margin: 0; max-width: 620px; }

/* ---------- Exhibit (single feature art) ---------- */
.exhibit { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch; }
.exhibit__art { margin: 0; border: 3px solid var(--ink); border-radius: 3px; box-shadow: var(--shadow); background: var(--paper-2); overflow: hidden; aspect-ratio: 1; }
.exhibit__art svg { width: 100%; height: 100%; display: block; }
.exhibit__file { border: 2px solid var(--ink); border-radius: 3px; padding: 26px; background: var(--paper-2); display: flex; flex-direction: column; }
.exhibit__tag { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .06em; background: var(--rug); color: #fff; border: 2px solid var(--ink); border-radius: 2px; padding: 3px 9px; margin-bottom: 12px; }
.exhibit__file h3 { font-family: var(--poster); font-weight: 400; font-size: clamp(26px, 4vw, 40px); margin: 0 0 18px; }
.filerow { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 0; border-top: 1.5px dashed var(--ink); font-family: var(--mono); font-size: 14px; }
.filerow dt { color: var(--ink-soft); }
.filerow dd { margin: 0; font-weight: 700; text-align: right; }
.exhibit__file .btn { margin-top: auto; align-self: flex-start; }
.exhibit__file .filerow:first-of-type { border-top: none; }

/* ---------- Whitelist ---------- */
.section--wl { background: var(--ink); color: var(--paper); max-width: none; border-block: 3px solid var(--ink); }
.section--wl .wl { max-width: 1180px; margin: 0 auto; }
.section--wl .section__title { color: var(--paper); }
.section--wl .section__lead { color: #bdb8ab; }
.section--wl .section__lead em { color: var(--acid); }
.wl__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 32px 0; padding: 0; border: 2px solid #2c2c2c; border-radius: 3px; }
.wl__steps li { font-family: var(--mono); font-size: 14px; font-weight: 700; padding: 18px 16px; border-right: 2px solid #2c2c2c; display: flex; align-items: center; gap: 10px; }
.wl__steps li:last-child { border-right: none; }
.wl__steps span { font-family: var(--poster); font-size: 18px; color: var(--acid); }
.wl__fine { font-family: var(--mono); color: #87826f; font-size: 12.5px; margin-top: 16px; }

/* ---------- Roadmap ---------- */
.road { border-top: 2px solid var(--ink); }
.road__item { display: grid; grid-template-columns: 80px 1fr; gap: 22px; padding: 26px 0; border-bottom: 2px solid var(--ink); position: relative; }
.road__phase { font-family: var(--poster); font-size: 30px; color: var(--ink); }
.road__item.done .road__phase { color: var(--ink-soft); }
.road__item.active .road__phase { color: var(--rug); }
.road__item h3 { font-family: var(--font); font-weight: 900; font-size: 22px; margin: 0 0 5px; }
.road__item.active h3::after { content: " ● LIVE"; font-family: var(--mono); font-size: 12px; color: var(--rug); vertical-align: middle; animation: blink 1.3s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.road__item p { color: var(--ink-soft); margin: 0; font-size: 16.5px; max-width: 640px; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 2px solid var(--ink); }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 4px; font-family: var(--font); font-weight: 800; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); }
.faq__q span { font-family: var(--mono); color: var(--rug); transition: transform .2s; }
.faq__item.open .faq__q span { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 4px 22px; margin: 0; color: var(--ink-soft); font-size: 16.5px; max-width: 760px; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: clamp(72px, 10vw, 130px) 20px; background: var(--acid); border-block: 3px solid var(--ink); }
.cta h2 { font-family: var(--poster); font-weight: 400; font-size: clamp(38px, 7vw, 80px); line-height: .92; margin: 0 0 14px; color: var(--acid-ink); text-transform: uppercase; }
.cta p { font-family: var(--mono); color: #2c3d05; font-size: 16px; margin: 0 0 30px; }

/* ---------- Footer ---------- */
.footer { max-width: 1180px; margin: 0 auto; padding: 56px clamp(16px, 4vw, 48px); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 22px; margin-bottom: 22px; }
.footer__brand { font-family: var(--poster); font-size: 26px; }
.footer__links { display: flex; gap: 20px; font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--ink-soft); }
.footer__links a:hover { color: var(--ink); }
.footer__disclaimer { max-width: 800px; font-size: 13.5px; color: var(--ink-soft); border-left: 4px solid var(--rug); padding: 4px 0 4px 16px; }
.footer__disclaimer strong { color: var(--ink); }
.footer__copy { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); margin: 24px 0 0; }

/* ---------- Receipts: fake Discord proof ---------- */
.proofgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 18px; }
.dchat { background: #313338; border: 3px solid var(--ink); border-radius: 7px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(-.5deg); transition: transform .2s, box-shadow .2s; }
.dchat:nth-child(even) { transform: rotate(.6deg); }
.dchat:hover { transform: rotate(0) translateY(-3px); box-shadow: var(--shadow-lg); }
.dchat__head { font-family: var(--mono); font-weight: 700; font-size: 13px; color: #f2f3f5; background: #1e1f22; padding: 11px 15px; }
.dchat__head::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: #f23f43; margin-right: 8px; vertical-align: middle; }
.dchat__body { padding: 14px 15px 18px; display: flex; flex-direction: column; gap: 13px; }
.dmsg { display: flex; gap: 11px; }
.dmsg__av { flex: none; width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; font-family: var(--font); font-weight: 800; font-size: 12px; color: #fff; }
.dmsg__c { min-width: 0; }
.dmsg__h { display: flex; align-items: baseline; gap: 8px; }
.dmsg__h b { font-size: 15px; }
.dmsg__h time { font-family: var(--mono); font-size: 11px; color: #949ba4; }
.dmsg__c p { margin: 2px 0 0; color: #dbdee1; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; }
.proof__fine { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); margin: 20px 0 0; }

/* ---------- Sub-page nav (apply / ruglist) ---------- */
.nav__right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.nav__user { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.nav__user a { color: var(--ink); border-bottom: 2px solid var(--acid); }
.nav__user:empty { display: none; }

/* ---------- /apply page ---------- */
.nav--apply { grid-template-columns: 1fr auto; }
.nav__back { justify-self: end; font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); }
.nav__back:hover { color: var(--ink); }
.apply { max-width: 660px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px) 90px; min-height: 60vh; }
.apply__rail { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 22px; }
.apply__rail-step { opacity: .4; transition: opacity .2s, color .2s; }
.apply__rail-step.is-on { opacity: 1; color: var(--ink); }
.apply__card { background: var(--paper-2); border: 3px solid var(--ink); border-radius: 4px; box-shadow: 10px 10px 0 var(--ink); padding: clamp(26px, 4vw, 42px); }
.apply--wide { max-width: 1060px; }

/* ---------- The Rug Dashboard (post-application) ---------- */
.dash__bar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; padding-bottom: 18px; border-bottom: 3px solid var(--ink); }
.dash__eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--rug); font-weight: 700; }
.dash__title { font-family: var(--poster); font-weight: 400; font-size: clamp(28px, 5vw, 48px); line-height: .95; margin: 8px 0 6px; text-transform: uppercase; }
.dash__sub { color: var(--ink-soft); max-width: 560px; margin: 0; font-size: 15px; }
.dash__id { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; white-space: nowrap; }
.dash__rank { font-family: var(--mono); font-weight: 700; font-size: 13px; }
.dash-pill { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .05em; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 2px; }
.dash-pill--ok { background: var(--acid); color: var(--acid-ink); }
.dash-pill--warn { background: var(--rug); color: #fff; }
.dash-pill--dead { background: var(--ink); color: var(--paper); }

.dash__hero { margin: 22px 0; padding: clamp(18px, 3vw, 28px); border: 3px solid var(--ink); background: var(--ink); color: var(--paper); }
.dash__hero-label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.dash__hero-num { font-family: var(--poster); font-weight: 400; font-size: clamp(40px, 9vw, 78px); line-height: 1; color: var(--acid); margin: 6px 0 14px; }
.dash__hero-bar { height: 10px; background: rgba(255,255,255,.14); border-radius: 6px; overflow: hidden; }
.dash__hero-fill { height: 100%; background: var(--rug); width: 97%; animation: dashGrow 1.2s ease-out both; }
@keyframes dashGrow { from { width: 0; } to { width: 97%; } }
.dash__hero-foot { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; opacity: .75; }

.dash__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 12px; margin: 18px 0; }
.dash__card { border: 2px solid var(--ink); padding: 14px; background: var(--paper); }
.dash__card > span { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); display: block; }
.dash__card > b { font-family: var(--poster); font-weight: 400; font-size: 30px; line-height: 1; display: block; margin: 6px 0 4px; }
.dash__card small { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); }
.dash__card b.down, .dash__rows b.down { color: var(--rug); }
.dash__card b.acid, .dash__rows b.acid { color: var(--acid-ink); }
.ast { color: var(--rug); }

.dash__panel { border: 3px solid var(--ink); margin: 8px 0 18px; }
.dash__panel-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 12px; letter-spacing: .05em; }
.dash__rows { display: grid; grid-template-columns: 1fr 1fr; }
.dash__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(11,11,11,.12); border-right: 1px solid rgba(11,11,11,.12); font-size: 14px; }
.dash__rows > div > span { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.dash__rows > div > b { font-weight: 800; text-align: right; word-break: break-word; }
.dash-link { color: var(--rug); text-decoration: underline; }
.dash__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dash__fine { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); margin-top: 16px; }
@media (max-width: 560px) { .dash__rows { grid-template-columns: 1fr; } }
.apply__card .modal__foot { margin-top: 18px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11,11,11,.6); animation: fade .18s; }
.modal__card {
  position: relative; max-width: 560px; width: calc(100% - 28px); margin: 6vh auto 0;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 4px;
  box-shadow: 10px 10px 0 var(--ink); overflow: hidden; max-height: 88vh; overflow-y: auto;
  animation: pop .2s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }
.modal__x { position: absolute; top: 12px; right: 14px; z-index: 5; width: 36px; height: 36px; border: 2px solid var(--ink); background: var(--paper-2); border-radius: 2px; font-size: 22px; cursor: pointer; line-height: 1; }
.modal__x:hover { background: var(--rug); color: #fff; }
.modal__body { padding: 34px 30px 30px; }

.step__kicker { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .05em; color: var(--rug); text-transform: uppercase; display: block; }
.step__title { font-family: var(--poster); font-weight: 400; font-size: 30px; line-height: 1; margin: 10px 0 10px; }
.step__desc { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: 13.5px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 2px; padding: 12px 13px; background: var(--paper-2); resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: var(--shadow-sm); }
.field .hint { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.field .req { color: var(--rug); font-weight: 900; }
.x-login { display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 2px; padding: 15px 18px; width: 100%; cursor: pointer; font-size: 16px; font-weight: 800; font-family: var(--font); text-transform: uppercase; letter-spacing: .03em; transition: transform .1s, box-shadow .1s; }
.x-login:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-sm); }
.x-login__logo { font-size: 20px; }
.x-handle { display: flex; align-items: center; gap: 10px; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 2px; padding: 12px 14px; font-weight: 700; }
.x-handle__avatar { width: 30px; height: 30px; border-radius: 2px; background: var(--acid); display: grid; place-items: center; }
.modal__foot { display: flex; gap: 10px; margin-top: 10px; }
.modal__foot .btn { flex: 1; }

/* NFT picker (burn step) */
.burnpick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.burnpick__item { border: 2px solid var(--ink); border-radius: 2px; overflow: hidden; cursor: pointer; background: var(--paper-2); transition: transform .1s, box-shadow .1s; }
.burnpick__item:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-sm); }
.burnpick__item.sel { box-shadow: 0 0 0 3px var(--rug); border-color: var(--rug); }
.burnpick__item svg { width: 100%; aspect-ratio: 1; display: block; }
.burnpick__cap { font-family: var(--mono); font-size: 11px; padding: 6px 8px; border-top: 2px solid var(--ink); font-weight: 700; display: flex; justify-content: space-between; }
.burnpick__cap .down { color: var(--rug); }

/* Wallet disconnect + NFT detection grid */
.walletbtn { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); padding: 4px 9px; border-radius: 2px; cursor: pointer; }
.walletbtn:hover { background: var(--rug); color: #fff; border-color: var(--ink); }
.nft-loading { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); padding: 14px; border: 2px dashed var(--line-strong, var(--ink)); border-radius: 3px; text-align: center; }
.linklike { background: none; border: none; color: var(--rug); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; padding: 0; }
.nftgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-height: 320px; overflow-y: auto; padding: 2px; margin-bottom: 4px; }
.nftcard { text-align: left; padding: 0; border: 2px solid var(--ink); border-radius: 3px; background: var(--paper-2); cursor: pointer; overflow: hidden; transition: transform .1s, box-shadow .1s; font-family: var(--font); }
.nftcard:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); }
.nftcard.sel { box-shadow: 0 0 0 3px var(--acid); border-color: var(--ink); }
.nftcard__img { position: relative; display: block; aspect-ratio: 1; background: var(--paper-3); }
.nftcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nftcard.noimg .nftcard__img::after { content: "no image"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; color: var(--ink-soft); }
.nftcard__bonus { position: absolute; top: 5px; right: 5px; font-family: var(--mono); font-size: 10px; font-weight: 700; background: var(--ink); color: var(--acid); padding: 1px 5px; border-radius: 2px; }
.nftcard.sel .nftcard__img::before { content: "✓"; position: absolute; top: 5px; left: 5px; z-index: 2; width: 20px; height: 20px; display: grid; place-items: center; background: var(--acid); color: var(--acid-ink); border: 2px solid var(--ink); border-radius: 2px; font-weight: 900; font-size: 12px; }
.nftcard__meta { display: block; padding: 7px 9px; border-top: 2px solid var(--ink); }
.nftcard__meta b { display: block; font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nftcard__meta span { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); }

/* Approval-chance meter */
.approval { border: 2px solid var(--ink); border-radius: 3px; padding: 14px; margin: 16px 0; background: var(--paper-2); }
.approval__head { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 9px; }
.approval__head b { font-family: var(--poster); font-size: 26px; }
.approval__bar { height: 14px; background: var(--paper-3); border: 2px solid var(--ink); border-radius: 2px; overflow: hidden; }
.approval__fill { height: 100%; width: 0%; background: var(--rug); border-right: 2px solid var(--ink); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.approval__fill.warm { background: #ffb700; }
.approval__fill.hot { background: var(--acid); }
.approval__note { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin: 9px 0 0; }

/* Sequential burn progress */
.burnprog { border: 2px solid var(--ink); border-radius: 3px; margin: 6px 0 14px; }
.burnprog__row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 13px; border-bottom: 2px solid var(--ink); font-size: 13.5px; }
.burnprog__row:last-child { border-bottom: none; }
.burnprog__name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.burnprog__state { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.burnprog__state.live { color: var(--rug); }
.burnprog__state.ok { color: var(--acid-ink); font-weight: 700; }
.burnprog__state.skip { color: var(--ink-soft); text-decoration: line-through; }
.burnprog__state a { color: var(--rug); text-decoration: underline; }

/* Burn step status + tx readout */
.burn-status { font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); margin: 2px 0 6px; min-height: 16px; }
.burn-status b { color: var(--ink); }
.burn-status .down { color: var(--rug); }
.burn-status .hint { display: inline; }
.burn-tx { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin-top: 12px; word-break: break-all; min-height: 16px; }
.burn-tx a { color: var(--rug); text-decoration: underline; }

/* Burn animation */
.burn-stage { text-align: center; }
.burn-frame { position: relative; width: 230px; aspect-ratio: 1; margin: 6px auto 18px; border: 3px solid var(--ink); border-radius: 3px; overflow: hidden; background: #000; }
.burn-frame svg { width: 100%; height: 100%; display: block; }
.burn-frame.lit { animation: shake .12s linear infinite; }
@keyframes shake { 0%,100%{transform:translate(0,0)} 25%{transform:translate(-2px,1px)} 50%{transform:translate(2px,-1px)} 75%{transform:translate(-1px,2px)} }
.flames { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
.burn-frame.lit .flames { opacity: 1; }
.flame { position: absolute; bottom: -20px; width: 40px; height: 80px; background: radial-gradient(circle at 50% 80%, #fff8 0%, #ffb700 25%, #ff5a00 55%, #ff2d2d00 80%); border-radius: 50% 50% 40% 40%; filter: blur(2px); animation: flicker 1s ease-in-out infinite; }
@keyframes flicker { 0%,100%{transform:translateY(0) scaleY(1); opacity:.95;} 50%{transform:translateY(-14px) scaleY(1.3); opacity:.7;} }
.burn-caption { font-family: var(--poster); font-size: 22px; min-height: 30px; }
.burn-caption.rug { color: var(--rug); }
.scam-flash { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; pointer-events: none; }
.scam-flash.show { display: grid; animation: scamflash 1.4s ease-out forwards; }
.scam-flash span { font-family: var(--poster); font-size: clamp(34px, 9vw, 92px); color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.5); transform: rotate(-6deg); text-transform: uppercase; }
@keyframes scamflash { 0%{background: rgba(229,52,31,.9); opacity:0; transform: scale(1.2);} 15%{opacity:1; transform: scale(1);} 100%{background: rgba(229,52,31,0); opacity:0;} }

/* Success */
.wl-success { text-align: center; }
.wl-success__num { font-family: var(--poster); font-size: 60px; color: var(--ink); background: var(--acid); display: inline-block; padding: 2px 18px; border: 3px solid var(--ink); border-radius: 3px; margin: 10px 0; }
.wl-receipt { text-align: left; background: var(--paper-2); border: 2px dashed var(--ink); border-radius: 3px; padding: 16px 18px; margin: 18px 0; font-family: var(--mono); font-size: 13.5px; }
.wl-receipt div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; }
.wl-receipt b { font-weight: 700; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--paper); padding: 13px 22px; border: 2px solid var(--ink); border-radius: 2px;
  font-family: var(--mono); font-weight: 700; font-size: 13.5px; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 120; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ====================================================================
   DESIGN UPGRADE: marquee, scroll reveal, hover polish, hero entrance
   ==================================================================== */

/* Full-bleed marquee band */
.marquee { overflow: hidden; background: var(--ink); border-block: 3px solid var(--ink); }
.marquee__track { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; padding: 16px 22px; animation: marquee 26s linear infinite; will-change: transform; }
.marquee span { font-family: var(--poster); font-size: clamp(30px, 5.5vw, 66px); line-height: 1; color: var(--acid); text-transform: uppercase; letter-spacing: .02em; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1.5px #717a55; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Scroll reveal (progressive enhancement — only active when JS adds .js) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero entrance */
.hero__copy > * { animation: heroIn .85s cubic-bezier(.2,.7,.2,1) both; }
.hero__copy > *:nth-child(2) { animation-delay: .07s; }
.hero__copy > *:nth-child(3) { animation-delay: .14s; }
.hero__copy > *:nth-child(4) { animation-delay: .21s; }
.hero__art { animation: heroArtIn 1s .12s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes heroArtIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

/* Hover polish */
.manifesto li { transition: background .22s, padding .22s; }
.manifesto li:hover { background: var(--paper-2); padding-left: 12px; padding-right: 12px; }
.exhibit__art { transition: transform .22s, box-shadow .22s; }
.exhibit:hover .exhibit__art { transform: translate(-4px, -4px) rotate(-.6deg); box-shadow: 12px 12px 0 var(--ink); }
.road__item { transition: padding-left .22s; }
.road__item:hover { padding-left: 8px; }
.faq__item { transition: background .2s; }
.faq__item:hover:not(.open) { background: var(--paper-2); }
.truth-card, .nft, .stat { transition: transform .18s, box-shadow .2s; }
.tag { transition: transform .12s; }
.kicker .tag:hover { transform: translateY(-2px); }
.section__title { text-wrap: balance; }
.report__quote { text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .hero__copy > *, .hero__art { animation: none; }
}

/* ---------- Responsive ---------- */
.gallery__more { display: block; margin: 18px auto 0; }
.gallery__more[hidden] { display: none; }

/* "Boost your odds" callout */
.wl__bonus { background: var(--ink); color: var(--paper); border: 2px solid var(--acid); border-radius: 4px; padding: 16px 18px; margin: 22px 0 12px; max-width: 660px; box-shadow: 6px 6px 0 var(--acid); }
.wl__bonus-tag { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .06em; background: var(--acid); color: var(--acid-ink); padding: 2px 9px; border-radius: 2px; margin-bottom: 9px; }
.wl__bonus p { margin: 0; font-size: 15px; line-height: 1.55; }
.wl__bonus b { color: var(--acid); }
.bonus-line { font-family: var(--mono); font-size: 12.5px; line-height: 1.5; background: rgba(198,242,78,.18); border-left: 3px solid var(--acid); padding: 10px 12px; margin: 0 0 16px; border-radius: 0 3px 3px 0; }
.bonus-line b { color: var(--acid-ink); }

@media (max-width: 920px) {
  /* Hamburger nav: brand + CTA + toggle on one row, links drop down when opened */
  .nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
  .nav__brand { margin-right: auto; }
  .nav__toggle { display: inline-flex; order: 2; }
  .nav .btn--accent { padding: 9px 13px; font-size: 12px; }
  .nav__links {
    order: 3; width: 100%; display: none; flex-direction: column; align-items: stretch;
    gap: 0; margin-top: 8px; border-top: 2px solid var(--ink);
  }
  .nav--open .nav__links { display: flex; }
  .nav__links a { padding: 13px 2px; width: 100%; border-bottom: 1px solid rgba(11, 11, 11, .12); }
  .nav--open .nav__toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav--open .nav__toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .hero__art { max-width: 400px; margin: 4px auto 0; }   /* art BELOW the copy on mobile */
  .manifesto li { grid-template-columns: 80px 1fr; gap: 16px; }
  .exhibit { grid-template-columns: 1fr; }
  .wl__steps { grid-template-columns: 1fr 1fr; }
  .wl__steps li:nth-child(2) { border-right: none; }
  .wl__steps li:nth-child(1), .wl__steps li:nth-child(2) { border-bottom: 2px solid #2c2c2c; }
}
@media (max-width: 680px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gcard figcaption { font-size: 10.5px; padding: 6px 8px; }
  .dash__bar { flex-direction: column; }
  .dash__id { align-items: flex-start; }
  .dash__title { font-size: clamp(24px, 8vw, 34px); }
  .proofgrid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .burnpick { grid-template-columns: 1fr 1fr; }
  .wl__steps { grid-template-columns: 1fr; }
  .wl__steps li { border-right: none; border-bottom: 2px solid #2c2c2c; }
  .wl__steps li:last-child { border-bottom: none; }
  .mint__row { flex-wrap: wrap; }
  .road__item, .manifesto li { grid-template-columns: 1fr; gap: 6px; }
  .nav__brand { font-size: 19px; }
  .btn { padding: 10px 14px; }
  .dash__rows > div { flex-direction: column; gap: 2px; }
  .dash__rows > div > b { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .btn:hover, .burnpick__item:hover, .x-login:hover { transform: none; }
}
