:root {
  --green: #00c805;
  --green-bright: #39ff14;
  --green-deep: #00a004;
  --yellow: #ffe600;
  --yellow-soft: #fff3a0;
  --ink: #041208;
  --ink-2: #0b1c10;
  --text: #f2fff5;
  --muted: #8fad98;
  --line: rgba(0, 200, 5, 0.28);
  --glow: 0 0 48px rgba(57, 255, 20, 0.35);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --radius: 20px;
  --nav-h: 74px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    conic-gradient(from 180deg at 15% 10%, rgba(0, 200, 5, 0.16), transparent 40%),
    conic-gradient(from 40deg at 90% 20%, rgba(255, 230, 0, 0.12), transparent 45%),
    linear-gradient(165deg, #020a06 0%, var(--ink) 45%, #03160b 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

strong {
  color: var(--yellow);
  font-weight: 700;
}

em {
  font-style: normal;
  color: var(--green-bright);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  animation: noise-flicker 0.18s steps(2) infinite;
}

@keyframes noise-flicker {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1%, 1%); }
  50% { transform: translate(1%, -1%); }
  75% { transform: translate(-1%, -1%); }
  100% { transform: translate(1%, 1%); }
}

.aurora {
  position: fixed;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 200, 5, 0.32), transparent 42%),
    radial-gradient(circle at 70% 30%, rgba(255, 230, 0, 0.22), transparent 38%),
    radial-gradient(circle at 50% 70%, rgba(57, 255, 20, 0.16), transparent 40%);
  filter: blur(50px) saturate(1.3);
  animation: blob-morph 14s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes blob-morph {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 40% 60% 55% 45%;
  }
  33% {
    transform: translate(4%, -3%) scale(1.08) rotate(8deg);
    border-radius: 55% 45% 40% 60%;
  }
  66% {
    transform: translate(-3%, 4%) scale(0.95) rotate(-6deg);
    border-radius: 45% 55% 60% 40%;
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 40% 60% 55% 45%;
  }
}

.grid-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -32deg,
      transparent 0,
      transparent 18px,
      rgba(0, 200, 5, 0.045) 18px,
      rgba(0, 200, 5, 0.045) 19px
    ),
    repeating-linear-gradient(
      32deg,
      transparent 0,
      transparent 18px,
      rgba(255, 230, 0, 0.03) 18px,
      rgba(255, 230, 0, 0.03) 19px
    );
  mask-image: radial-gradient(ellipse 80% 55% at 50% 20%, #000 10%, transparent 70%);
  animation: slash-sweep 10s linear infinite;
}

@keyframes slash-sweep {
  0% { background-position: 0 0, 0 0; opacity: 0.45; }
  50% { opacity: 0.85; }
  100% { background-position: 80px 40px, -80px 40px; opacity: 0.45; }
}

/* Falling / flying emblem rain — spiral drop + zig-fly */
.emblem-rain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.emblem-fly {
  position: absolute;
  top: -120px;
  width: var(--size, 56px);
  height: var(--size, 56px);
  object-fit: contain;
  opacity: var(--opacity, 0.55);
  filter: drop-shadow(0 0 14px rgba(255, 230, 0, 0.35)) drop-shadow(0 0 8px rgba(0, 200, 5, 0.4));
  animation: emblem-spiral var(--dur, 12s) cubic-bezier(0.45, 0.05, 0.55, 0.95) var(--delay, 0s) infinite;
  will-change: transform;
  left: var(--x, 10%);
}

.emblem-fly.fly-side {
  animation-name: emblem-zigzag;
}

@keyframes emblem-spiral {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg) scale(0.4);
    filter: blur(2px) drop-shadow(0 0 8px rgba(0, 200, 5, 0.3));
  }
  20% {
    transform: translate3d(calc(var(--drift, 40px) * 0.4), 15vh, 0) rotate(120deg) scale(var(--scale, 1));
  }
  50% {
    transform: translate3d(calc(var(--drift, 40px) * -0.6), 50vh, 0) rotate(280deg) scale(calc(var(--scale, 1) * 1.15));
  }
  80% {
    transform: translate3d(var(--drift, 40px), 85vh, 0) rotate(500deg) scale(var(--scale, 1));
  }
  100% {
    transform: translate3d(calc(var(--drift, 40px) * 0.2), 115vh, 0) rotate(720deg) scale(0.5);
    filter: blur(1px) drop-shadow(0 0 20px rgba(255, 230, 0, 0.5));
  }
}

