:root {
  --mustard: #d9a21a;
  --mustard-deep: #b07f0c;
  --mustard-hot: #f2c53b;
  --mustard-ink: #7a5608;
  --cream: #f6efe0;
  --cream-hot: #fff8ea;
  --cocoa: #2b1a0c;
  --cocoa-soft: #5c3d1a;
  --shadow: rgba(74, 48, 8, 0.38);
  --ink: #1a1008;
  --display: "Titan One", "Bungee", system-ui, sans-serif;
  --shade: "Bungee Shade", "Bungee", system-ui, sans-serif;
  --stamp: "Bungee", "Titan One", system-ui, sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --radius: 2rem;
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(255, 236, 170, 0.55), transparent 55%),
    radial-gradient(900px 600px at 110% 8%, rgba(176, 127, 12, 0.35), transparent 50%),
    linear-gradient(180deg, #e8b423 0%, #d9a21a 38%, #c89212 100%);
  overflow-x: hidden;
}

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

.grain,
.wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.grain {
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.6s steps(2) infinite;
}

.wash {
  z-index: 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 248, 234, 0.16), transparent 36%),
    radial-gradient(circle at 80% 70%, rgba(122, 86, 8, 0.12), transparent 32%);
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: soft-light;
}

.orb-a {
  width: 34vw;
  height: 34vw;
  left: -8vw;
  top: 18vh;
  background: #fff1b0;
  animation: orbDrift 18s ease-in-out infinite;
}

.orb-b {
  width: 28vw;
  height: 28vw;
  right: -6vw;
  top: 8vh;
  background: #8d5d08;
  animation: orbDrift 22s ease-in-out infinite reverse;
}

.orb-c {
  width: 40vw;
  height: 40vw;
  left: 30vw;
  bottom: -16vw;
  background: #f6d56a;
  animation: orbDrift 26s ease-in-out infinite 2s;
}

.floaters { position: fixed; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }

.floater {
  position: absolute;
  width: 56px;
  height: 56px;
  background: url("../assets/swirl.svg") center / contain no-repeat;
  opacity: 0.18;
  filter: drop-shadow(0 10px 0 rgba(90, 58, 8, 0.18));
  animation: floatSpin linear infinite;
}

.cursor-swirl {
  position: fixed;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background: url("../assets/swirl.svg") center / contain no-repeat;
  pointer-events: none;
  z-index: 90;
  opacity: 0;
  filter: drop-shadow(0 6px 0 rgba(90, 58, 8, 0.25));
  transition: opacity 0.25s ease;
}

body.is-fine .cursor-swirl { opacity: 0.55; }

.boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #d9a21a;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.boot.is-out {
  opacity: 0;
  visibility: hidden;
}

.boot-coin {
  width: min(42vw, 220px);
  border-radius: 50%;
  animation: coinIn 1.1s cubic-bezier(0.22, 1.4, 0.36, 1) both;
  filter: drop-shadow(0 18px 0 rgba(90, 58, 8, 0.28));
}

.boot-word {
  margin-top: 1rem;
  font-family: var(--stamp);
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 1.5rem));
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.75rem 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(246, 239, 224, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 0 rgba(90, 58, 8, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: width 0.35s ease, box-shadow 0.35s ease;
}

.nav.is-thin { box-shadow: 0 10px 0 rgba(90, 58, 8, 0.16); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--stamp);
  font-size: 0.95rem;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  animation: bob 4.5s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-buy,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nav-buy {
  padding: 0.55rem 0.95rem;
  background: var(--mustard-hot);
  box-shadow: 0 6px 0 var(--mustard-ink);
}

.nav-buy img,
.btn img { width: 18px; height: 18px; object-fit: contain; }

.nav-buy:hover,
.btn:hover { transform: translateY(-2px); }
.nav-buy:active,
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--mustard-ink); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-hot);
  position: relative;
}

.nav-toggle i {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--ink);
  border-radius: 99px;
}

.nav-toggle i:first-child { top: 16px; }
.nav-toggle i:last-child { bottom: 16px; }

