/* ═══════════════════════════════════════════════════════════
   PILLHOOD — Robinhood-green forest theme
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #031404;
  --dark: #0B3D0B;
  --primary: #00C805;
  --secondary: #39FF5A;
  --accent: #7DFF75;
  --glow: #B8FFC8;
  --white: #FFFFFF;
  --black: #040404;
  --font-display: 'Luckiest Guy', cursive;
  --font-body: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: crosshair;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary); color: var(--black); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--dark); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

img { user-select: none; -webkit-user-drag: none; }

/* ══════════════ CANVAS LAYERS ══════════════ */

#forest-bg {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none;
}

#fx-canvas {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 100; pointer-events: none;
}

main, #footer, #nav { position: relative; z-index: 2; }

/* ══════════════ LOADING SCREEN ══════════════ */

#loader {
  position: fixed; inset: 0; z-index: 1000;
  background: radial-gradient(ellipse at 50% 120%, #0B3D0B 0%, var(--bg) 60%, var(--black) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 30px;
  transition: opacity .7s ease, visibility .7s;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-forest {
  position: absolute; inset: 0; opacity: .25;
  background:
    radial-gradient(2px 2px at 15% 30%, var(--glow), transparent),
    radial-gradient(2px 2px at 70% 20%, var(--accent), transparent),
    radial-gradient(2px 2px at 40% 60%, var(--secondary), transparent),
    radial-gradient(2px 2px at 85% 50%, var(--glow), transparent),
    radial-gradient(2px 2px at 25% 80%, var(--accent), transparent);
  animation: loaderTwinkle 2s ease-in-out infinite alternate;
}
@keyframes loaderTwinkle { from { opacity: .12; } to { opacity: .35; } }

.loader-runner { position: relative; }
.loader-mascot {
  width: 130px;
  filter: drop-shadow(0 0 30px rgba(0, 200, 5, .6));
  animation: loaderRun .45s ease-in-out infinite alternate;
}
@keyframes loaderRun {
  from { transform: translateY(0) rotate(-7deg); }
  to   { transform: translateY(-22px) rotate(7deg); }
}
.loader-dust {
  position: absolute; bottom: -8px; left: 50%;
  width: 90px; height: 12px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(57,255,90,.5), transparent 70%);
  border-radius: 50%;
  animation: dustPuff .45s ease-in-out infinite alternate;
}
@keyframes dustPuff { from { transform: translateX(-50%) scaleX(.6); opacity: .8; } to { transform: translateX(-50%) scaleX(1.3); opacity: .25; } }

.loader-bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; z-index: 1; }
.loader-bar {
  width: min(320px, 70vw); height: 10px;
  border-radius: 99px;
  background: rgba(11, 61, 11, .8);
  border: 1px solid rgba(57, 255, 90, .3);
  overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--glow));
  box-shadow: 0 0 18px var(--secondary);
  transition: width .25s ease;
}
.loader-text {
  font-family: var(--font-display);
  letter-spacing: 2px; font-size: 15px;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(57, 255, 90, .5);
}
.loader-text .dots span { animation: dotBlink 1.2s infinite; }
.loader-text .dots span:nth-child(2) { animation-delay: .2s; }
.loader-text .dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dotBlink { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }

/* ══════════════ NAV ══════════════ */

#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(3, 20, 4, .92), rgba(3, 20, 4, .55) 70%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(57, 255, 90, .12);
  transform: translateY(-110%);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
