:root {
  --green: #00c805;
  --green-deep: #009604;
  --green-soft: rgba(0, 200, 5, 0.14);
  --green-glow: rgba(0, 200, 5, 0.4);
  --bg: #030504;
  --bg-2: #070b07;
  --ink: #f4f8f3;
  --muted: #8b9a88;
  --line: rgba(0, 200, 5, 0.18);
  --card: rgba(8, 16, 8, 0.72);
  --radius: 18px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Noto Serif SC", "Songti SC", serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
strong { color: #fff; }

.aurora {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42vw 28vw at 18% 12%, rgba(0, 200, 5, 0.16), transparent 70%),
    radial-gradient(36vw 24vw at 86% 8%, rgba(0, 200, 5, 0.1), transparent 70%),
    radial-gradient(50vw 30vw at 50% 100%, rgba(0, 150, 4, 0.1), transparent 70%);
  animation: aurora-drift 16s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(0, 0, 0, 0.08) 3px 4px
  );
  mix-blend-mode: overlay;
  opacity: 0.25;
}

#chain-canvas,
#cursor-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#cursor-canvas { z-index: 9; }

.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 32px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 5, 4, 0.88);
  backdrop-filter: blur(16px);
}

.ticker-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: ticker 28s linear infinite;
  padding: 0 1.2rem;
  line-height: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.ticker-track span { opacity: 0.85; }
.ticker-track span::before {
  content: "▲ ";
  color: var(--green);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.nav {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.4rem;
  background: rgba(3, 5, 4, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line), 0 0 18px var(--green-glow);
}

.nav-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

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

.nav-actions { display: flex; align-items: center; gap: 0.7rem; }

.ca-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 200, 5, 0.06);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.ca-pill:hover { border-color: var(--green); }

.ca-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.ca-label { color: var(--green); font-weight: 600; }
.ca-value { max-width: 9.5ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 86px;
  left: 0;
  right: 0;
  z-index: 25;
  padding: 1.2rem;
  background: rgba(3, 5, 4, 0.96);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.open { display: flex; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.62rem 1.15rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn svg { width: 16px; height: 16px; }

.btn-buy {
  background: var(--green);
  color: #041204;
  box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.5);
}

.btn-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--green-glow);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.btn-lg { padding: 0.9rem 1.4rem; font-size: 1rem; }

.x-icon { width: 14px; height: 14px; }

.hero {
  position: relative;
  z-index: 2;
  padding: 8.5rem 1.4rem 0;
}

.hero-banner {
  position: absolute;
  inset: 0 0 auto;
  height: min(92vh, 860px);
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.08);
  transform: scale(1.04);
  animation: banner-pan 22s ease-in-out infinite alternate;
}

@keyframes banner-pan {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.1) translateY(-2%); }
}

.hero-banner-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 5, 4, 0.35) 0%, rgba(3, 5, 4, 0.55) 42%, var(--bg) 96%),
    radial-gradient(circle at 50% 40%, transparent 0%, rgba(3, 5, 4, 0.45) 100%);
}

#hero-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 2.4rem 0 3.2rem;
}

.hero-logo-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 1.4rem;
}

.hero-logo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 2px rgba(0, 200, 5, 0.35), 0 20px 60px rgba(0, 0, 0, 0.45);
  animation: logo-float 5s ease-in-out infinite;
}

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

.pulse-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: pulse 2.8s ease-out infinite;
}

.pulse-ring.delay { animation-delay: 1.4s; }

@keyframes pulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

h1 {
  font-family: var(--display);
  font-size: clamp(3.4rem, 10vw, 7.2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 0 0 40px var(--green-glow);
}

.hero-sub {
  margin-top: 0.9rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
}

.hero-lead {
  margin: 1rem auto 0;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.stat {
  background: rgba(6, 12, 6, 0.86);
  padding: 1.2rem 1rem;
}

.stat-k {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.stat-v { font-weight: 700; }
.mono { font-family: var(--mono); font-size: 0.92em; }

.section {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6.5rem 1.4rem 2rem;
}

.section-alt { padding-bottom: 4rem; }

.section-head { max-width: 680px; margin-bottom: 2.6rem; }

.kicker {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.section-lead {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.glass-card {
  padding: 1.4rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 200, 5, 0.07), rgba(8, 14, 8, 0.7));
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 200, 5, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 30px rgba(0, 200, 5, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--green);
  margin-bottom: 1rem;
}

.glass-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.glass-card p,
.step p {
  color: var(--muted);
  line-height: 1.65;
}

.steps {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--green), transparent);
}

.step-num {
  font-family: var(--mono);
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 600;
}

.step h3 { margin-bottom: 0.35rem; }

.buy-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.join-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 200, 5, 0.1), rgba(8, 12, 8, 0.8)),
    url("banner.png") center/cover;
  background-blend-mode: multiply;
  min-height: 320px;
}

.join-copy p { color: var(--muted); margin-bottom: 1.3rem; line-height: 1.7; }

.twitter-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(3, 5, 4, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.twitter-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.twitter-card strong { display: block; font-family: var(--display); }
.twitter-card span { display: block; color: var(--green); font-size: 0.9rem; }
.twitter-card em { display: block; color: var(--muted); font-style: normal; font-size: 0.8rem; }
.twitter-card .arrow { margin-left: auto; color: var(--green); font-size: 1.3rem; }

.footer {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 4rem auto 0;
  padding: 2rem 1.4rem 3rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.8rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer-brand span,
.footer-ca,
.disclaimer {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover { color: var(--green); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  z-index: 50;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--green);
  color: #041204;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.8s ease forwards;
  animation-play-state: paused;
}

.reveal.in { animation-play-state: running; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .ca-value { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .join-panel { grid-template-columns: 1fr; }
  .hero { padding-top: 8rem; }
}

@media (max-width: 640px) {
  .nav-actions .ca-pill { display: none; }
  .stats { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; }
}