main { position: relative; z-index: 3; }

.hero {
  position: relative;
  min-height: 100vh;
  padding: 8.5rem 1.25rem 4rem;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  width: 52vw;
  height: 52vw;
  left: 4%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 220, 0.55), transparent 68%);
  animation: pulseSoft 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.hero-coin-wrap {
  position: relative;
  perspective: 900px;
  display: grid;
  place-items: center;
}

.hero-coin {
  width: min(100%, 460px);
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: bob 5s ease-in-out infinite;
  filter: drop-shadow(0 28px 0 rgba(90, 58, 8, 0.22));
}

.hero-coin-shadow {
  position: absolute;
  width: 62%;
  height: 18%;
  bottom: 2%;
  border-radius: 50%;
  background: rgba(70, 42, 6, 0.28);
  filter: blur(16px);
  animation: shadowBreath 5s ease-in-out infinite;
}

.hero-ring {
  position: absolute;
  inset: 6%;
  border: 3px dashed rgba(246, 239, 224, 0.55);
  border-radius: 50%;
  animation: spinSlow 28s linear infinite;
  pointer-events: none;
}

.stamp {
  font-family: var(--stamp);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cocoa-soft);
}

h1 {
  margin: 0.4rem 0 0.2rem;
  line-height: 0.86;
}

h1 .shade {
  display: block;
  font-family: var(--shade);
  font-size: clamp(3.1rem, 9vw, 7.4rem);
  color: var(--cream-hot);
  text-shadow:
    0 8px 0 #8a5d0b,
    0 16px 0 rgba(90, 58, 8, 0.25);
  animation: titleLift 1.1s cubic-bezier(0.22, 1.15, 0.36, 1) both;
}

h1 .drip { animation-delay: 0.12s; }

h1 .drip::after {
  content: "";
  display: block;
  width: 46%;
  height: 14px;
  margin-top: -6px;
  background:
    radial-gradient(circle at 12% 0, var(--cream-hot) 8px, transparent 9px),
    radial-gradient(circle at 38% 4px, var(--cream-hot) 7px, transparent 8px),
    radial-gradient(circle at 68% 0, var(--cream-hot) 9px, transparent 10px),
    radial-gradient(circle at 90% 6px, var(--cream-hot) 6px, transparent 7px);
  animation: drip 2.8s ease-in-out infinite;
}

.hero-symbol {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--cocoa);
  margin: 0.55rem 0 0.85rem;
}

.hero-lead {
  max-width: 34rem;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--cocoa);
}

.ca-chip {
  margin: 1.4rem 0 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: max-content;
  max-width: 100%;
  padding: 0.7rem 0.7rem 0.7rem 0.85rem;
  border-radius: 999px;
  background: var(--cream);
  box-shadow: 0 10px 0 rgba(90, 58, 8, 0.18);
}

.ca-chip img { width: 28px; height: 28px; border-radius: 50%; }
.ca-chip small { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ca-chip strong { font-size: 0.92rem; word-break: break-all; }
.ca-chip button {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--cocoa);
  color: var(--cream);
  font-weight: 800;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn { padding: 0.9rem 1.15rem; }
.btn-mustard { background: var(--mustard-hot); box-shadow: 0 8px 0 var(--mustard-ink); }
.btn-cream { background: var(--cream); box-shadow: 0 8px 0 rgba(90, 58, 8, 0.22); }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 0 8px 0 #000; }
.btn-ink img:not([src*="pumpswap"]) { filter: invert(1) sepia(0.25) hue-rotate(5deg); }

.ticker {
  overflow: hidden;
  border-block: 3px solid rgba(43, 26, 12, 0.16);
  background: rgba(246, 239, 224, 0.42);
  padding: 0.85rem 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: max-content;
  font-family: var(--stamp);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  animation: marquee 28s linear infinite;
}

.ticker-track b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cocoa);
  display: inline-block;
}

section { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 5.5rem 0 1rem; }

.section-head { margin-bottom: 2rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
}