@keyframes emblem-zigzag {
  0% {
    transform: translate3d(-25vw, var(--y-start, 10vh), 0) rotate(-20deg) scale(0.6);
  }
  25% {
    transform: translate3d(25vw, calc(var(--y-start, 10vh) + var(--arc, -80px)), 0) rotate(90deg) scale(var(--scale, 1));
  }
  50% {
    transform: translate3d(55vw, calc(var(--y-start, 10vh) + 30px), 0) rotate(180deg) scale(calc(var(--scale, 1) * 1.2));
  }
  75% {
    transform: translate3d(85vw, calc(var(--y-start, 10vh) + var(--arc, -80px) * 0.5), 0) rotate(270deg) scale(var(--scale, 1));
  }
  100% {
    transform: translate3d(125vw, calc(var(--y-start, 10vh) + 50px), 0) rotate(400deg) scale(0.7);
  }
}

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

.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 40% 60% 55% 45%;
  pointer-events: none;
  z-index: 1;
  background:
    conic-gradient(from 0deg, rgba(0, 200, 5, 0.22), rgba(255, 230, 0, 0.14), rgba(57, 255, 20, 0.18), rgba(0, 200, 5, 0.22));
  filter: blur(28px);
  transform: translate(-50%, -50%);
  left: -9999px;
  top: -9999px;
  transition: opacity 0.3s ease;
  opacity: 0;
  animation: cursor-spin 8s linear infinite;
}

@keyframes cursor-spin {
  to { filter: blur(28px) hue-rotate(40deg); }
}

body.is-pointer .cursor-glow {
  opacity: 1;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  z-index: 60;
  background: linear-gradient(90deg, var(--yellow), var(--green-bright), var(--green), var(--yellow));
  background-size: 200% 100%;
  box-shadow: 0 0 20px rgba(255, 230, 0, 0.65), 0 0 8px rgba(0, 200, 5, 0.8);
  pointer-events: none;
  animation: progress-flow 2s linear infinite;
}

@keyframes progress-flow {
  to { background-position: 200% 0; }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  z-index: 40;
  background: rgba(2, 10, 6, 0.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s, transform 0.4s;
}

.nav.scrolled {
  border-bottom-color: rgba(255, 230, 0, 0.2);
  background: rgba(2, 10, 6, 0.92);
  box-shadow: 0 12px 48px rgba(0, 200, 5, 0.12);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  z-index: 2;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--yellow);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
  animation: logo-orbit 5s ease-in-out infinite;
}

@keyframes logo-orbit {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    box-shadow: 0 0 0 2px var(--yellow), 0 0 18px rgba(255, 230, 0, 0.4);
  }
  50% {
    transform: rotate(12deg) scale(1.08);
    box-shadow: 0 0 0 3px var(--green-bright), 0 0 28px rgba(0, 200, 5, 0.55);
  }
}

.nav-brand:hover .nav-logo {
  transform: rotate(-18deg) scale(1.14);
  animation: none;
}

.nav-name {
  background: linear-gradient(90deg, var(--yellow), #fff, var(--green-bright), var(--yellow));
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: name-wave 5s ease-in-out infinite;
}

@keyframes name-wave {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 1rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  transition: color 0.3s, letter-spacing 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  transform: translateX(-50%) scale(0);
  box-shadow: 0 0 12px var(--green);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover {
  color: var(--text);
  letter-spacing: 0.04em;
}

.nav-links a:hover::after {
  transform: translateX(-50%) scale(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 2;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}

body.menu-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.menu-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.3rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--green);
  color: #031008;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 8px 0 rgba(0, 120, 4, 0.8),
    0 12px 28px rgba(0, 200, 5, 0.35);
  animation: btn-bounce-glow 3s ease-in-out infinite;
}

@keyframes btn-bounce-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.15),
      0 8px 0 rgba(0, 120, 4, 0.8),
      0 12px 28px rgba(0, 200, 5, 0.35);
  }
  50% {
    background: var(--yellow);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2),
      0 8px 0 rgba(180, 150, 0, 0.75),
      0 14px 36px rgba(255, 230, 0, 0.45);
  }
}

.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 2px 0 rgba(0, 120, 4, 0.8),
    0 4px 12px rgba(0, 200, 5, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(120deg, var(--green), var(--yellow), var(--green-bright));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: ghost-border 4s linear infinite;
  background-size: 100% 100%, 200% 200%;
}

