:root {
  --void: #05070c;
  --navy: #0a1220;
  --panel: rgba(10, 16, 26, 0.72);
  --line: rgba(224, 195, 106, 0.16);
  --green: #2ee59d;
  --green-deep: #163d2e;
  --gold: #e0c36a;
  --gold-deep: #8a6d28;
  --text: #f5f5f7;
  --muted: #8e8e93;
  --soft: #d2d2d7;
  --radius: 22px;
  --max: 1180px;
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "Menlo", "Consolas", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--void);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: -0.02em;
}

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

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 18% -10%, rgba(46, 229, 157, 0.08), transparent 55%),
    radial-gradient(700px 420px at 88% 8%, rgba(224, 195, 106, 0.08), transparent 50%),
    linear-gradient(180deg, #070b12 0%, #05070c 40%, #081018 100%);
}

#tapeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.38;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: drift 18s ease-in-out infinite;
}

.orb-green { width: 420px; height: 420px; left: -80px; top: 18%; background: rgba(46, 229, 157, 0.16); }
.orb-gold { width: 340px; height: 340px; right: -60px; top: 8%; background: rgba(224, 195, 106, 0.14); animation-delay: -6s; }
.orb-mint { width: 280px; height: 280px; right: 22%; bottom: 8%; background: rgba(46, 229, 157, 0.08); animation-delay: -11s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, -24px, 0) scale(1.08); }
}

.floor-grid {
  position: absolute;
  inset: auto 0 -10%;
  height: 48%;
  background-image:
    linear-gradient(rgba(46, 229, 157, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 195, 106, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(600px) rotateX(62deg);
  mask-image: linear-gradient(to top, rgba(0,0,0,0.45), transparent 80%);
  animation: gridSlide 18s linear infinite;
}

@keyframes gridSlide {
  from { background-position: 0 0; }
  to { background-position: 0 72px; }
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 229, 157, 0.12), transparent 68%);
  transform: translate(-100vw, -100vh);
  transition: opacity 0.4s ease;
}

.ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 12, 0.65);
  backdrop-filter: blur(16px);
}

.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 10px 0;
  animation: marquee 38s linear infinite;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ticker-track b { color: var(--gold); font-weight: 600; }
.ticker-track em { color: var(--green); font-style: normal; }

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 40px;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
  background: rgba(5, 7, 12, 0.78);
  backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(224, 195, 106, 0.28), 0 8px 20px rgba(0,0,0,0.35);
}

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

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

.nav-links a {
  color: var(--soft);
  font-size: 14px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-end { display: flex; align-items: center; gap: 16px; }

.nav-icons { display: flex; gap: 10px; }

.nav-icons a,
.join-card img,
.btn img {
  width: 18px;
  height: 18px;
}

.nav-icons a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-icons a img { width: 15px; height: 15px; }
.nav-icons a:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 229, 157, 0.4);
  background: rgba(46, 229, 157, 0.08);
}

.icon-dex { color: var(--green); }