#nav.show { transform: translateY(0); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
  font-family: var(--font-display); font-size: 22px; letter-spacing: 1px;
}
.nav-logo img {
  width: 40px; height: 40px; object-fit: contain;

  filter: drop-shadow(0 0 8px rgba(57, 255, 90, .7));
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.nav-logo:hover img { transform: rotate(-12deg) scale(1.15); }
.nav-logo em, .footer-brand em { color: var(--secondary); font-style: normal; text-shadow: 0 0 16px rgba(57, 255, 90, .8); }

.nav-links { display: flex; gap: clamp(10px, 2vw, 26px); }
.nav-links a {
  color: rgba(184, 255, 200, .8);
  text-decoration: none; font-weight: 600; font-size: 14px;
  letter-spacing: .8px; text-transform: uppercase;
  position: relative; padding: 4px 2px;
  transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.nav-links a:hover { color: var(--glow); }
.nav-links a:hover::after { transform: scaleX(1); }

@media (max-width: 860px) { .nav-links { display: none; } }

/* ══════════════ BUTTONS ══════════════ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer; border: none;
  position: relative; overflow: hidden;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
}
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-lg { padding: 18px 38px; font-size: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #00E806);
  color: var(--black);
  box-shadow: 0 0 24px rgba(0, 200, 5, .5), inset 0 -3px 0 rgba(0, 0, 0, .25);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 45px rgba(57, 255, 90, .8), inset 0 -3px 0 rgba(0, 0, 0, .25);
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.2s ease-in-out infinite;
}
@keyframes btnShine { 0%, 60% { left: -80%; } 100% { left: 160%; } }

.btn-ghost {
  background: rgba(11, 61, 11, .35);
  color: var(--accent);
  border: 2px solid rgba(57, 255, 90, .5);
  box-shadow: inset 0 0 18px rgba(0, 200, 5, .12);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--secondary);
  box-shadow: 0 0 30px rgba(57, 255, 90, .35), inset 0 0 24px rgba(0, 200, 5, .2);
  color: var(--glow);
}

/* ══════════════ HERO ══════════════ */

#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px clamp(16px, 5vw, 64px) 80px;
  position: relative;
}

.hero-glow {
  position: absolute; top: 20%; left: 50%;
  width: 80vw; height: 60vh; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 200, 5, .14), transparent 65%);
  pointer-events: none;
  animation: heroGlowPulse 5s ease-in-out infinite alternate;
}
@keyframes heroGlowPulse { from { opacity: .6; } to { opacity: 1; } }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  max-width: 1280px; width: 100%;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-stage { order: -1; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(11, 61, 11, .5);
  border: 1px solid rgba(57, 255, 90, .35);
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 12px var(--secondary);
  animation: pulseDot 1.4s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .5; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 148px);
  line-height: .92;
  letter-spacing: 2px;
  color: var(--white);
  text-shadow:
    0 0 30px rgba(57, 255, 90, .45),
    0 6px 0 rgba(4, 4, 4, .8),
    0 10px 30px rgba(0, 0, 0, .6);
}
.hero-title .line { display: inline-block; }
.hero-title .hollow {
  color: transparent;
  -webkit-text-stroke: 3px var(--secondary);
  text-shadow: 0 0 40px rgba(57, 255, 90, .5);
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-sub .sub-a { color: var(--glow); }
.hero-sub .sub-b {
  color: var(--secondary);
  text-shadow: 0 0 24px rgba(57, 255, 90, .7);
}

.hero-cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* contract pill */
.contract {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(4, 4, 4, .55);
  border: 1px solid rgba(57, 255, 90, .3);
  color: var(--glow);
  font-family: monospace; font-size: 13px;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .2s;
  backdrop-filter: blur(8px);
  max-width: 100%;
}
.contract:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 24px rgba(57, 255, 90, .25);
  transform: translateY(-2px);
}
.contract-label {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 1px;
  color: var(--black);
  background: var(--secondary);
  padding: 4px 8px; border-radius: 7px;
  box-shadow: 0 0 12px rgba(57, 255, 90, .6);
}
.contract-addr { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contract-copy { display: grid; place-items: center; color: var(--accent); }
.contract-copy svg { grid-area: 1 / 1; transition: opacity .25s, transform .25s; }
.contract .ic-check { opacity: 0; transform: scale(.4); color: var(--secondary); }
.contract.copied .ic-copy { opacity: 0; transform: scale(.4); }
.contract.copied .ic-check { opacity: 1; transform: scale(1); }
.contract.copied { border-color: var(--secondary); box-shadow: 0 0 30px rgba(57, 255, 90, .5); }

/* hero mascot stage */
.hero-stage {
  position: relative;
  display: grid; place-items: center;
  min-height: clamp(340px, 46vw, 560px);
}
.hero-ring {
  position: absolute;
  width: clamp(300px, 38vw, 520px); height: clamp(300px, 38vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 5, .18) 0%, rgba(0, 200, 5, .05) 45%, transparent 70%);
  border: 1px solid rgba(57, 255, 90, .18);
  animation: ringSpin 26s linear infinite;
}
.hero-ring::before, .hero-ring::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 1px dashed rgba(57, 255, 90, .25);
}
.hero-ring::before { inset: 8%; }
.hero-ring::after { inset: -7%; border-style: dotted; opacity: .5; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

.hero-mascot-wrap {
  position: relative; z-index: 2;
  width: clamp(240px, 30vw, 420px);
  display: grid; place-items: center;
}
.hero-mascot {
  grid-area: 1 / 1;
  width: 100%;

  filter: drop-shadow(0 0 42px rgba(0, 200, 5, .55));
  transition: opacity .18s ease;
}
.hero-mascot.archer { opacity: 0; width: 112%; }
.hero-mascot-wrap.shooting .idle { opacity: 0; }
.hero-mascot-wrap.shooting .archer { opacity: 1; }

/* rug token target */
.rug-token {
  position: absolute;
  top: 12%; right: 2%;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4a4a4a, #1c1c1c 70%);
  border: 4px solid #2c2c2c;
  display: grid; place-items: center;
  box-shadow: 0 0 22px rgba(0, 0, 0, .8), inset 0 0 14px rgba(0, 0, 0, .8);
  z-index: 1;
  animation: rugWobble 3.4s ease-in-out infinite;
}
@keyframes rugWobble {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-16px) rotate(8deg); }
}
.rug-face {
  font-family: var(--font-display);
  color: #888; font-size: 20px; letter-spacing: 1px;
  text-shadow: 0 2px 0 #000;
}
.rug-token.hit { animation: none; }

