:root {
  --bg: #070303;
  --bg-2: #120808;
  --mars: #c23b22;
  --mars-deep: #6b140c;
  --gold: #d4af37;
  --gold-bright: #f6e27a;
  --gold-dim: #8a6a1a;
  --cream: #f3e6c8;
  --muted: #c4b39a;
  --line: rgba(212, 175, 55, 0.28);
  --font-display: "Cinzel", serif;
  --font-body: "Outfit", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(194, 59, 34, 0.35), transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 20%, rgba(212, 175, 55, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(107, 20, 12, 0.35), transparent 50%);
}

.nav,
.hero,
.stats,
.about,
.token,
.chart,
.buy,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 6vw;
  background: rgba(7, 3, 3, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold-bright);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(212, 175, 55, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-gold {
  background: linear-gradient(180deg, #f6e27a, #d4af37 45%, #8a6a1a);
  color: #1a0d06;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}

.nav-links .btn-gold {
  color: #1a0d06;
}

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

.hero {
  min-height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4.5rem 6vw 5rem;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  top: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 59, 34, 0.45), transparent 65%);
  filter: blur(12px);
  z-index: -1;
}

.hero-logo {
  width: min(340px, 72vw);
  height: auto;
  border-radius: 50%;
  margin-bottom: 1.6rem;
  box-shadow:
    0 0 0 3px rgba(212, 175, 55, 0.85),
    0 0 60px rgba(194, 59, 34, 0.45),
    0 20px 50px rgba(0, 0, 0, 0.55);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.eth-mark {
  width: 12px;
  height: 18px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

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

h1 {
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff4c2, #d4af37 55%, #8a6a1a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.ticker {
  margin-top: 0.2rem;
  font-size: 1.15rem;
  letter-spacing: 0.4em;
  color: var(--gold-bright);
  font-weight: 600;
}

.tagline {
  max-width: 560px;
  margin: 1.2rem auto 1.8rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 8, 8, 0.7);
  margin-bottom: 1.4rem;
}

.ca-label {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

code,
.break {
  font-family: ui-monospace, "Cascadia Code", monospace;
  color: var(--cream);
  word-break: break-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 6vw 4rem;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.stats article {
  background: rgba(18, 8, 8, 0.92);
  padding: 1.3rem 1rem;
  text-align: center;
}

.stats span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.stats strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold-bright);
}

.lede {
  max-width: 520px;
  margin: 0.8rem auto 0;
  color: var(--muted);
}

.about,
.token,
.chart,
.buy {
  padding: 4.5rem 6vw;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.about-grid p,
.steps p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.token-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto 1.6rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent 40%),
    rgba(18, 8, 8, 0.8);
}

.card h3 {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 1.05rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.chart-frame {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: 0 0 40px rgba(194, 59, 34, 0.18);
}

.chart-frame iframe {
  display: block;
  width: 100%;
  height: 680px;
  border: 0;
}

.steps {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 8, 8, 0.72);
}

.steps span {
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 700;
}

.steps h3 {
  margin-bottom: 0.3rem;
}

.banner {
  position: relative;
  z-index: 1;
  line-height: 0;
  border-top: 1px solid var(--line);
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
}

.footer {
  text-align: center;
  padding: 2.4rem 6vw 2.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 0.8rem;
  box-shadow: 0 0 0 2px var(--gold);
}

.footer .socials {
  margin: 0.7rem 0 0.35rem;
}

.footer .socials a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 600;
}

.footer .socials a:hover {
  text-decoration: underline;
}

.footer .ca {
  color: var(--gold-bright);
  margin: 0.4rem 0 0.8rem;
  font-family: ui-monospace, monospace;
}

.disclaimer {
  font-size: 0.8rem;
  opacity: 0.75;
}

.toast {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(180deg, #f6e27a, #d4af37);
  color: #1a0d06;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  z-index: 40;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

@media (max-width: 900px) {
  .stats,
  .token-cards,
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .chart-frame iframe {
    height: 520px;
  }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 3, 3, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 6vw 1rem;
  }

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

  .nav-links a {
    padding: 0.7rem 0;
  }

  .stats,
  .token-cards,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .ca-row {
    border-radius: 16px;
  }
}
