:root {
  --bg: #030712;
  --bg-2: #07111f;
  --ink: #e8f6ff;
  --muted: #8aa3b8;
  --cyan: #5ce1ff;
  --cyan-2: #22d3ee;
  --gold: #e8c36a;
  --gold-2: #f5d78a;
  --line: rgba(92, 225, 255, 0.22);
  --line-gold: rgba(232, 195, 106, 0.35);
  --card: rgba(8, 18, 34, 0.72);
  --glow: rgba(92, 225, 255, 0.55);
  --pad: clamp(20px, 7vw, 96px);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, system-ui, sans-serif;
}

body {
  cursor: none;
  overflow-x: hidden;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(92, 225, 255, 0.14), transparent 60%),
    radial-gradient(700px 480px at 90% 8%, rgba(232, 195, 106, 0.1), transparent 55%),
    radial-gradient(800px 600px at 50% 110%, rgba(34, 211, 238, 0.08), transparent 50%),
    var(--bg);
}

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

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

button {
  font: inherit;
  cursor: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan), 0 0 32px var(--gold);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(232, 195, 106, 0.75);
  box-shadow: 0 0 18px rgba(92, 225, 255, 0.25);
  transition: width 0.18s ease, height 0.18s ease, border-color 0.18s ease;
}

body.is-hover .cursor-ring {
  width: 58px;
  height: 58px;
  border-color: var(--cyan);
}

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

#spark {
  z-index: 1;
}

.scanlines,
.grid-floor,
.orb {
  pointer-events: none;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.18;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(3, 7, 18, 0.55) 2px 3px
  );
}

.grid-floor {
  position: fixed;
  left: -20%;
  right: -20%;
  bottom: -35%;
  height: 55vh;
  z-index: 0;
  background-image:
    linear-gradient(rgba(92, 225, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(500px) rotateX(62deg);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 78%);
  animation: grid-drift 22s linear infinite;
}

.orb {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: orb-float 14s ease-in-out infinite;
}

.orb-a {
  width: 280px;
  height: 280px;
  top: 12%;
  left: -80px;
  background: rgba(92, 225, 255, 0.28);
}

.orb-b {
  width: 220px;
  height: 220px;
  top: 48%;
  right: -60px;
  background: rgba(232, 195, 106, 0.22);
  animation-delay: -4s;
}

.orb-c {
  width: 180px;
  height: 180px;
  bottom: 8%;
  left: 38%;
  background: rgba(34, 211, 238, 0.16);
  animation-delay: -8s;
}

header,
main,
footer {
  position: relative;
  z-index: 3;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad);
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Cinzel, serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 18px rgba(92, 225, 255, 0.35);
}

.nav nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-solid {
  background: linear-gradient(135deg, var(--cyan-2), #67e8f9 40%, var(--gold) 140%);
  color: #041018;
  box-shadow: 0 0 24px rgba(92, 225, 255, 0.28);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(8, 18, 34, 0.5);
}

.btn:hover {
  box-shadow: 0 0 32px rgba(232, 195, 106, 0.35);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding: 72px var(--pad) 48px;
}

.kicker,
.eyebrow,
.tick small,
.card small,
.ca-panel small,
.social small,
.stats small,
.steps small {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}

.kicker,
.status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}

h1,
h2 {
  font-family: Cinzel, serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 14px 0 18px;
}

h1 {
  font-size: clamp(36px, 5.4vw, 72px);
}

h2 {
  font-size: clamp(28px, 3.6vw, 48px);
  max-width: 16ch;
}

h1 em,
h2 em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(92, 225, 255, 0.35);
}