.hero-arrow {
  position: absolute;
  left: 30%; top: 45%;
  opacity: 0; z-index: 3;
  filter: drop-shadow(0 0 14px var(--secondary));
  pointer-events: none;
}

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 3px; font-weight: 700;
  color: rgba(184, 255, 200, .55);
}
.scroll-hint span {
  width: 2px; height: 34px; border-radius: 2px;
  background: linear-gradient(180deg, var(--secondary), transparent);
  animation: scrollDrip 1.6s ease-in-out infinite;
}
@keyframes scrollDrip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ══════════════ MARQUEE ══════════════ */

.marquee {
  position: relative; z-index: 2;
  overflow: hidden;
  padding: 18px 0;
  background: linear-gradient(90deg, rgba(11, 61, 11, .55), rgba(0, 200, 5, .14), rgba(11, 61, 11, .55));
  border-top: 1px solid rgba(57, 255, 90, .25);
  border-bottom: 1px solid rgba(57, 255, 90, .25);
  transform: rotate(-1.2deg) scale(1.02);
  backdrop-filter: blur(4px);
}
.marquee-track {
  display: flex; align-items: center; gap: 42px;
  width: max-content;
  animation: marqueeMove 28s linear infinite;
}
@keyframes marqueeMove { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 42px;
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: 2px;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(57, 255, 90, .4);
  white-space: nowrap;
}
.marquee-item img {
  width: 34px; height: 34px; object-fit: contain;

  animation: marqueeSpin 5s ease-in-out infinite;
}
@keyframes marqueeSpin { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg) translateY(-4px); } }

/* ══════════════ SECTIONS SHARED ══════════════ */

.section {
  position: relative;
  padding: clamp(90px, 12vw, 160px) clamp(16px, 5vw, 64px);
  max-width: 1320px;
  margin: 0 auto;
}