@keyframes ghost-border {
  to { background-position: 0 0, 200% 0; }
}

.btn-ghost:hover {
  color: var(--yellow);
  transform: scale(1.04);
}

.btn-lg {
  padding: 1rem 1.7rem;
  font-size: 1rem;
  border-radius: 14px;
}

.pulse-ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--green));
  background-size: 200% 100%;
  z-index: -1;
  opacity: 0.7;
  filter: blur(8px);
  animation: halo-chase 2.4s linear infinite;
}

@keyframes halo-chase {
  0% { opacity: 0.35; transform: scale(1); background-position: 0% 0; }
  50% { opacity: 0.85; transform: scale(1.06); }
  100% { opacity: 0.35; transform: scale(1); background-position: 200% 0; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 2;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  will-change: transform;
  filter: saturate(1.15) contrast(1.08) brightness(0.92);
  animation: banner-breathe 12s ease-in-out infinite;
}

@keyframes banner-breathe {
  0%, 100% { filter: saturate(1.15) contrast(1.08) brightness(0.92); }
  50% { filter: saturate(1.3) contrast(1.12) brightness(1); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 10, 6, 0.45) 0%, rgba(4, 18, 8, 0.68) 50%, rgba(2, 10, 6, 0.96) 100%),
    radial-gradient(ellipse 70% 55% at 50% 35%, transparent 10%, rgba(2, 10, 6, 0.6) 100%);
}

.hero-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 200, 5, 0.08) 48%,
    rgba(255, 230, 0, 0.1) 50%,
    rgba(0, 200, 5, 0.08) 52%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: beam-sweep 3.5s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes beam-sweep {
  0% { background-position: 0 -100%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { background-position: 0 200%; opacity: 0; }
}

.hero-circuit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 200, 5, 0.15) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 40%, rgba(255, 230, 0, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 70%, rgba(57, 255, 20, 0.12) 0 2px, transparent 3px);
  background-size: 48px 48px;
  animation: dot-matrix 6s steps(8) infinite;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 50% 40% at 50% 40%, #000, transparent 75%);
}

@keyframes dot-matrix {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 48px 48px, -48px 24px, 24px -48px; }
}

.hero-rings {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(72vw, 560px);
  height: min(72vw, 560px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-rings span {
  position: absolute;
  inset: 0;
  border-radius: 28%;
  border: 1px solid rgba(255, 230, 0, 0.28);
  animation: diamond-pulse 4.5s ease-out infinite;
  transform: rotate(45deg) scale(0.3);
}

.hero-rings span:nth-child(2) {
  animation-delay: 1.5s;
  border-color: rgba(0, 200, 5, 0.3);
  border-radius: 20%;
}

.hero-rings span:nth-child(3) {
  animation-delay: 3s;
  border-radius: 40%;
}

@keyframes diamond-pulse {
  0% {
    transform: rotate(45deg) scale(0.25);
    opacity: 0.9;
    border-width: 2px;
  }
  100% {
    transform: rotate(225deg) scale(1.45);
    opacity: 0;
    border-width: 1px;
  }
}

.hero-orbs i {
  position: absolute;
  border-radius: 40% 60% 50% 50%;
  filter: blur(32px);
  pointer-events: none;
  animation: orb-orbit 11s ease-in-out infinite;
}

.hero-orbs i:nth-child(1) {
  width: 220px;
  height: 180px;
  left: 4%;
  top: 20%;
  background: rgba(0, 200, 5, 0.42);
}

.hero-orbs i:nth-child(2) {
  width: 160px;
  height: 160px;
  right: 8%;
  top: 28%;
  background: rgba(255, 230, 0, 0.36);
  animation-delay: -4s;
  animation-name: orb-orbit-rev;
}

.hero-orbs i:nth-child(3) {
  width: 120px;
  height: 100px;
  left: 44%;
  bottom: 14%;
  background: rgba(57, 255, 20, 0.3);
  animation-delay: -7s;
}

@keyframes orb-orbit {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -20px) scale(1.15); }
  50% { transform: translate(-10px, -50px) scale(0.9); }
  75% { transform: translate(-35px, 15px) scale(1.1); }
}

@keyframes orb-orbit-rev {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-45px, 25px) scale(1.1); }
  50% { transform: translate(20px, 40px) scale(0.85); }
  75% { transform: translate(30px, -20px) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 4rem;
  max-width: 880px;
}

