:root {
  --lime: #c8ff00;
  --lime-dim: #a8d900;
  --lime-glow: rgba(200, 255, 0, 0.35);
  --black: #050505;
  --ink: #0a0a0a;
  --muted: rgba(200, 255, 0, 0.55);
  --white: #f4ffe8;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--lime);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  cursor: none;
}

@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor-glow { display: none !important; }
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ——— Atmosphere ——— */
#circuit-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  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");
}

.cursor-glow {
  position: fixed;
  width: 22px;
  height: 22px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s;
  mix-blend-mode: difference;
}

.cursor-glow.hot {
  width: 48px;
  height: 48px;
  background: var(--lime-glow);
}

main,
.nav,
.ticker,
.footer,
.mobile-menu {
  position: relative;
  z-index: 2;
}

/* ——— Ticker ——— */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: var(--lime);
  color: var(--black);
  overflow: hidden;
  z-index: 40;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.ticker-track span::after {
  content: "◆";
  margin-left: 2.5rem;
  opacity: 0.4;
}

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

/* ——— Nav ——— */
.nav {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  z-index: 50;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(200, 255, 0, 0.12);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  animation: spin-slow 18s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-x {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(200, 255, 0, 0.35);
  border-radius: 50%;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}

.nav-x:hover {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
  transform: scale(1.08);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--lime);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: calc(32px + var(--nav-h));
  left: 0;
  right: 0;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  gap: 1.25rem;
  z-index: 45;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
  border-bottom: 1px solid rgba(200, 255, 0, 0.15);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ——— Hero ——— */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: calc(32px + var(--nav-h) + 1rem) clamp(1.25rem, 4vw, 3rem) 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(200, 255, 0, 0.12), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(200, 255, 0, 0.06), transparent 60%);
  animation: mesh-breathe 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes mesh-breathe {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.08); opacity: 1; }
}

.hero-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: min(58vw, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
}

.hero-logo {
  width: 100%;
  height: auto;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  animation: float-y 5s ease-in-out infinite;
  filter: drop-shadow(0 0 40px var(--lime-glow));
  will-change: transform;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(1.5deg); }
}

.hero-ring {
  position: absolute;
  inset: -8%;
  border: 1px solid rgba(200, 255, 0, 0.25);
  border-radius: 50%;
  animation: ring-pulse 4s ease-out infinite;
  pointer-events: none;
}

.hero-ring.ring-2 {
  inset: -18%;
  animation-delay: 1.2s;
  border-color: rgba(200, 255, 0, 0.12);
}

@keyframes ring-pulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

.hero-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: none;
  padding: calc(32px + var(--nav-h)) clamp(1rem, 3vw, 2rem) 4rem;
}

.hero-copy {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 11vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-align: center;
  position: relative;
  animation: brand-in 1s var(--ease-out) both;
  text-shadow: 0 0 40px rgba(5, 5, 5, 0.85), 0 2px 0 rgba(5, 5, 5, 0.4);
}

@keyframes brand-in {
  from { opacity: 0; transform: translateY(40px) scale(0.96); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

.hero-brand::after {
  content: attr(data-glitch);
  position: absolute;
  inset: 0;
  color: var(--lime);
  clip-path: inset(40% 0 40% 0);
  transform: translate(3px, -2px);
  opacity: 0;
  pointer-events: none;
  animation: glitch-flicker 6s steps(1) infinite;
}

@keyframes glitch-flicker {
  0%, 92%, 100% { opacity: 0; }
  93% { opacity: 0.85; transform: translate(-4px, 1px); }
  94% { opacity: 0; }
  96% { opacity: 0.7; transform: translate(3px, -2px); }
  97% { opacity: 0; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  animation: fade-up 1s 0.15s var(--ease-out) both;
}

.ticker-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78em;
  font-weight: 700;
  padding: 0.35em 0.75em;
  background: var(--lime);
  color: var(--black);
  letter-spacing: 0.04em;
}

.hero-line {
  font-weight: 600;
  opacity: 0.9;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 1.75rem;
  animation: fade-up 1s 0.28s var(--ease-out) both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  animation: fade-up 1s 0.4s var(--ease-out) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease-out), background 0.25s, color 0.25s, box-shadow 0.25s;
}

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

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px var(--lime-glow);
}

