:root {
  --ink: #1c140c;
  --orange: #ff8a1d;
  --mint: #7de3b0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Outfit, system-ui, sans-serif;
  background: #100c08;
  overflow-x: hidden;
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(#fff 0.55px, transparent 0.65px);
  background-size: 3px 3px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4vw;
  background: rgba(255, 247, 234, 0.84);
  backdrop-filter: blur(18px);
}

.nav.is-stuck { box-shadow: 0 12px 32px rgba(20, 10, 0, 0.1); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Lilita One", sans-serif;
  font-size: 1.35rem;
}

.nav-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
}

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

.nav-links > a:not(.icon-btn) {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-links > a:not(.icon-btn):hover { background: rgba(28, 20, 12, 0.06); }

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.icon-x { background: #111; color: #fff; }
.icon-buy { background: var(--orange); color: #1c140c; }
.icon-dex { background: var(--mint); color: #1c140c; }

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

/* WORLDS */
.world {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 72px 0;
}

.sunset {
  background:
    radial-gradient(circle at 78% 18%, #fff1b0 0 8%, transparent 9%),
    radial-gradient(ellipse at 70% 30%, #ffd36a 0%, transparent 42%),
    linear-gradient(180deg, #ffcf70 0%, #ff9a3c 48%, #f07828 100%);
}

.sun {
  position: absolute;
  right: 14%;
  top: 10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6c2 0%, #ffd36a 38%, rgba(255, 160, 60, 0) 70%);
  filter: blur(2px);
  animation: pulse 6s ease-in-out infinite;
}

.hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  background:
    radial-gradient(120% 80% at 20% 100%, #6aa24a 0 36%, transparent 37%),
    radial-gradient(90% 70% at 80% 100%, #4f8a38 0 40%, transparent 41%),
    linear-gradient(180deg, transparent, rgba(60, 110, 40, 0.35));
}

.meadow {
  background:
    radial-gradient(ellipse at 20% 0%, #fff 0%, transparent 28%),
    linear-gradient(180deg, #74c4ff 0%, #8fd0ff 38%, #b7e58c 100%);
}

.clouds {
  position: absolute;
  inset: 8% 0 auto;
  height: 120px;
  background:
    radial-gradient(circle at 18% 50%, rgba(255,255,255,0.7) 0 40px, transparent 41px),
    radial-gradient(circle at 28% 46%, rgba(255,255,255,0.65) 0 28px, transparent 29px),
    radial-gradient(circle at 72% 40%, rgba(255,255,255,0.6) 0 36px, transparent 37px);
}

.rain {
  background:
    radial-gradient(ellipse at 80% 80%, rgba(255, 196, 90, 0.16), transparent 36%),
    linear-gradient(180deg, #12192b 0%, #1a2236 60%, #0d1322 100%);
}

.raindrops {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    118deg,
    transparent 0 14px,
    rgba(255,255,255,0.08) 14px 15px
  );
  animation: rain 1.1s linear infinite;
  opacity: 0.35;
}

.moon {
  background:
    radial-gradient(circle at 22% 22%, #fff6d2 0 3%, transparent 4%),
    radial-gradient(circle at 70% 18%, rgba(255,255,220,0.16), transparent 12%),
    linear-gradient(180deg, #070b16 0%, #141c32 58%, #1a1730 100%);
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 28% 36%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 63% 14%, #fff 0 1.2px, transparent 2px),
    radial-gradient(circle at 81% 30%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 44% 12%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 90% 48%, #fff 0 1px, transparent 2px);
  animation: twinkle 3.4s ease-in-out infinite;
}

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

@keyframes rain {
  to { background-position: 80px 140px; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-shell,
.moon-shell { grid-template-columns: 0.95fr 1.05fr; }

.frame {
  margin: 0;
  width: min(500px, 100%);
  justify-self: center;
}

.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 28px;
  box-shadow:
    0 28px 60px rgba(16, 8, 0, 0.28),
    0 0 0 8px rgba(255, 255, 255, 0.18);
}

.tilt-left { transform: perspective(1100px) rotateY(-10deg) rotateX(3deg); }
.tilt-right { transform: perspective(1100px) rotateY(10deg) rotateX(3deg); }
.glow { box-shadow: 0 0 80px rgba(255, 210, 120, 0.18); }

.copy h1,
.copy h2 {
  margin: 0 0 12px;
  font-family: "Lilita One", sans-serif;
  line-height: 0.9;
}

.copy h1 {
  font-size: clamp(4.4rem, 10vw, 8.4rem);
  color: #fff8ee;
  text-shadow: 0 10px 0 rgba(110, 42, 8, 0.16);
}

.copy h2 { font-size: clamp(3.2rem, 7vw, 5.6rem); }

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28, 20, 12, 0.58);
}

.night .eyebrow { color: #ffd27a; }
.night { color: #fff3e0; }

.ticker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #1c140c;
  color: #ffd36a;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lead,
.copy p {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 550;
  max-width: 40ch;
}

.lead { font-size: 1.18rem; font-weight: 650; color: #2a1a10; }
.lead.pale { color: #f4e7cc; }

.meta {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.meta li {
  background: rgba(255, 255, 255, 0.74);
  border-radius: 16px;
  padding: 12px;
}

.meta span {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 0 rgba(20, 10, 0, 0.16);
}

.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #1c140c; }
.btn-mint { background: var(--mint); color: #1c140c; }
.btn-dark { background: #111; color: #fff; }

.beats {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.beats li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
}

.beats span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #1c140c;
  font-family: "Lilita One", sans-serif;
}

.beats h3 { margin: 0 0 4px; font-size: 1.1rem; }
.beats p { margin: 0; opacity: 0.78; font-size: 0.94rem; }

.ca {
  margin: 20px 0 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 10px 10px 14px;
  border-radius: 16px;
  background: rgba(255, 247, 234, 0.08);
  border: 1px solid rgba(255, 247, 234, 0.12);
}

.ca code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
}

.ca button {
  border: 0;
  border-radius: 12px;
  padding: 8px 12px;
  background: #fff7ea;
  color: #1c140c;
  font-weight: 700;
}

.link-stack { display: grid; gap: 10px; margin-top: 8px; }

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 800;
}

.link-card svg { width: 20px; height: 20px; fill: currentColor; }
.link-card.x { background: #111; color: #fff; }
.link-card.buy { background: var(--orange); color: #1c140c; }
.link-card.dex { background: var(--mint); color: #1c140c; }

.footer { background: #0b0b0b; }
.banner {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 4vw 22px;
  color: #d7c7ae;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .nav-burger { display: grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px;
    background: #fff7ea;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.is-open { display: flex; }
  .shell,
  .about-shell,
  .moon-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tilt-left, .tilt-right { transform: none; }
  .about-shell { display: flex; flex-direction: column-reverse; }
  .copy h1 { font-size: clamp(3.6rem, 18vw, 5.2rem); }
  .meta { grid-template-columns: 1fr; }
}
