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

:root {
  --gold: #f4c430;
  --gold-bright: #ffe066;
  --gold-deep: #c89a12;
  --red: #c8102e;
  --red-bright: #e31c3d;
  --green: #1cff6a;
  --ink: #f4efe2;
  --ink-soft: #b8a88a;
  --cream: #f3e6c4;
  --white: #fff8e7;
  --bg: #07060a;
  --panel: #100e0a;
  --font-display: "Bebas Neue", "Oswald", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, monospace;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

.star-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  overflow: hidden;
}

.star-stamp {
  position: absolute;
  width: var(--star-size, 42px);
  height: var(--star-size, 42px);
  margin: calc(var(--star-size, 42px) / -2) 0 0 calc(var(--star-size, 42px) / -2);
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(244, 196, 48, 0.45));
  transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.4);
  animation: star-press var(--star-life, 1.4s) ease-out forwards;
}

.star-stamp.is-walk {
  color: rgba(255, 255, 255, 0.78);
  filter: drop-shadow(0 0 8px rgba(200, 16, 46, 0.35));
  animation-name: star-walk-fade;
}

.star-stamp svg { width: 100%; height: 100%; display: block; }

@keyframes star-press {
  0% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.35); }
  16% { opacity: 0.95; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(1.1); }
  42% { opacity: 0.82; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(calc(var(--rot, 0deg) + 8deg)) scale(0.88); }
}

@keyframes star-walk-fade {
  0% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.5); }
  12% { opacity: 0.7; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(1); }
  70% { opacity: 0.45; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .star-layer { display: none; }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.7rem 1.4rem;
  background: rgba(7, 6, 10, 0.88);
  border-bottom: 1px solid rgba(244, 196, 48, 0.22);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 14px rgba(244, 196, 48, 0.28);
  background: #1a1814;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

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

.nav-x {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--gold) !important;
  border: 1px solid rgba(244, 196, 48, 0.4);
  background: #100e0a;
}

.nav-x:hover {
  background: var(--gold);
  color: #07060a !important;
}

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

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

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #000;
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: 0;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 6, 10, 0.15) 0%, rgba(7, 6, 10, 0.28) 42%, rgba(7, 6, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 6, 10, 0.55) 0%, transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 6vw 5.2rem;
  max-width: 42rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  background: rgba(200, 16, 46, 0.9);
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 11vw, 8.2rem);
  line-height: 0.82;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 28px rgba(244, 196, 48, 0.35);
}

.hero-lead {
  margin: 1.1rem 0 1.6rem;
  color: var(--cream);
  font-weight: 600;
  font-size: 1.08rem;
  max-width: 28em;
}

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

.hero-tape {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: rgba(7, 6, 10, 0.86);
  border-top: 1px solid rgba(244, 196, 48, 0.4);
  padding: 0.7rem 0;
}

.tape-track {
  display: flex;
  gap: 1.6rem;
  width: max-content;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--gold);
  animation: marquee 26s linear infinite;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #ffe066 0%, var(--gold) 42%, var(--gold-deep) 100%);
  color: #07060a;
  border-color: rgba(255, 224, 102, 0.45);
  box-shadow: 0 8px 28px rgba(244, 196, 48, 0.38);
}

.btn-ghost {
  background: rgba(244, 196, 48, 0.08);
  color: var(--white);
  border-color: rgba(244, 196, 48, 0.42);
}

.btn-ghost:hover { background: rgba(244, 196, 48, 0.2); }

.btn-copy {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #07060a;
  flex-shrink: 0;
}

.btn-copy.copied {
  background: var(--green);
  color: #04120a;
}

main {
  display: grid;
  gap: 1.2rem;
  padding: 1.2rem 1.2rem 2.4rem;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(244, 196, 48, 0.08), transparent 40%),
    var(--bg);
}

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

.section-head {
  max-width: 36em;
  margin-bottom: 1.4rem;
}

.section-head h2,
.about-copy h2,
.ca-panel h2,
.buy-panel h2,
.chart-head h2,
.join-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.7rem;
}

.section-head p,
.about-copy p,
.join-card p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 0.85rem;
}

.about-copy strong { color: var(--gold-bright); }

.about {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.6rem 2.2rem;
  background: rgba(16, 14, 10, 0.72);
  border: 1px solid rgba(244, 196, 48, 0.16);
  border-radius: 28px;
}

.about-portrait {
  margin: 0;
  display: grid;
  place-items: center;
  gap: 0.85rem;
}

