:root {
  --black: #000000;
  --white: #fefefe;
  --gray: #e5e5e5;
  --purple: #9200e1;
  --purple-1: #b75fff;
  --purple-2: #cb8aff;
  --purple-3: #d5a3ff;
  --purple-4: #e3c1ff;
  --muted: rgba(0, 0, 0, 0.52);
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 88px;
  --content: 1120px;
  --font: "Outfit", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

img,
video {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

code {
  font-family: var(--mono);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--black);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
}

/* Buttons — matched to 0G: 16px radius, 16/18/14 padding, 500 weight */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 18px 14px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--purple);
  color: #fff;
}

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--black);
}

.btn-ghost {
  background: var(--white);
  color: var(--black);
  box-shadow: inset 0 0 0 1px var(--gray);
}

.btn-lg {
  padding: 18px 22px 16px;
  font-size: 17px;
}

/* Nav */
.nav {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(920px, 100%);
  padding: 8px 8px 8px 22px;
  overflow: visible;
  background: rgba(254, 254, 254, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.nav.is-scrolled .nav-pill {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 17px;
  flex-shrink: 0;
  padding-right: 8px;
}

.brand img {
  height: 36px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-btn.is-open span:nth-child(1),
.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-btn.is-open span:nth-child(2),
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-btn.is-open span:nth-child(3),
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--black);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 48px;
  gap: 8px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  font-size: 32px;
  letter-spacing: -0.04em;
  padding: 8px 0;
}

.mobile-menu .btn {
  margin-top: 16px;
  width: fit-content;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  color: #fff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 82%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(12, 0, 28, 0.42) 0%,
    rgba(12, 0, 28, 0.08) 38%,
    rgba(12, 0, 28, 0.12) 62%,
    rgba(8, 0, 22, 0.55) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 36px) 24px 0;
  max-width: 900px;
}

.eyebrow,
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero .eyebrow {
  opacity: 0.86;
  margin-bottom: 18px;
}

.hero h1 {
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 18px;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  opacity: 0.92;
}

.hero-bottom {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 0 32px 28px;
}

.hero-ctas {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0;
}

.hero-ca {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  font-size: 13px;
}

.ca-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero-ca code {
  font-size: 13px;
  font-weight: 500;
}

.copy-btn {
  background: var(--white);
  color: var(--black);
  border-radius: 999px;
  padding: 10px 14px 9px;
  font-size: 13px;
  font-weight: 500;
}

/* Ticker */
.ticker {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #6a00b0 0%, #9200e1 40%, #b75fff 70%, #9200e1 100%);
  background-size: 200% 100%;
  animation: tickerWash 10s ease-in-out infinite;
  color: var(--white);
  min-height: 64px;
}

.ticker-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 64px;
  padding: 10px 16px;
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
}

.ticker-slot {
  position: relative;
  overflow: hidden;
  height: 32px;
  min-width: 8.6rem;
}

.ticker-flip {
  position: relative;
  height: 32px;
}

.ticker-flip span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  will-change: transform, opacity;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ticker-slot.is-reset .ticker-flip span {
  transition: none;
}

.ticker-now {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.ticker-next {
  transform: translate3d(0, 110%, 0);
  opacity: 0;
}

.ticker-slot.is-flip .ticker-now {
  transform: translate3d(0, -110%, 0);
  opacity: 0;
}

.ticker-slot.is-flip .ticker-next {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

@keyframes tickerWash {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 80px 32px 64px;
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 168px;
  padding: 24px 24px 26px;
  background: #f6f6f6;
  border-radius: 24px;
}

.stat-featured {
  grid-column: 1 / -1;
  min-height: 240px;
  padding: 32px 36px 34px;
  background:
    radial-gradient(ellipse at 88% 10%, rgba(183, 95, 255, 0.3), transparent 46%),
    linear-gradient(180deg, #1a0828 0%, #0b0312 100%);
  color: #fff;
}

.stat-idx {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--purple);
}

.stat-featured .stat-idx {
  color: var(--purple-3);
}

.stat-num {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-featured .stat-num {
  font-size: clamp(4rem, 7vw, 6.2rem);
}

.stat-label {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
}

.stat-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  max-width: 260px;
}

.stat-featured .stat-desc {
  color: rgba(255, 255, 255, 0.62);
  max-width: 320px;
}

/* Story */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--content);
  margin: 0 auto;
  padding: 40px 32px 96px;
}

