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

:root {
  --void: #050505;
  --iron: #0c0c0e;
  --steel: #161618;
  --plate: #1c1c20;
  --navy: #050505;
  --navy-2: #0c0c0e;
  --navy-3: #161618;
  --gold: #c9a227;
  --gold-2: #8a6a14;
  --gold-soft: #e4c56a;
  --crimson: #9b1b2e;
  --cream: #e8e0d0;
  --muted: #8a867c;
  --line: rgba(201, 162, 39, 0.32);
  --font-display: "Anton", sans-serif;
  --font-head: "Anton", sans-serif;
  --font-serif: "Cinzel", serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --cut: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.stars,
.flag-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.stars {
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(228, 197, 106, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 22%, rgba(232, 224, 208, 0.2) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 64% 70%, rgba(201, 162, 39, 0.22) 50%, transparent 51%);
  opacity: 0.4;
}

.flag-glow {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(155, 27, 46, 0.16), transparent 40%),
    radial-gradient(ellipse at 88% 8%, rgba(201, 162, 39, 0.12), transparent 44%);
}

.flag-bar {
  height: 5px;
  background: linear-gradient(90deg, #9b1b2e 0%, #c9a227 50%, #9b1b2e 100%);
}

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

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

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

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 18px rgba(201, 162, 39, 0.35);
  clip-path: var(--cut);
}

.brand-copy strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-copy em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

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

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

.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--gold) !important;
  clip-path: var(--cut);
  background: var(--steel);
}

.icon-btn:hover {
  background: var(--gold);
  color: var(--navy) !important;
}

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

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

/* ── Hero ── */
.stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.stage-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  z-index: -2;
  filter: contrast(1.08) saturate(1.05);
}

.stage-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.35) 38%, rgba(5, 5, 5, 0.12) 62%, rgba(5, 5, 5, 0.45) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.55) 0%, transparent 42%);
}

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

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

.stage-kicker {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.36em;
  font-size: 0.72rem;
  color: var(--gold-soft);
  margin-bottom: 0.55rem;
}

.stage h1 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.84;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 10vw, 7.2rem);
}

.gold-type {
  display: block;
  background: linear-gradient(180deg, #f3e3a4 0%, #c9a227 45%, #6e5210 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.55));
}

.steel-type {
  display: block;
  color: #d8d4cc;
  font-size: 0.7em;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 0 #000;
}

.stage-ticker {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0.45rem 0 0.85rem;
  text-shadow: 0 0 24px rgba(201, 162, 39, 0.45);
}

.stage-line {
  max-width: 34rem;
  color: rgba(232, 224, 208, 0.86);
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 1.45rem;
}

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

.stage-mark {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border: 2px solid var(--gold);
  clip-path: var(--cut);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  clip-path: var(--cut);
  border-radius: 0;
}

.btn-gold {
  background: linear-gradient(180deg, #e4c56a 0%, #c9a227 42%, #8a6a14 100%);
  color: #140f04;
  box-shadow: 0 12px 32px rgba(138, 106, 20, 0.45);
}

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

.btn-ghost {
  background: rgba(5, 5, 5, 0.55);
  color: var(--cream);
  border: 1px solid var(--line);
}

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

.btn-lg { padding: 1.05rem 1.8rem; }

.btn-copy { flex-shrink: 0; }
.btn-copy.copied { background: var(--navy-3); color: var(--gold); }

/* ── Tape ── */
.ticker-tape {
  background: #0a0a0a;
  color: var(--gold);
  overflow: hidden;
  padding: 0.72rem 0;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold-2);
}

.tape {
  display: flex;
  gap: 1.6rem;
  white-space: nowrap;
  animation: tape 24s linear infinite;
  font-family: var(--font-head);
  letter-spacing: 0.18em;
  font-size: 1.05rem;
}

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

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

.panel-head {
  max-width: 640px;
  margin-bottom: 2.4rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gold);
  font-size: 0.7rem;
  margin-bottom: 0.7rem;
}

.panel h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.panel-head p,
.lore-copy p {
  color: rgba(244, 234, 216, 0.78);
  font-size: 1.05rem;
}

/* ── Tweets ── */
.signal { background: linear-gradient(180deg, var(--navy), var(--navy-2)); }

.tweet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.tweet {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.15rem 1rem;
  transition: transform 0.2s, border-color 0.2s;
}

.tweet:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.tweet-featured {
  background:
    linear-gradient(180deg, rgba(232, 197, 71, 0.08), transparent 40%),
    var(--navy-3);
}

.tweet-top {
  display: flex;
  justify-content: space-between;
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
}

.tweet-body {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.8rem;
}

