:root {
  --felt: #0b3d2e;
  --felt-deep: #06241b;
  --felt-rich: #0f4f3b;
  --gold: #e4c15a;
  --gold-deep: #9a7420;
  --gold-soft: #f6e3a1;
  --ink: #07090a;
  --cream: #f4efe2;
  --muted: #c9c2ae;
  --red: #c41e3a;
  --blue: #1e4d8c;
  --line: rgba(228, 193, 90, 0.28);
  --sans: "Outfit", system-ui, sans-serif;
  --display: "Cinzel", Georgia, serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
  --bebas: "Bebas Neue", "Arial Narrow", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  font-family: var(--sans);
  background: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

code {
  font-family: var(--mono);
  font-size: 0.95em;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  background: rgba(7, 9, 10, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 193, 90, 0.12);
}

.nav.is-scrolled {
  background: rgba(6, 36, 27, 0.88);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}

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

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.9rem;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn svg {
  width: 14px;
  height: 14px;
}

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

.btn-gold {
  color: #1a1406;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 0 0 1px rgba(255, 236, 170, 0.35) inset;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}

.btn-outline {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid var(--gold);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
}

.hero-frame {
  position: relative;
  background: #050806;
}

.hero-banner {
  width: 100%;
  height: min(52vh, 580px);
  object-fit: cover;
  object-position: center 42%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.45) 0%, transparent 28%, transparent 68%, rgba(6, 36, 27, 0.55) 100%);
  pointer-events: none;
}

.rail {
  height: 16px;
  background:
    linear-gradient(180deg, #f3dd8a, #c9a227 40%, #6d5310 70%, #e6c65a);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.hero-felt,
.tokenomics,
.chart,
.final,
.ticker {
  background-color: var(--felt);
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1.2px),
    radial-gradient(circle at 72% 80%, rgba(0, 0, 0, 0.18) 0 1px, transparent 1.2px);
  background-size: 5px 5px, 7px 7px;
}

.hero-felt {
  padding: 36px 24px 44px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--bebas);
  letter-spacing: 0.28em;
  font-size: 1.05rem;
}

.center {
  text-align: center;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.15;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--gold-soft);
  text-shadow: 0 2px 0 #5c4a12, 0 10px 28px rgba(0, 0, 0, 0.35);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--gold-soft);
}

.lede,
.section-lead {
  margin: 0 auto 28px;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.ca-pill {
  margin: 0 auto 22px;
  width: min(640px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  background: rgba(7, 9, 10, 0.55);
  border: 1px solid var(--line);
}

.ca-label {
  font-family: var(--bebas);
  letter-spacing: 0.16em;
  color: var(--gold);
}

#caText {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cream);
  font-size: 1.05rem;
}

.ca-pill button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--gold);
  color: #1a1406;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--sans);
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.chip-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.chip {
  display: inline-block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  position: relative;
  vertical-align: middle;
}

.chip::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.45);
}

.chip-red {
  background: repeating-conic-gradient(#c41e3a 0 18deg, #f4efe2 18deg 36deg);
  box-shadow: inset 0 0 0 7px #c41e3a, 0 6px 0 #7a1224;
}

.chip-blue {
  background: repeating-conic-gradient(#1e4d8c 0 18deg, #f4efe2 18deg 36deg);
  box-shadow: inset 0 0 0 7px #1e4d8c, 0 6px 0 #102a4d;
}

.chip-white {
  background: repeating-conic-gradient(#d9d3c4 0 18deg, #8b1e2d 18deg 36deg);
  box-shadow: inset 0 0 0 7px #efe8d8, 0 6px 0 #8a8374;
}

.chip-black {
  background: repeating-conic-gradient(#161616 0 18deg, #e4c15a 18deg 36deg);
  box-shadow: inset 0 0 0 7px #111, 0 6px 0 #000;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(228, 193, 90, 0.2);
  padding: 12px 0;
}

.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-family: var(--bebas);
  letter-spacing: 0.18em;
  font-size: 1.35rem;
  color: var(--gold-soft);
}

.ticker-track span::after {
  content: " ♦ ";
  color: var(--gold-deep);
}

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

.section {
  padding: 96px 0;
}

.about {
  background: #080b0c;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.portrait {
  position: relative;
  justify-self: center;
}

.portrait img {
  width: min(380px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 28px;
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  background: #efe6d4;
}

.portrait-ring {
  position: absolute;
  inset: -18px;
  border-radius: 36px;
  border: 1px solid rgba(228, 193, 90, 0.25);
}

.portrait-caption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--bebas);
  letter-spacing: 0.22em;
  color: var(--gold);
}

.about-copy p {
  color: var(--muted);
}

.traits {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.traits li {
  padding: 12px 0;
  border-top: 1px solid rgba(228, 193, 90, 0.14);
}

.traits li::before {
  content: "♠ ";
  color: var(--gold);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.stat {
  text-align: center;
  padding: 28px 16px 32px;
  background: rgba(6, 20, 16, 0.55);
  border: 1px solid rgba(228, 193, 90, 0.16);
  border-radius: 20px;
}

.stat-chip {
  display: block;
  margin: 0 auto 16px;
}

.stat h3,
.steps h3,
.road h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--cream);
}

.stat-value {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold-soft);
}

.stat-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.chart-frame {
  margin-top: 8px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(6, 20, 16, 0.72);
  border: 1px solid rgba(228, 193, 90, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

#dexscreener-embed {
  position: relative;
  width: 100%;
  padding-bottom: 72%;
  min-height: 420px;
}

#dexscreener-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.chart-cta {
  margin-top: 22px;
}

.buy {
  background: #080b0c;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 14px;
}

.steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid rgba(228, 193, 90, 0.14);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(11, 61, 46, 0.35), transparent);
}

.step-num {
  font-family: var(--bebas);
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.road {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.road article {
  padding: 24px 20px 28px;
  border-top: 3px solid var(--gold);
  background: #0a1210;
}

.road span {
  font-family: var(--display);
  color: var(--gold);
}

.road p {
  margin: 0;
  color: var(--muted);
}

.final {
  padding: 96px 0;
  text-align: center;
}

.final-logo {
  width: 132px;
  height: 132px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  object-position: center 12%;
  background: #efe6d4;
}

.final p {
  color: var(--muted);
  margin-bottom: 28px;
}

.footer {
  padding: 28px 0 36px;
  background: #050806;
  border-top: 1px solid rgba(228, 193, 90, 0.12);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1406;
  font-weight: 700;
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    padding: 16px;
    background: #06241b;
    border: 1px solid var(--line);
    border-radius: 14px;
  }

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

  .menu-btn {
    display: flex;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .about-grid,
  .stats,
  .road,
  .footer-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-row {
    text-align: center;
    justify-items: center;
  }

  .hero-banner {
    height: 46vh;
    object-position: center 30%;
  }

  .ca-pill {
    flex-wrap: wrap;
    border-radius: 18px;
  }

  #dexscreener-embed {
    padding-bottom: 125%;
    min-height: 520px;
  }
}
