:root{
  --hero: #16121f;      /* full-bleed hero background */
  --ink:  #e9e6f6;      /* heading text */
  --muted:#c7c2d7;      /* subtitle text */
  --purple:#7b42f6;
  --purple-600:#5e2ecb;
}   

/* Make this page dark, independent of the global body bg */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  background: var(--hero);
  padding: 140px 20px 80px;
}

/* push content below the fixed navbar so hero isn't hidden */
.stake-hero.full {
  background: var(--hero);
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 140px)) 16px clamp(56px, 8vw, 120px);
}

/* hero layout */
.stake-hero__inner{
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stake-hero__title{
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(36px, 6vw, 72px);
  color: var(--ink);
}

.stake-hero__subtitle{
  margin: 0 auto 28px;
  max-width: 980px;
  font-size: clamp(16px, 2.2vw, 24px);
  line-height: 1.6;
  color: var(--muted);
}

/* CTA */
.btn{
  display: inline-block;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  padding: 14px 28px;
  transition: transform .06s ease, background .2s ease, box-shadow .2s ease;
}

.btn-primary{
  background: var(--purple);
  color: #fff;
  box-shadow: 0 10px 30px rgba(123,66,246,.35);
}
.btn-primary:hover{ background: var(--purple-600); }
.btn-primary:active{ transform: translateY(1px); }

/* Mobile menu panel (reuse your structure, ensure visible on dark) */
@media (max-width: 768px){
  .nav-links {
    background: #111018;
    border: 1px solid rgba(255,255,255,.06);
  }
  .nav-links a { color: #e9e6f6; }
}

/* ============ Section 2: How staking works ============ */
.stake-how{
  background: var(--hero);
  padding: clamp(48px, 8vw, 100px) 16px;
}
.stake-how__wrap{
  max-width: 1200px;
  margin: 0 auto;
}
.stake-how__title{
  text-align: center;
  font-size: clamp(24px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(28px, 5vw, 48px);
  color: var(--ink);
}
.stake-how__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px){
  .stake-how__grid{ grid-template-columns: 1fr; }
}

/* Cards */
.how-card{
  background: #1c1826;
  border-radius: 22px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04),
              0 20px 60px rgba(0,0,0,0.25);
}
.how-card h3{
  margin: 0 0 8px;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  color: var(--ink);
}
.how-card p{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

/* Card 1: Assets */
.asset-list{ margin: 10px 0 0; display: grid; gap: 12px; }
.asset-row{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02));
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.asset-row.active{
  box-shadow:
    0 0 24px rgba(123,66,246,0.25),
    inset 0 0 0 1px rgba(123,66,246,0.45);
}
.asset-row.faded{
  opacity: .55;
}
.asset-badge{
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  font-weight: 700; color: #bdb7d4;
}
.asset-badge.purple{ color: #b597ff; }
.asset-badge.gray{ color: #8883a2; }
.asset-name{ color: var(--ink); font-weight: 600; }
.asset-ticker{ color: #a199bf; font-weight: 700; }

/* Card 2: Terms */
.term-tiles{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 6px;
}
.term-tile{
  background: #211b2d;
  border-radius: 18px;
  padding: 22px 18px;
  min-height: 120px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  display: grid;
  align-content: center;
  gap: 10px;
}
.term-tile.glow{
  box-shadow:
    0 0 26px rgba(123,66,246,.28),
    inset 0 0 0 1px rgba(123,66,246,.45);
}
.term-name{
  font-weight: 800;
  color: var(--ink);
  font-size: 18px;
}
.term-chip{
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  color: #9be2b4;
  background: rgba(36, 172, 120, .1);
}

/* Card 3: Payouts */
.payout-list{ display: grid; gap: 14px; margin-top: 10px; }
.payout-row{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  background: linear-gradient(0deg, rgba(255,255,255,.02), rgba(255,255,255,.02));
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.payout-row.faded{ opacity: .55; }
.payout-coin{
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #cfd2ff; font-weight: 800;
}
.payout-coin.square{
  border-radius: 8px;
  background: rgba(181,151,255,.16);
  color: #d5c8ff;
}
.payout-coin.dot{ color:#ff7ad9; }
.payout-body .payout-title{ color: var(--ink); font-weight: 700; }
.payout-body .payout-sub{ color:#9b95b4; font-size: 12px; }
.payout-amt{
  color: var(--ink);
  font-weight: 700;
}
.payout-amt span{
  color:#a199bf;
  font-weight: 700;
}
