/* ==========================================================
   NEARLEE: comic kung fu theme
   Palette pulled from the Lee artwork: hot pink ground,
   tracksuit yellow, ink black, fart-cloud green, lantern red.
   ========================================================== */

:root {
  --pink: #FF3EA5;
  --pink-deep: #E0258C;
  --yellow: #FFD60A;
  --yellow-deep: #F2B705;
  --ink: #141414;
  --green: #DDF26B;
  --green-ink: #5B6B12;
  --red: #D7261E;
  --red-deep: #A8160F;
  --paper: #FFF6E0;
  --white: #FFFFFF;

  --outline: 4px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 14px;

  --font-comic: "Bangers", "Impact", "Arial Black", sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-cn: "Ma Shan Zheng", "STKaiti", "KaiTi", "Kaiti SC", serif;

  --gutter: clamp(16px, 4vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--pink);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }

.cn { font-family: var(--font-cn); font-weight: 400; }

h1, h2, h3 {
  font-family: var(--font-comic);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1;
  margin: 0;
}

/* Comic halftone dot textures */
.halftone {
  background-color: var(--pink);
  background-image: radial-gradient(rgba(20, 20, 20, .13) 1.6px, transparent 1.8px);
  background-size: 12px 12px;
}
.halftone-light {
  background-color: var(--yellow);
  background-image: radial-gradient(rgba(20, 20, 20, .12) 1.6px, transparent 1.8px);
  background-size: 12px 12px;
}

/* ---------- Shared comic panel ---------- */
.panel {
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  font-family: var(--font-comic);
  font-size: 1.35rem;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--ink);
  padding: .55em 1.1em .45em;
  border: var(--outline);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:focus-visible { outline: 3px dashed var(--ink); outline-offset: 4px; }

.btn-red { background: var(--red); color: var(--yellow); }
.btn-yellow { background: var(--yellow); }
.btn-white { background: var(--white); }
.btn-green { background: var(--green); }
.btn-sm { font-size: 1.1rem; padding: .4em .85em .32em; border-width: 3px; box-shadow: 3px 3px 0 var(--ink); }
.btn-lg { font-size: 1.9rem; padding: .5em 1.4em .4em; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--yellow);
  overflow: hidden;
  border-bottom: 4px solid var(--yellow);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  font-family: var(--font-comic);
  font-size: 1.15rem;
  letter-spacing: .08em;
  padding: .4em 1.2em .3em;
  white-space: nowrap;
}
.ticker-track .cn {
  font-family: var(--font-cn);
  color: var(--red);
  background: var(--yellow);
  font-size: 1.25rem;
  padding: .25em .7em .2em;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem var(--gutter);
  background: var(--yellow);
  border-bottom: var(--outline);
}
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
}
.logo-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--yellow);
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  padding-top: 4px;
}
.logo-text {
  font-family: var(--font-comic);
  font-size: 2rem;
  letter-spacing: .06em;
  -webkit-text-stroke: 1px var(--ink);
}
.nav { display: flex; gap: 1.6rem; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.x-icon { width: 1em; height: 1em; flex: none; }
.btn-icon { padding: .4em .55em; }
.btn-icon .x-icon { width: 1.05em; height: 1.05em; }
.nav a {
  font-family: var(--font-comic);
  font-size: 1.25rem;
  letter-spacing: .05em;
  text-decoration: none;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(64px, 8vw, 110px);
  border-bottom: var(--outline);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-copy { position: relative; padding-left: 88px; }

.banner {
  position: absolute;
  left: 0;
  top: -12px;
  writing-mode: vertical-rl;
  font-size: 3.1rem;
  line-height: 1;
  color: var(--yellow);
  background: var(--red);
  border: var(--outline);
  padding: 22px 8px 30px;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 94%, 0 100%);
}

.kicker {
  display: inline-block;
  margin: 0 0 1rem;
  font-family: var(--font-comic);
  font-size: 1.3rem;
  letter-spacing: .08em;
  color: var(--ink);
  background: var(--green);
  border: 3px solid var(--ink);
  padding: .25em .7em .15em;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.kicker-dark { background: var(--ink); color: var(--green); }

.title {
  text-transform: uppercase;
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
}
.title-line { display: block; font-size: clamp(3rem, 7vw, 5.4rem); }
.title-big {
  font-size: clamp(4.2rem, 11vw, 8.6rem);
  color: var(--white);
  transform: rotate(-3deg);
  transform-origin: left;
  margin-top: .05em;
}

.slogan {
  display: inline-block;
  margin: 1.3rem 0 0;
  font-family: var(--font-comic);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--white);
  border: 4px solid var(--red);
  outline: 3px solid var(--ink);
  border-radius: 6px;
  padding: .2em .6em .1em;
  transform: rotate(-4deg);
  box-shadow: 5px 5px 0 var(--ink);
}

.lede {
  font-size: 1.2rem;
  max-width: 34ch;
  margin: 1.4rem 0 1.6rem;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  box-shadow: 4px 4px 0 var(--ink);
}

.ca-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem .8rem;
  max-width: 100%;
  background: var(--ink);
  color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: .55rem .6rem .55rem 1rem;
  width: fit-content;
}
.ca-label {
  font-family: var(--font-comic);
  letter-spacing: .08em;
  color: var(--green);
  font-size: 1.1rem;
}
.ca-value { font-size: .98rem; word-break: break-all; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.6rem;
  position: relative;
}
.dodge { position: relative; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }

