:root {
  --ink: #050806;
  --panel: #0d130d;
  --paper: #f4ffe8;
  --muted: #b8c9ad;
  --line: rgba(198, 255, 76, 0.2);
  --acid: #9cff12;
  --green: #4bea32;
  --deep: #081008;
  --blue: #1197ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  --mx: 50%;
  --my: 30%;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(156, 255, 18, 0.16), transparent 18rem),
    radial-gradient(circle at 18% 8%, rgba(156, 255, 18, 0.2), transparent 30%),
    radial-gradient(circle at 85% 22%, rgba(17, 151, 255, 0.14), transparent 28%),
    var(--ink);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 5;
  background-image: radial-gradient(circle at 20% 10%, var(--paper) 0 1px, transparent 1px);
  background-size: 13px 13px;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(156, 255, 18, 0.26);
  border-radius: 999px;
  background: rgba(5, 8, 6, 0.76);
  backdrop-filter: blur(16px);
}

.brand, nav, .hero-actions, .steps, .token-section {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  font-family: Lilita One, Inter, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 20px;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 2px solid var(--acid);
}

nav { gap: clamp(10px, 1.35vw, 18px); }
nav a, .mini-buy, .primary, .secondary {
  color: var(--paper);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
}

nav a {
  position: relative;
  font-size: clamp(11px, 0.95vw, 13px);
  color: var(--muted);
  transition: color 220ms ease, transform 220ms ease;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
nav a:hover {
  color: var(--paper);
  transform: translateY(-1px);
}
nav a:hover::after { transform: scaleX(1); }
.mini-buy, .primary, .secondary, .copy-ca {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.mini-buy, .primary {
  background: var(--acid);
  color: #061006;
  box-shadow: 0 0 28px rgba(156, 255, 18, 0.36), 0 10px 26px rgba(0, 0, 0, 0.28);
}

.mini-buy { padding: 12px 16px; border-radius: 999px; font-size: 13px; white-space: nowrap; }

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 72px) 74px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(156, 255, 18, 0.2), transparent 14rem);
  mix-blend-mode: screen;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 6, 0.94), rgba(5, 8, 6, 0.22), rgba(5, 8, 6, 0.72)),
    linear-gradient(0deg, var(--ink), transparent 35%),
    url("assets/loading-cat-space.jpg") center / cover;
  transform: scale(1.02);
  filter: saturate(1.18) contrast(1.08);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(780px, 100%);
  animation: heroRise 900ms ease both;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.planet, .star, .rocket {
  position: absolute;
  display: block;
}

.planet {
  border-radius: 50%;
  border: 2px solid rgba(156, 255, 18, 0.75);
  background:
    radial-gradient(circle at 35% 30%, rgba(244, 255, 232, 0.95), rgba(156, 255, 18, 0.85) 28%, rgba(9, 18, 8, 0.96) 62%);
  box-shadow: 0 0 34px rgba(156, 255, 18, 0.42);
}

.planet::after {
  content: "";
  position: absolute;
  left: -22%;
  right: -22%;
  top: 45%;
  height: 14%;
  border: 2px solid rgba(156, 255, 18, 0.8);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-14deg);
}

.planet-one {
  width: 118px;
  height: 118px;
  top: 16%;
  right: 13%;
  animation: floatPlanet 8s ease-in-out infinite;
}

.planet-two {
  width: 72px;
  height: 72px;
  top: 34%;
  right: 34%;
  opacity: 0.72;
  animation: floatPlanet 10s ease-in-out infinite reverse;
}

.planet-three {
  width: 46px;
  height: 46px;
  left: 9%;
  top: 22%;
  opacity: 0.68;
  animation: floatPlanet 7s ease-in-out infinite;
}

.rocket {
  left: -8%;
  top: 55%;
  color: var(--acid);
  font-size: 48px;
  filter: drop-shadow(0 0 18px rgba(156, 255, 18, 0.8));
  transform: rotate(78deg);
  animation: rocketFly 7s linear infinite;
}