.panda-stage {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(183, 95, 255, 0.28), transparent 60%),
    linear-gradient(180deg, #f7f0ff 0%, #efe2ff 100%);
  border-radius: 32px;
  overflow: hidden;
  padding-top: 24px;
}

.panda-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/dots.webp");
  background-size: 720px;
  opacity: 0.35;
  pointer-events: none;
}

.panda-hero-img {
  position: relative;
  width: min(88%, 460px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(146, 0, 225, 0.18));
  animation: float 5.5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(8px);
  }
  50% {
    transform: translateY(-14px);
  }
}

.kicker {
  color: var(--purple);
  margin-bottom: 14px;
}

.story-copy h2,
.section-head h2,
.world-copy h2,
.community h2,
.buy-panel h3 {
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.story-copy p,
.lead,
.world-copy p,
.community p,
.buy-panel p,
.trait p {
  color: var(--muted);
  font-size: 17px;
}

.story-copy p + p {
  margin-top: 16px;
}

.story-copy h2 {
  margin-bottom: 22px;
}

.story-copy a {
  color: var(--purple);
  font-weight: 500;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 500;
  color: var(--purple);
}

.text-link:hover {
  text-decoration: underline;
}

/* Quote */
.quote {
  padding: 0 24px 96px;
}

.quote-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--black);
  color: var(--white);
  border-radius: 28px;
  padding: 48px 48px 40px;
}

.quote-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-2);
  margin-bottom: 20px;
}

.quote-card blockquote {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.quote-meta {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Diagonal middle bands */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 32px 136px;
}

.band-slab {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.band-purple .band-slab {
  clip-path: polygon(0 56px, 100% 0, 100% calc(100% - 40px), 0 100%);
  background:
    radial-gradient(ellipse at 88% 8%, rgba(183, 95, 255, 0.42), transparent 46%),
    linear-gradient(160deg, #7a00c8 0%, #4a0080 46%, #16041f 100%);
}

.band-purple .band-slab::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/dots.webp");
  background-size: 640px;
  opacity: 0.22;
}

.band-scene .band-slab {
  clip-path: polygon(0 0, 100% 52px, 100% 100%, 0 calc(100% - 48px));
  background:
    linear-gradient(180deg, rgba(16, 0, 32, 0.28) 0%, rgba(8, 0, 18, 0.52) 100%),
    url("assets/cubes.jpg") center 42% / cover no-repeat;
}

.band-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content);
  margin: 0 auto;
}

.band-purple .section-head h2,
.band-scene .section-head h2 {
  color: #fff;
}

.band-purple .kicker,
.band-scene .kicker {
  color: var(--purple-3);
}

.band-scene .lead {
  color: rgba(255, 255, 255, 0.7);
}

.band-scene .token-card {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

/* Traits */
.traits {
  margin: 8px 0 20px;
}

.section-head {
  margin-bottom: 40px;
}

.section-head-center {
  text-align: center;
}

.lead {
  margin-top: 12px;
}

.trait-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trait {
  background: #f6f6f6;
  border-radius: 24px;
  padding: 28px 28px 32px;
  min-height: 220px;
}

.trait-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--purple);
  letter-spacing: 0.08em;
}

