:root {
  --acid: #d4ff00;
  --acid-hot: #e8ff4a;
  --acid-dim: #9fc400;
  --forest: #143d24;
  --forest-deep: #0a1f14;
  --ink: #050805;
  --ink-soft: #0d1610;
  --crimson: #e31c23;
  --parchment: #d9c59a;
  --mist: rgba(212, 255, 0, 0.12);
  --text: #f3f7ec;
  --muted: #a7b89a;
  --line: rgba(212, 255, 0, 0.28);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-brand: "Bungee", sans-serif;
  --font-display: "Archivo Black", sans-serif;
  --font-body: "Sora", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(212, 255, 0, 0.16), transparent 55%),
    radial-gradient(900px 600px at 90% 20%, rgba(20, 61, 36, 0.9), transparent 50%),
    linear-gradient(180deg, #07140c 0%, #050805 40%, #0a1a10 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#leaf-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.forest-glow {
  position: fixed;
  inset: auto -20% -30% -20%;
  height: 55vh;
  background: radial-gradient(ellipse at center, rgba(212, 255, 0, 0.08), transparent 65%);
  pointer-events: none;
  z-index: 1;
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-18px); }
}

.flip-letter {
  display: inline-block;
  color: var(--acid);
  transform: rotate(180deg);
  animation: flipPulse 4.5s ease-in-out infinite;
}

@keyframes flipPulse {
  0%, 100% { transform: rotate(180deg) translateY(0); }
  50% { transform: rotate(180deg) translateY(-2px) scale(1.08); }
}

.acid {
  color: var(--acid);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 8, 5, 0.72);
  border-bottom: 1px solid rgba(212, 255, 0, 0.14);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--acid);
  box-shadow: 0 0 18px rgba(212, 255, 0, 0.25);
  animation: brandSpin 12s linear infinite;
}

@keyframes brandSpin {
  0%, 90%, 100% { transform: rotate(0deg); }
  93% { transform: rotate(-8deg); }
  96% { transform: rotate(8deg); }
}

.brand-name {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--acid);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.55rem 0.95rem !important;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: var(--ink) !important;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(212, 255, 0, 0.06);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 2px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-acid {
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(212, 255, 0, 0.4);
}

.btn-acid:hover {
  background: var(--acid-hot);
  box-shadow: 0 0 28px rgba(212, 255, 0, 0.35);
}

.btn-ink {
  background: var(--ink);
  border-color: var(--acid);
  color: var(--acid);
}

.btn-ink:hover {
  background: rgba(212, 255, 0, 0.1);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(243, 247, 236, 0.35);
  color: var(--text);
}

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

.btn-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0);
}

.btn-ink .btn-icon {
  filter: invert(88%) sepia(61%) saturate(749%) hue-rotate(18deg) brightness(105%) contrast(104%);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(180, 255, 40, 0.18) 0%, transparent 42%),
    linear-gradient(120deg, #0b1c12 0%, #122818 45%, #07140c 100%);
}

.hero-mist {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 70% 40%, rgba(212, 255, 0, 0.18), transparent 35%),
    radial-gradient(circle at 20% 70%, rgba(227, 28, 35, 0.08), transparent 30%);
  animation: mistDrift 14s ease-in-out infinite alternate;
}