.nav-icons a img,
.btn img,
.join-card img,
.step-icon img,
.kicker img,
.terminal-link img {
  filter: drop-shadow(0 0 1px rgba(245, 245, 247, 0.35));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-buy,
.btn-primary {
  background: linear-gradient(180deg, #f3d98a, #c9a44a);
  color: #1a1406;
  box-shadow: 0 10px 30px rgba(224, 195, 106, 0.22);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

.btn:hover { transform: translateY(-2px); }
.btn-primary:hover, .btn-buy:hover { box-shadow: 0 14px 34px rgba(224, 195, 106, 0.32); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle.open span:first-child { top: 20px; transform: rotate(40deg); }
.nav-toggle.open span:last-child { top: 20px; transform: rotate(-40deg); }

main { position: relative; z-index: 2; }

.hero {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0 80px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.kicker img { width: 18px; height: 18px; }
.kicker i {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.intro {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.92;
  font-weight: 700;
}

.word-soft { display: block; color: var(--text); }

.word-lev {
  display: inline-block;
  margin-top: 6px;
  background: linear-gradient(90deg, #8cffd0, #2ee59d 40%, #e0c36a 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  animation: shimmer 4.5s linear infinite;
  background-size: 200% 100%;
}

.word-lev::after {
  content: "";
  position: absolute;
  left: 0;
  right: 12%;
  bottom: 4px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2ee59d, transparent);
  box-shadow: 0 0 16px rgba(46, 229, 157, 0.55);
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.symbol {
  margin: 18px 0 14px;
  color: var(--gold);
  letter-spacing: 0.34em;
  font-size: 13px;
}

.lede {
  max-width: 520px;
  color: var(--soft);
  font-size: 19px;
  line-height: 1.45;
}

.ca-chip {
  margin: 28px 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
}

.ca-chip span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ca-chip code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}

.ca-chip button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(46, 229, 157, 0.14);
  color: var(--green);
  cursor: pointer;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-product {
  position: relative;
  display: grid;
  place-items: center;
}

.pulse-ring {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(46, 229, 157, 0.22);
  animation: pulse 4.8s ease-out infinite;
}

.pulse-ring.late { animation-delay: 2.2s; border-color: rgba(224, 195, 106, 0.2); }

@keyframes pulse {
  0% { transform: scale(0.86); opacity: 0.7; }
  100% { transform: scale(1.18); opacity: 0; }
}

.product-shell {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(224, 195, 106, 0.28);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: perspective(900px) rotateX(6deg) rotateY(-8deg);
  transition: transform 0.35s ease;
}

.product-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18), transparent 70%);
  transform: translateX(-120%);
  animation: sheen 5.5s ease-in-out infinite;
}

@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.product-caption {
  margin-top: 22px;
  text-align: center;
}

.product-caption span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product-caption strong { font-size: 15px; font-weight: 600; }

.stats {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.stat small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stat strong { font-size: 28px; font-weight: 600; }

.about, .howtobuy, .chart, .joinus {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 88px 0;
}

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

.idx {
  display: inline-block;
  color: var(--gold);
  letter-spacing: 0.28em;
  font-size: 12px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--soft);
  font-size: 18px;
  line-height: 1.55;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.glass-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  backdrop-filter: blur(18px);
  min-height: 250px;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(46, 229, 157, 0.16), transparent 70%);
}

.card-kicker {
  display: block;
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.glass-card h3 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.glass-card p { color: var(--soft); line-height: 1.55; }

.buy-steps {
  list-style: none;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateX(6px);
  border-color: rgba(46, 229, 157, 0.28);
}

.step-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}

.step-icon img { width: 42px; height: 42px; }
.step-icon.sol img { width: 46px; height: 46px; }
.step-icon.dex img { width: 36px; height: 36px; }

.step-body span {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.step-body h3 { font-size: 24px; margin: 4px 0 8px; }
.step-body p { color: var(--soft); line-height: 1.5; }

.terminal {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070b12;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 40px rgba(46, 229, 157, 0.06);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #3a3a3c; }
.dots i:first-child { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:last-child { background: #28c840; }

.terminal-bar strong { letter-spacing: 0.08em; font-size: 13px; }

.terminal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
}

.terminal-link img { width: 14px; height: 14px; }

.terminal-screen {
  position: relative;
  height: 640px;
  background: #0b1118;
}

.terminal-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-wait {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  background: rgba(5, 7, 12, 0.72);
  color: var(--soft);
  text-align: center;
  padding: 24px;
}

.chart-wait.show { display: grid; }

.banner-frame {
  aspect-ratio: 3 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0,0,0,0.4);
  position: relative;
}

.banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.02);
  animation: bannerDrift 18s ease-in-out infinite;
}

@keyframes bannerDrift {
  0%, 100% { transform: scale(1.02) translateY(0); }
  50% { transform: scale(1.06) translateY(-1.2%); }
}

.join-links {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.join-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.join-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 195, 106, 0.4);
}

.join-card img { width: 22px; height: 22px; }
.join-card span { font-size: 18px; font-weight: 600; }
.join-card small { color: var(--muted); }

.foot {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 24px 64px;
  color: var(--muted);
}

.foot img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin: 0 auto 14px;
  object-fit: cover;
}

.foot p { color: var(--soft); margin-bottom: 8px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 40;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(12, 16, 22, 0.92);
  border: 1px solid rgba(46, 229, 157, 0.3);
  color: var(--text);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.delay { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav { padding: 14px 18px; }
  .nav-links {
    position: fixed;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(5, 7, 12, 0.94);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-icons { display: none; }
  .hero, .about, .howtobuy, .chart, .joinus, .stats {
    width: min(var(--max), calc(100% - 32px));
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }
  .stats, .about-grid, .join-links { grid-template-columns: 1fr 1fr; }
  .terminal-screen { height: 480px; }
}

@media (max-width: 640px) {
  .hero-actions .btn { width: 100%; }
  .stats, .about-grid, .join-links { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .step-icon { width: 64px; height: 64px; border-radius: 16px; }
  .ca-chip { width: 100%; }
  .ca-chip code { max-width: 42vw; }
  .banner-frame { border-radius: 18px; }
  .btn-buy { display: none; }
  .terminal-screen { height: 380px; }
}
