:root {
  --bg: #05070c;
  --surface: rgba(12, 17, 27, .78);
  --surface-strong: #0b1019;
  --text: #f4f7fb;
  --muted: #9ca9bb;
  --line: rgba(255, 213, 91, .18);
  --gold: #f7c948;
  --gold-2: #b88218;
  --cyan: #31d8ff;
  --danger: #ff7676;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(49,216,255,.14), transparent 28rem),
    radial-gradient(circle at 90% 2%, rgba(247,201,72,.13), transparent 32rem),
    linear-gradient(180deg, #05070c 0%, #070911 48%, #05070c 100%);
  line-height: 1.55;
}

.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px;
  background:
    linear-gradient(180deg, rgba(13, 17, 26, .82), rgba(5, 7, 12, .70)),
    radial-gradient(circle at 20% 0%, rgba(247, 201, 72, .11), transparent 18rem);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(247,201,72,.34), rgba(49,216,255,.16), rgba(247,201,72,.24));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .78;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 7px 14px 7px 7px;
  border: 1px solid rgba(247,201,72,.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    radial-gradient(circle at 28% 30%, rgba(247,201,72,.18), transparent 7rem);
  box-shadow:
    0 14px 34px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.07);
}

.brand-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: radial-gradient(circle at 40% 30%, rgba(247,201,72,.16), rgba(11,16,25,.94) 62%);
  border: 1px solid rgba(247,201,72,.24);
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(247,201,72,.06), 0 0 22px rgba(247,201,72,.14);
}

.brand-badge img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 12px;
  transform: scale(1.02);
  filter: contrast(1.08) saturate(1.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}

.brand-text strong {
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.035em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .32em;
  text-transform: uppercase;
  opacity: .95;
}

.header-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  color: var(--muted);
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(247,201,72,.10);
  box-shadow: inset 0 0 0 1px rgba(247,201,72,.14);
}