@keyframes mistDrift {
  from { transform: scale(1) translateX(0); }
  to { transform: scale(1.08) translateX(-2%); }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-video.is-ready {
  opacity: 0.28;
  mix-blend-mode: screen;
}

.motion-lines {
  position: absolute;
  inset: 18% 8% auto auto;
  width: min(280px, 40vw);
  height: 120px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.motion-lines span {
  display: block;
  height: 3px;
  margin: 14px 0;
  background: linear-gradient(90deg, transparent, var(--acid), transparent);
  transform-origin: right center;
  animation: lineSlash 2.8s ease-in-out infinite;
}

.motion-lines span:nth-child(2) { width: 80%; margin-left: auto; animation-delay: 0.2s; }
.motion-lines span:nth-child(3) { width: 65%; margin-left: auto; animation-delay: 0.4s; }
.motion-lines span:nth-child(4) { width: 90%; margin-left: auto; animation-delay: 0.6s; }

@keyframes lineSlash {
  0%, 100% { transform: scaleX(0.4); opacity: 0.25; }
  50% { transform: scaleX(1); opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-symbol {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acid);
  font-size: 0.85rem;
}

.hero-title {
  margin: 0;
  line-height: 0.95;
}

.title-main {
  display: block;
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  text-shadow:
    0 0 30px rgba(212, 255, 0, 0.25),
    4px 4px 0 rgba(0, 0, 0, 0.55);
  animation: titleGlitch 7s steps(2, end) infinite;
}

@keyframes titleGlitch {
  0%, 92%, 100% { transform: none; filter: none; }
  93% { transform: translate(-2px, 1px); filter: hue-rotate(20deg); }
  94% { transform: translate(2px, -1px); }
  95% { transform: none; }
}

.hero-tag {
  margin: 1rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  max-width: 18ch;
  line-height: 1.25;
}

.hero-bio {
  margin: 0 0 1.6rem;
  color: var(--muted);
  max-width: 34ch;
  font-size: 1rem;
}

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

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.stage-ring {
  position: absolute;
  width: min(420px, 80vw);
  height: min(420px, 80vw);
  border: 2px dashed rgba(212, 255, 0, 0.35);
  border-radius: 50%;
  animation: ringSpin 18s linear infinite;
}

.stage-ring-2 {
  width: min(340px, 68vw);
  height: min(340px, 68vw);
  border-style: solid;
  border-color: rgba(227, 28, 35, 0.35);
  animation-direction: reverse;
  animation-duration: 12s;
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

.hero-mascot {
  position: relative;
  z-index: 2;
  width: min(360px, 72vw);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  animation: mascotFloat 4.2s ease-in-out infinite;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

.feather-trail {
  position: absolute;
  top: 12%;
  right: 12%;
  width: 14px;
  height: 48px;
  background: linear-gradient(180deg, var(--crimson), transparent);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  animation: featherDrift 3.4s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(227, 28, 35, 0.6));
}

@keyframes featherDrift {
  0%, 100% { transform: translate(0, 0) rotate(12deg); opacity: 0.7; }
  50% { transform: translate(-10px, 18px) rotate(-6deg); opacity: 1; }
}

.ticker {
  margin-top: 3.5rem;
  border-block: 1px solid rgba(212, 255, 0, 0.2);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  padding: 0.85rem 0;
  width: max-content;
  animation: tickerMove 28s linear infinite;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acid);
  font-size: 0.82rem;
}

@keyframes tickerMove {
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  position: relative;
  z-index: 3;
  padding: 6.5rem 0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--crimson);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.section-lead {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* About */
.about {
  background:
    linear-gradient(180deg, transparent, rgba(20, 61, 36, 0.28), transparent);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.wanted-frame {
  position: relative;
  padding: 1.2rem;
  background:
    linear-gradient(145deg, rgba(217, 197, 154, 0.95), rgba(180, 150, 95, 0.9));
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(-2.5deg);
  transition: transform 0.35s ease;
}

.wanted-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.wanted-frame img {
  border: 4px solid #2a1d0d;
  background: var(--acid);
}

.wanted-stamp {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%) rotate(-8deg);
  margin: 0;
  font-family: var(--font-brand);
  color: var(--crimson);
  letter-spacing: 0.2em;
  font-size: 1.4rem;
  border: 3px solid var(--crimson);
  padding: 0.2rem 0.7rem;
  opacity: 0.85;
}

.about-text p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.about-traits {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.about-traits li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}

.trait-mark {
  width: 12px;
  height: 12px;
  background: var(--acid);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 12px rgba(212, 255, 0, 0.5);
  animation: traitBlink 2.4s ease-in-out infinite;
}

@keyframes traitBlink {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* How to buy */
.buy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.buy-step {
  position: relative;
  padding: 1.4rem 1.2rem 1.5rem;
  background: linear-gradient(180deg, rgba(212, 255, 0, 0.08), rgba(5, 8, 5, 0.4));
  border: 1px solid rgba(212, 255, 0, 0.22);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.buy-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--acid), var(--crimson));
}

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

.step-num {
  display: block;
  font-family: var(--font-brand);
  color: var(--acid);
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.buy-step h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.buy-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.ca-line {
  margin: 1rem 0 0;
  color: var(--parchment);
  font-size: 0.9rem;
  word-break: break-all;
}

/* Chart */
.chart-frame {
  position: relative;
  min-height: 520px;
  border: 2px solid rgba(212, 255, 0, 0.3);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: var(--shadow), 0 0 40px rgba(212, 255, 0, 0.08);
  overflow: hidden;
}

.chart-frame iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: none;
}

.chart-frame.has-pair iframe {
  display: block;
}

.chart-frame.has-pair .chart-fallback {
  display: none;
}

.chart-fallback {
  min-height: 520px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(circle at center, rgba(212, 255, 0, 0.1), transparent 55%);
}

.fallback-icon {
  width: 48px;
  height: 48px;
  filter: invert(88%) sepia(61%) saturate(749%) hue-rotate(18deg) brightness(105%) contrast(104%);
  animation: mascotFloat 3.5s ease-in-out infinite;
}

.chart-fallback p {
  margin: 0;
  color: var(--muted);
}

.chart-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(212, 255, 0, 0.3);
  background: rgba(212, 255, 0, 0.06);
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}

.chip img {
  width: 18px;
  height: 18px;
  filter: invert(88%) sepia(61%) saturate(749%) hue-rotate(18deg) brightness(105%) contrast(104%);
}

.chip:hover {
  background: rgba(212, 255, 0, 0.16);
  transform: translateY(-2px);
}

/* Join Us — banner only here */
.joinus {
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.join-banner-plane {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: end;
}

.join-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.08) contrast(1.05);
  animation: bannerKen 22s ease-in-out infinite alternate;
}

@keyframes bannerKen {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}

.join-banner-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 5, 0.55) 0%, rgba(5, 8, 5, 0.35) 40%, rgba(5, 8, 5, 0.92) 100%),
    radial-gradient(circle at 50% 30%, transparent 20%, rgba(5, 8, 5, 0.5) 80%);
}

