:root {
  --void: #070708;
  --ink: #0b0b0e;
  --panel: rgba(16, 16, 18, 0.72);
  --panel-solid: #121214;
  --piping: #f5a524;
  --amber: #f5a524;
  --amber-hot: #ff8c1a;
  --amber-deep: #c56a08;
  --cream: #f4e7d2;
  --mute: #9b8d79;
  --line: rgba(245, 165, 36, 0.22);
  --font-display: "Exo 2", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-mono: "Orbitron", sans-serif;
  --radius: 22px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.void {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(245, 165, 36, 0.12), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(197, 106, 8, 0.12), transparent 40%),
    #070708;
}

#mesh { width: 100%; height: 100%; display: block; opacity: 0.7; }

.aurora {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: drift 18s ease-in-out infinite;
}

.aurora-a { top: -8%; left: -8%; background: #f5a524; }
.aurora-b { right: -10%; bottom: 10%; background: #ff8c1a; animation-delay: -7s; }

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  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");
}

header, main, footer, .mobile-sheet { position: relative; z-index: 1; }

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

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.12), 0 0 24px rgba(245, 165, 36, 0.25);
}

.brand-mark img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em; }
.brand-ticker { font-family: var(--font-mono); font-size: 10px; color: var(--amber); letter-spacing: 0.18em; }

.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--mute); }
.nav-links a { position: relative; transition: color 0.25s ease; }
.nav-links a:hover { color: var(--cream); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 100%; height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

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

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(245, 165, 36, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.icon-btn img { width: 18px; height: 18px; }
.icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--amber);
  box-shadow: 0 8px 24px rgba(245, 165, 36, 0.18);
}

.icon-theme {
  filter: brightness(0) saturate(100%) invert(77%) sepia(38%) saturate(1800%) hue-rotate(352deg) brightness(101%) contrast(98%);
}

.icon-theme-soft {
  filter: grayscale(1) brightness(1.4) sepia(0.35) hue-rotate(340deg) saturate(2);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--cream);
}

.mobile-sheet {
  position: sticky;
  top: 78px;
  z-index: 19;
  display: grid;
  gap: 8px;
  padding: 16px 28px 22px;
  background: rgba(7, 7, 8, 0.94);
  border-bottom: 1px solid var(--line);
}

.mobile-sheet[hidden] { display: none; }
.mobile-sheet a { padding: 10px 0; color: var(--cream); font-family: var(--font-display); }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 28px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 90px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.7);
  animation: ping 1.8s infinite;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  line-height: 0.86;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.w-line {
  display: block;
  background: linear-gradient(180deg, #ffe3a8 0%, #f5a524 42%, #c56a08 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 24px rgba(245, 165, 36, 0.28));
}

.w-helius {
  font-size: clamp(64px, 9vw, 108px);
  position: relative;
}

.w-helius::before,
.w-helius::after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  opacity: 0.7;
}

.w-helius::before { width: 28px; left: -8px; top: 28%; transform: rotate(-18deg); }
.w-helius::after { width: 22px; left: 10px; top: 22%; transform: rotate(16deg); }

.w-cat {
  font-size: clamp(72px, 10vw, 124px);
  position: relative;
}

.w-cat::before,
.w-cat::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-left: 2px solid var(--amber);
  border-top: 2px solid var(--amber);
  opacity: 0.8;
}

.w-cat::before { left: 8px; top: -2px; transform: rotate(-18deg); }
.w-cat::after { left: 28px; top: -8px; transform: rotate(12deg); }

.lede {
  max-width: 34ch;
  color: var(--mute);
  font-size: 18px;
  margin-bottom: 22px;
}

.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--cream);
  background: rgba(245, 165, 36, 0.06);
}

.chip-icon { width: 14px; height: 14px; border-radius: 50%; }

.ca-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 12, 14, 0.7);
  margin-bottom: 22px;
}

.ca-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

#ca-value {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  border: 1px solid var(--amber);
  background: transparent;
  color: var(--amber);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.copy-btn:hover,
