/* ============================================
   Super Elon ($SE) — Design System
   ============================================ */

:root {
  --bg: #050814;
  --bg-elevated: #0a1020;
  --navy: #0c1a3a;
  --navy-mid: #132a5c;
  --blue: #1e4fd6;
  --blue-bright: #3b6ef5;
  --red: #e10600;
  --red-deep: #a80500;
  --gold: #d4af37;
  --gold-soft: #f0d78c;
  --gold-dim: rgba(212, 175, 55, 0.18);
  --white: #f7f8fc;
  --muted: #9aa3b8;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --font-display: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  --font-brand: "Syne", "Arial Black", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;

  --header-h: 72px;
  --radius: 4px;
  --radius-lg: 12px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --ca: "F2xEKTkpc7ACpzttugRRBJWCYSqdFvp7ioixXXzqpump";
  --chart-url: "https://dexscreener.com/solana/F2xEKTkpc7ACpzttugRRBJWCYSqdFvp7ioixXXzqpump";
  --buy-url: "https://pump.fun/coin/F2xEKTkpc7ACpzttugRRBJWCYSqdFvp7ioixXXzqpump";
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

code {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--gold);
  color: #111;
  padding: 0.65rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Atmosphere */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 44% 28%, rgba(240, 215, 140, 0.7), transparent),
    radial-gradient(1px 1px at 61% 78%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 73% 14%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 88% 42%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 8% 88%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 52% 48%, rgba(255, 255, 255, 0.35), transparent);
  animation: star-drift 80s linear infinite;
}

.cosmic-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 70% 10%, rgba(30, 79, 214, 0.18), transparent 60%),
    radial-gradient(ellipse 45% 35% at 15% 80%, rgba(225, 6, 0, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(212, 175, 55, 0.06), transparent 50%);
}

@keyframes star-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-40px); }
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.section-eyebrow {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.section-title--sm {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 0;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
  margin-bottom: 2.5rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
}

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 0.85rem;
}

.btn-xl {
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
  min-width: 10rem;
}

.btn-primary {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(225, 6, 0, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(225, 6, 0, 0.38);
}

.btn-outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--blue-bright);
  background: rgba(30, 79, 214, 0.15);
}

.btn-x {
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.btn-x:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-copy {
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
  background: var(--navy-mid);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

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

.btn-copy.is-copied {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-brand);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.badge-prelaunch {
  color: var(--gold-soft);
  border-color: rgba(212, 175, 55, 0.35);
  background: var(--gold-dim);
}

.badge-chain {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.chain-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9945ff;
  box-shadow: 0 0 8px rgba(153, 69, 255, 0.7);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 8, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.brand-ticker {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  font-weight: 600;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-desktop a:hover {
  color: var(--white);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(5, 8, 20, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  padding: 0.85rem 0.5rem;
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.nav-mobile a:last-child {
  border-bottom: 0;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 4rem;
  overflow: clip;
}

.hero-env {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-banner {
  position: absolute;
  inset: -8% -5% -5%;
  background:
    linear-gradient(105deg, rgba(5, 8, 20, 0.55) 0%, rgba(5, 8, 20, 0.2) 45%, rgba(5, 8, 20, 0.75) 100%),
    url("assets/banner.png") center / cover no-repeat;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.05);
  will-change: transform;
  transition: transform 0.6s var(--ease);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 20, 0.92) 0%, rgba(5, 8, 20, 0.55) 42%, rgba(5, 8, 20, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 8, 20, 0.35) 0%, transparent 30%, rgba(5, 8, 20, 0.85) 100%);
}

.hero-bloom {
  position: absolute;
  width: 55%;
  height: 55%;
  right: -5%;
  top: 10%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.18) 0%, rgba(30, 79, 214, 0.12) 40%, transparent 70%);
  filter: blur(40px);
  animation: bloom-pulse 8s ease-in-out infinite;
}

@keyframes bloom-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
  position: relative;
  z-index: 3;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  margin-bottom: 1rem;
}

.hero-title-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 14vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.hero-title-ticker {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-brand);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.18em;
}

.hero-hook {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 1.75rem;
  max-width: 22ch;
}