.section-head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.section-kicker {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 4px;
  color: var(--primary);
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(0, 200, 5, .4);
  background: rgba(0, 200, 5, .07);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 1px;
  text-shadow: 0 0 30px rgba(57, 255, 90, .3), 0 5px 0 rgba(4, 4, 4, .7);
}
.section-title em {
  font-style: normal;
  color: var(--secondary);
  text-shadow: 0 0 34px rgba(57, 255, 90, .75), 0 5px 0 rgba(4, 4, 4, .7);
}

/* glass card base */
.glass-card {
  background: linear-gradient(150deg, rgba(11, 61, 11, .5), rgba(3, 20, 4, .72));
  border: 1px solid rgba(57, 255, 90, .22);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(184, 255, 200, .12);
  position: relative;
  transition: border-color .3s, box-shadow .3s;
  will-change: transform;
  overflow: hidden;
  min-width: 0;
}
.glass-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(57, 255, 90, .12), transparent 45%);
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover {
  border-color: rgba(57, 255, 90, .55);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .55),
    0 0 40px rgba(0, 200, 5, .22),
    inset 0 1px 0 rgba(184, 255, 200, .18);
}

/* ══════════════ ABOUT — COMIC ══════════════ */

.comic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.comic-panel {
  background: linear-gradient(160deg, rgba(11, 61, 11, .55), rgba(3, 20, 4, .8));
  border: 2px solid rgba(57, 255, 90, .3);
  border-radius: 22px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(0, 200, 5, .18), 0 20px 50px rgba(0, 0, 0, .4);
  transition: border-color .3s, box-shadow .3s;
  will-change: transform;
}
.comic-panel:hover {
  border-color: var(--secondary);
  box-shadow: 8px 8px 0 rgba(0, 200, 5, .4), 0 0 44px rgba(57, 255, 90, .25);
}
.comic-panel:nth-child(odd) { transform: rotate(-.8deg); }
.comic-panel:nth-child(even) { transform: rotate(.8deg); }

.panel-num {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--font-display);
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(57, 255, 90, .4);
}
.panel-art {
  display: grid; place-items: center;
  height: 190px; margin-bottom: 18px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 60%, rgba(0, 200, 5, .12), transparent 70%);
}
.panel-art img {
  height: 170px; object-fit: contain;

  filter: drop-shadow(0 8px 24px rgba(0, 200, 5, .45));
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.comic-panel:hover .panel-art img { transform: scale(1.12) rotate(-3deg); }

.comic-panel h3 {
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: .5px;
  color: var(--glow); margin-bottom: 10px;
}
.comic-panel p { color: rgba(184, 255, 200, .75); line-height: 1.65; font-size: 15px; }
.comic-panel strong { color: var(--secondary); }

/* ══════════════ TOKENOMICS ══════════════ */

.toke-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.toke-card { padding: clamp(22px, 3vw, 34px) clamp(16px, 2.5vw, 28px); text-align: center; }
.toke-icon {
  display: grid; place-items: center;
  width: clamp(68px, 12vw, 84px); height: clamp(68px, 12vw, 84px); margin: 0 auto 16px;
  border-radius: 24px;
  background: rgba(0, 200, 5, .1);
  border: 1px solid rgba(57, 255, 90, .3);
  box-shadow: 0 0 26px rgba(0, 200, 5, .18), inset 0 0 18px rgba(0, 200, 5, .1);
}
.toke-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.1;
  color: var(--secondary);
  text-shadow: 0 0 26px rgba(57, 255, 90, .6);
  margin-bottom: 6px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.toke-label {
  font-size: clamp(10px, 2vw, 13px); font-weight: 800; letter-spacing: clamp(1px, 0.4vw, 3px);
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 14px;
}
.toke-card p,
.toke-sub { color: rgba(184, 255, 200, .65); font-size: clamp(13px, 2vw, 14px); line-height: 1.6; }

/* ══════════════ ROADMAP MAP ══════════════ */

.map-wrap { position: relative; }
.map-path {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
#trailGlow { filter: drop-shadow(0 0 8px rgba(57, 255, 90, .8)); }

.map-stops {
  list-style: none;
  display: flex; flex-direction: column;
  gap: clamp(56px, 8vw, 110px);
  position: relative;
}

.map-stop {
  display: flex; align-items: center;
  gap: clamp(20px, 4vw, 60px);
}
.map-stop.stop-right { flex-direction: row-reverse; }

.stop-art { flex: 0 0 clamp(140px, 20vw, 240px); display: grid; place-items: center; }
.stop-art img {
  width: 100%; object-fit: contain;

  filter: drop-shadow(0 10px 30px rgba(0, 200, 5, .5));
}

.stop-card { flex: 1; max-width: 520px; padding: 30px 32px; }
.stop-phase {
  font-size: 11px; font-weight: 800; letter-spacing: 3px;
  color: var(--primary);
}
.stop-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--glow);
  margin: 10px 0 14px;
  text-shadow: 0 0 20px rgba(57, 255, 90, .3);
}
.stop-card ul { list-style: none; }
.stop-card li {
  color: rgba(184, 255, 200, .75);
  padding: 6px 0 6px 28px;
  position: relative; font-size: 15px;
}
.stop-card li::before {
  content: '➳';
  position: absolute; left: 0;
  color: var(--secondary);
  text-shadow: 0 0 10px var(--secondary);
}