.star {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 20px var(--paper);
  animation: twinkle 1.8s ease-in-out infinite alternate;
}
.star-one { top: 18%; left: 48%; }
.star-two { top: 28%; left: 77%; animation-delay: 500ms; }
.star-three { top: 58%; left: 88%; animation-delay: 900ms; }

.eyebrow, .section-kicker {
  margin: 0 0 14px;
  color: var(--acid);
  font-family: Lilita One, Inter, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

h1, h2 {
  font-family: Bangers, Impact, fantasy;
  letter-spacing: 0;
  margin: 0;
  line-height: 0.9;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(5, 8, 6, 0.9);
  text-shadow:
    0 5px 0 #061006,
    0 0 34px rgba(156, 255, 18, 0.35);
}

h1 {
  font-size: clamp(82px, 15vw, 210px);
  max-width: 8ch;
}

h2 { font-size: clamp(46px, 8vw, 104px); }
h3 {
  margin: 12px 0 8px;
  font-family: Lilita One, Inter, sans-serif;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}
p { line-height: 1.55; color: var(--muted); font-weight: 800; }
.tagline {
  max-width: 660px;
  font-family: Lilita One, Inter, sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  color: var(--paper);
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.38);
}

.hero-actions { gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 16px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.primary:hover, .secondary:hover, .mini-buy:hover, .link-wall a:hover {
  transform: translateY(-3px);
}
.primary:hover, .mini-buy:hover {
  box-shadow: 0 0 40px rgba(156, 255, 18, 0.5), 0 16px 34px rgba(0, 0, 0, 0.34);
}
.secondary {
  background: rgba(156, 255, 18, 0.08);
  border: 1px solid var(--line);
}

section:not(.hero) { padding: 86px clamp(18px, 5vw, 72px); }

.story-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1fr;
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.story-art img, .split-banner img, .gallery-grid img, .token-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
}
.story-art img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  filter: saturate(1.12) contrast(1.04);
  animation: softFloat 5.5s ease-in-out infinite;
}
.story-copy p { font-size: 18px; }

.split-banner {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.split-banner img {
  position: absolute;
  inset: 0;
  height: 100%;
  border: 0;
  filter: saturate(1.14) contrast(1.05);
  animation: slowZoom 12s ease-in-out infinite alternate;
}
.split-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,8,6,0.88), rgba(5,8,6,0.12));
}
.split-banner div { position: relative; z-index: 1; }
.split-banner p { color: var(--acid); font-weight: 900; text-transform: uppercase; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}
.section-head h2 { max-width: 780px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 170px;
  gap: 16px;
}
figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid rgba(156, 255, 18, 0.18);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
}
figure img { width: 100%; height: 100%; border: 0; transition: transform 500ms ease, filter 500ms ease; filter: saturate(1.12); }
figure:hover img { transform: scale(1.05); }
.gallery-grid .wide { grid-column: span 3; grid-row: span 2; }
.gallery-grid .tall { grid-column: span 2; grid-row: span 2; }
.gallery-grid figure:not(.wide):not(.tall) { grid-column: span 2; }

.buy-section {
  background:
    linear-gradient(rgba(244, 255, 232, 0.9), rgba(244, 255, 232, 0.9)),
    url("assets/loading-cat-floor.jpg") center / cover;
  color: var(--ink);
}
.buy-section p, .buy-section .section-kicker { color: #31511e; }
.ca-card {
  width: min(760px, 100%);
  padding: 18px;
  border: 2px solid #071008;
  border-radius: 8px;
  background: var(--acid);
  color: #061006;
  box-shadow: 8px 8px 0 #071008;
}
.ca-card span {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
  text-transform: uppercase;
}
.ca-card button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: clamp(13px, 2vw, 20px);
  font-weight: 900;
  text-align: left;
  overflow-wrap: anywhere;
}
.steps {
  align-items: stretch;
  gap: 14px;
}
.steps article {
  flex: 1;
  min-width: 0;
  padding: 24px;
  border: 2px solid #071008;
  border-radius: 8px;
  background: rgba(255, 255, 246, 0.88);
  box-shadow: 8px 8px 0 #071008;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.steps article:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 12px 14px 0 #071008;
}
.steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-weight: 900;
}