.wallet-button {
  color: #0b0f16;
  background: linear-gradient(135deg, #fff1a8, var(--gold), #b88218);
  border: 1px solid rgba(255,241,168,.34);
  box-shadow: 0 12px 28px rgba(247,201,72,.16);
}

.section { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 82px 0; }
.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  padding-top: 70px;
  padding-bottom: 54px;
}
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(48px, 7.4vw, 90px); line-height: .94; letter-spacing: -0.07em; margin-bottom: 24px; max-width: 760px; }
h2 { font-size: clamp(32px, 5vw, 58px); line-height: 1.02; letter-spacing: -0.055em; margin-bottom: 18px; }
h3 { font-size: 19px; margin-bottom: 8px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: #cbd5e1; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 24px; }
.hero-actions.center { justify-content: center; }
.hero-actions.compact { margin-top: 26px; margin-bottom: 0; }

.button {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 850;
  border-radius: 999px;
  padding: 14px 20px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  font-size: 15px;
}
.button:hover { transform: translateY(-2px); }
.button.small { padding: 10px 14px; font-size: 13px; }
.button.primary { color: #0b0f16; background: linear-gradient(135deg, #fff1a8, var(--gold), #af760e); box-shadow: 0 12px 35px rgba(247,201,72,.18); }
.button.secondary { color: var(--text); background: rgba(49,216,255,.12); border: 1px solid rgba(49,216,255,.36); }
.button.ghost { color: var(--text); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }

.contract-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  max-width: 720px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.045);
  border-radius: 16px;
}
.contract-card span { color: var(--muted); font-size: 13px; }
.contract-card code { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e8eef7; }
.copy-button {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}
.status-text { color: var(--muted); font-size: 14px; min-height: 22px; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}
.coin-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(560px, 100%);
  isolation: isolate;
}
.coin-stage.clean::before {
  content: "";
  position: absolute;
  inset: 16% 13% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,201,72,.22), rgba(247,201,72,.08) 42%, transparent 72%);
  filter: blur(22px);
  z-index: -2;
}
.coin-stage.clean::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 7%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(247,201,72,.3), transparent 72%);
  filter: blur(16px);
  z-index: -1;
}
.hero-coin {
  width: min(560px, 100%);
  filter: drop-shadow(0 44px 80px rgba(0,0,0,.78));
  transform: translateY(-4px);
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 10px; }
.stats article, .card, details, .table-wrap, .cta {
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.stats article { padding: 24px; }
.stats strong { display: block; font-size: clamp(28px, 4vw, 42px); line-height: 1; color: var(--gold); }
.stats span { color: var(--muted); }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.split p { color: #c9d3df; }
.cards { display: grid; gap: 16px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { padding: 24px; }
.card h3 { color: var(--gold); }
.card p { color: var(--muted); margin-bottom: 0; }

.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading p:last-child { color: #c9d3df; font-size: 18px; }
.table-wrap { overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
th { color: var(--muted); width: 34%; font-weight: 700; }
td { color: var(--text); font-weight: 700; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

.timeline { list-style: none; counter-reset: phases; padding: 0; margin: 0; display: grid; gap: 14px; }
.timeline li { counter-increment: phases; position: relative; padding: 22px 22px 22px 72px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.045); border-radius: 18px; }
.timeline li::before { content: counter(phases); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #0b0f16; background: var(--gold); font-weight: 900; }
.timeline strong { display: block; margin-bottom: 5px; }
.timeline span { color: var(--muted); }

.faq { display: grid; gap: 12px; }
details { padding: 18px 20px; }
summary { cursor: pointer; font-weight: 800; color: var(--gold); }
details p { color: var(--muted); margin: 12px 0 0; }

.cta {
  overflow: hidden;
  position: relative;
  padding: clamp(26px, 5vw, 44px);
  background:
    radial-gradient(circle at 12% 20%, rgba(49,216,255,.10), transparent 18rem),
    radial-gradient(circle at 88% 0%, rgba(247,201,72,.14), transparent 20rem),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
  pointer-events: none;
}
.cta-lockup {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 26px;
  align-items: center;
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(247,201,72,.28);
  border-radius: 26px;
  background: rgba(5,7,12,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  text-align: left;
}
.cta-lockup img { width: 112px; height: 112px; object-fit: cover; border-radius: 24px; }
.cta-logo { box-shadow: 0 18px 34px rgba(0,0,0,.32), 0 0 0 1px rgba(247,201,72,.22), 0 0 0 6px rgba(247,201,72,.05); background: rgba(7,10,16,.68); }
.cta-lockup .eyebrow { margin-bottom: 8px; color: var(--cyan); }
.cta-lockup h2 { margin-bottom: 10px; font-size: clamp(28px, 4vw, 48px); }
.cta-lockup p:last-child { color: var(--muted); margin-bottom: 0; max-width: 720px; }
.cta .hero-actions { position: relative; z-index: 1; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; padding: 30px clamp(18px, 4vw, 56px); color: var(--muted); border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }

@media (max-width: 900px) {
  .site-header {
    top: 10px;
    width: min(100% - 20px, 1180px);
  }
  .nav { display: none; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-art { order: -1; min-height: auto; }
  .coin-stage { width: min(430px, 96%); }
  .brand-text strong { font-size: 18px; }
  .stats, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .cta-lockup { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 620px) {
  .site-header {
    padding: 8px;
    border-radius: 24px;
  }
  .brand {
    min-width: 0;
    padding-right: 10px;
  }
  .brand-badge,
  .brand-badge img {
    width: 40px;
    height: 40px;
  }
  .brand-text small { display: none; }
  .button.small {
    display: inline-flex;
    padding: 10px 12px;
    font-size: 0;
  }
  .button.small::after {
    content: "Wallet";
    font-size: 13px;
  }
  .section { width: min(100% - 24px, 1160px); padding: 56px 0; }
  .stats, .cards.two, .cards.four { grid-template-columns: 1fr; }
  .contract-card { grid-template-columns: 1fr; }
  h1 { letter-spacing: -0.045em; }
  .site-footer { flex-direction: column; }
}