.about-portrait img {
  width: min(100%, 320px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--gold);
  box-shadow:
    0 0 0 12px rgba(244, 196, 48, 0.12),
    0 0 48px rgba(244, 196, 48, 0.22),
    var(--shadow);
  background: #1a1814;
}

.about-portrait figcaption {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--gold);
}

.about-copy blockquote {
  margin: 0.5rem 0 1.3rem;
  padding-left: 1rem;
  border-left: 3px solid var(--red);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--gold);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}

.chips li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(244, 196, 48, 0.35);
  border-radius: 999px;
  background: rgba(244, 196, 48, 0.06);
}

.thesis {
  padding: 2rem 1.5rem 2.2rem;
  background: rgba(16, 14, 10, 0.5);
  border: 1px solid rgba(244, 196, 48, 0.16);
  border-radius: 28px;
}

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

.sign {
  padding: 1.4rem 1.2rem;
  min-height: 210px;
  background: #100e0a;
  border: 1px solid rgba(244, 196, 48, 0.18);
  border-radius: 18px;
}

.sign span {
  font-family: var(--font-mono);
  color: var(--gold);
  display: block;
  margin-bottom: 0.55rem;
}

.sign h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.45rem;
}

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

.token {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.1rem;
}

.ca-panel,
.buy-panel,
.chart-dock,
.join-card {
  padding: 2rem 1.7rem;
  background: rgba(16, 14, 10, 0.86);
  border: 1px solid rgba(244, 196, 48, 0.18);
  border-radius: 22px;
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.6rem;
  padding: 1rem;
  background: #07060a;
  border: 1px solid rgba(244, 196, 48, 0.32);
  border-radius: 14px;
}

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

.ca-address.is-tba {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  letter-spacing: 0.18em;
  text-align: center;
  color: var(--gold);
}

.copy-toast {
  min-height: 1.4rem;
  margin-top: 0.7rem;
  font-weight: 700;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.25s;
}

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

.buy-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 0.4rem 0 1.3rem;
  color: var(--ink-soft);
}

.buy-list strong {
  font-family: var(--font-mono);
  color: var(--gold);
  margin-right: 0.4rem;
}

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

.chart-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(244, 196, 48, 0.28);
  background: #07060a;
  min-height: 480px;
}

.chart-wrapper.is-tba {
  min-height: 260px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(244, 196, 48, 0.16), transparent 58%),
    #07060a;
}

.chart-tba { text-align: center; color: var(--cream); padding: 3rem 1.5rem; }

.chart-tba-kicker {
  display: block;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.chart-tba strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: 0.16em;
  color: var(--gold);
}

.chart-tba p { color: rgba(243, 230, 196, 0.75); font-weight: 600; }

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

.chart-link {
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

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

.join-card {
  display: grid;
  grid-template-columns: auto 1fr minmax(220px, 38%);
  gap: 1.4rem;
  align-items: center;
}

.join-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.join-banner {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 16px;
  border: 1px solid rgba(244, 196, 48, 0.28);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 1.4rem 2rem;
  border-top: 1px solid rgba(244, 196, 48, 0.18);
}

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

.footer-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

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

.footer-brand span {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  opacity: 0.8;
}

.footer-disclaimer {
  max-width: 36em;
  font-size: 0.78rem;
  opacity: 0.7;
  text-align: right;
}

@media (max-width: 1100px) {
  .sign-grid { grid-template-columns: 1fr 1fr; }
  .about {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.6rem;
    padding: 1.8rem 1.3rem;
  }
  .about-copy blockquote { border-left: 0; padding-left: 0; }
  .chips { justify-content: center; }
  .token { grid-template-columns: 1fr; }
  .join-card { grid-template-columns: auto 1fr; }
  .join-banner { grid-column: 1 / -1; }
  .footer { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
}

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

  .topbar nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 6, 10, 0.97);
    padding: 0.4rem 0 1rem;
    border-bottom: 1px solid rgba(244, 196, 48, 0.22);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.4rem;
    font-size: 0.92rem;
  }

  .nav-x { margin: 0.4rem auto 0; }

  .hero { min-height: 78vh; }
  .hero-content { padding: 7rem 1.2rem 3.4rem; }
  .sign-grid { grid-template-columns: 1fr; }
  .join-card { grid-template-columns: 1fr; text-align: center; }
  .join-avatar { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .ca-box { flex-direction: column; }
  .chart-head { flex-direction: column; align-items: start; }
  .dexscreener-embed,
  .chart-wrapper { min-height: 420px; height: 420px; }
  .dexscreener-embed { height: 420px; }
}
