:root {
  --ink: #07090f;
  --paper: #f4f7fb;
  --muted: #9aa6b8;
  --blue: #2f7dff;
  --blue-hot: #5aa2ff;
  --lime: #c8f04a;
  --stroke: rgba(255, 255, 255, 0.12);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Chakra Petch", system-ui, sans-serif;
  --nav-h: 4rem;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-body);
  background: #07090f;
  line-height: 1.5;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(7, 9, 15, 0.92);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.nav-brand img {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: none;
  gap: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

.nav-cta {
  padding: 0.55rem 0.95rem;
  border-radius: 0.35rem;
  background: var(--lime);
  color: #09100a;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 1rem) clamp(1rem, 4vw, 2.5rem) 3rem;
  overflow: hidden;
}

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

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 15, 0.9) 0%, rgba(7, 9, 15, 0.45) 50%, rgba(7, 9, 15, 0.55) 100%),
    linear-gradient(180deg, transparent 40%, rgba(7, 9, 15, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.hero-kicker,
.section-label,
.phase-tag,
.token-key,
.ca-label {
  margin: 0 0 0.6rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-brand,
.section-title,
.stat-value,
.token-val,
.social-name,
.step-num,
.phase-body h3,
.why-item h3,
.roadmap-phase h3 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

.hero-brand {
  margin: 0;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 0.85;
  text-shadow: 3px 0 0 rgba(47, 125, 255, 0.55);
}

.hero-tagline,
.section-body {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: rgba(244, 247, 251, 0.86);
  font-size: 1.05rem;
}

.hero-tagline strong {
  color: var(--lime);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: var(--paper);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

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

.btn-copy {
  min-height: 2.3rem;
  padding: 0.4rem 0.85rem;
  background: rgba(47, 125, 255, 0.2);
  border-color: rgba(47, 125, 255, 0.4);
  font-size: 0.8rem;
}

.btn-copy.is-copied {
  background: var(--lime);
  border-color: var(--lime);
  color: #09100a;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--stroke);
  background: #101522;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  padding: 0.75rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--blue-hot);
  animation: marquee 28s linear infinite;
}

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

.stats,
.about,
.why,
.tokenomics,
.roadmap,
.howto,
.chart,
.join {
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1rem, 4vw, 2.5rem);
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
}

.stats {
  max-width: none;
  border-bottom: 1px solid var(--stroke);
  background: #0c1018;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (min-width: 800px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.section-title {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 0.95;
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-bullets {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.about-bullets li {
  padding-left: 1.1rem;
  position: relative;
}

.about-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--lime);
}

.about-portrait img {
  max-width: 360px;
  margin-inline: auto;
  border-radius: 1rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--blue-hot);
  font-weight: 600;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.why-grid,
.howto-steps,
.social-row,
.token-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.why-item,
.step,
.social,
.token-tile,
.roadmap-phase,
.ca-bar,
.chart-frame {
  border: 1px solid var(--stroke);
  border-radius: 0.75rem;
  background: #101522;
}

.why-item,
.step,
.social,
.token-tile,
.roadmap-phase {
  padding: 1.15rem 1.2rem;
}

.why-item h3,
.roadmap-phase h3,
.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  font-weight: 400;
}

.why-item p,
.step p,
.roadmap-phase > p,
.social-handle {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 720px) {
  .why-grid,
  .howto-steps,
  .social-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .howto-steps,
  .social-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tokenomics {
  max-width: none;
  border-block: 1px solid var(--stroke);
  background: #0c1018;
}

.tokenomics .section-label,
.tokenomics .section-title,
.token-grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

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

.token-tile-wide {
  grid-column: 1 / -1;
}

.token-val {
  font-size: 1.7rem;
  font-weight: 400;
}

.token-ca {
  display: block;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  letter-spacing: 0;
  word-break: break-all;
  color: var(--blue-hot);
}

@media (min-width: 800px) {
  .token-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .token-tile-wide {
    grid-column: span 3;
  }
}

.roadmap-track {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.roadmap-phase.is-active {
  border-color: rgba(90, 162, 255, 0.45);
}

.roadmap-phase.is-done .phase-tag {
  color: var(--lime);
}

.roadmap-phase ul {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.3rem;
}

.roadmap-phase li {
  padding-left: 0.9rem;
  position: relative;
  font-size: 0.95rem;
}

.roadmap-phase li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--blue-hot);
}

.step-num {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.7rem;
  color: var(--blue-hot);
  line-height: 1;
}

.howto-cta {
  margin-top: 1.25rem;
}

.ca-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
}

.ca-bar code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8rem;
}

.chart-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0b0e14;
}

.chart-frame.is-loaded {
  padding-bottom: 72%;
  min-height: 0;
  display: block;
}

.chart-load {
  appearance: none;
  border: 1px solid rgba(90, 162, 255, 0.45);
  border-radius: 0.4rem;
  background: rgba(47, 125, 255, 0.18);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 1.3rem;
  cursor: pointer;
}

.chart-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.9rem;
  font-weight: 600;
}

.chart-links a {
  color: var(--blue-hot);
}

.join {
  text-align: center;
}

.join .section-body {
  margin-inline: auto;
}

.social {
  text-align: left;
}

.social-name {
  font-size: 1.55rem;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2rem;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
}

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

.footer-brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  color: var(--paper);
  font-size: 0.92rem;
}

.footer-brand span,
.footer-note {
  margin: 0;
  font-size: 0.82rem;
}

@media (min-width: 768px) {
  .footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}