@media (max-width: 720px) {
  .map-stop, .map-stop.stop-right { flex-direction: column; text-align: center; }
  .stop-card li { text-align: left; }
  .map-path { display: none; }
}

/* ══════════════ ARMORY ══════════════ */

.armory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.armory-card {
  padding: 30px 24px;
  text-align: center;
  overflow: hidden;
}
.armory-art {
  display: grid; place-items: center;
  width: 110px; height: 110px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 5, .14), rgba(0, 200, 5, .03) 70%);
  border: 1px dashed rgba(57, 255, 90, .35);
  animation: armoryFloat 4.4s ease-in-out infinite;
}
.armory-card:nth-child(2n) .armory-art { animation-delay: -1.4s; }
.armory-card:nth-child(3n) .armory-art { animation-delay: -2.6s; }
@keyframes armoryFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.armory-art svg { width: 62px; height: 62px; filter: drop-shadow(0 0 10px rgba(57, 255, 90, .55)); }

.armory-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--glow);
  margin-bottom: 8px;
}
.armory-card p { color: rgba(184, 255, 200, .65); font-size: 14px; line-height: 1.55; min-height: 44px; }
.rarity {
  display: inline-block; margin-top: 14px;
  font-size: 11px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--secondary);
  padding: 6px 14px; border-radius: 99px;
  border: 1px solid rgba(57, 255, 90, .4);
  background: rgba(57, 255, 90, .08);
  text-shadow: 0 0 12px rgba(57, 255, 90, .6);
}

/* ══════════════ MEME GALLERY ══════════════ */

.meme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.meme-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(57, 255, 90, .25);
  background: radial-gradient(circle at 50% 40%, rgba(11, 61, 11, .8), var(--black) 85%);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .5);
  transition: border-color .3s, box-shadow .3s;
  will-change: transform;
}
.meme-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 46px rgba(57, 255, 90, .3), 0 26px 60px rgba(0, 0, 0, .6);
}
.meme-card img {
  display: block; width: 100%; aspect-ratio: 1;
  object-fit: contain;
  padding: 12px;
  background: radial-gradient(circle at 50% 45%, rgba(0, 200, 5, .1), transparent 70%);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.meme-card:hover img { transform: scale(1.07) rotate(-1.2deg); }
.meme-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(3, 20, 4, .95));
  font-family: var(--font-display);
  letter-spacing: 1px; font-size: 17px;
  color: var(--glow);
  text-shadow: 0 0 16px rgba(57, 255, 90, .5);
}

/* ══════════════ CHART ══════════════ */

.chart-panel { padding: clamp(20px, 3vw, 36px); overflow: hidden; }

