@font-face {
  font-family: "Luckiest Guy";
  src: url("assets/fonts/LuckiestGuy-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Bungee";
  src: url("assets/fonts/Bungee-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --orange: #f7931a;
  --gold: #ffcd5a;
  --deep: #c85a00;
  --bg: #070402;
  --panel: rgba(30, 16, 4, 0.72);
  --line: rgba(247, 147, 26, 0.14);
  --text: #f4ece2;
  --muted: #bfae98;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-attachment: fixed;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 75% 20%, rgba(247, 147, 26, 0.28), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(200, 90, 0, 0.22), transparent 40%),
    radial-gradient(ellipse at center, transparent 40%, var(--bg) 90%);
}

.floaters { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.floater {
  position: absolute;
  bottom: -60px;
  color: var(--orange);
  opacity: 0.18;
  font-family: "Bungee", sans-serif;
  animation: rise linear infinite;
}
@keyframes rise {
  to { transform: translateY(-120vh) rotate(360deg); }
}

h1, h2, h3, .slogan, .stat-big, .btn, .brand, .quote, .step-n, .card-year {
  font-family: "Luckiest Guy", "Bungee", sans-serif;
  font-weight: normal;
  letter-spacing: 0.02em;
}

a { color: inherit; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 5vw;
  background: rgba(7, 4, 2, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-size: 1.6rem; color: var(--orange); }
.brand img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--orange); }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--orange); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem 0.6rem;
  font-size: 1.25rem;
  color: #1a0d00;
  background: linear-gradient(180deg, var(--gold), var(--orange) 60%, var(--deep));
  border: 3px solid #1a0d00;
  border-radius: 14px;
  box-shadow: 0 6px 0 #1a0d00, 0 0 30px rgba(247, 147, 26, 0.45);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #1a0d00; }
.btn-ghost { background: transparent; color: var(--orange); border-color: var(--orange); box-shadow: 0 6px 0 var(--deep); }
.btn-small { font-size: 1rem; padding: 0.55rem 1rem 0.4rem; box-shadow: 0 4px 0 #1a0d00; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2rem;
  min-height: min(calc(100vh - 70px), 860px);
  padding: 3rem 5vw 2rem;
  max-width: 1300px;
  margin: 0 auto;
}
.eyebrow { font-family: "Bungee", sans-serif; color: var(--orange); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.85rem; margin: 0; }
.hero h1 {
  margin: 0.2rem 0 1rem;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.9;
  background: linear-gradient(180deg, #fff 0%, var(--gold) 45%, var(--orange) 70%, var(--deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 0 #2a1200) drop-shadow(0 0 28px rgba(247, 147, 26, 0.5));
  transform: rotate(-2deg);
}
.hero h1 .small { display: block; font-size: 0.45em; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 34rem; }
.slogan {
  display: inline-block;
  margin: 0.3rem 0 1.6rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--orange);
  text-shadow: 0 0 20px rgba(247, 147, 26, 0.7);
  animation: wobble 3s ease-in-out infinite;
}
@keyframes wobble {
  0%, 100% { transform: rotate(-2deg) scale(1); }
  50% { transform: rotate(2deg) scale(1.05); }
}
.cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }

.ca {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 100%;
  padding: 0.6rem 0.9rem;
  background: var(--panel);
  border: 1px dashed var(--orange);
  border-radius: 12px;
  color: var(--text);
  font: 0.95rem ui-monospace, "SFMono-Regular", Menlo, monospace;
  cursor: pointer;
}
.ca-label { font-family: "Bungee", sans-serif; color: var(--orange); }
.ca-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-copy { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; }

.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-art::before {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.45), transparent 65%);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.12); opacity: 0.7; } }
.mascot {
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  animation: float 4s ease-in-out infinite;
}
.mascot img { width: min(420px, 80vw); display: block; }
.mascot.boing { animation: boing 0.45s ease; }
@keyframes float { 50% { transform: translateY(-18px); } }
@keyframes boing {
  30% { transform: scale(1.12, 0.88); }
  60% { transform: scale(0.94, 1.08) translateY(-20px); }
}
.bubble {
  position: relative;
  z-index: 2;
  margin-bottom: -10px;
  padding: 0.7rem 1.1rem;
  max-width: 300px;
  background: #fff;
  color: #1a0d00;
  border: 3px solid #1a0d00;
  border-radius: 18px;
  font-family: "Bungee", sans-serif;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 5px 0 #1a0d00;
  transform: rotate(3deg);
}
.bubble::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  border: 10px solid transparent;
  border-top-color: #1a0d00;
}
.pokes { font-family: "Bungee", sans-serif; color: var(--muted); font-size: 0.8rem; margin-top: 0.5rem; }
.pokes span { color: var(--orange); }

