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

:root {
  --magenta: #ff3db8;
  --magenta-hot: #ff70d0;
  --magenta-deep: #c4147a;
  --violet: #2a0a3d;
  --violet-mid: #3d1258;
  --violet-soft: #5a1f7a;
  --ink: #0e0618;
  --ink-soft: #1a0c2a;
  --muted: #b9a4c9;
  --paper: #140820;
  --white: #ffffff;
  --glow: 0 0 28px rgba(255, 61, 184, 0.45);
  --font-display: "Fredoka", sans-serif;
  --font-body: "Sora", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
  --border: 2px solid rgba(255, 61, 184, 0.55);
}

html {
  scroll-behavior: smooth;
}

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

.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 15% 20%, rgba(255, 61, 184, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 40% at 85% 70%, rgba(122, 42, 180, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(255, 61, 184, 0.08), transparent 60%);
  animation: aurora-shift 18s ease-in-out infinite alternate;
}

@keyframes aurora-shift {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.04); }
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.container.narrow {
  width: min(720px, 92vw);
}

.accent {
  color: var(--magenta-hot);
}

.ink {
  color: var(--ink);
}

.center {
  text-align: center;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14, 6, 24, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 61, 184, 0.35);
  transition: background 0.25s, box-shadow 0.25s;
}

.site-header.scrolled {
  background: rgba(14, 6, 24, 0.94);
  box-shadow: 0 8px 32px rgba(255, 61, 184, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 92vw);
  margin: 0 auto;
  height: 100%;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
}

.nav-mark {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(255, 61, 184, 0.55);
}

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--magenta-hot);
}

.nav-socials {
  display: flex;
  gap: 0.4rem;
}

.nav-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 61, 184, 0.55);
  border-radius: 10px;
  background: transparent;
  color: var(--white) !important;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}

.nav-social:hover {
  background: var(--magenta) !important;
  border-color: var(--magenta);
  color: var(--white) !important;
  opacity: 1 !important;
  transform: translateY(-2px);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.5rem 1rem !important;
  background: var(--magenta);
  color: var(--white) !important;
  font-weight: 600 !important;
  border-radius: 999px;
  box-shadow: var(--glow);
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--magenta-hot) !important;
  color: var(--ink) !important;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255, 61, 184, 0.55);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 1.5rem) 0 3.75rem;
  overflow: hidden;
  background: var(--violet);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  animation: hero-drift 32s var(--ease-out) infinite alternate;
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(14, 6, 24, 0.88) 0%,
      rgba(14, 6, 24, 0.62) 38%,
      rgba(14, 6, 24, 0.25) 62%,
      rgba(14, 6, 24, 0.15) 100%
    ),
    linear-gradient(
      to top,
      rgba(14, 6, 24, 0.82) 0%,
      transparent 48%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  margin: 0 auto;
  max-width: 680px;
  margin-left: max(4vw, calc((100vw - 1100px) / 2));
  animation: rise-in 0.95s var(--ease-out) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.1rem, 10vw, 6rem);
  letter-spacing: -0.02em;
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 0.6rem;
  text-shadow: 0 0 40px rgba(255, 61, 184, 0.55);
}

.hero-brand .accent {
  display: block;
  color: var(--magenta-hot);
  text-shadow: 0 0 28px rgba(255, 61, 184, 0.75);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.hero-lede {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
  margin-bottom: 1.75rem;
  font-weight: 400;
  line-height: 1.55;
}

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

@keyframes hero-drift {
  from { transform: scale(1.02) translate(0, 0); }
  to { transform: scale(1.07) translate(-1.2%, -0.8%); }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes band-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--magenta);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: var(--magenta-hot);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: var(--magenta-hot);
  color: var(--magenta-hot);
}

.btn-ink {
  background: var(--ink);
  color: var(--magenta-hot);
  border-color: var(--ink);
}

.btn-ink:hover {
  background: var(--ink-soft);
  color: var(--white);
}

.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline-ink:hover {
  background: var(--ink);
  color: var(--magenta-hot);
}

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 0.92rem;
}

.btn-copy {
  flex-shrink: 0;
  padding: 0.65rem 1.1rem;
  font-size: 0.82rem;
}

