:root {
  --sun: #ffd000;
  --sun-deep: #f5b800;
  --ink: #14110c;
  --cream: #fff6d4;
  --orange: #ff7a1a;
  --fur: #f08a2a;
  --font: "Bagel Fat One", "Arial Black", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--sun);
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.sky, .grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.sky { z-index: 0; }
.grain {
  z-index: 1;
  opacity: 0.18;
  background-image: radial-gradient(rgba(20,17,12,0.35) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}
#sparks { width: 100%; height: 100%; display: block; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  animation: drift 14s ease-in-out infinite;
}
.orb-a { width: 42vw; height: 42vw; background: rgba(255,122,26,0.28); top: -8vw; left: -10vw; }
.orb-b { width: 30vw; height: 30vw; background: rgba(255,246,212,0.7); right: -8vw; top: 30vh; animation-delay: -4s; }
.orb-c { width: 24vw; height: 24vw; background: rgba(240,138,42,0.25); left: 20vw; bottom: -8vw; animation-delay: -8s; }
.paws { position: absolute; inset: 0; overflow: hidden; }
.paw {
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: 0.22;
  animation: fall linear infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='18' cy='18' r='8' fill='%2314110c'/%3E%3Ccircle cx='34' cy='12' r='7' fill='%2314110c'/%3E%3Ccircle cx='48' cy='20' r='7' fill='%2314110c'/%3E%3Ccircle cx='24' cy='30' r='7' fill='%2314110c'/%3E%3Cellipse cx='34' cy='46' rx='14' ry='12' fill='%2314110c'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav, main, footer { position: relative; z-index: 2; }
.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6vw;
  background: rgba(255, 208, 0, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
  z-index: 5;
}
.brand, .chip, .btn, nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand { font-size: 22px; }
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  object-fit: cover;
  animation: bob 3.2s ease-in-out infinite;
}
nav { display: flex; gap: 18px; font-size: 18px; }
nav a { position: relative; }
nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
nav a:hover::after { transform: scaleX(1); }
.chip, .btn {
  border: 3px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chip img, .btn img { width: 22px; height: 22px; }
.chip:hover, .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn.solid { background: var(--orange); color: var(--cream); }
.btn.ghost { background: var(--cream); }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
  padding: 48px 6vw 32px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker img { width: 22px; height: 22px; }
h1, h2, h3, p { margin: 0; }
h1 {
  font-size: clamp(72px, 11vw, 148px);
  line-height: 0.82;
  color: var(--ink);
  text-shadow:
    4px 4px 0 #fff6d4,
    8px 8px 0 #ff7a1a,
    12px 14px 0 rgba(20,17,12,0.25);
  animation: pop 1s ease both;
}
.symbol { margin-top: 18px; font-size: 28px; }
.symbol strong {
  background: var(--ink);
  color: var(--sun);
  padding: 2px 12px 6px;
  border-radius: 12px;
}
.ca {
  margin-top: 14px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.35;
  word-break: break-all;
}
.ca span {
  background: var(--ink);
  color: var(--sun);
  padding: 4px 10px 6px;
  border-radius: 12px;
}
.lead { margin-top: 16px; max-width: 540px; font-size: 22px; line-height: 1.35; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { font-size: 18px; padding: 12px 18px; }

.mascot-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}
.mascot {
  width: min(460px, 80vw);
  border-radius: 48px;
  border: 6px solid var(--ink);
  box-shadow: 16px 18px 0 rgba(20,17,12,0.18);
  animation: bob 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.ring, .ring-2 {
  position: absolute;
  border: 3px dashed var(--ink);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}
.ring { width: 108%; height: 108%; }
.ring-2 { width: 86%; height: 86%; animation-direction: reverse; animation-duration: 16s; opacity: 0.55; }
.badge {
  position: absolute;
  bottom: 18px;
  right: 8%;
  z-index: 3;
  background: var(--orange);
  color: var(--cream);
  border: 3px solid var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  transform: rotate(-8deg);
  animation: wobble 2.8s ease-in-out infinite;
}

.marquee {
  border-block: 3px solid var(--ink);
  background: var(--ink);
  color: var(--sun);
  overflow: hidden;
  padding: 10px 0;
}
.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: ticker 18s linear infinite;
  font-size: 28px;
}
.marquee-track span { padding-right: 42px; }

.panel { padding: 72px 6vw; }
.section-head { margin-bottom: 28px; }
h2 {
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.9;
  text-shadow: 4px 4px 0 #fff6d4, 8px 8px 0 rgba(255,122,26,0.85);
}
.about-grid, .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps { grid-template-columns: repeat(4, 1fr); }
.card {
  background: rgba(255, 246, 212, 0.72);
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 8px 8px 0 var(--ink);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  background: rgba(255,122,26,0.35);
  border-radius: 50%;
  filter: blur(6px);
}
.card h3 { font-size: 28px; margin: 8px 0; position: relative; }
.card p, .chart-note { font-size: 18px; line-height: 1.4; position: relative; }
.card img { width: 48px; height: 48px; position: relative; }
.card a {
  position: relative;
  display: inline-block;
  margin-top: 12px;
  border-bottom: 3px solid var(--ink);
  text-decoration: none;
}
.num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  opacity: 0.45;
}

.chart-frame {
  border: 4px solid var(--ink);
  border-radius: 28px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 10px 10px 0 var(--ink);
  height: 620px;
  animation: glow 3.5s ease-in-out infinite;
}
.chart-frame iframe { width: 100%; height: 100%; border: 0; }
.chart-note { margin-top: 14px; }
.chart-note a { font-weight: 400; }

.banner-wrap {
  margin: 0;
  aspect-ratio: 3 / 1;
  border: 4px solid var(--ink);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--ink);
  background: var(--sun);
}
.banner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: ken 12s ease-in-out infinite alternate;
}
.join-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

footer {
  padding: 28px 6vw 40px;
  border-top: 3px solid var(--ink);
  font-size: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.8s ease forwards;
}
.steps .reveal:nth-child(2), .about-grid .reveal:nth-child(2) { animation-delay: 0.12s; }
.steps .reveal:nth-child(3), .about-grid .reveal:nth-child(3) { animation-delay: 0.22s; }
.steps .reveal:nth-child(4) { animation-delay: 0.32s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wobble {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(6deg) translateY(-4px); }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -24px) scale(1.08); }
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(40deg); }
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes glow {
  0%, 100% { box-shadow: 10px 10px 0 var(--ink); }
  50% { box-shadow: 10px 10px 0 var(--ink), 0 0 0 6px rgba(255,122,26,0.35); }
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

@media (max-width: 980px) {
  nav { display: none; }
  .hero, .about-grid, .steps { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 28px; }
  .chart-frame { height: 480px; }
  h1 { font-size: 78px; }
}