.void-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.coaster,
.manifesto,
.step,
.chart-frame,
.poster {
  background: var(--cream);
  border-radius: 1.6rem;
  box-shadow: 0 14px 0 rgba(90, 58, 8, 0.16);
}

.coaster { padding: 1.25rem; }
.coaster strong {
  font-family: var(--display);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.4rem;
}

.manifesto { padding: 1.8rem 1.7rem 2rem; }
.manifesto-kicker {
  font-family: var(--stamp);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.manifesto p:last-child { font-size: 1.12rem; line-height: 1.7; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.3rem 1.15rem 1.4rem;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 20%;
  height: 80%;
  border-radius: 50%;
  background: rgba(217, 162, 26, 0.18);
}

.step-coin {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--mustard-hot);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 0 rgba(90, 58, 8, 0.18);
  margin-bottom: 1rem;
  animation: bob 4.8s ease-in-out infinite;
}

.step-coin img { width: 40px; height: 40px; object-fit: contain; border-radius: 12px; }
.step:last-child .step-coin img { width: 58px; height: 58px; border-radius: 50%; }
.step-num { font-family: var(--stamp); font-size: 0.75rem; color: var(--cocoa-soft); }
.step h3 { font-family: var(--display); font-size: 1.35rem; margin: 0.25rem 0 0.45rem; }
.step p { line-height: 1.45; }
.step a {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 800;
}

.chart .section-head { display: grid; gap: 0.4rem; }
.chart-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  text-decoration: none;
}
.chart-link img { width: 22px; height: 22px; }

.chart-frame {
  padding: 0.7rem;
  overflow: hidden;
}

#dexscreener-embed {
  position: relative;
  width: 100%;
  padding-bottom: 118%;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #111;
}

#dexscreener-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.poster {
  overflow: hidden;
  padding: 0.7rem;
}

.poster-art {
  width: 100%;
  border-radius: 1.2rem;
  animation: ken 22s ease-in-out infinite alternate;
  transform-origin: center;
}

.poster-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0.6rem 0.55rem;
}

.poster-bar p { font-weight: 700; max-width: 28rem; }

.socials { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: var(--mustard-hot);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 6px 0 var(--mustard-ink);
  transition: transform 0.18s ease;
}
.socials a:hover { transform: translateY(-2px); }
.socials img { width: 18px; height: 18px; object-fit: contain; }

.foot {
  width: min(1180px, calc(100% - 2rem));
  margin: 4rem auto 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.3rem;
  border-radius: 1.5rem;
  background: rgba(43, 26, 12, 0.12);
  position: relative;
  z-index: 3;
}

.foot img { width: 56px; height: 56px; border-radius: 50%; }
.foot strong { font-family: var(--stamp); font-size: 0.92rem; }
.foot p { margin-top: 0.3rem; max-width: 46rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  opacity: 0;
  z-index: 95;
  font-weight: 700;
  transition: 0.25s ease;
}

.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-play-state: paused;
}

.reveal.is-in { animation-play-state: running; }

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-2%, 2%); }
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, -6%) scale(1.08); }
}

@keyframes floatSpin {
  0% { transform: translateY(110vh) rotate(0deg); }
  100% { transform: translateY(-20vh) rotate(360deg); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shadowBreath {
  0%, 100% { transform: scaleX(1); opacity: 0.28; }
  50% { transform: scaleX(0.86); opacity: 0.18; }
}

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

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

@keyframes titleLift {
  from { opacity: 0; transform: translateY(24px) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes drip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

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

@keyframes coinIn {
  from { transform: scale(0.4) rotate(-18deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (min-width: 1400px) {
  #dexscreener-embed { padding-bottom: 68%; }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 7.2rem; }
  .hero-coin { width: min(72vw, 340px); }
  .poster-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    border-radius: 1.4rem;
    background: var(--cream);
    box-shadow: 0 12px 0 rgba(90, 58, 8, 0.16);
  }
  .nav.is-open .nav-links { display: flex; }
  .void-list { grid-template-columns: 1fr; }
  .ca-chip { width: 100%; }
  .cursor-swirl { display: none; }
}

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