:root {
  --bg: #070504;
  --bg-2: #110b07;
  --panel: #16100b;
  --panel-2: #1d140d;
  --gold: #e0b24a;
  --gold-2: #f6d57a;
  --gold-3: #a8751e;
  --amber: #c47a28;
  --ink: #f6ead2;
  --muted: #cbb892;
  --dim: #8a7a5c;
  --line: rgba(224, 178, 74, 0.22);
  --lime: #c8ff00;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  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");
}

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 5, 4, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(224,178,74,.4), 0 0 18px rgba(224,178,74,.35);
}
.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover { color: var(--gold-2); }
.nav-cta { display: flex; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.25s ease;
}
.btn-gold {
  background: linear-gradient(180deg, #f3d27a, #c8922a);
  color: #2a1a06;
  box-shadow: 0 8px 24px rgba(200, 146, 42, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-ghost {
  background: rgba(224,178,74,0.08);
  border-color: var(--line);
  color: var(--gold-2);
}
.btn-ghost:hover { background: rgba(224,178,74,0.16); }
.btn-lime {
  background: var(--lime);
  color: #111;
}
.edit-note {
  display: none;
}

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,5,4,.25) 0%, rgba(7,5,4,.55) 55%, #070504 100%),
    url("../assets/banner.jpg") center 30% / cover no-repeat;
  transform: scale(1.08);
  animation: kenburns 28s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.14) translateY(-18px); }
}
.smoke {
  position: absolute;
  inset: auto 10% 8% 10%;
  height: 280px;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.08), transparent 40%),
    radial-gradient(circle at 70% 90%, rgba(255,240,200,.07), transparent 45%);
  filter: blur(18px);
  animation: drift 9s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translateX(-20px) translateY(10px); opacity: .55; }
  to { transform: translateX(30px) translateY(-16px); opacity: .9; }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 90px 0 70px;
}
.hero-logo {
  width: 168px;
  height: 168px;
  margin: 0 auto 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 6px rgba(224,178,74,.18),
    0 0 40px rgba(224,178,74,.45);
  animation: floaty 5.5s ease-in-out infinite, glow 3.2s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1.4deg); }
}
@keyframes glow {
  0%,100% { box-shadow: 0 0 0 6px rgba(224,178,74,.16), 0 0 34px rgba(224,178,74,.35); }
  50% { box-shadow: 0 0 0 8px rgba(224,178,74,.28), 0 0 54px rgba(246,213,122,.6); }
}
.kicker {
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}
h1, h2, h3 { font-family: "Cinzel", serif; }
h1 {
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff6d8 10%, #e0b24a 55%, #8a5a12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.tagline {
  max-width: 640px;
  margin: 18px auto 28px;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.ca-box {
  width: min(720px, 100%);
  margin: 0 auto;
  background: rgba(10,7,5,.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  backdrop-filter: blur(10px);
}
.ca-meta { text-align: left; }
.ca-meta small { color: var(--dim); letter-spacing: .16em; text-transform: uppercase; font-size: 11px; }
.ca-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--gold-2);
  word-break: break-all;
  font-size: 14px;
}
.copy-btn { white-space: nowrap; }
.reward-band {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 42px 24px;
  background:
    linear-gradient(180deg, rgba(16,11,7,.78), rgba(7,5,4,.88)),
    url("../assets/coins-fly.jpg") center/cover;
  box-shadow: var(--shadow);
}
.reward-band h2 {
  color: var(--gold-2);
  font-size: clamp(26px, 5vw, 40px);
  margin: 8px 0 12px;
}
.reward-band p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 22px;
}
.reward-ca { text-align: left; }

/* floating coins */
.float-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.coin {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: url("../assets/logo.jpg") center/cover;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
  animation: coinspin linear infinite;
  opacity: .85;
}
@keyframes coinspin {
  from { transform: translateY(0) rotateY(0); }
  to { transform: translateY(-110vh) rotateY(360deg); }
}

/* SECTIONS */
section { padding: 92px 0; position: relative; }
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head h2 {
  font-size: clamp(30px, 5vw, 48px);
  color: var(--gold-2);
  margin-bottom: 10px;
}
.sec-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }

.story {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: center;
}
.story-art {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-art img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.story-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(7,5,4,.7));
}
.story-copy h3 { font-size: 28px; margin-bottom: 14px; color: var(--gold); }
.story-copy p { color: var(--muted); margin-bottom: 14px; }
.quote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 16px;
  color: var(--ink);
  font-style: italic;
  margin: 18px 0;
}

