:root {
  --ink: #07060a;
  --panel: #12110e;
  --gold: #f0b90b;
  --gold-hot: #ffe14a;
  --cream: #f6f1e4;
  --muted: #a39e93;
  --line: color-mix(in srgb, var(--gold) 28%, transparent);
  --sans: "Be Vietnam Pro", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  --display: "Be Vietnam Pro", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  --ticker: "Noto Sans SC", "Be Vietnam Pro", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p {
  margin: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

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

.kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker-mark {
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex: none;
}

h2 {
  margin-top: 1.1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.prose {
  margin-top: 1.1rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.prose strong {
  color: var(--cream);
  font-weight: 700;
}

.section {
  padding: 5.5rem 0;
}

.section-panel {
  background: var(--panel);
}

.section-intro,
.section-head {
  max-width: 46rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
}

.text-link span {
  transition: transform 0.3s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--gold-hot);
}

.btn-lg {
  padding: 1rem 1.6rem;
}

.btn:focus-visible,
.nav a:focus-visible,
.door-link:focus-visible,
.social-card:focus-visible,
.ca-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(18px);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--ink) 96%, transparent);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  gap: 1rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold);
  font-family: var(--ticker);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-logo,
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
}

.nav-links,
.nav-actions {
  display: none;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.nav-actions > a:not(.btn) {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.nav-links a:hover,
.nav-actions > a:not(.btn):hover,
.footer-links a:hover {
  color: var(--gold);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  background: transparent;
  display: grid;
  place-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.3s ease;
}

.nav-toggle {
  align-content: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 97%, transparent);
  padding: 0.4rem 1.25rem 1.1rem;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}

.mobile-buy {
  margin-top: 0.35rem;
  background: var(--gold);
  color: var(--ink) !important;
  text-align: center;
}

.hero {
  padding-top: 76px;
  background:
    radial-gradient(ellipse 70% 45% at 80% 100%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 62%),
    var(--ink);
}

.hero-art img {
  width: 100%;
  height: auto;
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.6rem 0 3.5rem;
}

.hero-mark {
  width: 112px;
  height: 112px;
  border-radius: 1.15rem;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

.ticker {
  margin-top: 0.85rem;
  font-family: var(--ticker);
  font-weight: 900;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.name {
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.04em;
}

.lede {
  margin-top: 0.55rem;
  max-width: 28rem;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  font-size: 15px;
}

.hero-actions,
.buy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  color: var(--cream);
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.ca-chip span,
.card-index,
.card-meta,
.steps span,
.door-link > span:first-child,
.status,
.copyright,
.chart-tba .kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.ca-chip code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream);
}

.copy-toast {
  flex-basis: 100%;
  min-height: 1rem;
  margin: 0;
  opacity: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #34d399;
  transition: opacity 0.25s ease;
}

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

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 4px color-mix(in srgb, #34d399 22%, transparent);
  animation: pulse-dot 1.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.marquee {
  border-block: 1px solid var(--line);
  background: var(--ink);
  padding: 0.85rem 0;
  overflow: hidden;
}

.marquee-row + .marquee-row {
  margin-top: 0.45rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-left 32s linear infinite;
}

.marquee-track-rev {
  animation-name: marquee-right;
  animation-duration: 36s;
}

.marquee-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding-right: 0.4rem;
}

.marquee-item.muted {
  color: color-mix(in srgb, var(--gold) 55%, transparent);
}

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

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

.lore-banner {
  margin: 2.5rem auto 0;
  max-width: 920px;
}

.lore-banner figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.rule {
  flex: 1;
  min-width: 2rem;
  height: 1px;
  background: var(--line);
}

.frame,
.look-card,
.chart-frame,
.stat-grid,
.steps,
.door-grid,
.social-grid {
  border: 1px solid var(--line);
}

.frame {
  overflow: hidden;
}

.look-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.look-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  cursor: zoom-in;
  background: var(--ink);
}

.look-card img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.look-card:hover img {
  transform: scale(1.03);
}

.look-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.2rem;
  padding: 3.2rem 1rem 1rem;
  background: linear-gradient(to top, var(--ink), transparent);
}

.look-card figcaption span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.look-card figcaption strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}

.social-grid,
.stat-grid,
.steps,
.door-grid {
  display: grid;
  gap: 1px;
  margin-top: 2.2rem;
  background: var(--line);
  overflow: hidden;
}

.social-card,
.door-link,
.stat-grid > div,
.steps li {
  background: var(--ink);
  text-decoration: none;
}

.social-card,
.door-link {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1.35rem 1.25rem 1.45rem;
  transition: background 0.3s ease;
}

.social-card:hover,
.door-link:hover {
  background: var(--panel);
}

.social-card strong,
.door-link strong,
.steps h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.stat-grid > div,
.steps li {
  padding: 1.25rem 1.2rem 1.4rem;
}

.stat-grid p:first-child,
.steps p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.stat {
  margin-top: 0.7rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.status {
  margin-top: 0.8rem;
  color: var(--muted);
}

.steps h3 {
  margin-top: 0.65rem;
  font-size: 1.35rem;
}

.steps p {
  margin-top: 0.4rem;
}

.buy-layout {
  display: grid;
  gap: 2.5rem;
}

.chart-frame {
  margin-top: 2.2rem;
  background: var(--ink);
  overflow: hidden;
}

.dex-embed {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
  background: var(--ink);
}

.chart-tba {
  min-height: 280px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  background:
    radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 58%),
    var(--ink);
}

.chart-tba-title {
  margin-top: 0.6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: -0.04em;
}

.chart-tba p:last-child {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.8rem;
}

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

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

.footer-brand strong {
  display: block;
  color: var(--gold);
  font-family: var(--ticker);
  font-weight: 900;
  font-size: 1.25rem;
}

.footer-brand p,
.disclaimer,
.copyright {
  color: var(--muted);
}

.footer-brand p {
  margin-top: 0.15rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.disclaimer {
  margin-top: 1.1rem;
  max-width: 40rem;
  font-size: 12px;
  line-height: 1.6;
}

.copyright {
  margin-top: 1rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem 4.2rem;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(12px);
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-cap {
  position: absolute;
  bottom: 1.1rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (min-width: 720px) {
  .hero-copy {
    grid-template-columns: auto 1fr;
    gap: 1.8rem;
    padding-bottom: 4.2rem;
  }

  .hero-mark {
    width: 148px;
    height: 148px;
  }

  .look-grid {
    grid-template-columns: 280px 1fr;
    align-items: stretch;
  }

  .look-card:first-child img {
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }

  .social-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .buy-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: auto 1fr;
    justify-content: space-between;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .door-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 959px) {
  .door-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .door-grid,
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dex-embed {
    height: 420px;
  }
}

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

  .marquee-track,
  .pulse-dot {
    animation: none !important;
  }

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