.chart-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.chart-pair { display: flex; align-items: center; gap: 14px; }
.chart-pair img {
  width: 52px; height: 52px; object-fit: contain;

  filter: drop-shadow(0 0 12px rgba(57, 255, 90, .6));
}
.chart-pair strong { display: block; font-size: 20px; letter-spacing: .5px; }
.chart-pair span { font-size: 12px; color: rgba(184, 255, 200, .55); letter-spacing: 1px; }

.chart-stats { text-align: right; }
.chart-price {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  color: var(--white);
  text-shadow: 0 0 20px rgba(57, 255, 90, .4);
}
.chart-change {
  font-weight: 800; font-size: 16px;
  color: var(--secondary);
  text-shadow: 0 0 14px rgba(57, 255, 90, .7);
}

#candleChart {
  width: 100%; height: clamp(260px, 40vw, 420px);
  display: block;
  border-radius: 14px;
}

.chart-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px;
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  color: rgba(184, 255, 200, .5);
}
.chart-live { display: inline-flex; align-items: center; gap: 8px; color: var(--secondary); }

/* ══════════════ COMMUNITY ══════════════ */

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.community-card {
  padding: 32px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--accent);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.community-card svg { filter: drop-shadow(0 0 12px rgba(57, 255, 90, .5)); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.community-card:hover svg { transform: scale(1.2) rotate(-6deg); }
.community-card h3 {
  font-family: var(--font-display);
  font-size: 18px; color: var(--white); letter-spacing: 1px;
}
.community-card p { font-size: 13px; color: rgba(184, 255, 200, .6); }

.cta-banner {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 44px);
  padding: clamp(24px, 4vw, 44px);
  flex-wrap: wrap; justify-content: center;
  text-align: left;
  overflow: hidden;
}
.cta-mascot {
  width: clamp(120px, 16vw, 200px);

  filter: drop-shadow(0 0 30px rgba(0, 200, 5, .6));
  animation: ctaBob 3.6s ease-in-out infinite;
}
@keyframes ctaBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.cta-copy { flex: 1; min-width: 240px; }
.cta-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 40px);
  color: var(--glow);
  text-shadow: 0 0 26px rgba(57, 255, 90, .4);
  margin-bottom: 10px;
}
.cta-copy p { color: rgba(184, 255, 200, .7); line-height: 1.6; max-width: 480px; }

/* ══════════════ FOOTER ══════════════ */

#footer {
  position: relative;
  margin-top: clamp(60px, 8vw, 120px);
  padding: clamp(80px, 10vw, 140px) clamp(16px, 5vw, 64px) 44px;
  background: linear-gradient(180deg, transparent, rgba(4, 4, 4, .8) 30%, var(--black));
  overflow: hidden;
  text-align: center;
}
#footer::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 90, .5), transparent);
}

.footer-stars {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 30% 10%, rgba(184,255,200,.9), transparent),
    radial-gradient(1.5px 1.5px at 55% 25%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 75% 12%, rgba(184,255,200,.8), transparent),
    radial-gradient(1.5px 1.5px at 90% 30%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 45% 18%, rgba(125,255,117,.8), transparent);
  animation: starTwinkle 3.4s ease-in-out infinite alternate;
}
@keyframes starTwinkle { from { opacity: .45; } to { opacity: 1; } }

.footer-moon {
  position: absolute; top: 46px; right: clamp(30px, 12vw, 180px);
  width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #ffffff, #cfeada 55%, #9dc3ac);
  box-shadow: 0 0 60px rgba(184, 255, 200, .5), 0 0 140px rgba(184, 255, 200, .25);
  animation: moonDrift 9s ease-in-out infinite alternate;
}
@keyframes moonDrift { from { transform: translateY(0); } to { transform: translateY(-14px); } }