.hero-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.3rem;
  border-radius: 28px;
  object-fit: cover;
  box-shadow:
    0 0 0 3px var(--yellow),
    0 0 0 8px rgba(0, 200, 5, 0.25),
    0 0 60px rgba(0, 200, 5, 0.45),
    0 24px 50px rgba(0, 0, 0, 0.5);
}

.float-slow {
  animation: logo-hover-spin 6s ease-in-out infinite;
}

@keyframes logo-hover-spin {
  0%, 100% { transform: translateY(0) rotate(-4deg) scale(1); }
  33% { transform: translateY(-16px) rotate(6deg) scale(1.05); }
  66% { transform: translateY(-6px) rotate(-8deg) scale(0.98); }
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.85rem;
  text-shadow: 0 0 30px rgba(255, 230, 0, 0.45);
  animation: brand-blink 5s steps(1) infinite;
}

@keyframes brand-blink {
  0%, 92%, 100% { opacity: 1; filter: none; }
  94% { opacity: 0.4; filter: hue-rotate(40deg); }
  96% { opacity: 1; transform: skewX(-4deg); }
  98% { opacity: 0.7; transform: skewX(2deg); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--green-bright) 40%, var(--yellow) 70%, #fff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
  animation: title-shine 6s ease-in-out infinite;
}

@keyframes title-shine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 1.85rem;
}

.ticker-chip {
  display: inline-block;
  padding: 0.18em 0.6em;
  border-radius: 8px;
  background: rgba(0, 200, 5, 0.15);
  border: 1px solid rgba(0, 200, 5, 0.45);
  color: var(--green-bright);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.82em;
  letter-spacing: 0.04em;
  animation: chip-flash 2s ease-in-out infinite;
}

@keyframes chip-flash {
  0%, 100% {
    background: rgba(0, 200, 5, 0.15);
    border-color: rgba(0, 200, 5, 0.45);
    color: var(--green-bright);
    box-shadow: none;
  }
  50% {
    background: rgba(255, 230, 0, 0.18);
    border-color: rgba(255, 230, 0, 0.55);
    color: var(--yellow);
    box-shadow: 0 0 24px rgba(255, 230, 0, 0.35);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-hint span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg, var(--yellow), transparent);
  position: relative;
  animation: scroll-line 1.8s ease-in-out infinite;
}

.scroll-hint span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 14px var(--green);
  animation: scroll-bead 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.4; height: 36px; }
  50% { opacity: 1; height: 52px; }
}

@keyframes scroll-bead {
  0% { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Marquee */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid rgba(255, 230, 0, 0.2);
  background: rgba(0, 200, 5, 0.08);
  padding: 1rem 0;
  transform: skewY(-0.6deg);
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--ink), transparent);
}

.marquee-track {
  display: flex;
  gap: 2.75rem;
  width: max-content;
  animation: marquee-snap 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-bright);
}

.marquee-track span:nth-child(odd) {
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255, 230, 0, 0.35);
}

.marquee-track span:nth-child(even) {
  animation: ticker-pop 2.5s ease-in-out infinite;
}

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

@keyframes ticker-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Sections */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-inner {
  width: min(960px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.85rem;
  animation: eyebrow-glint 4s ease-in-out infinite;
}

@keyframes eyebrow-glint {
  0%, 100% { opacity: 0.75; letter-spacing: 0.28em; }
  50% { opacity: 1; letter-spacing: 0.34em; text-shadow: 0 0 16px rgba(255, 230, 0, 0.4); }
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

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

.stat {
  padding: 1.6rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(5, 24, 12, 0.7);
  border: 1px solid transparent;
  background-image:
    linear-gradient(160deg, rgba(5, 24, 12, 0.9), rgba(0, 40, 12, 0.7)),
    linear-gradient(135deg, var(--green), transparent 50%, var(--yellow));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 230, 0, 0.12) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.stat:hover {
  box-shadow: 0 20px 50px rgba(0, 200, 5, 0.2);
}

.stat:hover::after {
  transform: translateX(120%);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--yellow);
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

/* How to buy */
.how {
  background:
    radial-gradient(600px 280px at 10% 50%, rgba(0, 200, 5, 0.08), transparent 60%),
    rgba(0, 0, 0, 0.2);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.step {
  padding: 1.8rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(4, 18, 8, 0.75);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s, box-shadow 0.35s;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.step::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 200, 5, 0.12);
  transition: transform 0.5s ease, opacity 0.5s;
  opacity: 0;
}

.step:hover {
  transform: translateY(-10px) rotate(-0.5deg);
  border-color: rgba(255, 230, 0, 0.45);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 230, 0, 0.1);
}

.step:hover::before {
  transform: scaleX(1);
}

.step:hover::after {
  opacity: 1;
  transform: scale(2.2);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  background: linear-gradient(180deg, var(--yellow), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
  position: relative;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
  position: relative;
}

.buy-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.4rem 1.55rem;
  border-radius: var(--radius);
  background: rgba(0, 30, 10, 0.55);
  border: 1px solid rgba(0, 200, 5, 0.35);
  position: relative;
  overflow: hidden;
  animation: panel-electric 3s ease-in-out infinite;
}

.buy-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 230, 0, 0.1) 50%, transparent 70%);
  animation: panel-shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes panel-electric {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(0, 200, 5, 0.2), 0 0 30px rgba(0, 200, 5, 0.1);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(255, 230, 0, 0.4), 0 0 50px rgba(255, 230, 0, 0.2), inset 0 0 30px rgba(0, 200, 5, 0.08);
  }
}

