:root {
  --ink: #071707;
  --dark: #0f380f;
  --mid: #306230;
  --acid: #8bac0f;
  --glow: #9bbc0f;
  --paper: #d9e8a5;
  --line: rgba(155, 188, 15, 0.42);
}

* { box-sizing: border-box; }

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  overscroll-behavior-x: none;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 52% 14%, rgba(48, 98, 48, 0.26), transparent 34rem),
    var(--ink);
  font-family: "Courier New", Courier, monospace;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

img { max-width: 100%; }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(155,188,15,.18) 6px),
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(15,56,15,.25) 8px);
  mix-blend-mode: screen;
}

.crt {
  position: fixed;
  inset: 0;
  z-index: 49;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0, rgba(0,0,0,.12) 1px, transparent 2px, transparent 4px);
}

#trash-rain { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }

.trash-bit {
  position: absolute;
  top: -12vh;
  color: var(--acid);
  opacity: .22;
  font-weight: 900;
  animation: fall linear infinite;
  text-shadow: 0 0 8px var(--mid);
}

@keyframes fall {
  to { transform: translate3d(var(--drift), 115vh, 0) rotate(var(--spin)); }
}

a, button { color: inherit; }
button { font: inherit; }

.site-header {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--glow); color: var(--dark); box-shadow: 5px 5px 0 var(--mid); }

nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 12px; text-decoration: none; letter-spacing: .11em; }
nav a:hover { color: var(--glow); }

.wallet-mini {
  padding: 10px 14px;
  border: 1px solid var(--acid);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}
.wallet-mini:hover { background: var(--acid); color: var(--ink); }

.section-shell { width: min(1400px, calc(100% - 32px)); min-width: 0; margin-inline: auto; position: relative; z-index: 3; }

.hero {
  min-height: 730px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(30px, 7vw, 120px);
  padding: 72px 0 90px;
}

.eyebrow { color: var(--acid); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; background: var(--glow); box-shadow: 0 0 16px var(--glow); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }

.glitch {
  position: relative;
  margin: 18px 0 22px;
  color: var(--glow);
  font-size: clamp(76px, 11vw, 178px);
  line-height: .72;
  letter-spacing: -.11em;
  text-transform: uppercase;
  text-shadow: 10px 10px 0 var(--dark);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  white-space: nowrap;
  opacity: .35;
  pointer-events: none;
}
.glitch::before { color: var(--mid); transform: translate(-4px, 3px); clip-path: inset(12% 0 62% 0); animation: glitch-a 2.4s steps(2) infinite; }
.glitch::after { color: var(--paper); transform: translate(4px, -2px); clip-path: inset(68% 0 8% 0); animation: glitch-b 1.9s steps(2) infinite; }
@keyframes glitch-a { 0%, 88%, 100% { transform: translate(-4px,3px); } 90% { transform: translate(10px,-3px); } 94% { transform: translate(-12px,6px); } }
@keyframes glitch-b { 0%, 84%, 100% { transform: translate(4px,-2px); } 86% { transform: translate(-13px,4px); } 91% { transform: translate(9px,1px); } }

.hero-lede { max-width: 630px; color: #b8c98a; font-size: clamp(16px, 2vw, 21px); line-height: 1.6; }

.stat-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stat-row div { min-width: 130px; padding: 14px 16px; border: 1px solid var(--line); background: rgba(15,56,15,.24); }
.stat-row strong, .stat-row span { display: block; }
.stat-row strong { color: var(--glow); font-size: 22px; }
.stat-row span { margin-top: 3px; color: #78904d; font-size: 9px; letter-spacing: .16em; }

.enter-link { display: inline-flex; gap: 30px; align-items: center; margin-top: 32px; padding-bottom: 5px; border-bottom: 2px solid var(--glow); text-decoration: none; font-weight: 900; }
.enter-link span { font-size: 25px; }

.hero-stage { position: relative; min-height: 560px; display: grid; place-items: center; isolation: isolate; }
.hero-stage::before { content: ""; position: absolute; inset: 12%; z-index: -2; background: var(--acid); clip-path: polygon(12% 0,100% 8%,91% 92%,0 100%,6% 22%); opacity: .13; animation: breathe 3.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.05) rotate(1deg); opacity: .22; } }