.tweet-pfp {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.tweet-user {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.tweet-user span { color: var(--muted); font-weight: 400; }

.tweet-text {
  font-size: 1.05rem;
  line-height: 1.45;
  margin-bottom: 0.7rem;
}

.tweet-text-xl {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
}

.tweet-quote {
  font-size: 0.88rem;
  color: var(--gold-soft);
  border-left: 2px solid var(--gold);
  padding-left: 0.7rem;
  margin-bottom: 0.8rem;
}

.tweet-meta {
  color: var(--muted);
  font-size: 0.82rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tweet-stats {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding-top: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ── Reuters wire ── */
.wire {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  margin-bottom: 1.4rem;
  text-decoration: none;
  color: inherit;
  background: #111318;
  border: 1px solid rgba(255, 128, 0, 0.45);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.wire:hover {
  transform: translateY(-3px);
  border-color: #ff8000;
}

.wire-media {
  position: relative;
  min-height: 240px;
  background: #000;
}

.wire-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.wire-kicker {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #ff8000;
  color: #1a0a00;
  padding: 0.22rem 0.5rem;
}

.wire-copy {
  padding: 1.25rem 1.35rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wire-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: #ff8000;
  margin-bottom: 0.7rem;
}

.wire-dot {
  width: 10px;
  height: 10px;
  background: #ff8000;
  border-radius: 1px;
}

.wire-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  font-weight: 700;
  color: #f4f4f2;
  margin-bottom: 0.7rem;
  text-transform: none;
}

.wire-dek {
  color: #c8c8c4;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.wire-byline {
  font-size: 0.78rem;
  color: #8a8a86;
  margin-bottom: 0.9rem;
}

.wire-cta {
  font-family: var(--font-head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #ff8000;
}

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

.lore-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.lore-visual { position: relative; }

.lore-frame {
  position: relative;
  z-index: 1;
  border: 1px solid var(--gold);
  padding: 10px;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.lore-orbit {
  position: absolute;
  inset: -12%;
  border: 1px dashed rgba(232, 197, 71, 0.35);
  border-radius: 50%;
  z-index: 0;
}

.lore-orbit span {
  position: absolute;
  font-size: 1.4rem;
}

.lore-orbit span:nth-child(1) { top: 8%; left: 46%; }
.lore-orbit span:nth-child(2) { bottom: 10%; right: 8%; }
.lore-orbit span:nth-child(3) { top: 42%; left: 0; }

.lore-copy p { margin-bottom: 1rem; }
.lore-copy strong { color: var(--gold-soft); }

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

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

.lore-stats b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--cream);
}

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

/* ── Memes ── */
.vault { background: var(--navy); }

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

.meme-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #080808;
  cursor: zoom-in;
  padding: 0;
  clip-path: var(--cut);
  width: 100%;
}

.meme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s;
}

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

.meme-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(5, 7, 14, 0.88), transparent);
  pointer-events: none;
}

.meme-card span {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  z-index: 1;
  font-family: var(--font-head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: #fff;
}

.meme-lead {
  aspect-ratio: 16 / 9;
}

.meme-lead img { object-position: center 42%; }

.meme-squares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.meme-squares .meme-card { aspect-ratio: 1 / 1; }

.meme-wide {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0.9rem;
}

.meme-wide .meme-card:first-child { aspect-ratio: 4 / 3; }
.meme-wide .meme-card:last-child { aspect-ratio: 16 / 9; }

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

.lightbox::backdrop { background: rgba(4, 6, 12, 0.88); }

.lightbox img {
  max-height: 88vh;
  border: 2px solid var(--gold);
  border-radius: 8px;
}

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

/* ── CA / chart / buy ── */
.ca { background: var(--navy-2); 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(--steel);
  border: 1px solid var(--line);
  clip-path: var(--cut);
}

.ca-address {
  flex: 1;
  font-family: ui-monospace, monospace;
  font-size: clamp(0.78rem, 2.2vw, 1.05rem);
  letter-spacing: 0.08em;
  word-break: break-all;
  color: var(--gold-soft);
}

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

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

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

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

.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(--gold);
  text-decoration: none;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
}

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

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

.timeline li {
  background: var(--navy-3);
  border: 1px solid var(--line);
  padding: 1.5rem 1.15rem;
  clip-path: var(--cut);
  position: relative;
}

.timeline li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
}

.timeline span {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.5rem;
}

.timeline h3 {
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.4rem 0 0.4rem;
}

.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 {
  background: #050505;
  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: 56px;
  height: 56px;
  clip-path: var(--cut);
  border: 2px solid var(--gold);
  object-fit: cover;
}

.foot-brand strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

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

.foot-links a {
  color: var(--gold);
  text-decoration: none;
  font-family: var(--font-head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

  .stage-mark { display: none; }

  .stage-banner { object-position: 70% center; }

  .meme-squares {
    grid-template-columns: 1fr 1fr;
  }

  .meme-lead,
  .meme-wide .meme-card:first-child,
  .meme-wide .meme-card:last-child {
    aspect-ratio: 16 / 9;
  }
}

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

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 5, 0.98);
    flex-direction: column;
    padding: 1.4rem;
    gap: 1.1rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: 0.28s;
  }

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

  .ca-box { flex-direction: column; }
  .btn-copy { justify-content: center; width: 100%; }
}

@media (max-width: 520px) {
  .wire-copy { padding: 1rem; }

  .meme-squares {
    grid-template-columns: 1fr;
  }
}