.btn-copy.copied {
  background: var(--ink);
  color: var(--magenta-hot);
}

/* ── Ticker ── */
.ticker {
  background: var(--ink);
  color: var(--magenta-hot);
  padding: 0.75rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 61, 184, 0.45);
  border-bottom: 1px solid rgba(255, 61, 184, 0.45);
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker 36s linear infinite;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticker-sep {
  opacity: 0.4;
  color: var(--white);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sections ── */
.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.9rem;
}

.eyebrow.center {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.section-text {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
  max-width: 34rem;
}

.section-text strong {
  color: var(--white);
  font-weight: 600;
}

.section-text em {
  font-style: normal;
  color: var(--ink);
  background: var(--magenta-hot);
  padding: 0.05em 0.35em;
  border-radius: 0.25em;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.mono-note {
  margin-top: 1.5rem;
  color: var(--magenta-hot) !important;
  font-size: 0.95rem !important;
  font-weight: 600;
}

.cursor-line {
  display: inline-flex;
  align-items: center;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 2px;
  background: var(--magenta);
  animation: blink 1.1s step-end infinite;
}

.inline-link {
  color: var(--magenta-hot);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 61, 184, 0.6);
}

.inline-link:hover {
  color: var(--white);
}

/* ── Story ── */
.story {
  background: transparent;
}

.story-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.story-copy .section-text.lead {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 500;
  max-width: none;
}

.lore-portrait {
  position: relative;
  display: flex;
  justify-content: center;
}

.lore-portrait img {
  width: min(22rem, 78vw);
  display: block;
  border-radius: 28px;
  border: 2px solid rgba(255, 61, 184, 0.55);
  background: var(--white);
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--glow);
  animation: hero-drift 28s var(--ease-out) infinite alternate;
}

.lore-chip {
  position: absolute;
  bottom: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.45rem 1.25rem;
  background: var(--magenta);
  color: var(--white);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  box-shadow: var(--glow);
}

/* ── ASCII band ── */
.ascii-band {
  background: linear-gradient(90deg, var(--magenta-deep), var(--magenta), var(--magenta-deep));
  overflow: hidden;
  padding: 0.9rem 0;
  position: relative;
  z-index: 1;
}

.ascii-band pre {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  width: max-content;
  animation: band-scroll 40s linear infinite;
  letter-spacing: 0.1em;
}

/* ── About / pillars ── */
.about {
  background: transparent;
}

.pillars {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
}

.pillar {
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(255, 61, 184, 0.35);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s;
}

.pillar:hover {
  transform: translateY(-4px);
  background: rgba(255, 61, 184, 0.1);
  border-color: var(--magenta);
}

.pillar-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--magenta);
  color: var(--white);
  margin-bottom: 1rem;
  box-shadow: 0 0 18px rgba(255, 61, 184, 0.4);
}

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Launch / pools embed ── */
.launch {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 61, 184, 0.06) 50%, transparent 100%);
}

.pools-shell {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 61, 184, 0.45);
  background: var(--ink);
  box-shadow:
    0 0 0 1px rgba(255, 61, 184, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(255, 61, 184, 0.18);
}

.pools-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(90deg, var(--violet-mid), var(--ink-soft));
  border-bottom: 1px solid rgba(255, 61, 184, 0.3);
}

.pools-dots {
  display: flex;
  gap: 0.35rem;
}

.pools-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.pools-dots span:nth-child(1) { background: #ff5f57; }
.pools-dots span:nth-child(2) { background: #febc2e; }
.pools-dots span:nth-child(3) { background: #28c840; }

.pools-url {
  justify-self: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta-hot);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(255, 61, 184, 0.12);
  border: 1px solid rgba(255, 61, 184, 0.3);
}

.pools-open {
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.pools-open:hover {
  opacity: 1;
  color: var(--magenta-hot);
}

.pools-frame {
  position: relative;
  background: #0a0412;
  min-height: 640px;
}

.pools-embed {
  display: block;
  width: 100%;
  height: 720px;
  border: none;
  background: #0a0412;
}

.pools-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 61, 184, 0.18), transparent 55%),
    var(--ink);
  color: var(--muted);
}