.btn-ghost {
  border: 1.5px solid rgba(200, 255, 0, 0.4);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(200, 255, 0, 0.08);
  border-color: var(--lime);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}

.scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(200, 255, 0, 0.35);
  border-radius: 12px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  opacity: 0.7;
  animation: fade-up 1s 0.8s var(--ease-out) both;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  background: var(--lime);
  border-radius: 2px;
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ——— Sections ——— */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 640px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.85rem;
}

.section-sub {
  margin-top: 0.85rem;
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
}

/* ——— About ——— */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.about-block {
  border-top: 1px solid rgba(200, 255, 0, 0.25);
  padding-top: 1.25rem;
}

.about-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.4;
  display: block;
  margin-bottom: 0.75rem;
}

.about-block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.about-block p {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.95rem;
}

.banner-wrap {
  overflow: hidden;
  border: 1px solid rgba(200, 255, 0, 0.2);
}

.banner-wrap img {
  width: 100%;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}

.banner-wrap:hover img {
  transform: scale(1.06);
}

/* ——— Gallery ——— */
.gallery {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.gallery .section-head {
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

.gallery-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(200, 255, 0, 0.15);
  border-top: 1px solid rgba(200, 255, 0, 0.15);
  border-bottom: 1px solid rgba(200, 255, 0, 0.15);
}

.pose-card {
  background: var(--black);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: none;
}

.pose-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s;
  filter: saturate(1.05) contrast(1.05);
}

.pose-card:hover img {
  transform: scale(1.08);
}

.pose-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}

.pose-card:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* ——— Tokenomics ——— */
.token-panel {
  border: 1px solid rgba(200, 255, 0, 0.2);
  margin-bottom: 2rem;
}

.token-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid rgba(200, 255, 0, 0.12);
  font-size: 0.95rem;
}

.token-row:last-child {
  border-bottom: none;
}

.token-row span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}

.token-row strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.ca-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(200, 255, 0, 0.25);
  transition: background 0.2s, border-color 0.2s;
}

.ca-btn:hover {
  background: rgba(200, 255, 0, 0.08);
  border-color: var(--lime);
}

.ca-btn code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
}

.ca-hint {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}

.token-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(200, 255, 0, 0.15);
}

.stat {
  background: var(--black);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
}

/* ——— Join ——— */
.join {
  max-width: 1000px;
}

.join-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(200, 255, 0, 0.2);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse 80% 80% at 20% 50%, rgba(200, 255, 0, 0.08), transparent 60%);
  overflow: hidden;
}

.join-mascot {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  animation: float-y 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px var(--lime-glow));
}

.join-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.join-copy > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* ——— Footer ——— */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid rgba(200, 255, 0, 0.12);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--lime);
  font-family: var(--font-display);
  font-weight: 700;
}

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

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

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.about-block.reveal:nth-child(2) { transition-delay: 0.1s; }
.about-block.reveal:nth-child(3) { transition-delay: 0.2s; }
.pose-card.reveal:nth-child(2) { transition-delay: 0.06s; }
.pose-card.reveal:nth-child(3) { transition-delay: 0.12s; }
.pose-card.reveal:nth-child(4) { transition-delay: 0.18s; }
.pose-card.reveal:nth-child(5) { transition-delay: 0.24s; }
.pose-card.reveal:nth-child(6) { transition-delay: 0.3s; }

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

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

  .join-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .join-copy .btn {
    margin-inline: auto;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-x {
    margin-left: auto;
    margin-right: 0.75rem;
  }
}

@media (max-width: 600px) {
  .hero-stage {
    width: min(72vw, 280px);
  }

  .token-stats {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .pose-card figcaption {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track {
    animation: none;
  }

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