:root {
  --ink: #1b0f3b;
  --purple: #7b3fe4;
  --lilac: #c9a7ff;
  --yellow: #ffd60a;
  --cream: #fff8e7;
  --pink: #ff7ac8;
  --radius: 28px;
  --shadow: 6px 6px 0 var(--ink);
  --display: "Bagel Fat One", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 122, 200, 0.25), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(123, 63, 228, 0.25), transparent 45%),
    var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
.nav__brand img, .mascot { object-fit: contain; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; }
h2 { font-size: clamp(2.4rem, 6vw, 4rem); text-align: center; margin-bottom: 0.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

section { padding: 6rem 1.5rem; max-width: 1180px; margin: 0 auto; }
.section__lede { text-align: center; font-size: 1.15rem; margin-bottom: 3rem; opacity: 0.8; }

/* Ticker */
.ticker {
  background: var(--ink);
  color: var(--yellow);
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.55rem 0;
}
.ticker__track { display: inline-flex; gap: 2rem; animation: ticker 28s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  background: rgba(255, 248, 231, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-size: 1.5rem; text-decoration: none; }
.nav__links { display: flex; gap: 1.75rem; font-weight: 500; }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--purple); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.15rem;
  text-decoration: none;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn--ghost { background: #fff; }
.btn--small { font-size: 0.95rem; padding: 0.55rem 1.2rem; box-shadow: 4px 4px 0 var(--ink); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding-top: 4rem;
  min-height: calc(100vh - 120px);
}
.pill {
  display: inline-block;
  background: var(--pink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(4.5rem, 13vw, 9.5rem); color: var(--purple); -webkit-text-stroke: 3px var(--ink); text-shadow: 6px 6px 0 var(--ink); }
.hero h1 span { color: var(--yellow); }
.hero__lede { font-size: 1.3rem; max-width: 34ch; margin: 1.75rem 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

.ca {
  display: flex;
  align-items: center;
  max-width: 520px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
}
.ca__label { background: var(--ink); color: var(--yellow); font-weight: 700; padding: 0.75rem 1rem; }
.ca code { flex: 1; padding: 0 1rem; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca__copy {
  font: 700 0.95rem var(--body);
  background: var(--lilac);
  border: 0;
  border-left: 3px solid var(--ink);
  padding: 0.75rem 1.1rem;
  cursor: pointer;
}
.ca__copy:hover { background: var(--yellow); }

.hero__art { position: relative; display: grid; place-items: center; }
.halo {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--yellow), var(--pink), var(--lilac), var(--yellow));
  border: 3px solid var(--ink);
  animation: spin 18s linear infinite;
}
.mascot { position: relative; width: min(450px, 100%); animation: bob 4s ease-in-out infinite; filter: drop-shadow(8px 12px 0 rgba(27, 15, 59, 0.35)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-18px) rotate(-3deg); } }

.sticker {
  position: absolute;
  font-family: var(--display);
  font-size: 1.3rem;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 0.4rem 0.9rem;
  box-shadow: 4px 4px 0 var(--ink);
}
.sticker--one { top: 8%; left: 2%; transform: rotate(-10deg); }
.sticker--two { bottom: 10%; right: 0; transform: rotate(8deg); background: var(--yellow); }

/* About cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.card:nth-child(2) { background: var(--lilac); }
.card:nth-child(3) { background: var(--yellow); }
.card__icon { display: block; font-size: 2.5rem; margin-bottom: 1rem; color: var(--purple); }

/* Tokenomics */
.tokenomics { background: var(--ink); color: var(--cream); border-radius: 48px; max-width: 1180px; }
.tokenomics h2 { color: var(--yellow); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 2rem 1rem;
  border: 3px solid var(--lilac);
  border-radius: 999px 999px var(--radius) var(--radius);
}
.stat__value { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--yellow); word-break: break-word; }
.stat__label { font-weight: 500; opacity: 0.85; }

/* How to buy */
.steps { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.step {
  position: relative;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem 2rem 2rem 6rem;
  box-shadow: var(--shadow);
}
.step__num {
  position: absolute;
  left: 1.5rem;
  top: 1.75rem;
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: var(--yellow);
  border: 3px solid var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
}

/* Roadmap */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.phase {
  background: var(--lilac);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.phase:nth-child(2) { background: var(--pink); }
.phase:nth-child(3) { background: var(--yellow); }
.phase__tag { display: inline-block; font-weight: 700; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 0.2rem 0.8rem; margin-bottom: 1rem; }
.phase ul { list-style: none; display: grid; gap: 0.4rem; margin-top: 0.75rem; }
.phase li::before { content: "● "; color: var(--purple); }

/* Community */
.community { text-align: center; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* Footer */
.footer {
  border-top: 3px solid var(--ink);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .hero__lede { margin-inline: auto; }
  .ca { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__art { order: -1; max-width: 380px; margin: 0 auto; }
  .cards, .phases { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}

@media (max-width: 520px) {
  section { padding: 4rem 1.25rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-radius: var(--radius); }
  .step { padding: 5.5rem 1.5rem 1.75rem; }
}

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