:root {
  --bg: #07080b;
  --bg-2: #0d0f14;
  --panel: #12141b;
  --panel-2: #181b24;
  --gold: #f0b90b;
  --gold-2: #ffd36a;
  --gold-3: #c9970a;
  --gold-dim: rgba(240, 185, 11, 0.14);
  --ink: #f6edd4;
  --muted: #a89b7a;
  --line: rgba(240, 185, 11, 0.22);
  --up: #3dd68c;
  --down: #ff6b7a;
  --radius: 22px;
  --font-ui: "Outfit", system-ui, sans-serif;
  --font-meme: "Bangers", Impact, system-ui, sans-serif;
  --font-display: "Cinzel", Georgia, serif;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(240, 185, 11, 0.16), transparent 55%),
    radial-gradient(700px 480px at 90% 8%, rgba(240, 185, 11, 0.08), transparent 50%),
    radial-gradient(800px 600px at 50% 110%, rgba(240, 185, 11, 0.07), transparent 55%),
    var(--bg);
}

.bg canvas {
  width: 100%;
  height: 100%;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

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

.page {
  position: relative;
  z-index: 2;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 11, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-meme);
  letter-spacing: 0.06em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--gold), 0 0 24px rgba(240, 185, 11, 0.35);
}

.brand span {
  font-size: 1.55rem;
  background: linear-gradient(180deg, #fff4c4, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-gold {
  color: #1a1403;
  background: linear-gradient(180deg, #ffe08a, var(--gold) 42%, var(--gold-3));
  box-shadow: 0 10px 30px rgba(240, 185, 11, 0.28);
}

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

.btn-ghost:hover {
  background: var(--gold-dim);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 36px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 20, 27, 0.8);
  color: var(--gold-2);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 1.6s ease-in-out infinite;
}

h1 {
  margin: 18px 0 8px;
  font-family: var(--font-meme);
  font-size: clamp(4.6rem, 10vw, 7.6rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0.04em;
  background: linear-gradient(110deg, #8a6a1a 0%, #ffe08a 28%, #fff6d0 46%, #f0b90b 62%, #8a6a1a 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}

.subhead {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.lead {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lead b {
  color: var(--gold-2);
  font-weight: 600;
}

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

.ca-box {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 20, 27, 0.85);
}

.ca-box small {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.ca-box code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-size: 0.92rem;
}

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

.stat {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.07), transparent 70%), var(--panel);
}

.stat b {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coin-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

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

.orbit:nth-child(1) {
  width: 78%;
  aspect-ratio: 1;
}

.orbit:nth-child(2) {
  width: 94%;
  aspect-ratio: 1;
  animation-duration: 42s;
  animation-direction: reverse;
}

.orbit span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 16px var(--gold);
}

.wow {
  position: absolute;
  z-index: 2;
  font-family: var(--font-meme);
  color: var(--gold-2);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 0 #1a1403, 0 0 18px rgba(240, 185, 11, 0.45);
  animation: float 5.4s ease-in-out infinite;
  pointer-events: none;
}

.wow-1 { top: 8%; left: 6%; font-size: 1.6rem; transform: rotate(-12deg); }
.wow-2 { top: 18%; right: 2%; font-size: 1.25rem; animation-delay: -1.4s; transform: rotate(8deg); color: #fff4c4; }
.wow-3 { bottom: 16%; left: 0; font-size: 1.35rem; animation-delay: -2.6s; transform: rotate(-6deg); }
.wow-4 { bottom: 8%; right: 8%; font-size: 1.2rem; animation-delay: -0.8s; transform: rotate(10deg); }

.coin {
  position: relative;
  width: min(430px, 86vw);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 24px 50px rgba(240, 185, 11, 0.28));
}

.coin img {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.poster {
  padding: 8px 0 28px;
}

.poster img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(240, 185, 11, 0.16);
}

.marquee-wrap {
  border-block: 1px solid var(--line);
  background: rgba(12, 13, 16, 0.7);
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 14px 0;
  animation: marquee 28s linear infinite;
  color: var(--gold-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-meme);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: 0.03em;
  font-weight: 400;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chart-shell {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.08), transparent 18%), var(--panel);
  box-shadow: var(--shadow);
}

.chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.tabs {
  display: flex;
  gap: 8px;
}

.tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.tab.active {
  color: #1a1403;
  background: var(--gold);
  border-color: var(--gold);
}

.chart-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.chart-tools input {
  width: min(360px, 100%);
  border: 1px solid var(--line);
  background: #0b0d12;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
}

.chart-tools input:focus {
  border-color: var(--gold);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric {
  padding: 14px 16px;
  background: var(--panel-2);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric b {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.up {
  color: var(--up);
}

.down {
  color: var(--down);
}

.chart-frame {
  position: relative;
  height: 640px;
  background: #0b0d12;
}

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

.chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(7, 8, 11, 0.2), rgba(7, 8, 11, 0.72)),
    repeating-linear-gradient(90deg, rgba(240, 185, 11, 0.05) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(240, 185, 11, 0.05) 0 1px, transparent 1px 48px);
}

.chart-empty.hidden {
  display: none;
}

.chart-empty h3 {
  margin: 0 0 8px;
  font-family: var(--font-meme);
  font-size: 2rem;
  letter-spacing: 0.03em;
  font-weight: 400;
}

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

.candles {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  height: 140px;
  margin-bottom: 22px;
}

.candles i {
  display: block;
  transform-origin: bottom;
  width: 10px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-3));
  animation: candle 1.8s ease-in-out infinite;
}

.candles i:nth-child(odd) {
  background: linear-gradient(180deg, #7dffc2, #1f8a58);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.7;
}

.card b {
  color: var(--gold-2);
}

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

.tok {
  padding: 24px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.09), transparent), var(--panel);
}

.tok strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
  color: var(--gold-2);
}

.tok span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.step {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
}

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

.num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--gold);
  color: #1a1403;
  font-weight: 700;
  transform: rotate(45deg);
}

.num span {
  transform: rotate(-45deg);
}

.join-card {
  text-align: center;
}

.join-card .community {
  justify-content: center;
}

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

footer {
  padding: 28px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.mobile-buy {
  display: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold-2);
  border-radius: 10px;
  padding: 8px 10px;
}

@keyframes shine {
  to {
    background-position: 220% center;
  }
}

@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

@keyframes candle {
  50% {
    transform: scaleY(0.72);
    opacity: 0.7;
  }
}

@media (max-width: 980px) {
  .hero,
  .grid-2,
  .metrics,
  .tokenomics,
  .steps,
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .chart-frame {
    height: 520px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 16px 20px 20px;
    background: rgba(7, 8, 11, 0.96);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 720px) {
  .wrap {
    width: min(1180px, calc(100% - 24px));
  }

  .hero,
  .metrics,
  .tokenomics,
  .steps,
  .stats-row,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section-head,
  .chart-toolbar,
  .foot {
    flex-direction: column;
    align-items: start;
  }

  .chart-tools,
  .chart-tools input {
    width: 100%;
  }

  .wow {
    display: none;
  }

  .mobile-buy {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    justify-content: center;
  }

  .mobile-buy .btn {
    width: 100%;
  }

  body {
    padding-bottom: 76px;
  }
}
