:root {
  --ink: #16121f;
  --paper: #fff9df;
  --blue: #0759ff;
  --sky: #58b8ff;
  --green: #21c95b;
  --yellow: #ffe048;
  --orange: #ff8a1f;
  --red: #ff315d;
  --pink: #ff5fc8;
  --violet: #7747ff;
  --shadow: 0 24px 70px rgba(19, 17, 43, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 28px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 18px;
  border: 3px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav-x,
.button,
.contract-pill,
.status-box,
.meme-card,
.roadmap article {
  box-shadow: 0 12px 0 rgba(22, 18, 31, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--yellow), var(--orange) 48%, var(--red));
  border: 2px solid white;
}

.nav-links {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.nav-links a,
.nav-x {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.nav-links a {
  padding: 0 16px;
}

.nav-x {
  width: 44px;
  color: white;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 116px 20px 40px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.2)),
    url("assets/hero-wide.png") center / cover no-repeat;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 224, 72, 0.24), transparent 32%),
    linear-gradient(90deg, rgba(7, 89, 255, 0.26), rgba(255, 95, 200, 0.24));
}

.hero-shine {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(0deg, rgba(255, 249, 223, 0.84), transparent);
}

.hero-content {
  width: min(940px, 100%);
  text-align: center;
  color: white;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
}

.eyebrow {
  margin: 0 0 14px;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: clamp(0.94rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue);
  text-shadow: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: clamp(4.1rem, 14vw, 10.5rem);
  line-height: 0.78;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: clamp(2.2rem, 6vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
}

.hero-copy,
.copy-panel p,
.coin-copy p,
.meme-card p,
.roadmap p {
  font-size: clamp(1rem, 2.1vw, 1.34rem);
  font-weight: 700;
  line-height: 1.45;
}

.hero-copy {
  width: min(760px, 100%);
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 3px solid white;
  border-radius: 999px;
  font-weight: 900;
  text-shadow: none;
}

.button.primary {
  color: white;
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: var(--yellow);
}

.contract-pill {
  position: absolute;
  right: max(20px, calc((100vw - 1120px) / 2));
  bottom: 32px;
  padding: 14px 18px;
  border: 3px solid white;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.rainbow-section {
  position: relative;
  padding: 96px 20px;
  background:
    linear-gradient(180deg, rgba(255, 249, 223, 0.9), rgba(255, 249, 223, 0.24)),
    url("assets/rainbow-field.png") center / cover no-repeat;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.meme-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.copy-panel {
  min-height: 360px;
  padding: clamp(24px, 5vw, 50px);
  border: 4px solid white;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.copy-panel p {
  max-width: 650px;
}

.meme-card,
.roadmap article {
  padding: 26px;
  border: 4px solid white;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
}

.meme-card span,
.roadmap span {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: var(--violet);
  font-weight: 900;
}

.meme-card:nth-child(3) span {
  background: var(--green);
}

.meme-card:nth-child(4) span {
  background: var(--red);
}

.coin-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  align-items: center;
  gap: 40px;
  padding: 96px max(20px, calc((100vw - 1120px) / 2));
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 224, 72, 0.9), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 95, 200, 0.58), transparent 30%),
    linear-gradient(135deg, #ffffff, #d8ff6a 38%, #68d8ff);
}

.coin-copy {
  max-width: 560px;
}

.status-box {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  min-width: 250px;
  margin-top: 12px;
  padding: 18px 22px;
  border: 4px solid white;
  border-radius: 24px;
  background: var(--ink);
  color: white;
}

.status-box span {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.status-box strong {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 2rem;
}

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

.coin-stage::before {
  position: absolute;
  width: min(92%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: conic-gradient(
    from 90deg,
    var(--red),
    var(--orange),
    var(--yellow),
    var(--green),
    var(--sky),
    var(--violet),
    var(--pink),
    var(--red)
  );
  filter: blur(4px);
  animation: spin 12s linear infinite;
}

.coin-stage img {
  position: relative;
  width: min(82vw, 470px);
  aspect-ratio: 1;
  border: 7px solid white;
  border-radius: 50%;
  box-shadow: var(--shadow);
  object-fit: cover;
  animation: float 4.2s ease-in-out infinite;
}

.roadmap-section {
  padding: 96px 20px;
  background: linear-gradient(180deg, #fff9df, #ffffff);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.roadmap article:nth-child(1) {
  background: #e4f7ff;
}

.roadmap article:nth-child(2) {
  background: #fff09e;
}

.roadmap article:nth-child(3) {
  background: #ffd8ef;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px;
  color: white;
  background: var(--ink);
  font-weight: 900;
}

.footer a {
  color: var(--yellow);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

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

@media (max-width: 820px) {
  .topbar {
    top: 10px;
    min-height: 54px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 96px;
    background-position: center;
  }

  .contract-pill {
    right: 16px;
    bottom: 18px;
    max-width: calc(100% - 32px);
    font-size: 0.86rem;
  }

  .meme-grid,
  .coin-section,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .rainbow-section,
  .coin-section,
  .roadmap-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .coin-stage {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .copy-panel,
  .meme-card,
  .roadmap article {
    border-radius: 22px;
  }
}