.trait h3 {
  margin: 16px 0 10px;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

/* IRL gallery */
.irl {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 32px 112px;
}

.irl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.irl-video {
  grid-column: 1 / -1;
}

.irl figure {
  margin: 0;
}

.irl-clip,
.irl-shot img {
  width: 100%;
  display: block;
  border-radius: 24px;
  background: #efe4ff;
}

.irl-clip {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.irl-shot img {
  height: 340px;
  object-fit: cover;
}

.irl figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Tokenomics + cubes */
.stack {
  background: transparent;
  padding: 120px 32px 136px;
}

.stack-top {
  max-width: var(--content);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
  align-items: end;
}

.stack .section-head {
  margin-bottom: 0;
  max-width: 640px;
}

.token-grid {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.token-card {
  background: var(--white);
  border-radius: 20px;
  padding: 22px 22px 24px;
  box-shadow: var(--shadow);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.token-card-key {
  background: var(--black);
  color: var(--white);
  box-shadow: none;
  min-height: 168px;
}

.token-card span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.token-card-key span {
  color: var(--purple-3);
}

.token-card strong {
  font-weight: 400;
  letter-spacing: -0.04em;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.05;
}

.og-mark {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.og-mark img {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  filter: drop-shadow(0 16px 32px rgba(146, 0, 225, 0.22));
  animation: float 6s ease-in-out infinite;
}

/* Buy */
.buy {
  max-width: var(--content);
  margin: 0 auto;
  padding: 96px 32px;
}

.steps {
  list-style: none;
  display: grid;
  gap: 12px;
}

.step {
  width: 100%;
  text-align: left;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 20px;
  background: #f6f6f6;
  transition: background 0.2s ease;
}

.step:hover,
.step.is-on {
  background: #efe4ff;
}

.step-num {
  font-family: var(--mono);
  color: var(--purple);
  font-size: 14px;
  padding-top: 4px;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-body strong {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.step-body em {
  font-style: normal;
  color: var(--muted);
  font-size: 15px;
}

.buy-panel {
  margin-top: 28px;
  background: var(--black);
  color: var(--white);
  border-radius: 28px;
  padding: 36px;
  display: grid;
  gap: 24px;
}

.buy-panel .kicker {
  color: var(--purple-2);
}

.buy-panel p {
  color: rgba(255, 255, 255, 0.62);
  margin-top: 8px;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ca-row code {
  flex: 1;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 14px;
}

/* World card */
.world {
  padding: 0 24px 96px;
}

.world-card {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  border-radius: 32px;
  background: var(--black);
  color: var(--white);
  min-height: 420px;
}

.world-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.world-copy {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.world-copy .kicker {
  color: var(--purple-2);
}

.world-copy h2 {
  margin: 8px 0 16px;
}

.world-copy p {
  color: rgba(255, 255, 255, 0.68);
}

/* Community */
.community {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.community-bg {
  position: absolute;
  inset: 0;
}

.community-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 0, 40, 0.35), rgba(12, 0, 28, 0.45));
}

.community-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 96px 24px;
}

.kicker-light {
  color: var(--purple-3);
}

.community h2 {
  margin: 10px 0 16px;
}

.community p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 8px;
}

.community .hero-ctas {
  justify-content: center;
  margin-top: 32px;
}

/* Footer */
.footer {
  background: var(--white);
  padding: 56px 32px 32px;
  border-top: 1px solid var(--gray);
}

.footer-top {
  max-width: var(--content);
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}

.footer-brand {
  align-items: center;
  gap: 12px;
  padding-right: 0;
}

.footer-brand img {
  height: 52px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 140px);
  gap: 32px;
}

.footer-cols p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-cols a {
  display: block;
  padding: 4px 0;
  font-size: 15px;
}

.footer-cols a:hover {
  color: var(--purple);
}

.footer-bottom {
  max-width: var(--content);
  margin: 0 auto;
  padding-top: 24px;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--gray);
  color: var(--muted);
  font-size: 13px;
  display: grid;
  gap: 6px;
  text-align: center;
  justify-items: center;
}

.footer-bottom a {
  color: var(--purple);
  font-weight: 500;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* 404 */
.lost-main {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 72px;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(183, 95, 255, 0.24), transparent 50%),
    linear-gradient(180deg, #f7f0ff 0%, #fefefe 56%);
}

.lost-panda {
  width: min(220px, 58vw);
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 20px 36px rgba(146, 0, 225, 0.2));
  animation: float 5.5s ease-in-out infinite;
}

.lost-main h1 {
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.05;
  font-size: clamp(2.1rem, 7vw, 4rem);
  max-width: 14ch;
  text-wrap: balance;
}

.lost-copy {
  margin: 16px 0 28px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 17px;
}

.lost-ctas {
  justify-content: center;
}

/* Disclaimer */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 24px 96px;
}

.legal h1 {
  font-weight: 400;
  letter-spacing: -0.045em;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin: 8px 0 24px;
}

.legal p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 16px;
}

.legal p a {
  color: var(--purple);
  font-weight: 500;
}

.legal p a:hover {
  text-decoration: underline;
}

/* Toast */
.toast {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--white);
  color: var(--black);
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 80;
}

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