.footer-scene { position: relative; display: grid; place-items: center; margin-bottom: 30px; }
.footer-sleeper {
  width: clamp(240px, 32vw, 400px);

  filter: drop-shadow(0 0 34px rgba(0, 200, 5, .4));
  animation: sleeperBreathe 4.6s ease-in-out infinite;
}
@keyframes sleeperBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025) translateY(-4px); } }
.campfire-glow {
  position: absolute; bottom: 6%;
  width: 60%; height: 40%;
  background: radial-gradient(ellipse, rgba(57, 255, 90, .22), transparent 65%);
  animation: fireFlicker .9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes fireFlicker { from { opacity: .55; transform: scaleX(.94); } to { opacity: 1; transform: scaleX(1.05); } }

.footer-content { position: relative; }
.footer-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 26px;
  margin-bottom: 12px;
}
.footer-brand img { width: 44px; filter: drop-shadow(0 0 10px rgba(57, 255, 90, .6)); }
.footer-tag {
  color: var(--accent); font-weight: 600;
  margin-bottom: 22px; letter-spacing: .5px;
}
.footer-disclaimer {
  max-width: 620px; margin: 0 auto 20px;
  font-size: 12px; line-height: 1.7;
  color: rgba(184, 255, 200, .4);
}
.footer-copy { font-size: 12px; color: rgba(184, 255, 200, .35); letter-spacing: 1px; }

/* ══════════════ SCROLL REVEAL DEFAULTS ══════════════ */

.reveal { opacity: 0; }

/* ══════════════ TABLET & MOBILE ══════════════ */

@media (max-width: 1024px) {
  .toke-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .armory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .comic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  #nav { padding: 12px 16px; }
  .nav-logo { font-size: 18px; }
  .nav-logo img { width: 34px; height: 34px; }
  .btn-sm { padding: 8px 14px; font-size: 12px; letter-spacing: 1px; }

  #hero {
    min-height: auto;
    padding: 96px 16px 56px;
  }
  .hero-title { font-size: clamp(48px, 16vw, 80px); }
  .hero-title .hollow { -webkit-text-stroke-width: 2px; }
  .hero-sub {
    justify-content: center;
    font-size: clamp(16px, 4.5vw, 22px);
    gap: 8px;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
    align-items: stretch;
  }
  .hero-cta .btn { width: 100%; }
  .contract {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
  .hero-stage { min-height: clamp(260px, 55vw, 360px); }
  .hero-mascot-wrap { width: clamp(200px, 55vw, 320px); }
  .rug-token { width: 64px; height: 64px; }
  .rug-face { font-size: 16px; }
  .scroll-hint { display: none; }

  .section { padding: 72px 16px; }
  .section-head { margin-bottom: 40px; }
  .section-kicker { font-size: 10px; letter-spacing: 2px; }

  .toke-grid,
  .comic-grid,
  .armory-grid,
  .meme-grid {
    grid-template-columns: 1fr;
  }
  .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .comic-panel:nth-child(odd),
  .comic-panel:nth-child(even) { transform: none; }

  .chart-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .chart-stats { text-align: left; width: 100%; }
  .chart-foot {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    letter-spacing: 1px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
  .cta-copy { text-align: center; }
  .cta-copy p { max-width: none; margin: 0 auto; }
  .cta-banner .btn { width: 100%; max-width: 320px; }

  .marquee { padding: 14px 0; }
  .marquee-item { font-size: 15px; gap: 28px; }
  .marquee-item img { width: 28px; height: 28px; }

  .stop-card { padding: 22px 20px; }
  .footer-moon { width: 54px; height: 54px; top: 32px; right: 24px; }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 9px;
    letter-spacing: 1px;
    padding: 6px 12px;
    text-align: center;
  }
  .community-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 14px 24px; font-size: 16px; }
  .toke-value { font-size: clamp(32px, 10vw, 40px); }
}

@media (hover: none) and (pointer: coarse) {
  [data-tilt], [data-tilt-soft] { transform: none !important; }
  .comic-panel:hover .panel-art img,
  .meme-card:hover img { transform: none; }
}

/* ══════════════ REDUCED MOTION ══════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