/* TOKENOMICS */
.tok-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tok-card, .step, .road-card, .gallery-card {
  background: linear-gradient(180deg, rgba(29,20,13,.9), rgba(12,8,5,.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.tok-card {
  text-align: center;
  min-height: 170px;
  transition: transform .25s ease, border-color .25s ease;
}
.tok-card:hover { transform: translateY(-6px); border-color: rgba(224,178,74,.5); }
.tok-card .num {
  font-family: "Cinzel", serif;
  font-size: 30px;
  color: var(--gold-2);
  margin: 8px 0 6px;
}
.tok-card small { color: var(--dim); }

.how {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.badge {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(224,178,74,.12);
  color: var(--gold-2);
  font-family: "Cinzel", serif;
}
.how-art {
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  background: url("../assets/lotus.jpg") center/cover;
  position: relative;
  box-shadow: var(--shadow);
}
.how-art::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7,5,4,.45));
}

.road {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.road-card h3 { color: var(--gold); font-size: 18px; margin-bottom: 8px; }
.road-card p { color: var(--muted); font-size: 14px; }
.road-card span { color: var(--dim); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 18px;
  filter: saturate(1.05);
  transition: transform .6s ease;
}
.g-wide { grid-row: 1 / 3; }
.g-wide img, .gallery-card { height: 100%; }
.gallery-card { padding: 0; overflow: hidden; }
.gallery-card:hover img { transform: scale(1.06); }

.chart-shell {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #0b0806;
  box-shadow: var(--shadow);
}
.chart-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chart-frame {
  position: relative;
  height: min(640px, 72vh);
  background: #0b0806;
}
.chart-frame iframe {
  display: none;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b0806;
}
.chart-frame.is-live iframe { display: block; }
.chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 32px 24px;
  color: var(--muted);
}
.chart-empty strong {
  font-family: "Cinzel", serif;
  color: var(--gold-2);
  font-size: 22px;
  margin-bottom: 8px;
}
.chart-empty p { max-width: 460px; margin: 0 auto; }
.chart-frame.is-live .chart-empty { display: none; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--gold);
  font-size: 0.92em;
}

.cta-band {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 54px 24px;
  background:
    linear-gradient(180deg, rgba(16,11,7,.7), rgba(7,5,4,.85)),
    url("../assets/coins-fly.jpg") center/cover;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--gold-2); font-size: clamp(28px, 5vw, 44px); margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 22px; }

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 50px;
  color: var(--dim);
  text-align: center;
}
.foot-brand { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--gold); font-family: "Cinzel", serif; }
.foot-brand img { width: 28px; height: 28px; border-radius: 50%; }
.disclaimer { max-width: 720px; margin: 14px auto 0; font-size: 12px; line-height: 1.5; }

.mobile-toggle { display: none; background: none; border: 0; color: var(--gold); font-size: 26px; }

@media (max-width: 900px) {
  .wrap { width: min(1180px, calc(100% - 24px)); }
  .nav-inner { height: 64px; gap: 8px; position: relative; }
  .brand { font-size: 14px; letter-spacing: 0.08em; }
  .brand img { width: 34px; height: 34px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn { padding: 10px 14px; font-size: 13px; min-height: 44px; }
  .nav-links { display: none; }
  .mobile-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #100b07;
    padding: 16px 24px 22px;
    border-bottom: 1px solid var(--line);
    z-index: 60;
  }
  .hero { min-height: auto; }
  .hero-content { padding: 72px 0 48px; }
  .tagline { font-size: 15px; margin: 14px auto 20px; }
  .hero-actions { gap: 8px; margin-bottom: 18px; }
  .hero-actions .btn {
    flex: 1 1 140px;
    min-height: 44px;
    padding: 12px 14px;
  }
  section { padding: 56px 0; }
  .sec-head { margin-bottom: 24px; }
  .story, .how, .tok-grid, .road, .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .tok-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tok-card { min-height: 0; padding: 16px 12px; }
  .tok-card .num { font-size: 22px; }
  .g-wide { grid-row: auto; }
  .story-art img { min-height: 280px; }
  .how-art { min-height: 240px; }
  .ca-box { flex-direction: column; align-items: stretch; }
  .copy-btn { min-height: 44px; }
  .chart-frame { height: 380px; }
  .chart-bar { flex-wrap: wrap; }
  .reward-band { padding: 28px 16px; }
  .cta-band { padding: 32px 16px; }
  .gallery { grid-template-rows: auto; }
  .gallery-card { min-height: 180px; }
}

@media (max-width: 520px) {
  .tok-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}