.hero-art { position: relative; }
.hero-panel {
  position: relative;
  background: var(--pink-deep);
  padding: 0;
  overflow: visible;
  transform: rotate(2deg);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}
.hero-panel img { border-radius: calc(var(--radius) - 4px); width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-panel:focus-visible { outline: 4px dashed var(--ink); outline-offset: 6px; }
.hero-panel.shake { animation: shake .45s ease; }
@keyframes shake {
  0%, 100% { transform: rotate(2deg); }
  20% { transform: rotate(-1deg) translateX(-6px); }
  40% { transform: rotate(4deg) translateX(6px); }
  60% { transform: rotate(0deg) translateX(-4px); }
  80% { transform: rotate(3deg) translateX(3px); }
}

.poke-hint {
  text-align: center;
  font-family: var(--font-comic);
  font-size: 1.2rem;
  letter-spacing: .06em;
  margin: 1.4rem 0 0;
}

/* Comic starburst */
.burst {
  position: absolute;
  display: grid;
  place-items: center;
  font-family: var(--font-comic);
  color: var(--ink);
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 18%, 82% 8%, 79% 30%, 100% 35%, 84% 52%, 98% 70%, 76% 72%, 78% 96%, 59% 84%, 46% 100%, 37% 81%, 14% 92%, 18% 68%, 0 58%, 17% 44%, 4% 22%, 27% 24%, 30% 2%);
  filter: drop-shadow(4px 4px 0 var(--ink));
}
.burst-hero {
  width: 170px;
  height: 150px;
  top: -40px;
  right: -26px;
  font-size: 2.1rem;
  transform: rotate(12deg);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: rotate(12deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.08); }
}

/* Decorative lanterns and drifting clouds */
.lantern {
  position: absolute;
  top: -8px;
  width: 70px;
  height: 130px;
  z-index: 1;
  transform-origin: top center;
  animation: sway 4s ease-in-out infinite;
}
.lantern-1 { left: 3%; }
.lantern-2 { right: 4%; width: 56px; height: 104px; animation-delay: -2s; }
@keyframes sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.drift {
  position: absolute;
  z-index: 1;
  opacity: .9;
  animation: drift 12s ease-in-out infinite;
}
.drift-1 { width: 170px; height: 128px; bottom: 6%; left: -40px; }
.drift-2 { width: 120px; height: 90px; top: 18%; right: 40%; animation-delay: -6s; opacity: .7; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -18px); }
}

