/* ═══════════════════════════════════════════════════════════════════
   $42069 · NEON CYBERPUNK STONER-DEGEN PARTY
   stripped, schizo, green
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --ink:    #02060b;
  --haze:   #07120c;
  --bone:   #e8ffec;
  --toxic:  #00ff66;       /* primary neon green */
  --acid:   #b8ff00;       /* acid lime */
  --kush:   #2eaa4d;       /* mid green */
  --deep:   #003d1c;       /* deep forest */
  --cash:   #d6ff5a;       /* gold-green for $$ */
  --pink:   #ff2dcf;       /* cyberpunk magenta pop */
  --hot:    #ff5e00;       /* warning orange */

  --accent:  var(--toxic);
  --accent2: var(--acid);
  --accent3: var(--pink);

  --font-display:  'Bungee', monospace;
  --font-mono:     'VT323', monospace;
  --font-pixel:    'Press Start 2P', monospace;
  --font-major:    'Major Mono Display', monospace;
  --font-creep:    'Creepster', cursive;
  --font-arabic:   'Noto Sans Arabic', serif;
  --font-jp:       'Noto Sans JP', sans-serif;

  --chaos: 1;
  --grain-opacity: .45;
  --scan-opacity:  .35;
  --smoke-opacity: 1;
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-mono);
  overflow-x: hidden;
  scroll-behavior: smooth;
  cursor: default;
}
body {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(0,255,102,.12), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(184,255,0,.10), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(255,45,207,.06), transparent 65%),
    linear-gradient(180deg, #02060b, #07120c 50%, #02060b);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
.ul { text-decoration: underline; text-underline-offset: 3px; }
.ul:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL FX LAYERS
   ═══════════════════════════════════════════════════════════════════ */

.page-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.7) 100%);
  mix-blend-mode: multiply;
}
.page-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(0,255,102,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,102,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
}
.page-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 3;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' seed='9'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 1  0 0 0 0 .3  0 0 0 .22 0'/></filter><rect width='320' height='320' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
}
.page-scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 4;
  opacity: .22;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.5) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.mood-strobe {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  mix-blend-mode: screen; opacity: calc(.15 * var(--chaos));
  animation: mood-strobe 2.6s steps(6) infinite;
}
@keyframes mood-strobe {
  0%   { background: var(--toxic); }
  16%  { background: transparent; }
  33%  { background: var(--acid); }
  50%  { background: transparent; }
  66%  { background: var(--pink); }
  83%  { background: transparent; }
  100% { background: var(--toxic); }
}

/* ═══════════════════════════════════════════════════════════════════
   SMOKE — drifting clouds + animated SVG wisps
   ═══════════════════════════════════════════════════════════════════ */

.smoke-layer {
  position: fixed; inset: 0; pointer-events: none;
  overflow: hidden;
  z-index: 5;
  opacity: var(--smoke-opacity);
}
.smoke-layer.back  { z-index: 5; }
.smoke-layer.front { z-index: 8; opacity: calc(var(--smoke-opacity) * .8); mix-blend-mode: screen; }

.smoke-puff {
  position: absolute;
  width: 820px; height: 820px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(0,255,102,.85), rgba(0,255,102,.25) 35%, transparent 65%),
    radial-gradient(circle at 60% 65%, rgba(184,255,0,.55), transparent 60%);
  filter: blur(60px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
  animation: smoke-drift 36s ease-in-out infinite;
}
.smoke-puff.p1 { top: -15%; left: -15%; animation-duration: 42s; animation-delay: -3s;  }
.smoke-puff.p2 { top:  10%; left:  55%; animation-duration: 30s; animation-delay: -12s; background: radial-gradient(circle at 50% 50%, rgba(184,255,0,.7), rgba(184,255,0,.2) 40%, transparent 65%); }
.smoke-puff.p3 { top:  50%; left: -10%; animation-duration: 38s; animation-delay: -8s;  background: radial-gradient(circle at 50% 50%, rgba(0,255,102,.8), transparent 60%); }
.smoke-puff.p4 { top:  55%; left:  55%; animation-duration: 46s; animation-delay: -20s; background: radial-gradient(circle at 50% 50%, rgba(214,255,90,.55), transparent 60%); width: 640px; height: 640px; }
.smoke-puff.p5 { top:  30%; left:  20%; animation-duration: 50s; animation-delay: -16s; width: 620px; height: 620px; background: radial-gradient(circle at 50% 50%, rgba(0,255,102,.7), transparent 60%); }
.smoke-puff.p6 { top:  75%; left:  25%; animation-duration: 34s; animation-delay: -5s;  width: 700px; height: 700px; background: radial-gradient(circle at 50% 50%, rgba(214,255,90,.6), transparent 60%); }

@keyframes smoke-drift {
  0%   { transform: translate(0,0) scale(1)   rotate(0deg);  opacity: .8;  }
  25%  { transform: translate(80px, -60px) scale(1.2)  rotate(8deg);  opacity: 1;   }
  50%  { transform: translate(-60px, 40px) scale(1.1)  rotate(-6deg); opacity: .9;  }
  75%  { transform: translate(70px,  80px) scale(1.25) rotate(12deg); opacity: 1;   }
  100% { transform: translate(0,0) scale(1)   rotate(0deg);  opacity: .8;  }
}

/* SVG turbulent smoke wisp overlay */
.smoke-wisp-svg {
  position: fixed; inset: -10%; width: 120%; height: 120%;
  pointer-events: none; z-index: 6;
  opacity: .65;
  mix-blend-mode: screen;
}

/* Slow rising puff stream from bottom */
.smoke-rise {
  position: fixed; bottom: -20vh; left: 0;
  width: 100%; height: 60vh;
  pointer-events: none; z-index: 5;
  background:
    radial-gradient(ellipse at 15% 100%, rgba(0,255,102,.9), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(184,255,0,.7),  transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(0,255,102,.8),  transparent 55%);
  filter: blur(50px);
  mix-blend-mode: screen;
  animation: smoke-rise 18s ease-in-out infinite alternate;
}
@keyframes smoke-rise {
  0%   { transform: translateY(20vh) scale(1);    opacity: .4; }
  50%  { transform: translateY(-10vh) scale(1.1); opacity: .8; }
  100% { transform: translateY(-30vh) scale(1.2); opacity: .2; }
}

