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

:root {
  --bg: #060d06;
  --bg-elevated: #0c1810;
  --bg-soft: #102016;
  --moss: #1a3d24;
  --lime: #9dff7a;
  --lime-dim: #6bcf52;
  --wild: #3ddc5a;
  --mist: #c8e6c0;
  --muted: #7a9a78;
  --white: #f2fff0;
  --ink: #041006;
  --glow: 0 0 28px rgba(157, 255, 122, 0.35);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-height: 72px;
  --font-display: "Fredoka", sans-serif;
  --font-body: "Outfit", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(61, 220, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(26, 61, 36, 0.5), transparent 50%),
    radial-gradient(ellipse 50% 35% at 10% 70%, rgba(157, 255, 122, 0.06), transparent 45%),
    var(--bg);
  color: var(--mist);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.glow-text {
  color: var(--lime);
  text-shadow: 0 0 24px rgba(157, 255, 122, 0.45);
}

/* Fireflies */
.fireflies {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.firefly {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime), 0 0 20px rgba(157, 255, 122, 0.5);
  opacity: 0;
  animation: firefly-drift var(--dur, 12s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes firefly-drift {
  0%, 100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6);
  }
  15% {
    opacity: 0.85;
  }
  50% {
    opacity: 0.5;
    transform: translate(var(--tx, 40px), var(--ty, -80px)) scale(1);
  }
  85% {
    opacity: 0.7;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: #b8ff9a;
  box-shadow: 0 0 40px rgba(157, 255, 122, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--lime);
  border: 1.5px solid rgba(157, 255, 122, 0.45);
}

.btn-outline:hover {
  background: rgba(157, 255, 122, 0.1);
  border-color: var(--lime);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(6, 13, 6, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(157, 255, 122, 0.12);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--lime);
}

.nav-logo img {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 64px 24px;
  max-width: 720px;
  margin: 0 auto;
  animation: hero-rise 0.9s ease-out both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-mascot {
  width: 176px;
  height: 176px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--glow);
  animation: float 3.2s ease-in-out infinite;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
  text-shadow: 0 0 40px rgba(157, 255, 122, 0.55), 0 0 80px rgba(61, 220, 90, 0.25);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Contract box */
.contract-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 20px;
  background: rgba(12, 24, 16, 0.85);
  border: 1px solid rgba(157, 255, 122, 0.25);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.contract-box-lg {
  padding: 16px 20px;
  border-radius: var(--radius);
}

.contract-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.contract-address {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.02em;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: rgba(157, 255, 122, 0.12);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--lime);
  transition: background 0.2s;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}

.copy-btn:hover {
  background: rgba(157, 255, 122, 0.25);
}

.copy-btn-lg {
  padding: 10px 16px;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(16, 32, 22, 0.65), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lime-dim);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto;
}

/* About — no cards, just items */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.about-item {
  text-align: center;
  padding: 8px 12px;
}

.about-icon-img {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
}

.about-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.about-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.about-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.meme-quote {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(157, 255, 122, 0.15);
  border-bottom: 1px solid rgba(157, 255, 122, 0.15);
}

.meme-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  color: var(--mist);
  line-height: 1.55;
  margin-bottom: 14px;
}

.meme-quote cite {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
}

/* Chart */
.chart-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(157, 255, 122, 0.2);
  background: #0a120a;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.chart-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  display: block;
}

.chart-link {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  color: var(--lime);
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.chart-link:hover {
  opacity: 0.75;
}

/* Tokenomics */
.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.token-item {
  text-align: center;
  padding: 28px 16px;
  border-top: 2px solid rgba(157, 255, 122, 0.35);
}

.token-pct {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.token-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.token-item p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
  box-shadow: var(--glow);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.buy-cta {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(160deg, rgba(16, 32, 22, 0.9), rgba(12, 24, 16, 0.7));
  border: 1px solid rgba(157, 255, 122, 0.2);
  border-radius: var(--radius);
}

.buy-logo {
  height: 72px;
  width: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  animation: float 3s ease-in-out infinite;
}

.buy-cta > p {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Roadmap */
.roadmap {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.roadmap::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--lime), rgba(157, 255, 122, 0.15));
}

.roadmap-item {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}

.roadmap-item:last-child {
  padding-bottom: 0;
}

.roadmap-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--moss);
  border: 3px solid var(--bg);
  flex-shrink: 0;
  z-index: 1;
}

.roadmap-item.done .roadmap-dot {
  background: var(--lime);
  box-shadow: var(--glow);
}

.roadmap-item.active .roadmap-dot {
  background: var(--wild);
  box-shadow: 0 0 0 4px rgba(61, 220, 90, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(61, 220, 90, 0.25); }
  50% { box-shadow: 0 0 0 10px rgba(61, 220, 90, 0.08); }
}

.roadmap-phase {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime-dim);
}

.roadmap-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin: 4px 0 6px;
}

.roadmap-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* CTA */
.cta-section {
  padding: 64px 0 96px;
}

.cta-block {
  text-align: center;
  padding: 56px 24px;
}

.cta-logo {
  height: 96px;
  width: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  object-fit: cover;
  animation: float 3s ease-in-out infinite;
  box-shadow: var(--glow);
}

.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-block p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* Bottom banner */
.banner-section {
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 0;
  border-top: 1px solid rgba(157, 255, 122, 0.12);
}

.site-banner {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  border-top: 1px solid rgba(157, 255, 122, 0.12);
  background: #030803;
  color: var(--muted);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-brand img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--lime);
  font-size: 1.15rem;
}

.footer-brand span {
  font-size: 0.85rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  max-width: 520px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.footer-ca code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  color: var(--lime);
  font-size: 0.9rem;
}

.footer-social {
  margin-top: 16px;
}

.footer-social a {
  color: var(--lime);
  font-weight: 600;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 0.75;
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

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

  .steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 0 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(6, 13, 6, 0.96);
    padding: 24px 28px;
    border-bottom: 1px solid rgba(157, 255, 122, 0.15);
    gap: 16px;
  }

  .nav.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: calc(var(--nav-height) + 280px);
    left: 28px;
  }

  .about-grid,
  .tokenomics-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 32px 20px 48px;
  }

  .section {
    padding: 72px 0;
  }

  .buy-cta {
    padding: 32px 16px;
  }

  .contract-box {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.nav-link-static,
.btn-static {
  cursor: default;
  opacity: 0.55;
  pointer-events: none;
}
