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

:root {
  --bg: #0a0908;
  --bg-elevated: #141210;
  --bg-card: #1a1714;
  --gold: #ffc300;
  --gold-bright: #ffd700;
  --gold-dim: #b8860b;
  --ink: #f5f0e6;
  --muted: #9a9080;
  --line: rgba(255, 195, 0, 0.15);
  --glow: rgba(255, 195, 0, 0.35);
  --display: "Oswald", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --wrap: 1140px;
  --pad: clamp(1rem, 3vw, 2rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
code { font-family: ui-monospace, "Cascadia Code", monospace; }

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.glow-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 195, 0, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(255, 140, 0, 0.06), transparent 50%),
    var(--bg);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 9, 8, 0.88);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 16px var(--glow);
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.header-nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s;
}

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

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

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

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.55) 0%, rgba(10, 9, 8, 0.92) 55%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: clamp(140px, 22vw, 200px);
  margin-bottom: 1.5rem;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow:
    0 0 40px var(--glow),
    0 0 80px rgba(255, 195, 0, 0.15);
  overflow: hidden;
  background: #000;
}

.hero-logo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(255, 195, 0, 0.3));
}

.hero-ticker {
  font-family: var(--display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin: 0.35rem 0 0.75rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--muted);
  font-style: italic;
  max-width: 28em;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-ca {
  max-width: 420px;
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(20, 18, 16, 0.75);
  backdrop-filter: blur(8px);
}

.hero-ca .ca-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  margin-bottom: 0.35rem;
}

.hero-ca code {
  display: block;
  font-size: 0.58rem;
  word-break: break-all;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1200;
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(255, 195, 0, 0.25);
}

.btn-gold:hover {
  box-shadow: 0 6px 32px rgba(255, 195, 0, 0.4);
}

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

.btn-outline:hover {
  background: rgba(255, 195, 0, 0.08);
  border-color: var(--gold);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.68rem;
  margin-top: 0.75rem;
}

.btn-copy {
  width: 100%;
  border: 0;
  background: var(--bg-elevated);
  color: var(--gold);
  padding: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.btn-copy:hover {
  background: rgba(255, 195, 0, 0.1);
  border-color: var(--gold-dim);
}

/* Shared sections */
.section-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.6rem;
}

section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Origin + Tweet */
.origin {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.origin-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 36em;
}

.origin-copy p strong { color: var(--ink); }

.origin-handle {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  font-size: 1.05rem;
}

.origin-handle:hover { text-decoration: underline; }

.tweet-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-card);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 195, 0, 0.05),
    0 16px 48px rgba(0, 0, 0, 0.45);
}

.tweet-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 195, 0, 0.06), transparent);
}

.tweet-card-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold-dim);
}

.tweet-card-header strong {
  display: block;
  font-size: 0.92rem;
}

.tweet-card-header span {
  font-size: 0.78rem;
  color: var(--muted);
}

.tweet-badge {
  margin-left: auto;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
  background: rgba(255, 195, 0, 0.12);
  color: var(--gold);
  border: 1px solid var(--line);
}

.tweet-embed-wrap {
  padding: 1.25rem;
  display: flex;
  justify-content: center;
  min-height: 280px;
  background: #000;
}

.tweet-embed-wrap .twitter-tweet {
  margin: 0 !important;
}

.tweet-link {
  display: block;
  text-align: center;
  padding: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
  border-top: 1px solid var(--line);
  transition: background 0.15s;
}

.tweet-link:hover {
  background: rgba(255, 195, 0, 0.06);
}

/* Feature */
.feature {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.feature-banner {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.feature-banner img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-body p {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 36em;
}

.dossier {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  background: var(--bg-card);
}

.dossier h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  margin-bottom: 1rem;
}

.dossier dl { display: grid; gap: 0.5rem; }

.dossier div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
}

.dossier dt {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.dossier dd {
  font-weight: 600;
}

.dossier a {
  color: var(--gold);
  text-decoration: none;
}

.dossier a:hover { text-decoration: underline; }

/* Gallery */
.gallery {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-frame {
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}

.gallery-frame:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.gallery-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.25s;
}

.gallery-wide img { aspect-ratio: 16 / 9; }

.gallery-frame:hover img { transform: scale(1.03); }

.gallery-frame span {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  background: var(--bg-card);
}

/* Token */
.token {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.token-head p:last-child {
  color: var(--muted);
  max-width: 32em;
  margin-bottom: 1.5rem;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  padding: 1rem;
  margin-bottom: 0.5rem;
}

.stats-bar span {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  margin-bottom: 0.25rem;
}

.stats-bar strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.stats-note {
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.token-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
}

.token-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  background: var(--bg-card);
}

.ca-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
}

.ca-address,
.ca-inline {
  display: block;
  font-size: 0.62rem;
  word-break: break-all;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  padding: 0.65rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.copy-toast {
  min-height: 1.2rem;
  font-size: 0.72rem;
  color: var(--gold);
  opacity: 0;
  margin-top: 0.35rem;
}

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

.ticker-label {
  margin: 1rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.ticker-label strong {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-top: 0.15rem;
}

.token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chart-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: 480px;
  background: #fff;
}

.chart-wrapper { height: 100%; min-height: 480px; }

.dexscreener-embed {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

/* CTA */
.cta {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.cta-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: center;
}

.cta-logo {
  width: 180px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  overflow: hidden;
  box-shadow: 0 0 40px var(--glow);
}

.cta-logo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.cta-links a {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--gold);
  transition: background 0.15s, border-color 0.15s;
}

.cta-links a:hover {
  background: rgba(255, 195, 0, 0.08);
  border-color: var(--gold-dim);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: var(--bg-elevated);
}

.site-footer p:first-child {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.fineprint {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 52em;
  line-height: 1.55;
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  max-width: min(920px, 96vw);
  max-height: 92vh;
  background: transparent;
}

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

.lightbox figure {
  background: var(--bg-card);
  border: 2px solid var(--gold-dim);
  border-radius: 12px;
  padding: 0.5rem;
}

.lightbox img {
  max-height: 75vh;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox figcaption {
  padding: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--gold-dim);
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  background: var(--bg-card);
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 8px;
  z-index: 200;
}

@media (max-width: 900px) {
  .origin-grid,
  .feature-grid,
  .token-grid,
  .cta-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-logo {
    width: 140px;
    margin: 0 auto;
  }

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

  .header-nav { display: none; }
}

@media (max-width: 560px) {
  .stats-bar { grid-template-columns: 1fr; }
}