/* ═══════════════════════════════════════════════════════════════════
   CURSOR TRAIL (leaves + dollars)
   ═══════════════════════════════════════════════════════════════════ */

.cursor-trail { position: fixed; inset: 0; pointer-events: none; z-index: 9990; }
.ct {
  position: absolute;
  transform: translate(-50%, -50%) rotate(0deg);
  font-size: 22px;
  pointer-events: none;
  animation: ct-fade 1.2s linear forwards;
  filter: drop-shadow(0 0 6px var(--accent)) drop-shadow(0 0 12px var(--accent));
  will-change: transform, opacity;
}
.ct.dollar {
  font-family: var(--font-display);
  color: var(--cash);
  font-size: 28px;
  font-weight: 900;
  filter: drop-shadow(0 0 6px var(--cash)) drop-shadow(0 0 14px var(--cash));
}
.ct.leaf {
  color: var(--toxic);
  filter: drop-shadow(0 0 6px var(--toxic)) drop-shadow(0 0 14px var(--toxic));
  display: block;
}
.ct.leaf svg { width: 100%; height: 100%; display: block; }
@keyframes ct-fade {
  0%   { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(.6); }
  50%  { opacity: .9; transform: translate(-50%, -90%) rotate(180deg) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -160%) rotate(360deg) scale(.4); }
}

/* ═══════════════════════════════════════════════════════════════════
   TOP / BOTTOM MARQUEES
   ═══════════════════════════════════════════════════════════════════ */

.marquee {
  position: relative; z-index: 10;
  overflow: hidden;
  background: linear-gradient(90deg, #000, rgba(0,255,102,.15), #000);
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  padding: 10px 0;
  box-shadow: 0 0 22px rgba(0,255,102,.4) inset;
}
.marquee-inner {
  display: inline-block; white-space: nowrap;
  animation: mq 38s linear infinite;
  padding-left: 100%;
  font-size: 28px;
  font-family: var(--font-display);
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent), 0 0 18px var(--accent);
  letter-spacing: 6px;
}
.marquee-inner.reverse { animation-direction: reverse; }
@keyframes mq { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px 16px 80px;
  z-index: 10;
  overflow: hidden;
}

/* Logo treatment — 42069COIN bud render */
.hero-logo-wrap {
  position: relative;
  width: min(94vw, 1100px);
  margin: 20px auto 8px;
  isolation: isolate;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute; inset: -10%;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(0,255,102,.55), rgba(184,255,0,.25) 35%, transparent 70%);
  filter: blur(46px);
  z-index: -1;
  animation: hero-logo-aura 4.2s ease-in-out infinite;
}
.hero-logo-wrap::after {
  content: '';
  position: absolute; inset: -6%;
  background: radial-gradient(ellipse at 50% 60%, rgba(184,255,0,.35), transparent 60%);
  filter: blur(22px);
  z-index: -1;
  animation: hero-logo-aura 3s ease-in-out infinite reverse;
}
.hero-logo.bud {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  /* layered glow + heavy ground shadow */
  filter:
    drop-shadow(0 0 14px rgba(0,255,102,.85))
    drop-shadow(0 0 38px rgba(184,255,0,.55))
    drop-shadow(0 0 80px rgba(0,255,102,.35))
    drop-shadow(0 22px 18px rgba(0,0,0,.85));
  transform-origin: 50% 60%;
  animation:
    hero-logo-pulse 3.4s ease-in-out infinite,
    hero-logo-flicker 7s steps(24) infinite;
}
@keyframes hero-logo-pulse {
  0%, 100% {
    transform: scale(1);
    filter:
      drop-shadow(0 0 14px rgba(0,255,102,.85))
      drop-shadow(0 0 38px rgba(184,255,0,.55))
      drop-shadow(0 0 80px rgba(0,255,102,.35))
      drop-shadow(0 22px 18px rgba(0,0,0,.85));
  }
  50% {
    transform: scale(1.025);
    filter:
      drop-shadow(0 0 22px rgba(184,255,0,1))
      drop-shadow(0 0 56px rgba(0,255,102,.85))
      drop-shadow(0 0 120px rgba(184,255,0,.55))
      drop-shadow(0 28px 22px rgba(0,0,0,.85));
  }
}
@keyframes hero-logo-flicker {
  0%, 92%, 100% { opacity: 1; }
  93%           { opacity: .65; }
  94%           { opacity: 1; }
  96%           { opacity: .85; }
  97%           { opacity: 1; }
}
@keyframes hero-logo-aura {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

/* Smoke wafting off the logo */
.hero-logo-smoke {
  position: absolute;
  left: 0; right: 0;
  bottom: 12%;
  height: 70%;
  pointer-events: none;
  z-index: 1;
  filter: blur(8px);
}
.hero-logo-smoke .puff {
  position: absolute;
  bottom: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(220,255,220,.55), rgba(180,220,190,.18) 55%, transparent 75%);
  opacity: 0;
  mix-blend-mode: screen;
  animation: puff-rise 6s ease-out infinite;
}
.hero-logo-smoke .p1 { left: 12%; width: 90px;  height: 90px;  animation-delay: 0s;   animation-duration: 6.2s; }
.hero-logo-smoke .p2 { left: 26%; width: 110px; height: 110px; animation-delay: 1.1s; animation-duration: 7s;   }
.hero-logo-smoke .p3 { left: 40%; width: 130px; height: 130px; animation-delay: 2.3s; animation-duration: 6.6s; }
.hero-logo-smoke .p4 { left: 54%; width: 100px; height: 100px; animation-delay: 0.6s; animation-duration: 7.4s; }
.hero-logo-smoke .p5 { left: 66%; width: 120px; height: 120px; animation-delay: 3.1s; animation-duration: 6.8s; }
.hero-logo-smoke .p6 { left: 78%; width: 90px;  height: 90px;  animation-delay: 1.8s; animation-duration: 6.4s; }
.hero-logo-smoke .p7 { left: 88%; width: 80px;  height: 80px;  animation-delay: 4.0s; animation-duration: 7s;   }
@keyframes puff-rise {
  0%   { transform: translate(0, 30%) scale(.5); opacity: 0; }
  15%  { opacity: .9; }
  60%  { opacity: .55; }
  100% { transform: translate(var(--puff-x, 20px), -180%) scale(1.8); opacity: 0; }
}
.hero-logo-smoke .p1 { --puff-x: -30px; }
.hero-logo-smoke .p2 { --puff-x:  18px; }
.hero-logo-smoke .p3 { --puff-x: -22px; }
.hero-logo-smoke .p4 { --puff-x:  26px; }
.hero-logo-smoke .p5 { --puff-x: -18px; }
.hero-logo-smoke .p6 { --puff-x:  30px; }
.hero-logo-smoke .p7 { --puff-x: -24px; }

