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

:root {
  --void: #050403;
  --coal: #0e0c0a;
  --ash: #1a1510;
  --gold: #d4af37;
  --gold-bright: #f0d78c;
  --gold-deep: #a67c2d;
  --burgundy: #6b1c2a;
  --burgundy-soft: rgba(107, 28, 42, 0.35);
  --ink: #f5efe3;
  --ink-soft: #c4b8a4;
  --white: #fff8ec;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 0;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  --glow: 0 0 24px rgba(212, 175, 55, 0.22);
  --border: 1px solid rgba(212, 175, 55, 0.35);
  --border-strong: 2px solid rgba(212, 175, 55, 0.55);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
    linear-gradient(225deg, rgba(107, 28, 42, 0.08) 0%, transparent 35%),
    linear-gradient(180deg, #080605 0%, #120e0a 45%, #050403 100%);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

.ember-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 80px,
      rgba(212, 175, 55, 0.015) 80px,
      rgba(212, 175, 55, 0.015) 81px
    );
}

.spark-drift {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold);
  opacity: 0.4;
  animation: riseSpark 12s linear infinite;
}

.spark-1 { left: 12%; bottom: -5%; animation-delay: 0s; }
.spark-2 { left: 32%; bottom: -5%; animation-delay: -2.5s; }
.spark-3 { left: 55%; bottom: -5%; animation-delay: -5s; }
.spark-4 { left: 72%; bottom: -5%; animation-delay: -7.5s; width: 4px; height: 4px; }
.spark-5 { left: 88%; bottom: -5%; animation-delay: -9s; }

@keyframes riseSpark {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.6; }
  100% { transform: translateY(-110vh); opacity: 0; }
}

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

.accent { color: var(--gold-bright); }
.center { text-align: center; }

/* Header — sharp bar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 4, 3, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-strong);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--gold-bright);
}

.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 2px solid var(--gold);
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
}

.nav-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  line-height: 1;
  font-weight: 600;
}

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

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

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

.nav-social {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--gold);
  color: var(--void) !important;
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%);
  transition: background 0.2s, transform 0.2s;
}

.nav-social:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

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

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

/* ── Hero: full-bleed cinematic (distinct from body) ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  isolation: isolate;
  overflow: hidden;
  background: #000;
}

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

.hero-banner-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  animation: heroKen 18s ease-in-out infinite alternate;
}

@keyframes heroKen {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-media-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.55) 0%, rgba(5, 4, 3, 0.15) 45%, rgba(5, 4, 3, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.35) 0%, transparent 30%, rgba(5, 4, 3, 0.92) 100%);
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 0 3.5rem;
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.2) 0%, rgba(5, 4, 3, 0.94) 28%, #050403 100%);
  animation: panelRise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes panelRise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-panel-inner {
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: 4.5rem 0 0;
  text-align: center;
  color: var(--white);
}

.hero-logo {
  width: min(96px, 22vw);
  height: min(96px, 22vw);
  object-fit: cover;
  border: 2px solid var(--gold);
  clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
  margin-bottom: 1.1rem;
  box-shadow: var(--glow);
  animation: logoIn 1.1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes logoIn {
  from { opacity: 0; transform: translateY(16px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.7));
  margin-bottom: 0.35rem;
  animation: titleIn 1s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes titleIn {
  from { opacity: 0; letter-spacing: 0.22em; }
  to { opacity: 1; letter-spacing: 0.08em; }
}

.hero-ticker {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.28em;
  display: inline-block;
  padding: 0.2rem 0.9rem;
  border-left: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  animation: titleIn 1s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-bio {
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-weight: 500;
  max-width: 28em;
  margin: 0 auto 1.5rem;
  color: rgba(245, 239, 227, 0.88);
  animation: panelRise 1s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  animation: panelRise 1s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-edge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright), var(--gold), transparent);
}

/* Buttons — angular */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: var(--void);
  border-color: rgba(255, 248, 236, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fff0b8, var(--gold));
}

.btn-ghost {
  background: rgba(5, 4, 3, 0.55);
  color: var(--white);
  border-color: rgba(212, 175, 55, 0.5);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold-bright);
}

.btn-lg {
  padding: 1rem 1.65rem;
  font-size: 1rem;
}

.btn-copy {
  background: var(--gold);
  color: var(--void);
  border-color: transparent;
  flex-shrink: 0;
}

