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

:root {
  --void: #02060f;
  --ink: #05101f;
  --panel: #0a1628;
  --lift: #102038;
  --blue: #2775ca;
  --blue-hot: #3d8eef;
  --blue-deep: #1a5aa8;
  --cyan: #7ec8ff;
  --cream: #eef4fb;
  --muted: #7a8aa0;
  --line: rgba(39, 117, 202, 0.35);
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--void);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.center { text-align: center; }
.muted { color: var(--muted); }
.blue-ink { color: var(--blue-hot); }

.noise,
.orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.noise {
  opacity: 0.035;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 60%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 80%, #fff 50%, transparent 51%);
  background-size: 120px 120px, 180px 180px, 90px 90px;
}

.orb-a {
  background: radial-gradient(ellipse at 15% 10%, rgba(39, 117, 202, 0.22), transparent 42%);
}

.orb-b {
  background: radial-gradient(ellipse at 85% 70%, rgba(61, 142, 239, 0.12), transparent 40%);
}

/* ── Header ── */
.masthead {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(2, 6, 15, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #000;
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-copy em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--blue-hot);
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-hot) !important;
  background: var(--lift);
}

.icon-btn:hover:not(.is-disabled) {
  background: var(--blue);
  color: #fff !important;
}

.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--blue-hot);
}

/* ── Hero ── */
.stage {
  position: relative;
  z-index: 1;
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2.5rem;
  isolation: isolate;
}

.stage-banner-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  place-items: center;
  background: #02060f;
  overflow: hidden;
}

.stage-banner {
  width: min(1080px, 94vw);
  height: auto;
  max-height: 58vh;
  object-fit: contain;
  filter: drop-shadow(0 0 60px rgba(39, 117, 202, 0.28));
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(2, 6, 15, 0.98) 0%, rgba(2, 6, 15, 0.55) 42%, rgba(2, 6, 15, 0.2) 70%, rgba(2, 6, 15, 0.55) 100%);
}

.stage-plate {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  padding-top: 8rem;
}

.stage-copy {
  max-width: 40rem;
}

.stage-kicker {
  font-family: var(--mono);
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}

.stage h1 {
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
}

.name-type {
  display: block;
  color: var(--blue-hot);
  font-style: italic;
}

.sub-type {
  display: block;
  color: var(--cream);
  font-size: 0.58em;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-style: italic;
  margin-top: 0.15em;
}

.stage-ticker {
  font-family: var(--mono);
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin: 0.55rem 0 0.9rem;
}

.stage-line {
  max-width: 34rem;
  color: rgba(238, 244, 251, 0.78);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

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

.stage-mark {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 40px rgba(39, 117, 202, 0.35);
  background: #000;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.9rem 1.55rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
}

.btn-blue {
  background: linear-gradient(180deg, var(--blue-hot) 0%, var(--blue) 55%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(39, 117, 202, 0.35);
}

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

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}

.btn-ghost:hover:not(.is-disabled) {
  border-color: var(--blue-hot);
  color: var(--blue-hot);
}

.btn-lg { padding: 1rem 1.7rem; }
.btn-copy { flex-shrink: 0; }
.btn-copy.copied {
  background: var(--lift);
  color: var(--blue-hot);
}

/* ── Tape ── */
.ticker-tape {
  position: relative;
  z-index: 1;
  background: #030a16;
  color: var(--blue-hot);
  overflow: hidden;
  padding: 0.7rem 0;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid rgba(39, 117, 202, 0.35);
}

.tape {
  display: flex;
  gap: 1.4rem;
  white-space: nowrap;
  animation: tape 28s linear infinite;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

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

/* ── Panels ── */
.panel {
  position: relative;
  z-index: 1;
  padding: 5.2rem 0;
}

.panel-head {
  max-width: 620px;
  margin-bottom: 2.3rem;
}

.eyebrow {
  display: block;
  font-family: var(--mono);
  letter-spacing: 0.2em;
  color: var(--blue-hot);
  font-size: 0.7rem;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.panel h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 0.8rem;
}

.panel-head p,
.lore-copy p {
  color: rgba(238, 244, 251, 0.72);
  font-size: 1.05rem;
}

.thesis { background: linear-gradient(180deg, var(--void), var(--ink)); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--blue-hot);
  transform: translateY(-3px);
}

.feature-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--blue-hot);
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
  color: var(--cyan);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ── Lore ── */
.lore { background: var(--ink); }

.lore-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.2rem;
  align-items: center;
}

.lore-frame {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.4rem;
  background: #02060f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(39, 117, 202, 0.12);
}

.lore-frame img {
  width: 100%;
  border-radius: 20px;
  background: #02060f;
}