@media (prefers-reduced-motion: reduce) {
  .hero-logo.bud, .hero-logo-wrap::before, .hero-logo-wrap::after, .hero-logo-smoke .puff {
    animation: none !important;
  }
}

/* Tagline directly under logo */
.hero-tag {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 38px);
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 0 8px var(--toxic), 0 0 20px var(--toxic);
  margin: 30px 0 6px;
  text-align: center;
}
.hero-tag .glow { color: var(--acid); text-shadow: 0 0 8px var(--acid), 0 0 20px var(--acid); }
.hero-tag .pop  { color: var(--pink); text-shadow: 0 0 8px var(--pink), 0 0 20px var(--pink); }

.hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 3px;
  color: var(--bone);
  opacity: .8;
  margin: 0 0 24px;
  text-align: center;
}

/* CA pill */
.ca-row {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  margin: 12px auto 0;
  flex-wrap: wrap;
}
.ca-label {
  font-family: var(--font-pixel); font-size: 10px;
  letter-spacing: 3px; color: var(--accent2);
  text-shadow: 0 0 6px var(--accent2);
}
.ca-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(0,0,0,.7);
  border: 2px solid var(--accent);
  color: var(--bone);
  padding: 10px 16px;
  font-family: var(--font-mono);
  cursor: pointer;
  font-size: 16px;
  transition: all .15s;
  max-width: 90vw;
  box-shadow: 0 0 16px rgba(0,255,102,.4), inset 0 0 16px rgba(0,255,102,.15);
}
.ca-pill:hover {
  background: var(--accent); color: #000;
  box-shadow: 0 0 28px var(--accent);
  transform: translateY(-2px);
}
.ca-mono {
  font-family: var(--font-mono); font-size: 16px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 460px;
}
.ca-copy-i { font-size: 14px; opacity: .8; }

/* ═══════════════════════════════════════════════════════════════════
   THREE LINK TILES
   ═══════════════════════════════════════════════════════════════════ */

.tiles-wrap {
  position: relative; z-index: 10;
  max-width: 1400px;
  margin: 40px auto 60px;
  padding: 0 24px;
}
.tiles-eyebrow {
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--accent2);
  text-shadow: 0 0 6px var(--accent2);
  margin-bottom: 24px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .tile-grid { grid-template-columns: 1fr; gap: 20px; } }