.hero-skull {
  width: min(500px, 85vw);
  aspect-ratio: 1;
  image-rendering: pixelated;
  border: 12px solid var(--dark);
  box-shadow: 22px 22px 0 var(--acid), -20px -20px 0 rgba(48,98,48,.45), 0 0 70px rgba(155,188,15,.22);
  animation: specimen-float 4s steps(8) infinite;
}
@keyframes specimen-float { 50% { transform: translateY(-15px) rotate(-1deg); } }

.image-orbit { position: absolute; border: 1px dashed var(--mid); z-index: -1; animation: spin 22s linear infinite; }
.orbit-one { width: 110%; aspect-ratio: 1; border-radius: 44% 56% 60% 40%; }
.orbit-two { width: 92%; aspect-ratio: 1; border-radius: 52% 48% 36% 64%; animation-direction: reverse; animation-duration: 15s; }
@keyframes spin { to { transform: rotate(360deg); } }

.warning-stamp { position: absolute; right: -10px; top: 45px; z-index: 3; padding: 10px; border: 3px solid var(--glow); color: var(--glow); font-weight: 900; transform: rotate(9deg); background: var(--ink); }
.specimen-tag { position: absolute; left: -18px; bottom: 24px; z-index: 3; padding: 12px 14px; background: var(--glow); color: var(--ink); font-weight: 900; font-size: 11px; transform: rotate(-2deg); }