/* Puffs spawned by clicking Lee */
.fx-puff {
  position: fixed;
  pointer-events: none;
  z-index: 80;
  width: 110px;
  height: 82px;
  animation: puff 1.4s ease-out forwards;
}
.fx-puff svg { width: 100%; height: 100%; display: block; }
@keyframes puff {
  0% { transform: translate(0, 0) scale(.2); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(var(--s)); opacity: 0; }
}
.fx-word {
  position: fixed;
  pointer-events: none;
  z-index: 81;
  font-family: var(--font-comic);
  font-size: 2.6rem;
  color: var(--green);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--ink);
  animation: word 1s ease-out forwards;
}
@keyframes word {
  0% { transform: translate(-50%, -50%) scale(.4) rotate(-10deg); opacity: 0; }
  25% { transform: translate(-50%, -80%) scale(1.15) rotate(-6deg); opacity: 1; }
  100% { transform: translate(-50%, -160%) scale(1) rotate(-6deg); opacity: 0; }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  border-bottom: var(--outline);
}
.section-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  color: var(--white);
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
  text-transform: uppercase;
}
.section-head p {
  font-size: 1.2rem;
  font-weight: 800;
  margin: .9rem 0 0;
}
.seal {
  display: inline-grid;
  place-items: center;
  min-width: 74px;
  height: 74px;
  padding: 0 10px;
  margin-bottom: 1rem;
  font-size: 2.4rem;
  color: var(--white);
  background: var(--red);
  border: var(--outline);
  border-radius: 10px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-4deg);
}

/* ---------- Legend comic strip ---------- */
.legend { background: var(--paper); }
.legend .section-head h2 { color: var(--yellow); }