.pools-fallback.show {
  display: flex;
}

.pools-fallback-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--glow);
}

.pools-fallback p {
  max-width: 22rem;
  font-size: 0.95rem;
}

/* ── Community ── */
.community {
  background:
    linear-gradient(160deg, rgba(255, 112, 208, 0.25) 0%, transparent 42%),
    linear-gradient(to bottom right, var(--magenta) 0%, var(--magenta-deep) 55%, var(--violet-mid) 100%);
}

.community .eyebrow {
  color: rgba(14, 6, 24, 0.55);
}

.community .section-title {
  color: var(--ink);
}

.community .section-sub {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(14, 6, 24, 0.7);
}

.buy-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tri-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.tri-card {
  padding: 1.1rem 0.75rem;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.28);
  text-align: center;
  border-radius: 16px;
}

.tri-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 1.45rem);
  color: var(--ink);
}

.tri-card span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(14, 6, 24, 0.55);
}

/* ── Token ── */
.token {
  background: transparent;
}

.loot {
  display: grid;
  justify-items: center;
  gap: 1.8rem;
  margin-bottom: 1.75rem;
  width: 100%;
}

.loot__coin {
  width: min(100%, 1100px);
}

.loot__coin img {
  display: block;
  width: min(100%, 240px);
  margin-inline: auto;
  border-radius: 28px;
  background: var(--white);
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid rgba(255, 61, 184, 0.55);
  box-shadow: var(--glow);
  animation: float-loot 6s ease-in-out infinite;
}

.loot__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
}

.loot__stats div {
  border: 1px solid rgba(255, 61, 184, 0.4);
  background: rgba(255, 255, 255, 0.04);
  padding: 1.2rem 0.5rem 1.3rem;
  text-align: center;
  border-radius: 18px;
  min-height: 110px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.45rem;
  transition: transform 0.2s var(--ease-out), background 0.2s, border-color 0.2s;
  container-type: inline-size;
  min-width: 0;
}

.loot__stats div:hover {
  transform: translateY(-3px);
  background: rgba(255, 61, 184, 0.12);
  border-color: var(--magenta);
}

.loot__stats span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.loot__stats strong {
  display: block;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 9.5cqi, 1.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.token-ca {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
}

.token-ca code {
  flex: 1;
  min-width: 0;
  word-break: break-all;
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 61, 184, 0.4);
  border-radius: 12px;
  color: var(--magenta-hot);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  justify-content: center;
  align-items: center;
}

.center-actions {
  justify-content: center;
}

.copy-toast {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--magenta-hot);
  min-height: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-toast.show {
  opacity: 1;
}

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

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 61, 184, 0.4);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 0 0 2px var(--magenta);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--magenta-hot);
  line-height: 1;
}

.footer-brand span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--magenta-hot);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--magenta-hot);
}

.footer-disclaimer {
  font-size: 0.72rem;
  max-width: 520px;
  line-height: 1.65;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .loot__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pools-embed {
    height: 560px;
  }

  .pools-frame {
    min-height: 480px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(14, 6, 24, 0.98);
    flex-direction: column;
    padding: 1.35rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 61, 184, 0.35);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero-veil {
    background:
      linear-gradient(
        to top,
        rgba(14, 6, 24, 0.94) 0%,
        rgba(14, 6, 24, 0.7) 42%,
        rgba(14, 6, 24, 0.4) 100%
      );
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-banner {
    object-position: 30% center;
  }

  .story-copy {
    text-align: center;
  }

  .story-copy .section-text {
    margin-left: auto;
    margin-right: auto;
  }

  .pools-chrome {
    grid-template-columns: 1fr auto;
  }

  .pools-dots {
    display: none;
  }

  .pools-url {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .hero-brand {
    font-size: 2.75rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    justify-content: center;
  }

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

  .token-ca {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .token-ca .btn-copy {
    justify-content: center;
  }

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

  .pools-embed {
    height: 480px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurora,
  .hero-banner,
  .ticker-track,
  .ascii-band pre,
  .cursor,
  .lore-portrait img,
  .loot__coin img {
    animation: none;
  }

  .cursor {
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