/* Responsive */
@media (max-width: 960px) {
  :root {
    --nav-h: 64px;
  }

  html {
    scroll-padding-top: 80px;
  }

  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    padding: 48px 20px;
  }

  .stat-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 220px;
  }

  .story,
  .stack-top,
  .world-card {
    grid-template-columns: 1fr;
  }

  .story,
  .buy,
  .irl,
  .traits,
  .quote {
    padding-left: 20px;
    padding-right: 20px;
  }

  .irl {
    padding-bottom: 80px;
  }

  .irl-grid {
    grid-template-columns: 1fr;
  }

  .irl-shot img {
    height: 280px;
  }

  .band,
  .stack {
    padding: 88px 20px 104px;
  }

  .band-purple .band-slab {
    clip-path: polygon(0 36px, 100% 0, 100% calc(100% - 28px), 0 100%);
  }

  .band-scene .band-slab {
    clip-path: polygon(0 0, 100% 36px, 100% 100%, 0 calc(100% - 32px));
  }

  .token-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav {
    top: 10px;
    padding: 0 12px;
  }

  .nav-pill {
    padding: 4px 4px 4px 18px;
    gap: 6px;
  }

  .brand {
    font-size: 14px;
    gap: 7px;
    padding-right: 4px;
  }

  .brand img {
    height: 30px;
    width: auto;
  }

  .nav-actions .btn {
    padding: 10px 13px 9px;
    font-size: 13px;
    border-radius: 999px;
  }

  .menu-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    gap: 4px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.05);
  }

  .nav-actions {
    flex-shrink: 0;
  }

  .menu-btn.is-open span:nth-child(1),
  .menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .menu-btn.is-open span:nth-child(3),
  .menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .mobile-menu {
    padding: 88px 24px 40px;
  }

  .mobile-menu a {
    font-size: 26px;
  }

  .panda-stage {
    min-height: 420px;
  }

  .og-mark {
    justify-content: flex-start;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand img {
    height: 44px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .ticker-slot {
    min-width: 10rem;
  }

  .ticker-flip span {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .ticker-row {
    gap: 8px;
  }
  .hero-inner {
    padding-top: calc(var(--nav-h) + 28px);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px 20px;
  }

  .hero-ctas {
    justify-content: stretch;
  }

  .hero-ctas .btn {
    flex: 1;
  }

  .hero-ca {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hero-ca code {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .btn,
  .copy-btn {
    min-height: 44px;
  }

  .community-inner {
    padding: 72px 20px;
  }

  .community .hero-ctas {
    width: 100%;
  }

  .lost-main {
    padding: calc(var(--nav-h) + 28px) 20px 56px;
  }

  .lost-panda {
    width: min(168px, 52vw);
    margin-bottom: 20px;
  }

  .legal {
    padding: calc(var(--nav-h) + 32px) 20px 72px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 148px;
  }

  .trait-grid {
    grid-template-columns: 1fr;
  }

  .quote-card,
  .buy-panel,
  .world-copy {
    padding: 28px 22px;
  }

  .nav-pill {
    padding: 3px 3px 3px 16px;
  }

  .token-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .token-card,
  .token-card-key {
    min-height: 104px;
    padding: 14px 12px 16px;
    border-radius: 16px;
  }

  .token-card strong {
    font-size: 1.15rem;
  }

  .og-mark {
    justify-content: flex-start;
  }

  .og-mark img {
    width: 112px;
    height: 112px;
  }

  .ca-row .btn {
    width: 100%;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker,
  .panda-hero-img,
  .og-mark img,
  .lost-panda {
    animation: none;
  }

  .ticker-slot.is-flip .ticker-now,
  .ticker-slot.is-flip .ticker-next {
    transition: none;
  }
}