.copy-btn.copied { background: var(--amber); color: #140d04; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn img { width: 16px; height: 16px; }

.btn-primary {
  background: linear-gradient(180deg, #ffc056, #f5a524 45%, #d97a0c);
  color: #1a1004;
  box-shadow: 0 10px 30px rgba(245, 165, 36, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(245, 165, 36, 0.4);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(245, 165, 36, 0.05);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--amber);
}

.hero-stage {
  position: relative;
  height: min(620px, 78vw);
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(245, 165, 36, 0.28);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.orbit-a { width: 86%; height: 86%; }
.orbit-b { width: 70%; height: 70%; animation-direction: reverse; animation-duration: 22s; }
.orbit-c { width: 54%; height: 54%; animation-duration: 16s; }

.orbit::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 16px var(--amber);
}

.sunburst {
  position: absolute;
  width: 92%;
  height: 92%;
  color: rgba(245, 165, 36, 0.55);
  filter: drop-shadow(0 0 18px rgba(245, 165, 36, 0.35));
}

.sunburst-spin { transform-origin: 100px 100px; animation: spin 40s linear infinite; }

.portrait {
  position: relative;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--amber);
  box-shadow:
    0 0 0 10px rgba(245, 165, 36, 0.08),
    0 0 60px rgba(245, 165, 36, 0.28);
  animation: float 6s ease-in-out infinite;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.ticker {
  border-block: 1px solid var(--line);
  background: rgba(245, 165, 36, 0.04);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--amber);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 28px;
}

.section-head { margin-bottom: 36px; max-width: 720px; }

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-story,
.trait,
.step,
.join-panel,
.chart-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.about-story { padding: 32px; }
.about-story p { color: var(--mute); margin-bottom: 16px; }

.facts { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.facts li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.facts span { color: var(--mute); }
.facts strong { font-family: var(--font-display); }

.trait-stack { display: grid; gap: 16px; }
.trait { padding: 24px; position: relative; overflow: hidden; }
.trait::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.trait-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.16em;
}
.trait h3, .step h3, .join-panel h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 8px 0;
}
.trait p, .step p { color: var(--mute); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.45;
}

.step { padding: 24px 20px 28px; }
.step-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(245, 165, 36, 0.07);
  margin-bottom: 18px;
}
.step-icon img { width: 28px; height: 28px; }
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.14em;
}

.chart .section-head { display: grid; gap: 8px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: 14px;
}
.text-link img { width: 14px; height: 14px; }

.chart-shell { overflow: hidden; }
.chart-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mute);
}
.chart-lights { display: flex; gap: 6px; }
.chart-lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.35;
}
.chart-lights i:first-child { opacity: 1; animation: ping 1.8s infinite; }

#dex-frame {
  width: 100%;
  height: 680px;
  border: 0;
  background: #0b0b0e;
}

.banner-frame {
  aspect-ratio: 3 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(245, 165, 36, 0.12);
  margin-bottom: 22px;
  position: relative;
}

.banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 214, 130, 0.12) 45%, transparent 70%);
  transform: translateX(-100%);
  animation: sheen 6s ease-in-out infinite;
}

.join-panel {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.join-panel p { color: var(--mute); max-width: 48ch; }
.join-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  color: var(--mute);
  font-size: 13px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
}
.footer-brand strong { display: block; color: var(--cream); font-family: var(--font-display); }
.footer-brand span { font-size: 11px; letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 16px; }
.footer-links a:hover { color: var(--amber); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s ease forwards;
}

.trait:nth-child(2) { animation-delay: 0.12s; }
.trait:nth-child(3) { animation-delay: 0.22s; }
.step:nth-child(2) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.2s; }
.step:nth-child(4) { animation-delay: 0.3s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(245, 165, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 165, 36, 0); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6%, 4%) scale(1.08); }
}
@keyframes sheen {
  0%, 60% { transform: translateX(-100%); }
  100% { transform: translateX(120%); }
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .hero, .about-grid, .steps, .footer, .join-panel {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; padding-top: 40px; }
  .hero-stage { order: -1; height: 420px; }
  .steps::before { display: none; }
  .footer { text-align: left; }
  .w-helius::before, .w-helius::after, .w-cat::before, .w-cat::after { display: none; }
  #dex-frame { height: 520px; }
}

@media (max-width: 640px) {
  .nav { padding: 14px 16px; }
  .section { padding: 72px 16px; }
  .hero { padding: 32px 16px; }
  .cta-row, .join-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .banner-frame { border-radius: 16px; }
  #dex-frame { height: 420px; }
}
