:root {
  --void: #050208;
  --ink: #0b0612;
  --plum: #2a1433;
  --plum-mid: #3b1f4a;
  --plum-lit: #6d3482;
  --skin: #4a2658;
  --horn: #9dff1a;
  --horn-hot: #c8ff4d;
  --horn-deep: #4f8f00;
  --paper: #f4efe8;
  --mute: #c7b8cf;
  --line: rgba(157, 255, 26, 0.28);
  --glass: rgba(12, 6, 16, 0.72);
  --fat: "Bagel Fat One", "Arial Black", sans-serif;
  --stamp: "Bungee", sans-serif;
  --body: "Nunito", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(109, 52, 130, 0.28), transparent 60%),
    radial-gradient(800px 480px at 92% 8%, rgba(157, 255, 26, 0.08), transparent 55%),
    radial-gradient(700px 500px at 50% 110%, rgba(42, 20, 51, 0.7), transparent 60%),
    var(--void);
  color: var(--paper);
  font-family: var(--body);
  overflow-x: hidden;
}

body.has-cursor { cursor: none; }

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

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mist,
.rays,
.grain,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.mist {
  background:
    radial-gradient(420px 220px at 18% 30%, rgba(109, 52, 130, 0.18), transparent 70%),
    radial-gradient(380px 240px at 82% 70%, rgba(157, 255, 26, 0.07), transparent 70%);
  animation: mistDrift 18s ease-in-out infinite alternate;
}

.rays {
  background:
    repeating-conic-gradient(from 0deg at 70% 20%, transparent 0 8deg, rgba(157, 255, 26, 0.03) 8deg 9deg);
  mask-image: radial-gradient(circle at 70% 20%, #000 0 18%, transparent 55%);
  animation: raySpin 48s linear infinite;
  opacity: 0.7;
}

.grain {
  opacity: 0.11;
  mix-blend-mode: overlay;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  box-shadow: inset 0 0 180px 40px #000;
}

.horn-defs { position: absolute; width: 0; height: 0; }

.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  pointer-events: none;
  mix-blend-mode: screen;
}

.cursor {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 1px solid var(--horn);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(157, 255, 26, 0.35);
  transition: transform 0.18s ease, opacity 0.2s;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--horn-hot);
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.boot.out { opacity: 0; visibility: hidden; }

.boot-orb {
  position: relative;
  width: 168px;
  height: 168px;
}

.boot-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  animation: bootBounce 1.1s ease-in-out infinite;
}

.boot-ring,
.boot-ring.delay {
  position: absolute;
  inset: -14px;
  border: 2px solid rgba(157, 255, 26, 0.45);
  border-radius: 50%;
  animation: ringPulse 1.6s ease-out infinite;
}

.boot-ring.delay { animation-delay: 0.5s; }

.boot-word {
  margin-top: 22px;
  font-family: var(--fat);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--horn);
  text-shadow: 0 0 22px rgba(157, 255, 26, 0.55);
}

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: min(1180px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(157, 255, 26, 0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(157, 255, 26, 0.35);
}

.nav-brand strong {
  display: block;
  font-family: var(--fat);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav-brand small {
  color: var(--horn);
  font-family: var(--stamp);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-weight: 800;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  color: var(--mute);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.on { color: var(--paper); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--horn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  box-shadow: 0 0 10px var(--horn);
}

.nav-links a:hover::after,
.nav-links a.on::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(157, 255, 26, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.icon-btn img { width: 16px; height: 16px; }
.icon-btn[aria-label="X"] img { filter: brightness(0) invert(1); }
.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(157, 255, 26, 0.35);
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--horn-hot), var(--horn));
  color: #111;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(157, 255, 26, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.buy-btn img { width: 18px; height: 18px; }
.buy-btn.fat { padding: 14px 22px; font-size: 1.02rem; }
.buy-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 32px rgba(157, 255, 26, 0.55);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(59, 31, 74, 0.45);
  font-weight: 800;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ghost-btn img { width: 18px; height: 18px; }
.ghost-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(157, 255, 26, 0.2);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
}

.mobile-sheet {
  position: fixed;
  top: 86px;
  left: 12px;
  right: 12px;
  z-index: 39;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 4, 12, 0.94);
  backdrop-filter: blur(16px);
}