.join-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4.5rem;
}

.joinus .section-head {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

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

.social-card {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
  padding: 1.25rem 1.2rem;
  background: rgba(5, 8, 5, 0.72);
  border: 2px solid rgba(212, 255, 0, 0.45);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.social-card img {
  width: 28px;
  height: 28px;
  margin-bottom: 0.4rem;
  filter: invert(88%) sepia(61%) saturate(749%) hue-rotate(18deg) brightness(105%) contrast(104%);
}

.social-card span {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.social-card small {
  color: var(--muted);
}

.social-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  border-color: var(--acid);
  box-shadow: 0 0 30px rgba(212, 255, 0, 0.22);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(212, 255, 0, 0.15);
  padding: 1.6rem 0 2rem;
  background: rgba(0, 0, 0, 0.4);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-brand);
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .about-layout,
  .buy-steps,
  .social-row {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    order: -1;
    min-height: 320px;
  }

  .hero-mascot {
    width: min(280px, 70vw);
  }

  .buy-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1rem 1rem;
    background: rgba(5, 8, 5, 0.96);
    border-bottom: 1px solid rgba(212, 255, 0, 0.2);
  }

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

  .nav-links a {
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid rgba(212, 255, 0, 0.08);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.4rem;
  }

  .buy-steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .join-banner-plane {
    min-height: 85vh;
  }

  .chart-frame,
  .chart-fallback {
    min-height: 420px;
  }

  .chart-frame iframe {
    height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