.btn-copy.copied { background: var(--gold-bright); }

.btn-copy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Marquee */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #0a0806;
  color: var(--gold);
  padding: 0.8rem 0;
  border-block: 2px solid var(--gold-deep);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
}

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

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section-text {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 38em;
}

.section-text.center,
.viral-lead {
  margin-inline: auto;
}

.section-text strong { color: var(--gold-bright); }

.story-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 2px solid rgba(212, 175, 55, 0.45);
  transition: color 0.2s;
}

.story-link:hover { color: var(--gold-bright); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: var(--border-strong);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
  box-shadow: var(--shadow);
  animation: pulseBorder 4s ease-in-out infinite;
}

@keyframes pulseBorder {
  0%, 100% { box-shadow: var(--shadow), 0 0 0 0 rgba(212, 175, 55, 0); }
  50% { box-shadow: var(--shadow), 0 0 0 4px rgba(212, 175, 55, 0.18); }
}

/* Viral / tweet */
.viral {
  background:
    linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.04), transparent),
    transparent;
}

.tweet-embed-wrap {
  margin: 1.75rem auto 0;
  max-width: 560px;
  padding: 1.25rem 1rem 0.5rem;
  background: rgba(14, 12, 10, 0.95);
  border: var(--border);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

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

.legend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.legend-item {
  padding: 1.5rem 1.2rem;
  text-align: center;
  background: rgba(14, 12, 10, 0.8);
  border: var(--border);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.legend-item:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 215, 140, 0.55);
  background: rgba(26, 21, 16, 0.9);
}

.legend-stat {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.legend-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.45rem;
  font-weight: 600;
  text-transform: uppercase;
}

.legend-item p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Contract */
.ca-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 820px;
  margin: 1.5rem auto 0;
  padding: 1rem 1rem 1rem 1.25rem;
  background: rgba(14, 12, 10, 0.95);
  border: var(--border-strong);
  box-shadow: var(--shadow);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.ca-address {
  flex: 1;
  font-size: clamp(0.72rem, 2vw, 0.95rem);
  word-break: break-all;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.copy-toast {
  text-align: center;
  min-height: 1.5rem;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.25s;
}

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

/* Chart */
.chart-wrapper {
  margin-top: 1.5rem;
  overflow: hidden;
  border: var(--border-strong);
  box-shadow: var(--shadow);
  background: #050403;
  min-height: 480px;
}

.dexscreener-embed {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

.chart-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 2rem;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 600;
}

.chart-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
}

.chart-link:hover { color: var(--gold-bright); }

/* Buy steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.step {
  padding: 1.35rem 1.15rem;
  background: rgba(14, 12, 10, 0.8);
  border: var(--border);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 0.2s, border-color 0.2s;
}

.step:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 215, 140, 0.45);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
  letter-spacing: 0.08em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.4rem;
  font-weight: 600;
  text-transform: uppercase;
}

.step p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

.buy .btn-ghost {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.4);
}

.buy .btn-ghost:hover {
  background: rgba(212, 175, 55, 0.16);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 2rem;
  background: #050403;
  color: var(--ink-soft);
  border-top: var(--border-strong);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}

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

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid var(--gold);
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
}

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

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.85rem;
}

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

.footer-disclaimer {
  max-width: 42em;
  font-size: 0.82rem;
  opacity: 0.65;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .section-text { margin-inline: auto; }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .legend-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 4, 3, 0.98);
    padding: 0.5rem 0 1rem;
    border-bottom: var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { border-top: 1px solid rgba(212, 175, 55, 0.1); }

  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
  }

  .nav-socials {
    justify-content: center;
    padding: 0.75rem;
    margin: 0;
  }

  .nav-toggle { display: flex; }

  .hero {
    min-height: 100svh;
  }

  .hero-panel {
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    padding-bottom: 2.5rem;
  }

  .hero-panel-inner {
    padding-top: 3.2rem;
  }

  .hero-banner-full {
    object-position: 30% center;
    animation: none;
  }

  .ca-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

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

  .dexscreener-embed,
  .chart-wrapper { min-height: 420px; height: 420px; }

  .dexscreener-embed { height: 420px; }

  .tweet-embed-wrap {
    padding: 0.85rem 0.35rem 0.25rem;
    min-height: 280px;
  }
}