.mobile-sheet.open { display: flex; }
.mobile-sheet a {
  padding: 12px 10px;
  border-radius: 12px;
  font-weight: 800;
}
.mobile-sheet a:hover { background: rgba(157, 255, 26, 0.08); }

main { position: relative; z-index: 2; }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 132px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--horn);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow img { width: 16px; height: 16px; filter: brightness(0) invert(1) sepia(1) saturate(8) hue-rotate(50deg); }

.title-soft {
  display: block;
  font-family: var(--fat);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95;
  color: #efe6f6;
}

.title-fat {
  display: block;
  font-family: var(--fat);
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.9;
  color: var(--horn);
  text-shadow:
    0 0 18px rgba(157, 255, 26, 0.55),
    0 0 48px rgba(157, 255, 26, 0.22);
  animation: titlePulse 3.4s ease-in-out infinite;
}

.tagline {
  margin: 14px 0 16px;
  font-family: var(--stamp);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: 0.08em;
  color: #d7c4e0;
}

.lede {
  max-width: 540px;
  color: var(--mute);
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.ca-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  padding: 10px 10px 10px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(12, 6, 16, 0.7);
}

.ca-bar span {
  font-family: var(--stamp);
  font-size: 0.7rem;
  color: var(--horn);
}

.ca-bar code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ddd2e4;
  font-size: 0.78rem;
}

.ca-bar button {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(157, 255, 26, 0.14);
  font-weight: 800;
}

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

.horn {
  position: absolute;
  width: min(280px, 38vw);
  filter: drop-shadow(0 0 16px rgba(157, 255, 26, 0.45));
  animation: hornSway 5.5s ease-in-out infinite;
}

.left-horn { left: -4%; top: 4%; }
.right-horn { right: -4%; top: 4%; animation-delay: -1.6s; }

.totem {
  position: relative;
  width: min(420px, 78%);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}

.hero-logo,
.hero-reel {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 46% 48% 42% 50%;
  box-shadow:
    0 0 0 2px rgba(157, 255, 26, 0.35),
    0 0 60px rgba(157, 255, 26, 0.18),
    0 30px 70px rgba(0, 0, 0, 0.55);
  animation: totemFloat 4.8s ease-in-out infinite;
}

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

body.has-reel .hero-logo { opacity: 0; }

.totem-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 255, 26, 0.22), transparent 68%);
  filter: blur(18px);
  animation: glowPulse 2.8s ease-in-out infinite;
  z-index: -1;
}

.cheek {
  height: 72px;
  margin-top: -1px;
  background: radial-gradient(120% 90% at 25% 0, transparent 54%, rgba(157, 255, 26, 0.12) 55%, transparent 56%),
    radial-gradient(120% 90% at 75% 0, transparent 54%, rgba(157, 255, 26, 0.12) 55%, transparent 56%);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(157, 255, 26, 0.08), rgba(59, 31, 74, 0.35), rgba(157, 255, 26, 0.08));
}

.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 12px 0;
  font-family: var(--stamp);
  letter-spacing: 0.12em;
  color: var(--horn);
  animation: ticker 28s linear infinite;
}

.about,
.howtobuy,
.chart {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 40px;
}

.section-head { margin-bottom: 36px; }

.kicker {
  font-family: var(--stamp);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--horn);
  margin-bottom: 8px;
}