.tile {
  position: relative;
  isolation: isolate;
  z-index: 12;
  display: flex; flex-direction: column;
  /* hemp rolling paper — base */
  background:
    /* gum strip at top */
    linear-gradient(180deg, #c9a25c 0 14px, transparent 14px),
    /* subtle fiber lines */
    repeating-linear-gradient(92deg, transparent 0 4px, rgba(110,75,30,.05) 4px 5px),
    repeating-linear-gradient(2deg,  transparent 0 7px, rgba(110,75,30,.04) 7px 8px),
    /* paper noise */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .25  0 0 0 0 .1  0 0 0 .35 0'/></filter><rect width='320' height='320' filter='url(%23p)'/></svg>"),
    /* base cream */
    linear-gradient(180deg, #ece0bd 0%, #e6d6ac 60%, #d9c690 100%);
  background-blend-mode: normal, multiply, multiply, multiply, normal;
  color: #2a1d08;
  border: 1px solid rgba(110,75,30,.55);
  border-radius: 3px;
  padding: 26px 22px 18px;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  font-family: var(--font-mono);
  transition: transform .25s cubic-bezier(.4,1.6,.5,1), box-shadow .25s;
  box-shadow:
    /* paper shadow */
    0 2px 0 rgba(120,80,30,.4),
    8px 10px 0 rgba(0,0,0,.55),
    /* outer neon halo */
    0 0 22px rgba(0,255,102,.35),
    0 0 50px rgba(0,255,102,.18);
}
/* per-tile slight tilt — different angles like loose papers */
.tile.t-ticker { transform: rotate(-1.2deg); }
.tile.t-dex    { transform: rotate(.7deg); }
.tile.t-x      { transform: rotate(-.5deg); }

.tile:hover {
  transform: translate(-4px,-8px) rotate(0deg) !important;
  box-shadow:
    0 2px 0 rgba(120,80,30,.4),
    14px 16px 0 rgba(0,0,0,.75),
    0 0 50px var(--toxic),
    0 0 90px rgba(184,255,0,.5);
  z-index: 20;
}
.tile:active { transform: translate(2px,2px) rotate(0deg) !important; }

/* gum-strip dashes (perforation feel) */
.tile::before {
  content: '';
  position: absolute;
  top: 6px; left: 0; right: 0;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(60,35,5,.5) 50%, transparent 50%);
  background-size: 6px 100%;
  z-index: 3;
  opacity: .55;
}

/* singed/burnt bottom-right corner mark */
.tile::after {
  content: '';
  position: absolute;
  bottom: -10px; right: -10px;
  width: 90px; height: 90px;
  background: radial-gradient(circle at 100% 100%, rgba(60,20,0,.9) 0%, rgba(120,55,10,.5) 25%, transparent 55%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* subtle weed-leaf watermark */
.tile .tile-watermark {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: .07;
  z-index: 1;
}
.tile .tile-watermark svg { width: 75%; height: 75%; fill: #3d2a08; stroke: #3d2a08; stroke-width: 1; }

/* DEX "screen" — taped-on polaroid feel */
.dex-screen {
  width: 92%;
  max-width: 320px;
  background: #0a0f06;
  border: 3px solid #1a1102;
  border-radius: 4px;
  padding: 8px;
  box-shadow:
    0 4px 0 rgba(60,35,5,.55),
    0 0 0 1px rgba(60,35,5,.4),
    0 0 20px rgba(0,255,102,.4),
    inset 0 0 14px rgba(0,255,102,.18);
  transform: rotate(-1.2deg);
  position: relative;
}
.dex-screen::before, .dex-screen::after {
  content: '';
  position: absolute;
  width: 50px; height: 14px;
  background: rgba(220,200,140,.55);
  border: 1px dashed rgba(60,35,5,.4);
  top: -8px;
  transform: rotate(-8deg);
  mix-blend-mode: multiply;
}
.dex-screen::before { left: -12px; }
.dex-screen::after  { right: -12px; transform: rotate(8deg); }

.dex-screen-head {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-pixel); font-size: 8px;
  color: var(--toxic);
  text-shadow: 0 0 6px var(--toxic);
  padding-bottom: 6px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(0,255,102,.3);
  letter-spacing: 2px;
}
.dex-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff2dcf; box-shadow: 0 0 6px #ff2dcf; }
.dex-dot.y { background: #d6ff5a; box-shadow: 0 0 6px #d6ff5a; }
.dex-dot.g { background: #00ff66; box-shadow: 0 0 6px #00ff66; }
.dex-label { margin-left: 4px; flex: 1; }
.dex-pct {
  color: var(--acid); text-shadow: 0 0 6px var(--acid);
  font-size: 10px; letter-spacing: 2px;
}
.dex-svg { width: 100%; height: auto; aspect-ratio: 1 / 1; display: block; }

/* X — stamped-ink imprint look */
.stamp-wrap {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-6deg);
  opacity: .92;
}
.stamp-wrap .stamp-svg { width: 90%; height: auto; max-width: 280px; }

.tile-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
  z-index: 2; position: relative;
}
.tile-num {
  font-family: var(--font-pixel); font-size: 9px;
  letter-spacing: 3px; color: #f3ffe9;
  text-shadow: 0 0 6px rgba(0,255,102,.7), 0 0 12px rgba(0,255,102,.4);
  opacity: .95;
}
.tile-tag {
  font-family: var(--font-pixel); font-size: 8px;
  letter-spacing: 2px;
  padding: 4px 7px;
  border: 1px solid rgba(0,255,102,.7);
  color: #ffffff;
  background: rgba(0,30,12,.55);
  border-radius: 2px;
  text-shadow: 0 0 4px rgba(0,255,102,.6);
}
.tile-tag.pink { color: #fff; border-color: rgba(255,45,207,.8); background: rgba(40,0,28,.55); text-shadow: 0 0 4px rgba(255,45,207,.6); }
.tile-tag.acid { color: #fff; border-color: rgba(184,255,0,.8); background: rgba(28,38,0,.55); text-shadow: 0 0 4px rgba(184,255,0,.6); }

.tile-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  margin: 8px 0;
  z-index: 2;
}
.tile-art svg { width: 80%; height: 80%; max-width: 260px; max-height: 260px; }

/* owl mascot image for the DEX tile */
.tile-owl-img {
  width: 100%;
  height: 100%;
  max-width: 320px;
  max-height: 320px;
  object-fit: contain;
  /* invert the black background so the owl reads on dark tile */
  filter: invert(1);
  animation: tile-owl-greens 8s ease-in-out infinite, tile-logo-flicker 6s steps(20) infinite;
}
@keyframes tile-owl-greens {
  0%   { filter: invert(1) drop-shadow(0 0 10px #00ff66) drop-shadow(0 0 24px #00ff66) drop-shadow(0 0 40px rgba(0,255,102,.55)); }
  25%  { filter: invert(1) drop-shadow(0 0 10px #b8ff00) drop-shadow(0 0 24px #b8ff00) drop-shadow(0 0 40px rgba(184,255,0,.55));  }
  50%  { filter: invert(1) drop-shadow(0 0 10px #d6ff5a) drop-shadow(0 0 24px #d6ff5a) drop-shadow(0 0 40px rgba(214,255,90,.55)); }
  75%  { filter: invert(1) drop-shadow(0 0 10px #2eaa4d) drop-shadow(0 0 24px #2eaa4d) drop-shadow(0 0 40px rgba(46,170,77,.6));   }
  100% { filter: invert(1) drop-shadow(0 0 10px #00ff66) drop-shadow(0 0 24px #00ff66) drop-shadow(0 0 40px rgba(0,255,102,.55)); }
}

/* circular avatar for the @42069_coin tile */
.avatar-420 {
  width: clamp(180px, 22vw, 280px);
  height: clamp(180px, 22vw, 280px);
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  border: 4px solid #b8ff00;
  box-shadow:
    0 0 0 3px rgba(0,0,0,.6),
    0 0 24px rgba(184,255,0,.55),
    0 0 60px rgba(0,255,102,.35),
    inset 0 0 18px rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center;
  animation: avatar-420-greens 8s ease-in-out infinite, tile-logo-flicker 6s steps(20) infinite;
}
.avatar-420-img {
  width: 108%;
  height: 108%;
  object-fit: cover;
  /* boost contrast a bit so the #420 reads inside the circle */
  filter: contrast(1.15) brightness(1.05);
}
@keyframes avatar-420-greens {
  0%, 100% { border-color: #00ff66; box-shadow: 0 0 0 3px rgba(0,0,0,.6), 0 0 24px rgba(0,255,102,.6),  0 0 60px rgba(0,255,102,.35), inset 0 0 18px rgba(0,0,0,.6); }
  33%      { border-color: #b8ff00; box-shadow: 0 0 0 3px rgba(0,0,0,.6), 0 0 24px rgba(184,255,0,.6),  0 0 60px rgba(184,255,0,.35), inset 0 0 18px rgba(0,0,0,.6); }
  66%      { border-color: #d6ff5a; box-shadow: 0 0 0 3px rgba(0,0,0,.6), 0 0 24px rgba(214,255,90,.6), 0 0 60px rgba(214,255,90,.35), inset 0 0 18px rgba(0,0,0,.6); }
}

/* hi-res logo image for the CA tile */
.tile-logo-img {
  width: 100%;
  height: 100%;
  max-width: 340px;
  max-height: 340px;
  object-fit: contain;
  animation: tile-logo-greens 8s ease-in-out infinite, tile-logo-flicker 6s steps(20) infinite;
}
@keyframes tile-logo-greens {
  0%   { filter: drop-shadow(0 0 10px #00ff66) drop-shadow(0 0 24px #00ff66) drop-shadow(0 0 40px rgba(0,255,102,.55)); }
  25%  { filter: drop-shadow(0 0 10px #b8ff00) drop-shadow(0 0 24px #b8ff00) drop-shadow(0 0 40px rgba(184,255,0,.55));  }
  50%  { filter: drop-shadow(0 0 10px #d6ff5a) drop-shadow(0 0 24px #d6ff5a) drop-shadow(0 0 40px rgba(214,255,90,.55)); }
  75%  { filter: drop-shadow(0 0 10px #2eaa4d) drop-shadow(0 0 24px #2eaa4d) drop-shadow(0 0 40px rgba(46,170,77,.6));   }
  100% { filter: drop-shadow(0 0 10px #00ff66) drop-shadow(0 0 24px #00ff66) drop-shadow(0 0 40px rgba(0,255,102,.55)); }
}
@keyframes tile-logo-flicker {
  0%, 92%, 100% { opacity: 1; transform: scale(1); }
  93%           { opacity: .75; transform: scale(1.02); }
  95%           { opacity: 1;   transform: scale(1); }
}

/* DEX screen glow cycles greens */
.dex-screen {
  animation: dex-screen-greens 8s ease-in-out infinite;
}
@keyframes dex-screen-greens {
  0%, 100% { box-shadow:
    0 4px 0 rgba(60,35,5,.55),
    0 0 0 1px rgba(60,35,5,.4),
    0 0 22px rgba(0,255,102,.55),
    inset 0 0 14px rgba(0,255,102,.22); }
  33%      { box-shadow:
    0 4px 0 rgba(60,35,5,.55),
    0 0 0 1px rgba(60,35,5,.4),
    0 0 24px rgba(184,255,0,.55),
    inset 0 0 14px rgba(184,255,0,.22); }
  66%      { box-shadow:
    0 4px 0 rgba(60,35,5,.55),
    0 0 0 1px rgba(60,35,5,.4),
    0 0 22px rgba(214,255,90,.55),
    inset 0 0 14px rgba(214,255,90,.22); }
}

/* X stamp glow cycles greens (overrides the magenta-only halo) */
.stamp-wrap {
  animation: stamp-greens 8s ease-in-out infinite;
}
@keyframes stamp-greens {
  0%, 100% { filter: drop-shadow(0 0 6px #00ff66) drop-shadow(0 0 18px rgba(0,255,102,.55)); }
  33%      { filter: drop-shadow(0 0 6px #b8ff00) drop-shadow(0 0 18px rgba(184,255,0,.55));  }
  66%      { filter: drop-shadow(0 0 6px #d6ff5a) drop-shadow(0 0 18px rgba(214,255,90,.55)); }
}

.tile-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1;
  margin: 14px 0 4px;
  color: #ffffff;
  letter-spacing: 2px;
  z-index: 2; position: relative;
  text-shadow:
    0 1px 0 rgba(0,0,0,.5),
    0 0 8px rgba(0,255,102,.85),
    0 0 18px rgba(0,255,102,.6),
    0 0 36px rgba(184,255,0,.4);
}
.tile-sub {
  font-family: var(--font-mono);
  font-size: 18px;
  color: #f5fff0;
  opacity: .95;
  z-index: 2; position: relative;
  letter-spacing: 1px;
  text-shadow: 0 1px 0 rgba(0,0,0,.5), 0 0 6px rgba(0,255,102,.5);
}
.tile-cta {
  margin-top: 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 3px;
  color: #ffffff;
  z-index: 2; position: relative;
  border-top: 1px dashed rgba(255,255,255,.55);
  padding-top: 12px;
  text-shadow: 0 0 5px rgba(0,255,102,.7);
}
.tile-cta .arr { font-size: 16px; color: #ffffff; text-shadow: 0 0 6px rgba(184,255,0,.8); }

/* per-tile color accent (only affects glow halo, not paper text) */
.tile.t-ticker { --accent: var(--cash); }
.tile.t-ticker .tile-title {
  text-shadow: 0 1px 0 rgba(0,0,0,.5),
               0 0 8px rgba(214,255,90,.9),
               0 0 18px rgba(214,255,90,.6),
               0 0 36px rgba(184,255,0,.45);
}
.tile.t-dex    { --accent: var(--toxic); }
.tile.t-x      { --accent: var(--toxic); }
.tile.t-x .tile-title {
  text-shadow: 0 1px 0 rgba(0,0,0,.5),
               0 0 8px rgba(0,255,102,.9),
               0 0 18px rgba(0,255,102,.6),
               0 0 36px rgba(184,255,0,.4);
}
.tile.t-x:hover {
  box-shadow:
    0 2px 0 rgba(120,80,30,.4),
    14px 16px 0 rgba(0,0,0,.75),
    0 0 50px var(--toxic),
    0 0 90px rgba(184,255,0,.5);
}
.tile.t-ticker:hover {
  box-shadow:
    0 2px 0 rgba(120,80,30,.4),
    14px 16px 0 rgba(0,0,0,.75),
    0 0 50px var(--cash),
    0 0 90px rgba(214,255,90,.5);
}

/* tile smoke wisp — thin trail just escaping the TOP edge, not filling the tile */
.tile-smoke {
  position: absolute;
  left: -10%; right: -10%;
  top: -60px;
  height: 70px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 100%, rgba(0,255,102,.55), transparent 65%),
    radial-gradient(ellipse at 70% 100%, rgba(184,255,0,.45), transparent 65%);
  filter: blur(14px);
  z-index: 4;
  mix-blend-mode: screen;
  animation: tile-smoke 8s ease-in-out infinite alternate;
  opacity: .85;
}
@keyframes tile-smoke {
  0%   { transform: translate(0,0) scale(1);    opacity: .7; }
  50%  { transform: translate(-10px,-10px) scale(1.1); opacity: 1; }
  100% { transform: translate(15px,-18px) scale(1.18); opacity: .8; }
}

/* ═══════════════════════════════════════════════════════════════════
   SCRIPTURE (single tiny block)
   ═══════════════════════════════════════════════════════════════════ */

.scripture {
  position: relative; z-index: 10;
  max-width: 760px; margin: 40px auto 60px; padding: 28px 32px;
  border: 2px solid var(--accent);
  background: rgba(0,0,0,.55);
  box-shadow: 0 0 30px rgba(0,255,102,.3), inset 0 0 30px rgba(0,255,102,.08);
  text-align: center;
  font-family: var(--font-mono);
}
.scripture-eyebrow {
  font-family: var(--font-pixel); font-size: 10px;
  letter-spacing: 4px; color: var(--accent2);
  margin-bottom: 12px;
}
.scripture p {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--bone);
}
.scripture .pop { color: var(--toxic); text-shadow: 0 0 8px var(--toxic); }
.scripture .pink { color: var(--pink); text-shadow: 0 0 8px var(--pink); }
.scripture .acid { color: var(--acid); text-shadow: 0 0 8px var(--acid); }
.scripture .sig  {
  margin-top: 16px;
  font-family: var(--font-pixel); font-size: 9px;
  letter-spacing: 3px; opacity: .7;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */

.footer {
  position: relative; z-index: 10;
  border-top: 2px solid var(--accent);
  padding: 30px 16px 24px;
  background: rgba(0,0,0,.7);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--bone);
  letter-spacing: 2px;
  opacity: .85;
}
.footer .ft-h {
  font-family: var(--font-display); font-size: 22px;
  color: var(--accent); text-shadow: 0 0 10px var(--accent);
  letter-spacing: 4px;
  margin-bottom: 6px;
}
.footer .ft-sub { opacity: .55; font-size: 12px; margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════════════
   SYSTEM ERRORS / POPUPS / STICKERS (chaos preserved)
   ═══════════════════════════════════════════════════════════════════ */

.sys-errors { position: fixed; inset: 0; pointer-events: none; z-index: 9990; }
.sys-error {
  position: absolute;
  background: rgba(0,0,0,.9);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-pixel); font-size: 10px;
  letter-spacing: 2px;
  padding: 6px 10px;
  box-shadow: 0 0 18px var(--accent), 4px 4px 0 rgba(0,0,0,.7);
  animation: syserr-in .3s ease 1, syserr-flicker .2s steps(4) infinite;
  max-width: 320px;
  text-shadow: 0 0 4px var(--accent);
}
@keyframes syserr-in {
  from { opacity: 0; transform: scale(.7) rotate(-4deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes syserr-flicker {
  0%,100% { opacity: 1; }
  50%     { opacity: .8; }
}

.floating-stickers { position: fixed; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
.sticker {
  position: absolute;
  filter: drop-shadow(0 0 6px var(--accent)) drop-shadow(0 0 14px var(--accent));
  animation: sticker-drift 14s linear infinite;
}
.sticker.dollar { color: var(--cash); filter: drop-shadow(0 0 6px var(--cash)) drop-shadow(0 0 14px var(--cash)); font-family: var(--font-display); font-weight: 900; }
.sticker.acid   { color: var(--acid); filter: drop-shadow(0 0 6px var(--acid)) drop-shadow(0 0 14px var(--acid)); }
.sticker.pink   { color: var(--pink); filter: drop-shadow(0 0 6px var(--pink)) drop-shadow(0 0 14px var(--pink)); }
@keyframes sticker-drift {
  0%   { transform: translate(0,0) rotate(0deg);     }
  33%  { transform: translate(28px, -34px) rotate(15deg); }
  66%  { transform: translate(-18px, 30px) rotate(-12deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}

.intrusive-popup {
  position: fixed; z-index: 9999;
  max-width: 320px;
  background: #000;
  border: 2px solid var(--accent);
  box-shadow: 0 0 36px var(--accent), 8px 8px 0 rgba(0,0,0,.85);
  padding: 14px;
  color: var(--bone);
  font-family: var(--font-mono);
  animation: popup-shake .4s ease infinite, popup-in .2s ease 1;
}
@keyframes popup-in {
  from { transform: scale(.5) rotate(-12deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);    opacity: 1; }
}
@keyframes popup-shake {
  0%,100% { transform: translate(0,0); }
  25% { transform: translate(2px,-1px); }
  50% { transform: translate(-2px,1px); }
  75% { transform: translate(1px,2px); }
}
.intrusive-popup .pp-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.intrusive-popup .pp-h { font-family: var(--font-pixel); font-size: 9px; letter-spacing: 2px; color: var(--accent); text-shadow: 0 0 6px var(--accent); }
.intrusive-popup .pp-x { background: transparent; border: 0; color: var(--accent); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 6px; }
.intrusive-popup .pp-body { font-size: 16px; line-height: 1.25; }

/* chromatic shift on bursts */
.shake-now { animation: shake-now .5s ease 1; }
@keyframes shake-now {
  0%,100% { transform: translate(0,0); }
  10% { transform: translate(-4px, 2px) rotate(-.4deg); }
  20% { transform: translate(3px, -2px) rotate(.4deg); }
  30% { transform: translate(-3px, 3px); }
  50% { transform: translate(4px, -1px); }
  70% { transform: translate(-2px, 2px); }
  90% { transform: translate(2px, 0); }
}
.invert-flash { animation: invert-flash .45s steps(4) 1; }
@keyframes invert-flash {
  0%,100% { filter: invert(0); }
  25%     { filter: invert(1) hue-rotate(120deg); }
  50%     { filter: invert(0) saturate(2.5); }
  75%     { filter: invert(1) hue-rotate(90deg); }
}

/* epilepsy widget — small */
.epilepsy-warning {
  position: fixed; bottom: 12px; left: 12px;
  z-index: 99999;
  background: black;
  border: 2px solid var(--accent);
  padding: 10px 14px;
  font-family: var(--font-mono);
  color: var(--bone);
  font-size: 14px;
  max-width: 280px;
  box-shadow: 0 0 20px var(--accent);
}
.ew-head { color: var(--pink); font-weight: bold; letter-spacing: 2px; font-size: 11px; margin-bottom: 4px; }
.epilepsy-warning button {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 6px 10px;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  margin-top: 6px;
  width: 100%;
}
.epilepsy-warning button.ew-dismiss { background: #222; color: var(--bone); }
.epilepsy-warning.dismissed { display: none; }

/* ═══════════════════════════════════════════════════════════════════
   V2 ADDITIONS — haze terminal, 4:20 clock, lab report, chart,
   buy zone, swap modal, reveals, a11y polish
   ═══════════════════════════════════════════════════════════════════ */

/* ── HAZE TERMINAL (hero readout) ── */
.haze-term {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 4px auto 22px;
  padding: 8px 18px;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(0,255,102,.45);
  box-shadow: 0 0 18px rgba(0,255,102,.25), inset 0 0 24px rgba(0,255,102,.08);
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 1px;
  max-width: 92vw;
}
.ht-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--toxic);
  box-shadow: 0 0 10px var(--toxic);
  animation: ht-blink 1.6s steps(2) infinite;
}
@keyframes ht-blink { 50% { opacity: .25; } }
.ht-label { color: var(--acid); text-shadow: 0 0 8px var(--acid); white-space: nowrap; }
.ht-line  { color: var(--bone); opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht-caret { color: var(--toxic); animation: ht-blink 1s steps(2) infinite; }

/* ── HERO CTA ROW ── */
.hero-cta-row {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  margin-top: 26px;
}
.btn-blaze {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 20px);
  letter-spacing: 3px;
  padding: 16px 30px;
  color: #000;
  background: linear-gradient(135deg, var(--toxic), var(--acid));
  border: 2px solid var(--acid);
  cursor: pointer;
  box-shadow: 0 0 24px rgba(0,255,102,.55), inset 0 0 14px rgba(255,255,255,.25);
  transition: transform .15s, box-shadow .15s;
  text-transform: uppercase;
}
.btn-blaze:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 44px rgba(184,255,0,.85), 0 0 90px rgba(0,255,102,.4);
}
.btn-blaze.big { font-size: clamp(17px, 2.2vw, 24px); padding: 20px 44px; margin-top: 34px; }
.btn-ghost {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 20px);
  letter-spacing: 3px;
  padding: 16px 30px;
  color: var(--pink);
  background: rgba(0,0,0,.6);
  border: 2px solid var(--pink);
  box-shadow: 0 0 16px rgba(255,45,207,.35), inset 0 0 16px rgba(255,45,207,.12);
  transition: all .15s;
  text-transform: uppercase;
}
.btn-ghost:hover { background: var(--pink); color: #000; box-shadow: 0 0 36px var(--pink); }

/* ── NEXT 4:20 COUNTDOWN ── */
.clock420 {
  position: relative; z-index: 10;
  text-align: center;
  padding: 70px 16px 60px;
}
.c420-eyebrow, .lab-eyebrow, .chart-eyebrow, .buy-eyebrow {
  font-family: var(--font-pixel);
  font-size: 10px; letter-spacing: 4px;
  color: var(--acid);
  text-shadow: 0 0 8px var(--acid);
  margin-bottom: 18px;
}
.c420-label {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 30px);
  letter-spacing: 6px;
  color: var(--bone);
  text-shadow: 0 0 10px var(--toxic);
  margin-bottom: 10px;
}
.c420-display {
  font-family: var(--font-mono);
  font-size: clamp(64px, 13vw, 150px);
  line-height: 1;
  color: var(--toxic);
  text-shadow:
    0 0 12px var(--toxic),
    0 0 36px rgba(0,255,102,.7),
    0 0 90px rgba(0,255,102,.35);
  letter-spacing: 4px;
  font-variant-numeric: tabular-nums;
}
.c420-seg { display: inline-block; min-width: 1.25em; }
.c420-colon { animation: ht-blink 1s steps(2) infinite; color: var(--acid); }
.c420-sub {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 2px;
  color: var(--bone); opacity: .7;
  margin-top: 12px;
}
.clock420.its-time .c420-display {
  color: var(--pink);
  text-shadow: 0 0 14px var(--pink), 0 0 44px rgba(255,45,207,.8), 0 0 110px rgba(255,45,207,.4);
  animation: c420-party .4s steps(2) infinite;
}
@keyframes c420-party { 50% { transform: scale(1.03) rotate(.4deg); } }

/* ── LAB REPORT · TOKENOMICS ── */
.labreport {
  position: relative; z-index: 10;
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 40px 22px 56px;
  text-align: center;
}
.lab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.lab-cell {
  position: relative;
  background: rgba(0,0,0,.66);
  border: 1px solid rgba(0,255,102,.4);
  box-shadow: inset 0 0 28px rgba(0,255,102,.07);
  padding: 26px 14px 22px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.lab-cell:hover {
  transform: translateY(-5px);
  border-color: var(--acid);
  box-shadow: 0 0 26px rgba(184,255,0,.35), inset 0 0 28px rgba(0,255,102,.12);
}
.lab-k {
  font-family: var(--font-pixel);
  font-size: 9px; letter-spacing: 3px;
  color: var(--bone); opacity: .65;
  margin-bottom: 12px;
}
.lab-v {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--toxic);
  text-shadow: 0 0 10px var(--toxic), 0 0 30px rgba(0,255,102,.5);
  margin-bottom: 10px;
  white-space: nowrap;
}
.lab-v.acid { color: var(--acid); text-shadow: 0 0 10px var(--acid), 0 0 30px rgba(184,255,0,.5); }
.lab-v.pop  { color: var(--cash); text-shadow: 0 0 10px var(--cash), 0 0 30px rgba(214,255,90,.5); }
.lab-v.pink { color: var(--pink); text-shadow: 0 0 10px var(--pink), 0 0 30px rgba(255,45,207,.5); }
.lab-n {
  font-family: var(--font-mono);
  font-size: 15px; letter-spacing: 1px;
  color: var(--bone); opacity: .6;
}
.lab-stamp {
  position: absolute;
  right: 6%; bottom: -6px;
  font-family: var(--font-pixel);
  font-size: clamp(10px, 1.4vw, 14px);
  letter-spacing: 3px;
  color: var(--hot);
  border: 3px double var(--hot);
  padding: 10px 16px;
  transform: rotate(-7deg);
  opacity: .85;
  filter: url(#stamp-roughen);
  text-shadow: 0 0 8px rgba(255,94,0,.7);
  pointer-events: none;
}
@media (max-width: 900px) { .lab-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .lab-grid { grid-template-columns: 1fr; } }

/* ── LIVE CHART ── */
.chart-zone {
  position: relative; z-index: 10;
  max-width: 1100px;
  margin: 0 auto 70px;
  padding: 20px 16px;
  text-align: center;
}
.chart-frame {
  border: 2px solid var(--toxic);
  box-shadow: 0 0 28px rgba(0,255,102,.4), inset 0 0 20px rgba(0,255,102,.08);
  background: #000;
  text-align: left;
}
.chart-frame-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(0,255,102,.08);
  border-bottom: 1px solid rgba(0,255,102,.35);
}
.cf-dot { width: 11px; height: 11px; border-radius: 50%; }
.cf-dot.r { background: #ff4444; box-shadow: 0 0 8px #ff4444; }
.cf-dot.y { background: #ffd024; box-shadow: 0 0 8px #ffd024; }
.cf-dot.g { background: var(--toxic); box-shadow: 0 0 8px var(--toxic); }
.cf-title {
  font-family: var(--font-mono);
  font-size: 16px; letter-spacing: 2px;
  color: var(--bone); opacity: .8;
  margin-left: 8px;
}
.chart-frame iframe {
  display: block;
  width: 100%;
  height: min(62vh, 560px);
  border: 0;
}
.chart-note {
  font-family: var(--font-mono);
  font-size: 16px; letter-spacing: 2px;
  color: var(--bone); opacity: .55;
  margin-top: 14px;
}

/* ── BUY ZONE ── */
.buy-zone {
  position: relative; z-index: 10;
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 30px 16px;
  text-align: center;
}
.buy-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0; margin: 0;
  counter-reset: none;
  text-align: left;
}
.buy-step {
  background: rgba(0,0,0,.66);
  border: 1px solid rgba(255,45,207,.4);
  box-shadow: inset 0 0 24px rgba(255,45,207,.06);
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.buy-step:hover {
  transform: translateY(-5px);
  border-color: var(--pink);
  box-shadow: 0 0 24px rgba(255,45,207,.35);
}
.bs-num {
  font-family: var(--font-pixel);
  font-size: 9px; letter-spacing: 3px;
  color: var(--pink);
  text-shadow: 0 0 8px var(--pink);
}
.bs-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 21px);
  letter-spacing: 2px;
  color: var(--bone);
  text-shadow: 0 0 10px rgba(0,255,102,.6);
}
.bs-body {
  font-family: var(--font-mono);
  font-size: 16px; line-height: 1.45;
  color: var(--bone); opacity: .72;
}
@media (max-width: 900px) { .buy-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .buy-steps { grid-template-columns: 1fr; } }

/* ── SWAP MODAL ── */
.swap-overlay[hidden] { display: none; }
.swap-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 8, 4, .82);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  animation: sw-fade .2s ease-out;
}
@keyframes sw-fade { from { opacity: 0; } }
.swap-modal {
  width: min(560px, 96vw);
  background: linear-gradient(180deg, #03100a, #02060b);
  border: 2px solid var(--toxic);
  box-shadow: 0 0 50px rgba(0,255,102,.5), inset 0 0 36px rgba(0,255,102,.08);
  animation: sw-pop .22s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes sw-pop { from { transform: scale(.9) translateY(14px); opacity: 0; } }
.sw-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0,255,102,.35);
  background: rgba(0,255,102,.07);
}
.sw-title {
  font-family: var(--font-pixel);
  font-size: clamp(9px, 1.4vw, 12px);
  letter-spacing: 3px;
  color: var(--acid);
  text-shadow: 0 0 8px var(--acid);
}
.sw-x {
  background: none; border: 1px solid rgba(232,255,236,.4);
  color: var(--bone); font-size: 22px; line-height: 1;
  width: 34px; height: 34px; cursor: pointer;
  transition: all .15s;
}
.sw-x:hover { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 14px rgba(255,45,207,.5); }
.sw-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.sw-opt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 14px;
  padding: 16px 18px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(0,255,102,.35);
  transition: all .15s;
}
.sw-opt:hover {
  border-color: var(--acid);
  background: rgba(0,255,102,.1);
  box-shadow: 0 0 20px rgba(184,255,0,.3);
  transform: translateX(4px);
}
.sw-name {
  font-family: var(--font-display);
  font-size: 17px; letter-spacing: 2px;
  color: var(--toxic);
  text-shadow: 0 0 8px var(--toxic);
  min-width: 110px;
}
.sw-desc {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--bone); opacity: .68;
}
.sw-arr { color: var(--acid); font-size: 18px; }
.sw-ca {
  margin-top: 4px;
  background: none;
  border: 1px dashed rgba(232,255,236,.35);
  color: var(--bone); opacity: .75;
  font-family: var(--font-mono);
  font-size: 15px; letter-spacing: 1px;
  padding: 12px;
  cursor: pointer;
  transition: all .15s;
}
.sw-ca:hover { opacity: 1; border-color: var(--toxic); box-shadow: 0 0 14px rgba(0,255,102,.3); }

/* ── SCROLL REVEALS (fail-safe: hidden only when JS arms them) ── */
html.rv-armed .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.rv-armed .rv.in { opacity: 1; transform: none; }

/* ── A11Y / POLISH ── */
:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .mood-strobe, .marquee-inner, .c420-colon, .ht-dot, .ht-caret,
  .smoke-puff, .smoke-wisp-svg, .clock420.its-time .c420-display {
    animation: none !important;
  }
  .rv { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 640px) {
  .haze-term { font-size: 14px; padding: 7px 12px; gap: 8px; }
  .hero-cta-row { gap: 10px; }
  .btn-blaze, .btn-ghost { padding: 14px 20px; }
  .lab-stamp { right: 4%; }
  .chart-frame iframe { height: 70vh; }
}