@keyframes panel-shine {
  0% { transform: translateX(-100%); }
  40%, 100% { transform: translateX(100%); }
}

.buy-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.buy-ca {
  font-family: ui-monospace, monospace;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--yellow);
  word-break: break-all;
  position: relative;
}

.buy-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
}

/* Join */
.join {
  overflow: hidden;
}

.join-bg {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 0deg at 50% 50%, rgba(0, 200, 5, 0.18), transparent 25%, rgba(255, 230, 0, 0.12), transparent 55%, rgba(57, 255, 20, 0.14), transparent 80%);
  animation: join-spin 18s linear infinite;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.85;
}

@keyframes join-spin {
  to { transform: rotate(360deg) scale(1.2); }
}

.join-inner {
  position: relative;
  text-align: center;
}

.join-inner .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.join-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-card {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.55rem;
  border-radius: var(--radius);
  background: rgba(4, 18, 8, 0.78);
  border: 1px solid var(--line);
  min-width: min(100%, 380px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s, box-shadow 0.35s, background 0.35s;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 230, 0, 0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.social-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--yellow);
  box-shadow: 0 22px 55px rgba(255, 230, 0, 0.16);
  background: rgba(0, 40, 12, 0.7);
}

.social-card:hover::before {
  transform: translateX(100%);
}

.social-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #041208;
  flex-shrink: 0;
  animation: icon-wiggle 4s ease-in-out infinite;
}

@keyframes icon-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-6deg) scale(1.05); }
  75% { transform: rotate(6deg); }
}

.social-card:hover .social-icon {
  background: var(--green-bright);
  animation: none;
  transform: scale(1.1) rotate(-8deg);
}

.social-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.social-text strong {
  color: var(--text);
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.social-text span {
  color: var(--muted);
  font-size: 0.9rem;
}

.social-arrow {
  font-size: 1.5rem;
  color: var(--green-bright);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-card:hover .social-arrow {
  transform: translateX(10px) scale(1.2);
}

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

.footer-inner {
  width: min(960px, calc(100% - 2.5rem));
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 230, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-brand:hover img {
  transform: rotate(12deg) scale(1.1);
}

.footer-desc {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

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

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

.footer-links a:hover {
  color: var(--yellow);
  transform: translateY(-2px);
}

.footer-note {
  font-size: 0.8rem;
  color: rgba(155, 184, 163, 0.7);
  word-break: break-all;
}

/* Reveal — blur + scale instead of slide */
.reveal {
  opacity: 0;
  transform: scale(0.92) translateY(16px);
  filter: blur(8px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d, 0) * 0.12s + var(--i, 0) * 0.14s);
}

.reveal.in {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%) scale(0.8);
  padding: 0.8rem 1.45rem;
  border-radius: 12px;
  background: var(--ink-2);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  z-index: 70;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s;
  box-shadow: 0 0 30px rgba(255, 230, 0, 0.35);
  pointer-events: none;
}

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

#burst {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 65;
}

/* Responsive */
@media (max-width: 840px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(2, 10, 6, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  body.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.35rem;
    font-family: var(--font-display);
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .stat-row,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn-ghost {
    font-size: 0.85rem;
  }

  .emblem-fly {
    --size: 40px !important;
  }

  .marquee {
    transform: none;
  }
}

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

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

  .emblem-rain {
    display: none;
  }
}