.section-head h2,
.join-copy h2 {
  font-family: var(--fat);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.95;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.manifesto {
  padding: 32px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(59, 31, 74, 0.42), rgba(8, 4, 12, 0.7));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.manifesto p + p { margin-top: 16px; }
.manifesto p {
  color: var(--mute);
  font-size: 1.08rem;
  line-height: 1.7;
}

.stat-stack { display: grid; gap: 12px; }

.stat {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(12, 6, 16, 0.65);
}

.stat b {
  display: block;
  color: var(--horn);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat strong {
  font-family: var(--fat);
  font-size: 1.45rem;
  font-weight: 400;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(12, 6, 16, 0.62);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.step::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 20%;
  height: 90px;
  background: radial-gradient(circle, rgba(157, 255, 26, 0.16), transparent 70%);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(157, 255, 26, 0.12);
}

.step-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(157, 255, 26, 0.1);
}

.step-icon img { width: 28px; height: 28px; }
.step-icon.sol img { filter: brightness(0) invert(1); }

.step em {
  display: block;
  margin-bottom: 6px;
  font-family: var(--stamp);
  font-size: 0.72rem;
  color: var(--horn);
  font-style: normal;
}

.step h3 {
  font-family: var(--fat);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.step p { color: var(--mute); line-height: 1.55; }

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.chart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--horn);
  font-weight: 800;
}

.chart-link img { width: 22px; height: 22px; }

.chart-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 40px rgba(157, 255, 26, 0.1);
  background: #0a0a0a;
}

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

.joinus { padding: 80px 0 0; }

.join-banner {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}

.join-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.08);
}

.join-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 2, 8, 0.15), rgba(5, 2, 8, 0.28) 40%, rgba(5, 2, 8, 0.82));
}

.join-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 72px;
}

.join-copy p:not(.kicker) {
  max-width: 520px;
  margin: 12px 0 24px;
  color: #ece4f1;
  font-size: 1.08rem;
}

.join-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.join-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 4, 12, 0.62);
  backdrop-filter: blur(10px);
  font-weight: 800;
  transition: transform 0.2s, box-shadow 0.2s;
}

.join-links a img { width: 18px; height: 18px; }
.join-links a:first-child img { filter: brightness(0) invert(1); }
.join-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(157, 255, 26, 0.28);
}

.foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--mute);
}

.foot img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.foot strong {
  display: block;
  color: var(--paper);
  font-family: var(--fat);
  font-weight: 400;
}

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

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

.step:nth-child(2) { animation-delay: 0.08s; }
.step:nth-child(3) { animation-delay: 0.16s; }
.step:nth-child(4) { animation-delay: 0.24s; }
.stat:nth-child(2) { animation-delay: 0.08s; }
.stat:nth-child(3) { animation-delay: 0.16s; }
.stat:nth-child(4) { animation-delay: 0.24s; }

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

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

@keyframes bootBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}

@keyframes ringPulse {
  from { transform: scale(0.9); opacity: 0.7; }
  to { transform: scale(1.25); opacity: 0; }
}

@keyframes titlePulse {
  0%, 100% { text-shadow: 0 0 18px rgba(157, 255, 26, 0.5), 0 0 48px rgba(157, 255, 26, 0.18); }
  50% { text-shadow: 0 0 28px rgba(200, 255, 77, 0.8), 0 0 70px rgba(157, 255, 26, 0.32); }
}

@keyframes totemFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1.4deg); }
}

@keyframes hornSway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(5deg); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.08); }
}

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

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

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav .buy-btn { display: none; }
  .burger { display: grid; }
  .hero,
  .about-grid,
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; min-height: auto; }
  .hero-stage { min-height: 420px; order: -1; }
  .chart-frame iframe { height: 520px; }
  .join-banner { min-height: 560px; }
}

@media (max-width: 640px) {
  .title-fat { font-size: 3rem; }
  .ca-bar { flex-wrap: wrap; }
  .horn { width: 42vw; }
  .join-banner { min-height: 520px; }
}

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
  body.has-cursor { cursor: auto; }
}

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