.lede,
.about p,
.card p,
.steps p,
.disclaimer {
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

.lede {
  max-width: 58ch;
  font-size: 18px;
}

.lede strong {
  color: var(--gold-2);
  font-weight: 600;
}

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

.status {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.sep {
  opacity: 0.4;
}

.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glitch::before {
  color: var(--cyan);
  clip-path: inset(0 0 58% 0);
  transform: translate(-2px, -1px);
  opacity: 0.45;
  animation: glitch-a 3.2s infinite linear alternate-reverse;
}

.glitch::after {
  color: var(--gold);
  clip-path: inset(62% 0 0 0);
  transform: translate(2px, 1px);
  opacity: 0.4;
  animation: glitch-b 2.6s infinite linear alternate-reverse;
}

.hero-hud {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.hero-hud img {
  width: 62%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 40px rgba(92, 225, 255, 0.4);
  z-index: 1;
}

.hud-ring {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(92, 225, 255, 0.35);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.hud-ring.delay {
  inset: 0;
  border-style: solid;
  border-color: rgba(232, 195, 106, 0.28) transparent rgba(232, 195, 106, 0.28) transparent;
  animation-duration: 12s;
  animation-direction: reverse;
}

.hud-ring.delay-2 {
  inset: 18%;
  border: 1px solid rgba(92, 225, 255, 0.18);
  animation-duration: 24s;
}

.banner-band {
  margin: 8px var(--pad) 0;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(92, 225, 255, 0.12);
}

.banner-band img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  animation: banner-drift 18s ease-in-out infinite alternate;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0 var(--pad);
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
}

.tick {
  background: var(--bg-2);
  padding: 18px 16px;
}

.tick b {
  display: block;
  margin-top: 6px;
  font-family: Cinzel, serif;
  font-size: 18px;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-gold);
  margin: 28px 0 8px;
  padding: 12px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}

.about,
.pillars,
.gallery,
.tokenomics,
.buy,
.community {
  padding: 88px var(--pad) 24px;
}

.quote {
  margin: 24px var(--pad) 0;
  padding: 48px 40px;
  border: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(232, 195, 106, 0.08), rgba(8, 18, 34, 0.5));
  text-align: center;
}

.quote blockquote {
  margin: 0;
  font-family: Cinzel, serif;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.35;
}

.quote cite {
  display: block;
  margin-top: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow {
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
}

.about p,
.card p {
  margin: 0;
  font-size: 16px;
}

.cards,
.stats,
.socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.card,
.stats article,
.social,
.ca-panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.social:hover,
.stats article:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 195, 106, 0.5);
  box-shadow: 0 12px 40px rgba(92, 225, 255, 0.12);
}

.card h3 {
  font-family: Cinzel, serif;
  margin: 12px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.03);
  box-shadow: 0 0 36px rgba(92, 225, 255, 0.35);
}

.gallery-grid figcaption {
  margin-top: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats b {
  display: block;
  font-family: Cinzel, serif;
  font-size: 26px;
  margin: 10px 0 6px;
}

.stats span,
.social span {
  color: var(--muted);
  font-size: 14px;
}

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

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 22px;
}

.steps h3 {
  font-family: Cinzel, serif;
  margin: 8px 0;
}

.ca-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 0 40px rgba(92, 225, 255, 0.1);
}

.ca {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--cyan);
  word-break: break-all;
  margin: 0;
}

.copied {
  font-family: "IBM Plex Mono", monospace;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dex-row a {
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.dex-row a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.socials {
  grid-template-columns: 1fr 1fr;
}

.social b {
  display: block;
  font-family: Cinzel, serif;
  font-size: 28px;
  margin: 10px 0 6px;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 40px var(--pad) 56px;
  border-top: 1px solid var(--line);
  margin-top: 64px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.footer-brand b {
  display: block;
  font-family: Cinzel, serif;
}

.footer-brand span,
.disclaimer {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(3, 7, 18, 0.88);
  display: grid;
  place-items: center;
  padding: 32px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: min(1100px, 92vw);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(92, 225, 255, 0.25);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1;
}

@keyframes pulse {
  0%,
  100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}

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

@keyframes orb-float {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(30px, -24px, 0); }
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 0 54px; }
}

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

@keyframes banner-drift {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

@keyframes glitch-a {
  0% { transform: translate(-2px, -1px); }
  20% { transform: translate(2px, 1px); }
  40% { transform: translate(-1px, 2px); }
  100% { transform: translate(1px, -2px); }
}

@keyframes glitch-b {
  0% { transform: translate(2px, 1px); }
  30% { transform: translate(-2px, -1px); }
  100% { transform: translate(1px, 2px); }
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .buy-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .nav nav {
    display: none;
  }

  .ticker,
  .cards,
  .stats,
  .gallery-grid,
  .socials {
    grid-template-columns: 1fr 1fr;
  }

  h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .ticker,
  .cards,
  .stats,
  .gallery-grid,
  .socials {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }
}

@media (pointer: coarse) {
  body,
  button {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

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

  .scanlines,
  .grid-floor {
    display: none;
  }
}
