:root {
  --mint: #58d68d;
  --mint-dark: #2ecc71;
  --mint-glow: rgba(88, 214, 141, 0.45);
  --green-candle: #00e676;
  --bg-dark: #0a0f0d;
  --bg-card: #111916;
  --bg-card-hover: #162019;
  --text: #f0fff4;
  --text-muted: #9cb8a8;
  --outline: #1a2e24;
  --danger: #ff6b6b;
  --font-display: "Bangers", cursive;
  --font-body: "Comic Neue", "Comic Sans MS", cursive;
  --font-mono: "Space Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ── Animated background ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}

.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(88, 214, 141, 0.12);
  top: -100px;
  left: -100px;
}

.bg-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(46, 204, 113, 0.08);
  bottom: -80px;
  right: -80px;
  animation-delay: -3s;
}

@keyframes pulse-glow {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.15); }
}

/* Floating candles (CSS layer) */
.candle-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.candle {
  position: absolute;
  bottom: -60px;
  width: 14px;
  border-radius: 2px 2px 0 0;
  animation: float-up linear infinite;
  opacity: 0;
}

.candle::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: #ffd54f;
  border-radius: 1px;
}

.candle.green {
  background: linear-gradient(to top, var(--green-candle), #69f0ae);
  box-shadow: 0 0 12px var(--mint-glow);
}

.candle.red {
  background: linear-gradient(to top, #ef5350, #ff8a80);
}

@keyframes float-up {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-110vh) rotate(15deg); opacity: 0; }
}

/* ── Layout ── */
.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.85rem 0;
  background: rgba(10, 15, 13, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--outline);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(88, 214, 141, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--mint);
  animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.nav-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--mint);
  text-shadow: 2px 2px 0 #000;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--mint);
}

.nav-cta {
  background: var(--mint);
  color: #0a0f0d !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  transition: transform 0.15s, box-shadow 0.15s !important;
}

.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #000;
  color: #0a0f0d !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--mint);
  color: var(--mint);
  font-size: 1.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(88, 214, 141, 0.15);
  border: 2px dashed var(--mint);
  color: var(--mint);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--mint-glow); }
  50% { box-shadow: 0 0 20px 4px var(--mint-glow); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--mint);
  text-shadow: 4px 4px 0 #000, -1px -1px 0 #000;
  margin-bottom: 0.5rem;
}

.hero-ticker {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--green-candle);
  margin-bottom: 1.2rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 1.8rem;
}

.hero-quote {
  background: var(--bg-card);
  border: 2px solid var(--outline);
  border-left: 4px solid var(--mint);
  padding: 1rem 1.2rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 2rem;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  color: var(--mint);
  font-size: 0.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #000;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 4px 4px 0 #000;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}

.btn-primary {
  background: var(--mint);
  color: #0a0f0d;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--mint);
  box-shadow: 4px 4px 0 var(--mint-dark);
}

.btn-secondary:hover {
  box-shadow: 6px 6px 0 var(--mint-dark);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mascot-wrap {
  position: relative;
  animation: float-mascot 4s ease-in-out infinite;
}

@keyframes float-mascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero-mascot {
  width: min(320px, 70vw);
  filter: drop-shadow(0 0 30px var(--mint-glow));
  border: 3px solid #000;
  border-radius: 50%;
  background: #fff;
}

.hero-banner {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: min(280px, 55vw);
  border: 3px solid #000;
  border-radius: 12px;
  box-shadow: 6px 6px 0 #000;
  transform: rotate(3deg);
  transition: transform 0.3s;
}

.hero-banner:hover {
  transform: rotate(0deg) scale(1.03);
}

.hero-stat-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat-pill {
  background: var(--bg-card);
  border: 2px solid var(--outline);
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  text-align: center;
}

.stat-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--mint);
}

.stat-pill span {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Section headers ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--mint);
  text-shadow: 3px 3px 0 #000;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--mint);
  margin: 1rem auto 0;
  border-radius: 2px;
  animation: divider-grow 1s ease-out;
}

@keyframes divider-grow {
  from { width: 0; }
  to { width: 80px; }
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-card {
  background: var(--bg-card);
  border: 2px solid var(--outline);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.about-card:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--mint);
  margin-bottom: 0.8rem;
}

.about-card p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card ul {
  list-style: none;
  margin-top: 0.5rem;
}

.about-card li {
  color: var(--text-muted);
  padding: 0.35rem 0;
  padding-left: 1.4rem;
  position: relative;
}

.about-card li::before {
  content: "📈";
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

.lore-highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(88, 214, 141, 0.08), rgba(46, 204, 113, 0.04));
  border: 2px dashed var(--mint);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.lore-highlight p {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
}

.lore-highlight em {
  color: var(--mint);
  font-style: normal;
  font-weight: 700;
}

/* ── How to buy ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  background: var(--bg-card);
  border: 2px solid var(--outline);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}

.step:hover {
  transform: translateY(-6px);
  border-color: var(--mint);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--mint);
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 0.5rem;
}

.step h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ── Chart ── */
.chart-section {
  background: rgba(17, 25, 22, 0.6);
}

.chart-wrap {
  background: var(--bg-card);
  border: 2px solid var(--outline);
  border-radius: 16px;
  overflow: hidden;
  min-height: 500px;
  position: relative;
}

.chart-wrap iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

.chart-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 500px;
  padding: 2rem;
  text-align: center;
  gap: 1rem;
}

.chart-placeholder img {
  width: 100px;
  opacity: 0.6;
  animation: float-mascot 3s ease-in-out infinite;
}

.chart-placeholder h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--mint);
}

.chart-placeholder p {
  color: var(--text-muted);
  max-width: 420px;
}

.contract-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #0a0f0d;
  border: 2px dashed var(--outline);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.contract-box code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--mint);
  word-break: break-all;
}

.copy-btn {
  background: var(--mint);
  color: #0a0f0d;
  border: 2px solid #000;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.15s;
}

.copy-btn:hover {
  transform: scale(1.05);
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 var(--mint-dark);
  cursor: pointer;
  aspect-ratio: 16/10;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: translate(-3px, -3px) scale(1.02);
  box-shadow: 8px 8px 0 var(--mint-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border: 3px solid var(--mint);
  border-radius: 12px;
  box-shadow: 0 0 60px var(--mint-glow);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--mint);
  border: 2px solid #000;
  color: #000;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--mint);
  text-shadow: 2px 2px 0 #000;
}

/* ── Community ── */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.community-card {
  background: var(--bg-card);
  border: 2px solid var(--outline);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.community-card:hover {
  transform: translateY(-6px);
  border-color: var(--mint);
  box-shadow: 0 8px 30px var(--mint-glow);
}

.community-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  margin-bottom: 0.8rem;
}

.community-icon .icon-svg {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.community-icon .icon-pumpfun {
  width: 2.25rem;
  height: 3rem;
}

.btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
  flex-shrink: 0;
}

.community-card h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--mint);
  margin-bottom: 0.4rem;
}

.community-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ── Footer ── */
.footer {
  border-top: 2px solid var(--outline);
  padding: 2.5rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  width: 60px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  border: 2px solid var(--mint);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 600px;
  margin: 0 auto 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--mint);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.disclaimer {
  margin-top: 1.5rem !important;
  font-size: 0.75rem !important;
  opacity: 0.6;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 15, 13, 0.97);
    padding: 1.5rem;
    border-bottom: 2px solid var(--outline);
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-stat-row {
    justify-content: center;
  }
}