.lore-copy p { margin-bottom: 1rem; }
.lore-copy .bio-lead {
  color: var(--cream);
  font-size: 1.12rem;
  line-height: 1.55;
  border-left: 3px solid var(--blue);
  padding-left: 1rem;
  margin-bottom: 1.15rem;
}
.lore-copy strong { color: var(--blue-hot); }
.lore-copy em {
  font-style: normal;
  color: var(--cyan);
}

.lore-stats {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.lore-stats li {
  border-top: 2px solid var(--blue);
  padding-top: 0.7rem;
  min-width: 100px;
}

.lore-stats b {
  display: block;
  font-family: var(--mono);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.lore-stats span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Vault ── */
.vault { background: var(--void); }

.meme-show {
  display: grid;
  gap: 0.85rem;
}

.vault-show {
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: clamp(220px, 28vw, 340px);
}

.meme-card {
  position: relative;
  display: grid;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #030a16;
  cursor: zoom-in;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  width: 100%;
  min-height: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.meme-card:hover,
.meme-card:focus-visible {
  border-color: var(--blue-hot);
  box-shadow: 0 0 0 1px rgba(61, 142, 239, 0.4), 0 16px 36px rgba(0, 0, 0, 0.45);
  outline: none;
  z-index: 1;
}

.meme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.meme-face img {
  object-fit: contain;
  background: #02060f;
  padding: 12%;
}

.meme-card:hover img,
.meme-card:focus-visible img { transform: scale(1.04); }

.meme-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(to top, rgba(2, 6, 15, 0.92) 12%, transparent);
  pointer-events: none;
}

.meme-card span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  z-index: 1;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #fff;
  pointer-events: none;
}

.meme-lead span {
  font-size: 0.9rem;
  bottom: 1.1rem;
  left: 1.2rem;
}

.lightbox {
  position: relative;
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 94vw);
}

.lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }

.lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid var(--blue);
  border-radius: 12px;
  background: #02060f;
}

.lightbox-close {
  position: absolute;
  top: -2.2rem;
  right: 0;
  background: none;
  border: none;
  color: var(--blue-hot);
  font-size: 2rem;
  cursor: pointer;
}

/* ── CA / chart / buy ── */
.ca { background: var(--ink); border-top: 1px solid var(--line); }

.ca-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 760px;
  margin: 1.4rem auto 0;
  padding: 1rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.ca-address {
  flex: 1;
  font-family: var(--mono);
  font-size: clamp(0.78rem, 2.2vw, 1.05rem);
  letter-spacing: 0.06em;
  word-break: break-all;
  color: var(--cyan);
}

.copy-toast {
  text-align: center;
  min-height: 1.25rem;
  margin-top: 0.7rem;
  color: var(--blue-hot);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.chart-panel { background: var(--void); }

.chart-frame {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #02060f;
}

.dexscreener-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.dexscreener-embed.hidden,
.chart-placeholder.hidden { display: none; }

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  padding: 2rem;
  text-align: center;
}

@media (min-width: 1100px) {
  .chart-frame { padding-bottom: 72%; }
}

.chart-link {
  display: block;
  text-align: center;
  margin-top: 1.1rem;
  color: var(--blue-hot);
  text-decoration: none;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.buy { background: linear-gradient(180deg, var(--ink), var(--void)); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 2.4rem 0;
}

.timeline li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.15rem;
  position: relative;
}

.timeline li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1.15rem;
  right: 1.15rem;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.timeline span {
  font-family: var(--mono);
  color: var(--blue-hot);
  font-size: 1.1rem;
}

.timeline h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.45rem 0;
}

.timeline p { color: var(--muted); font-size: 0.92rem; }

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

/* ── Footer ── */
.site-foot {
  position: relative;
  z-index: 1;
  background: #02060f;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
  padding: 2.4rem 0 2rem;
}

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

.foot-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #000;
}

.foot-brand strong {
  display: block;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.foot-brand span { color: var(--muted); font-size: 0.85rem; }

.foot-links {
  display: flex;
  gap: 1.4rem;
}

.foot-links a {
  color: var(--blue-hot);
  text-decoration: none;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.disclaimer {
  max-width: 640px;
  font-size: 0.75rem;
  color: #4a5a70;
}

@media (max-width: 900px) {
  .stage-plate,
  .lore-split,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .vault-show {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .meme-card {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .meme-face {
    aspect-ratio: 1 / 1;
  }

  .stage-mark { display: none; }

  .stage {
    min-height: auto;
    padding-top: 5rem;
  }

  .stage-banner {
    max-height: 28vh;
    width: min(720px, 92vw);
  }

  .stage-plate { padding-top: 2rem; }
}

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

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(2, 6, 15, 0.98);
    flex-direction: column;
    padding: 1.4rem;
    gap: 1.1rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: 0.28s;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: all;
  }

  .ca-box {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .btn-copy { justify-content: center; width: 100%; }
}