.comic {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.comic-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.comic-panel:nth-child(odd) { transform: rotate(-1deg); }
.comic-panel:nth-child(even) { transform: rotate(1deg); }

.panel-no {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 50%;
}
.panel-art {
  position: relative;
  aspect-ratio: 437 / 374; /* matches the LEE2 comic crops */
  border-bottom: var(--outline);
  overflow: hidden;
  background: var(--pink);
}
.panel-art img { width: 100%; height: 100%; object-fit: cover; }
.caption {
  margin: 0;
  padding: .9rem 1rem 1.1rem;
  font-weight: 800;
  font-size: 1.02rem;
  background: var(--yellow);
  flex: 1;
}

/* ---------- Tokenomics ---------- */
.stats {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat {
  padding: 1.4rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.stat:nth-child(2) { background: var(--green); }
.stat:nth-child(3) { background: var(--pink); }
.stat:nth-child(4) { background: var(--paper); }
.stat-label {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .85rem;
}
.stat-value {
  font-family: var(--font-comic);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  letter-spacing: .03em;
  overflow-wrap: anywhere;
}
.ca-wide { margin: 36px auto 0; }

/* Burn panel */
.burn {
  position: relative;
  max-width: 1100px;
  margin: 40px auto 0;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 48px);
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(rgba(255, 214, 10, .18) 1.6px, transparent 1.8px) 0 0 / 12px 12px,
    linear-gradient(180deg, var(--ink) 0%, #3A0B08 55%, var(--red-deep) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.burn .kicker-dark { background: var(--yellow); color: var(--ink); }
.burn-seal {
  position: absolute;
  top: 18px;
  left: 18px;
  min-width: 60px;
  height: 60px;
  font-size: 2rem;
  margin: 0;
}
.burn-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  text-transform: uppercase;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--red);
}
.burn-amount {
  margin: .6rem 0 1.4rem;
  font-family: var(--font-comic);
  letter-spacing: .03em;
}
.burn-num {
  display: inline-block;
  font-size: clamp(3.4rem, 10vw, 6.8rem);
  line-height: 1;
  color: var(--white);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--red), 9px 9px 0 var(--ink);
  font-variant-numeric: tabular-nums;
}
.burn-unit { display: inline-block; margin-left: .35em; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--yellow); }
.burn-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}
.burn-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .9rem .8rem;
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--yellow);
}
.burn-stat:first-child { background: var(--yellow); box-shadow: 4px 4px 0 var(--red); }
.burn-stat-value {
  font-family: var(--font-comic);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: .03em;
  overflow-wrap: anywhere;
}
.burn-stat-label { font-size: .85rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.burn-note { max-width: 56ch; margin: 1.4rem auto .6rem; font-size: 1.05rem; }
.burn-live {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: .85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .85;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #888;
  border: 2px solid var(--ink);
}
.burn.is-live .live-dot { background: var(--green); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

.burn-flame {
  position: absolute;
  bottom: -14px;
  width: 110px;
  height: 143px;
  transform-origin: bottom center;
  animation: flicker 1.1s ease-in-out infinite alternate;
  pointer-events: none;
}
.burn-flame-1 { left: 3%; }
.burn-flame-2 { right: 3%; width: 84px; height: 109px; animation-delay: -.5s; }
@keyframes flicker {
  0% { transform: scale(1, 1) rotate(-2deg); }
  50% { transform: scale(1.05, .94) rotate(2deg); }
  100% { transform: scale(.96, 1.08) rotate(-1deg); }
}

/* ---------- Airdrop ---------- */
.airdrop {
  background: var(--ink);
  background-image: radial-gradient(rgba(221, 242, 107, .16) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
}
.airdrop-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: var(--green);
  text-align: center;
  box-shadow: 10px 10px 0 var(--pink);
}
.airdrop-card h2 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.airdrop-card .hl {
  color: var(--pink);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}
.airdrop-card p { max-width: 56ch; margin: .8rem auto; font-size: 1.1rem; }
.airdrop-amount { font-family: var(--font-comic); font-size: 1.7rem !important; letter-spacing: .04em; }
.big-num {
  display: inline-block;
  font-size: clamp(3.6rem, 9vw, 6rem);
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-3deg);
  margin-right: .15em;
}
.memo {
  font-size: .98rem !important;
  background: var(--white);
  border: 3px dashed var(--ink);
  border-radius: 10px;
  padding: .6rem .9rem;
  display: inline-block;
}
.airdrop-puff {
  position: absolute;
  width: 150px;
  height: 112px;
  top: -60px;
  right: -40px;
  transform: rotate(10deg);
}

/* ---------- How to buy ---------- */
.steps {
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: none;
}
.step {
  position: relative;
  padding: 2.4rem 1.3rem 1.4rem;
  background: var(--white);
}
.step-no {
  position: absolute;
  top: -26px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-family: var(--font-comic);
  font-size: 2rem;
  background: var(--yellow);
  border: var(--outline);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
}
.step h3 { font-size: 1.75rem; margin-bottom: .5rem; letter-spacing: .04em; }
.step p { margin: 0; }
.step code {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 0 .3em;
  font-size: .88em;
  word-break: break-all;
}
.buy-cta { text-align: center; margin-top: clamp(40px, 6vw, 64px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: clamp(48px, 7vw, 80px) var(--gutter) 40px;
}
.footer-cn {
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  line-height: 1;
  color: var(--yellow);
  text-shadow: 5px 5px 0 var(--ink);
}
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin: 2rem 0;
}
.disclaimer { max-width: 70ch; margin: 0 auto 1rem; font-size: .9rem; opacity: .92; }
.copyright { font-family: var(--font-comic); font-size: 1.2rem; letter-spacing: .06em; margin: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  max-width: calc(100% - 32px);
  transform: translate(-50%, 140%);
  font-family: var(--font-comic);
  font-size: 1.35rem;
  letter-spacing: .05em;
  text-align: center;
  background: var(--yellow);
  border: var(--outline);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .6rem 1.2rem .5rem;
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Missing image placeholder ---------- */
.img-missing {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.2rem;
  font-weight: 900;
  background: var(--pink-deep);
  color: var(--white);
  border-radius: calc(var(--radius) - 4px);
}
.img-missing code { background: var(--ink); padding: .1em .4em; border-radius: 4px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; translate: 0 30px; transition: opacity .5s ease, translate .5s cubic-bezier(.3, 1.5, .5, 1); }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .comic, .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps { row-gap: 44px; }
}

@media (max-width: 760px) {
  .burn-flame { opacity: .35; }
  .burn-stats { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .drift-2 { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-copy { padding-left: 0; }
  .banner {
    position: static;
    writing-mode: horizontal-tb;
    display: inline-block;
    font-size: 2rem;
    padding: 6px 16px 4px;
    margin-bottom: 1rem;
    clip-path: none;
  }
  .lantern-1 { left: auto; right: 22%; width: 46px; height: 86px; }
  .lantern-2 { width: 40px; height: 74px; }
  .comic, .stats, .steps { grid-template-columns: 1fr; }
  .logo-text { font-size: 1.6rem; }
  .site-header .btn-sm { font-size: 1rem; }
  .burst-hero { width: 120px; height: 106px; font-size: 1.5rem; right: -10px; top: -30px; }
  .airdrop-puff { width: 100px; height: 75px; right: -16px; top: -44px; }
  .ca-box { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: 0 0; }
}
