:root {
  --cream: #fff4d2;
  --paper: #fffaf0;
  --yellow: #ffe14a;
  --sun: #ffd000;
  --ink: #14110c;
  --muted: #5c5344;
  --card: rgba(255, 250, 240, 0.78);
  --line: rgba(20, 17, 12, 0.1);
  --shadow: 0 24px 50px rgba(20, 17, 12, 0.12);
  --display: "Lilita One", "Trebuchet MS", sans-serif;
  --body: "Nunito", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.studio {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 80% 8%, #fff7bf 0%, transparent 70%),
    radial-gradient(700px 480px at 8% 30%, #ffe56a 0%, transparent 62%),
    linear-gradient(180deg, #fff8e4 0%, #ffe9a0 48%, #fff3c4 100%);
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.7;
}
.orb-a {
  width: 340px; height: 340px;
  left: -80px; top: 120px;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #ffe14a 42%, transparent 70%);
  animation: drift 14s ease-in-out infinite;
}
.orb-b {
  width: 260px; height: 260px;
  right: 6%; top: 40%;
  background: radial-gradient(circle at 40% 40%, #fff6c8 0%, #ffc83d 50%, transparent 72%);
  animation: drift 18s ease-in-out infinite reverse;
}
.orb-c {
  width: 180px; height: 180px;
  left: 42%; bottom: 8%;
  background: radial-gradient(circle at 40% 40%, #fff 0%, #ffe14a 46%, transparent 72%);
  animation: drift 11s ease-in-out infinite;
}
.floor {
  position: absolute;
  left: 50%;
  bottom: -80px;
  width: 140%;
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 196, 20, 0.55), transparent 68%);
  animation: pulse 7s ease-in-out infinite;
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgba(20, 17, 12, 0.35) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  margin: 14px auto 0;
  width: min(1120px, calc(100% - 28px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(20, 17, 12, 0.08);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff6d4;
}
.nav nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-weight: 800;
  font-size: 0.95rem;
}
.nav nav a { position: relative; }
.nav nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  border-radius: 99px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav nav a:hover::after { transform: scaleX(1); }
.nav-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
}
.nav-x img { width: 16px; height: 16px; }

main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  padding: 36px 0 20px;
}
.eyebrow {
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; margin: 0; }
h1 {
  font-size: clamp(4.2rem, 8vw, 7.4rem);
  line-height: 0.86;
  text-shadow: 0 8px 0 rgba(20, 17, 12, 0.06);
}
.ticker {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #1a160f;
}
.lede {
  max-width: 460px;
  font-size: 1.15rem;
  line-height: 1.55;
  font-weight: 700;
  color: var(--muted);
}
.hero-actions, .buy-links { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 900;
  border: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn img { width: 22px; height: 22px; }
.btn.solid {
  background: var(--yellow);
  box-shadow: 0 8px 0 var(--ink);
}
.btn.ghost { background: var(--paper); }
.btn:hover { transform: translateY(-3px); }
.btn.solid:hover { box-shadow: 0 11px 0 var(--ink); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.7) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: sheen 3.6s ease-in-out infinite;
}
.chip-row {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  flex-wrap: wrap;
}
.chip-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 250, 240, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.92rem;
}
.chip-row img { width: 18px; height: 18px; }

.hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.halo {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffe14a 45%, transparent 70%);
  animation: pulse 5.5s ease-in-out infinite;
}
.mascot {
  position: relative;
  width: min(460px, 100%);
  filter: drop-shadow(0 30px 24px rgba(20, 17, 12, 0.16));
  animation: walk 4.8s ease-in-out infinite;
}
.shadow {
  position: absolute;
  bottom: 46px;
  width: 220px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 17, 12, 0.16);
  filter: blur(6px);
  animation: shadow 4.8s ease-in-out infinite;
}

.ticker-bar {
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: var(--yellow);
  margin: 10px 0 20px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 12px 0;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  animation: marquee 22s linear infinite;
}
.ticker-track span { white-space: nowrap; }

.panel { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.95; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card, .steps li {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.card {
  padding: 26px 24px 28px;
  transform: translateY(24px);
  opacity: 0;
  animation: rise 0.8s ease forwards;
}
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.24s; }
.card h3, .steps h3 { font-size: 1.6rem; margin-bottom: 8px; }
.card p, .steps p { margin: 0; font-weight: 700; color: var(--muted); line-height: 1.5; }
.card:hover { transform: translateY(-6px) rotate(-0.4deg); transition: transform 0.3s ease; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 8px;
  align-items: center;
  padding: 16px 20px;
}
.steps li span {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--ink);
}
.steps li:nth-child(odd) { margin-right: 8%; }
.steps li:nth-child(even) { margin-left: 8%; }
.buy-links { margin-top: 22px; }
.buy-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  transition: transform 0.2s ease;
}
.buy-links a:hover { transform: translateY(-3px); }
.buy-links img { width: 22px; height: 22px; }

.chart-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
  height: 640px;
}
.chart-frame iframe { width: 100%; height: 100%; border: 0; }
.chart-link { margin-top: 16px; }

.join { text-align: left; }
.banner {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: 32px;
  border: 2px solid var(--ink);
  box-shadow: 0 18px 0 rgba(20, 17, 12, 0.12);
  margin: 8px 0 20px;
  animation: banner-in 1s ease both;
}
.join .btn { color: var(--ink); }
.join .btn img { filter: none; }

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 10px auto 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--yellow);
}
footer img:first-child {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--yellow);
}
footer div { display: flex; flex-direction: column; }
footer strong { font-family: var(--display); font-size: 1.3rem; }
footer span { font-weight: 800; opacity: 0.85; }
footer a {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
}
footer a img { width: 16px; height: 16px; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(24px, -28px, 0); }
}
@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  50% { transform: translateX(-50%) scale(1.06); opacity: 1; }
}
.halo { animation-name: halo; }
@keyframes halo {
  0%, 100% { transform: scale(0.94); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes walk {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-16px) rotate(1.5deg); }
}
@keyframes shadow {
  0%, 100% { transform: scaleX(1); opacity: 0.55; }
  50% { transform: scaleX(0.82); opacity: 0.3; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes banner-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .nav nav { display: none; }
  .hero, .about-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 380px; }
  .steps li:nth-child(odd),
  .steps li:nth-child(even) { margin: 0; }
  .chart-frame { height: 480px; }
  h1 { font-size: 4.2rem; }
}
@media (max-width: 560px) {
  .nav { border-radius: 22px; }
  .hero-actions, .buy-links { flex-direction: column; align-items: flex-start; }
  .chart-frame { height: 420px; }
}