.ca-block {
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.ca-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.ca-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ca-value {
  flex: 1 1 10rem;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  background: rgba(10, 16, 32, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--white);
  min-width: 0;
  word-break: break-all;
}

.ca-note {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

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

.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 280px;
  z-index: 2;
  will-change: transform;
}

.hero-orbit {
  position: absolute;
  width: min(90%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(212, 175, 55, 0.12), transparent 45%),
    radial-gradient(circle at 60% 60%, rgba(30, 79, 214, 0.2), transparent 55%);
  filter: blur(8px);
  animation: orbit-breathe 7s ease-in-out infinite;
}

@keyframes orbit-breathe {
  0%, 100% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

.hero-mascot {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  max-height: min(58vh, 560px);
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  animation: float-mascot 5.5s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes float-mascot {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

.hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* About */
.about {
  border-top: 1px solid var(--line);
}

.about-lead {
  font-family: var(--font-brand);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 28ch;
  margin-bottom: 1.25rem;
}

.about-sub {
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.05rem;
}

/* Origin */
.origin {
  background:
    linear-gradient(180deg, transparent, rgba(12, 26, 58, 0.45), transparent);
}

.lineage {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  margin: 1.5rem 0 3rem;
}

.lineage-item {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 10vw, 6rem);
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1;
}

.lineage-item--active {
  color: var(--white);
  text-shadow: 0 0 40px rgba(225, 6, 0, 0.35);
  position: relative;
}

.lineage-item--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.08em;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.lineage-arrow {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--gold);
  opacity: 0.7;
}

.origin-statements {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

.origin-line {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--muted);
}

.origin-line--accent {
  color: var(--white);
  padding-left: clamp(0rem, 4vw, 2rem);
}

.origin-quote {
  border-left: 3px solid var(--red);
  padding: 0.5rem 0 0.5rem 1.5rem;
  max-width: 28rem;
}

.origin-quote p {
  font-family: var(--font-brand);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
}

.origin-quote-punch {
  color: var(--gold-soft);
  margin-top: 0.35rem;
}

/* Timeline / Feed */
.timeline {
  border-top: 1px solid var(--line);
}

.feed {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 42rem;
  margin-top: 0.5rem;
  padding-left: 1.25rem;
}

.feed::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(180deg, var(--red), var(--gold), transparent);
}

.feed-post {
  position: relative;
  padding: 1.35rem 0 1.35rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.feed-post:last-child {
  border-bottom: 0;
}

.feed-mark {
  position: absolute;
  left: -1.05rem;
  top: 1.65rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.feed-text {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.5vw, 2.4rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.feed-text--gold {
  color: var(--gold-soft);
}

/* Character */
.character {
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(30, 79, 214, 0.15), transparent 60%);
}

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

.character-visual {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, 380px);
}

.character-ring {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 6, 0, 0.12), transparent 55%);
}

.character-ring::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  animation: ring-spin 40s linear infinite;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.character-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.character-body {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 38ch;
  margin-bottom: 1rem;
}

.character-body strong {
  color: var(--gold-soft);
  font-weight: 700;
}

.character-note {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

/* Chart */
.chart-section {
  border-top: 1px solid var(--line);
}

.chart-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.chart-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.chart-shell {
  position: relative;
  min-height: min(62vh, 560px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 26, 58, 0.6), rgba(5, 8, 20, 0.9));
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem;
  z-index: 1;
}

.chart-placeholder-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 79, 214, 0.25), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.chart-placeholder-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  object-fit: cover;
}

.chart-placeholder-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
}

.chart-placeholder-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.chart-placeholder-sub code {
  color: var(--gold-soft);
  word-break: break-all;
}

.chart-iframe {
  width: 100%;
  height: min(62vh, 560px);
  border: 0;
  display: block;
  background: #0b1220;
}

.chart-shell[data-live="true"] .chart-placeholder {
  display: none;
}

.chart-shell[data-live="true"] .chart-iframe {
  display: block;
}

.chart-iframe[hidden] {
  display: none;
}

/* Buy */
.buy-section {
  position: relative;
  overflow: clip;
  padding: clamp(5rem, 12vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.buy-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.buy-mascot {
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: min(70vw, 560px);
  opacity: 0.35;
  filter: drop-shadow(0 0 40px rgba(225, 6, 0, 0.2));
  transform: scaleX(-1);
}

.buy-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(5, 8, 20, 0.75) 55%, rgba(5, 8, 20, 0.45) 100%),
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(225, 6, 0, 0.12), transparent 60%);
}

.buy-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.buy-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 1rem 0 0.75rem;
}

.buy-sub {
  font-family: var(--font-brand);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 2rem;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.buy-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.5rem;
  background: #03050c;
}

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

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

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-name {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.05rem;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.6;
  opacity: 0.85;
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (min-width: 640px) {
  .hero-scroll {
    display: flex;
  }
}

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

  .nav-toggle {
    display: none;
  }

  .character-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }

  .buy-mascot {
    opacity: 0.45;
    right: 0;
    bottom: -12%;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 1rem 0 3rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1rem;
    min-height: calc(100svh - var(--header-h) - 4rem);
  }

  .hero-stage {
    min-height: 520px;
    justify-content: flex-end;
    align-items: center;
  }

  .hero-mascot {
    width: min(100%, 560px);
    max-height: min(78vh, 720px);
    margin-right: -1rem;
    margin-bottom: -2rem;
  }

  .hero-banner {
    background-position: 60% center;
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(5, 8, 20, 0.95) 0%, rgba(5, 8, 20, 0.55) 38%, rgba(5, 8, 20, 0.15) 68%, rgba(5, 8, 20, 0.5) 100%),
      linear-gradient(180deg, rgba(5, 8, 20, 0.25) 0%, transparent 35%, rgba(5, 8, 20, 0.8) 100%);
  }

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

  .footer-disclaimer {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1280px) {
  .hero-mascot {
    width: 600px;
    max-height: 760px;
  }
}

/* Mobile hero: copy first, character below — no text coverage */
@media (max-width: 1023px) {
  .hero-stage {
    margin-top: 0.5rem;
  }

  .hero-mascot {
    max-height: min(46vh, 400px);
  }

  .hero-banner {
    background-position: 70% center;
    opacity: 0.85;
  }

  .hero-actions .btn-lg {
    flex: 1 1 auto;
    min-width: 9rem;
  }
}

@media (max-width: 479px) {
  .header-ctas .btn-ghost,
  .header-ctas .btn-primary {
    display: none;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .hero-title-main {
    font-size: clamp(3.4rem, 16vw, 4.5rem);
  }

  .buy-actions .btn-xl {
    width: 100%;
  }
}

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

  .stars,
  .hero-bloom,
  .hero-mascot,
  .hero-orbit,
  .character-ring::before,
  .scroll-line {
    animation: none !important;
  }

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

  .btn,
  .hero-banner {
    transition: none;
  }
}