.ticker { position: relative; z-index: 4; overflow: hidden; border-block: 1px solid var(--acid); background: var(--glow); color: var(--ink); transform: rotate(-1deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; gap: 28px; padding: 13px 0; font-size: 13px; font-weight: 900; animation: ticker 22s linear infinite; }
.ticker-track i { font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.mint-zone { margin-top: 120px; border: 1px solid var(--line); background: rgba(5,18,5,.9); box-shadow: 16px 16px 0 rgba(48,98,48,.22); overflow: hidden; }
.terminal-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--mid); color: var(--glow); font-size: 11px; font-weight: 900; }
.terminal-head div { display: flex; gap: 7px; }
.terminal-head b { width: 10px; height: 10px; background: var(--acid); }
.drop-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; padding: clamp(28px,5vw,72px); border-bottom: 1px solid var(--line); }
.terminal-line { margin: 5px 0; color: #758c4a; font-size: 11px; }
.terminal-line span { color: var(--glow); }
.terminal-line em { color: #d0df9f; font-style: normal; }
.drop-intro h2 { margin: 40px 0 0; color: var(--glow); font-size: clamp(52px,7vw,102px); line-height: .82; letter-spacing: -.08em; }
.drop-rules > p { max-width: 620px; margin: 0; color: #aabc7a; font-size: 17px; line-height: 1.65; }
.rule-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.rule-chips span { padding: 9px 11px; border: 1px solid var(--mid); color: var(--glow); font-size: 12px; font-weight: 900; }

.drop-console { padding: clamp(20px,3.5vw,48px); border-bottom: 1px solid var(--line); background: rgba(15,56,15,.14); }
.drop-toolbar, .selection-strip, .mint-status-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.drop-toolbar { margin-bottom: 24px; }
.drop-toolbar > div, .selection-strip > div { display: flex; flex-direction: column; gap: 6px; }
.toolbar-label { color: #758c4a; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.drop-toolbar strong, .selection-strip strong { color: var(--glow); font-size: clamp(17px,2.2vw,27px); }
.countdown-block { align-items: flex-end; text-align: right; }
.countdown-block strong { min-width: 116px; font-size: clamp(34px,5vw,60px); line-height: .8; text-shadow: 0 0 22px rgba(155,188,15,.32); }

.drop-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(9px,1.4vw,18px); }
.drop-card { position: relative; padding: 0; border: 1px solid var(--mid); background: var(--dark); color: var(--paper); cursor: pointer; overflow: hidden; box-shadow: 7px 7px 0 rgba(48,98,48,.24); transition: transform .16s steps(2), border-color .16s, box-shadow .16s; }
.drop-card:hover, .drop-card:focus-visible { transform: translate(-2px,-2px); border-color: var(--glow); box-shadow: 10px 10px 0 rgba(139,172,15,.28); outline: none; }
.drop-card.is-selected { border: 3px solid var(--glow); box-shadow: 9px 9px 0 var(--acid), 0 0 28px rgba(155,188,15,.25); }
.drop-card.is-selected::after { content: "YOUR PICK"; position: absolute; top: 8px; right: 8px; padding: 6px 7px; background: var(--glow); color: var(--ink); font-size: 10px; font-weight: 900; }
.drop-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; image-rendering: pixelated; }
.drop-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px; border-top: 1px solid var(--mid); }
.drop-card-meta strong { color: var(--glow); font-size: 12px; }
.drop-card-meta span { color: #91a466; font-size: 10px; }
.drop-grid.is-refreshing .drop-card { animation: batch-in .35s steps(3) both; }
@keyframes batch-in { from { opacity: 0; transform: translateY(12px); filter: brightness(1.8); } }

.selection-strip { margin-top: 24px; padding: 17px 18px; border: 1px dashed var(--mid); background: rgba(7,23,7,.74); }
.selection-strip > span { max-width: 360px; color: #758c4a; font-size: 12px; line-height: 1.45; text-align: right; }

.mint-paths { display: grid; grid-template-columns: 1fr 1fr; }
.mint-path { display: flex; flex-direction: column; padding: clamp(28px,4.5vw,62px); }
.mint-path + .mint-path { border-left: 1px solid var(--line); }
.paid-path { background: rgba(48,98,48,.1); }
.path-number { color: var(--acid); font-size: 12px; font-weight: 900; letter-spacing: .11em; }
.mint-path h3 { margin: 28px 0 16px; color: var(--glow); font-size: clamp(34px,4vw,58px); line-height: .88; letter-spacing: -.06em; }
.mint-path > p { min-height: 55px; margin: 0 0 25px; color: #91a466; font-size: 15px; line-height: 1.55; }
.counter-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.counter-line span { color: #758c4a; font-size: 11px; }
.counter-line strong { color: var(--glow); font-size: clamp(20px,3vw,34px); }
.mint-control { display: grid; grid-template-columns: 62px 1fr 62px; height: 68px; margin-bottom: 12px; border: 1px solid var(--mid); }
.mint-control button, .mint-control output { display: grid; place-items: center; border: 0; background: transparent; color: var(--glow); font-size: 25px; font-weight: 900; }
.mint-control button { cursor: pointer; }
.mint-control button:hover { background: var(--mid); }
.mint-control output { border-inline: 1px solid var(--mid); }
.price-line, .total-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.price-line { margin-bottom: 14px; }
.total-line { margin: 2px 0 10px; }
.price-line span, .total-line span { color: #758c4a; font-size: 12px; }
.price-line strong, .total-line strong { color: var(--glow); font-size: 16px; }
.connect-main, .mint-main { width: 100%; min-height: 60px; margin-top: 10px; border: 0; font-weight: 900; cursor: pointer; }
.connect-main { background: var(--glow); color: var(--ink); box-shadow: 7px 7px 0 var(--mid); }
.connect-main:hover { transform: translate(3px,3px); box-shadow: 4px 4px 0 var(--mid); }
.mint-main { border: 1px dashed var(--mid); background: transparent; color: #5d7140; cursor: not-allowed; }
.free-path .mint-main { margin-top: auto; }
.paid-button { margin-top: auto; }
.mint-status-bar { padding: 18px clamp(20px,3.5vw,48px); border-top: 1px solid var(--line); background: var(--ink); }
.wallet-status { min-height: 20px; margin: 0; color: #788d4d; font-size: 12px; line-height: 1.5; }
.mint-status-bar .counter-line { min-width: 210px; }
.mint-status-bar .counter-line strong { font-size: 20px; }

.manifesto { display: grid; grid-template-columns: repeat(3, 1fr); padding: 100px 0 150px; }
.manifesto-card { min-height: 300px; padding: 30px; border: 1px solid var(--mid); }
.manifesto-card.inverted { background: var(--glow); color: var(--ink); transform: translateY(28px) rotate(-1deg); }
.card-index { font-size: 11px; opacity: .65; }
.manifesto-card h3 { margin: 65px 0 16px; font-size: clamp(27px,3vw,44px); letter-spacing: -.06em; }
.manifesto-card p { line-height: 1.55; opacity: .75; }

footer { position: relative; z-index: 4; display: flex; justify-content: space-between; gap: 20px; padding: 30px max(16px,calc((100% - 1400px)/2)); border-top: 1px solid var(--line); color: #6f8446; font-size: 10px; }
footer a { text-decoration: none; color: var(--glow); }

@media (max-width: 900px) {
  .hero-copy, .hero-stage, .drop-intro > *, .mint-path { min-width: 0; }
  .site-header { height: 70px; }
  nav a { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-stage { min-height: 480px; }
  .hero-skull { width: min(420px,78vw); }
  .drop-intro { grid-template-columns: 1fr; }
  .drop-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .mint-paths { grid-template-columns: 1fr; }
  .mint-path + .mint-path { border-left: 0; border-top: 1px solid var(--line); }
  .manifesto { grid-template-columns: 1fr; gap: 14px; }
  .manifesto-card.inverted { transform: rotate(-1deg); }
  footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header, .section-shell { width: min(100% - 20px,1400px); }
  .brand > span:last-child { font-size: 11px; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .glitch { font-size: clamp(70px,24vw,105px); text-shadow: 6px 6px 0 var(--dark); }
  .glitch::before, .glitch::after { animation: none; }
  .hero-stage { min-height: 390px; overflow: clip; contain: paint; }
  .hero-skull { border-width: 8px; box-shadow: 12px 12px 0 var(--acid), -10px -10px 0 rgba(48,98,48,.45); animation: none; }
  .image-orbit { animation: none; }
  .warning-stamp { right: 2px; top: 20px; font-size: 10px; }
  .specimen-tag { left: 0; bottom: 8px; }
  .ticker { transform: none; }
  .mint-zone { width: 100%; margin-top: 85px; }
  .drop-intro { padding: 28px 18px; }
  .drop-intro h2 { font-size: 53px; }
  .drop-rules > p { font-size: 16px; }
  .drop-console { padding: 22px 10px; }
  .drop-toolbar { align-items: flex-start; }
  .toolbar-label { font-size: 10px; }
  .drop-toolbar strong { font-size: 16px; }
  .countdown-block strong { min-width: 88px; font-size: 34px; }
  .drop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .drop-card:nth-child(10) { display: block; }
  .drop-card-meta { padding: 8px 7px; }
  .drop-card:hover, .drop-card:focus-visible { transform: none; box-shadow: 7px 7px 0 rgba(48,98,48,.24); }
  .selection-strip { align-items: flex-start; padding: 14px 12px; }
  .selection-strip > span { max-width: 150px; font-size: 10px; }
  .mint-path { padding: 32px 18px; }
  .mint-path > p { min-height: auto; }
  .mint-status-bar { align-items: flex-start; flex-direction: column; padding: 16px 18px; }
  .mint-status-bar .counter-line { width: 100%; }
  .manifesto { padding-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