.coin {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  font-family: "Bungee", sans-serif;
  color: var(--orange);
  text-shadow: 0 0 10px rgba(247, 147, 26, 0.9), 0 2px 0 #2a1200;
  animation: burst 1.1s cubic-bezier(0.2, 0.7, 0.4, 1) forwards;
}
@keyframes burst {
  to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}

/* Marquee */
.marquee {
  overflow: hidden;
  background: var(--orange);
  color: #1a0d00;
  border-block: 3px solid #1a0d00;
  transform: rotate(-1.5deg);
  margin: 2rem -2vw;
}
.marquee-track { display: flex; width: max-content; animation: scroll 28s linear infinite; }
.marquee-track span { font-family: "Luckiest Guy", sans-serif; font-size: 1.6rem; padding: 0.7rem 0 0.4rem; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: 1100px; margin: 0 auto; padding: 5rem 5vw 2rem; }
.section h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  text-align: center;
  margin: 0 0 2.5rem;
  color: var(--orange);
  text-shadow: 0 5px 0 #2a1200, 0 0 30px rgba(247, 147, 26, 0.4);
}
.section h3 { margin: 0 0 0.4rem; font-size: 1.5rem; color: var(--gold); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card, .stat, .phase, .steps li {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover, .stat:hover, .phase:hover, .steps li:hover { transform: translateY(-6px) rotate(-0.5deg); border-color: var(--orange); }
.card-year { font-size: 2.6rem; color: var(--orange); line-height: 1; margin-bottom: 0.6rem; }
.card p, .phase p, .steps p { color: var(--muted); margin: 0; }

/* Tokenomics */
.quote {
  margin: 0 auto 3rem;
  max-width: 800px;
  padding: 1.6rem 2rem 1.2rem;
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: #1a0d00;
  background: linear-gradient(180deg, var(--gold), var(--orange));
  border: 3px solid #1a0d00;
  border-radius: 22px;
  box-shadow: 0 8px 0 #1a0d00;
  transform: rotate(-1deg);
}
.supply { max-width: 800px; margin: 0 auto 2.5rem; }
.supply-row { display: grid; grid-template-columns: 110px 1fr 140px; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.supply-name { font-family: "Bungee", sans-serif; font-size: 0.85rem; }
.supply-num { font-family: ui-monospace, Menlo, monospace; text-align: right; color: var(--gold); }
.bar { height: 26px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 99px; transition: width 1.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bar-fill.dad { background: var(--gold); min-width: 0; }
.bar-fill.son { background: linear-gradient(90deg, var(--deep), var(--orange), var(--gold)); }
.supply-note { text-align: center; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; text-align: center; }
.stat-big { font-size: 3rem; color: var(--orange); line-height: 1.1; }
.stat div:last-child { color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.steps li { display: flex; gap: 1.2rem; align-items: flex-start; }
.step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding-top: 6px;
  font-size: 1.8rem;
  color: #1a0d00;
  background: var(--orange);
  border: 3px solid #1a0d00;
  border-radius: 50%;
  box-shadow: 0 4px 0 #1a0d00;
}

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.phase span { font-family: "Bungee", sans-serif; font-size: 0.75rem; color: var(--orange); letter-spacing: 0.1em; }
.phase.done { border-color: var(--orange); box-shadow: 0 0 25px rgba(247, 147, 26, 0.25); }
.phase.done span::after { content: "  · DONE"; color: var(--gold); }

.banner-section img { width: 100%; border-radius: 20px; border: 2px solid var(--line); display: block; }

/* Footer */
.footer { text-align: center; padding: 3rem 5vw 4rem; border-top: 1px solid var(--line); margin-top: 3rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: "Luckiest Guy", sans-serif; font-size: 1.6rem; color: var(--orange); }
.footer-brand img { width: 48px; border-radius: 50%; }
.disclaimer { max-width: 700px; margin: 1rem auto 0; color: var(--muted); font-size: 0.85rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 60;
  padding: 0.7rem 1.2rem;
  background: var(--orange);
  color: #1a0d00;
  border: 3px solid #1a0d00;
  border-radius: 12px;
  font-family: "Bungee", sans-serif;
  transform: translate(-50%, calc(100% + 3rem));
  transition: transform 0.3s;
}
.toast.show { transform: translate(-50%, 0); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 2rem; }
  .hero-art { order: -1; }
  .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .supply-row { grid-template-columns: 80px 1fr; }
  .supply-num { grid-column: 2; text-align: left; margin-top: -0.6rem; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