.token-section {
  gap: clamp(26px, 5vw, 70px);
  background:
    linear-gradient(90deg, rgba(5, 8, 6, 0.94), rgba(5, 8, 6, 0.5)),
    url("assets/loading-cat-storm.jpg") center / cover;
}
.token-visual, .token-panel { flex: 1; min-width: 0; }
.token-visual img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(156, 255, 18, 0.22), 0 24px 80px rgba(0, 0, 0, 0.5);
  filter: saturate(1.1);
  animation: logoPulse 3.4s ease-in-out infinite;
}
.token-panel dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.token-panel dl div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 240, 229, 0.06);
}
.contract-detail {
  grid-column: 1 / -1;
}
dt { color: var(--muted); font-size: 13px; text-transform: uppercase; font-weight: 900; }
dd { margin: 8px 0 0; font-size: 20px; font-weight: 900; overflow-wrap: anywhere; }
.full { width: 100%; }

.roadmap { background: #061006; }
.road-row {
  display: grid;
  grid-template-columns: 120px 220px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 220ms ease, background 220ms ease;
}
.road-row:hover {
  transform: translateX(10px);
  background: rgba(156, 255, 18, 0.06);
}
.road-row span { color: var(--acid); font-weight: 900; text-transform: uppercase; }
.road-row strong { font-family: Bangers, Impact, fantasy; font-size: 54px; }

.links-section {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.links-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.1);
  animation: slowZoom 13s ease-in-out infinite alternate;
}
.links-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 8, 6, 0.96), rgba(5, 8, 6, 0.12) 60%, rgba(5, 8, 6, 0.78)),
    radial-gradient(circle at 72% 32%, rgba(156, 255, 18, 0.2), transparent 28%);
}
.links-content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
}
.link-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.link-wall a {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(156, 255, 18, 0.35);
  border-radius: 8px;
  background: rgba(5, 8, 6, 0.72);
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(244, 255, 232, 0.05);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.link-wall a:hover {
  border-color: var(--acid);
  box-shadow: 0 0 28px rgba(156, 255, 18, 0.2), inset 0 0 0 1px rgba(244, 255, 232, 0.1);
}
.link-wall svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}
.link-wall a:first-child {
  background: var(--acid);
  color: var(--ink);
}

footer {
  padding: 34px clamp(18px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.8%, 1.2%, 0); }
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(34px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes rocketFly {
  0% { transform: translate(-10vw, 18vh) rotate(72deg); opacity: 0; }
  12% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(118vw, -44vh) rotate(72deg); opacity: 0; }
}

@keyframes twinkle {
  from { opacity: 0.35; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1.35); }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

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

@media (max-width: 860px) {
  nav { display: none; }
  .hero { min-height: 88vh; padding-top: 120px; }
  .story-section, .token-section, .road-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-grid .wide, .gallery-grid .tall, .gallery-grid figure:not(.wide):not(.tall) { grid-column: span 1; grid-row: span 1; }
  .steps { flex-direction: column; }
  .section-head { display: block; }
  .token-panel dl { grid-template-columns: 1fr; }
  .link-wall { grid-template-columns: repeat(2, 1fr); }
  footer { display: block; }
}

@media (max-width: 520px) {
  .site-header { top: 8px; width: calc(100% - 16px); }
  .brand span { font-size: 13px; }
  .brand img { width: 34px; height: 34px; }
  .mini-buy { padding: 10px 12px; }
  h1 { font-size: 74px; }
  h2 { font-size: 46px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .link-wall { grid-template-columns: 1fr; }
  section:not(.hero) { padding-top: 64px; padding-bottom: 64px; }
}
