:root {
  --bg: #070707;
  --bg-soft: #0d0d0d;
  --card: rgba(18, 18, 18, 0.82);
  --card-border: rgba(255, 194, 48, 0.14);

  --gold: #f5b82e;
  --gold-light: #ffd66a;
  --gold-dark: #b87908;

  --text: #f7f4ec;
  --muted: #9d9a91;
  --muted-light: #c5c1b7;

  --green: #48d597;
  --red: #ff6262;

  --radius: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(245, 184, 46, 0.08), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.background-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: .12;
  z-index: -1;
}

.glow-one {
  background: var(--gold);
  top: 300px;
  left: -350px;
}

.glow-two {
  background: #9b6500;
  right: -350px;
  top: 800px;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(7,7,7,.72);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

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

.brand span {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(72,213,151,.18);
  background: rgba(72,213,151,.06);
  padding: 8px 12px;
  border-radius: 999px;
  color: #a6eacb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(72,213,151,.8);
}

.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 50px;
  padding-top: 70px;
  padding-bottom: 55px;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.3px;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -4px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(
    100deg,
    #fff4c9 0%,
    var(--gold) 45%,
    #b9790a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 620px;
  margin: 0;
  color: var(--muted-light);
  font-size: 17px;
  line-height: 1.75;
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: .2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd45d, #d89516);
  color: #161006;
  box-shadow: 0 10px 30px rgba(245,184,46,.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(245,184,46,.25);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}

.btn-secondary:hover {
  border-color: rgba(245,184,46,.35);
}

.hero-coin {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 390px;
}

.coin-card {
  width: 275px;
  height: 275px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(245,184,46,.17), rgba(245,184,46,.025) 65%),
    rgba(255,255,255,.02);
  border: 1px solid rgba(245,184,46,.25);
  box-shadow:
    0 0 80px rgba(245,184,46,.12),
    inset 0 0 60px rgba(245,184,46,.04);
  position: relative;
  z-index: 2;
}

.coin-card img {
  width: 210px;
  height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,.55));
  animation: floatCoin 5s ease-in-out infinite;
}

@keyframes floatCoin {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.coin-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,184,46,.13);
}

.ring-one {
  width: 360px;
  height: 360px;
}

.ring-two {
  width: 460px;
  height: 460px;
  border-style: dashed;
  animation: spin 30s linear infinite;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.stat-card {
  min-height: 150px;
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(
    145deg,
    rgba(255,255,255,.045),
    rgba(255,255,255,.018)
  );
}

.stat-main {
  border-color: rgba(245,184,46,.2);
  background:
    radial-gradient(circle at top right, rgba(245,184,46,.09), transparent 45%),
    var(--card);
}

.stat-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.stat-value {
  margin-top: 15px;
  color: var(--gold-light);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
}

.stat-sub {
  margin-top: 7px;
  color: #74716a;
  font-size: 12px;
}

.progress-section,
.goals-section,
.wallets-section {
  padding-top: 105px;
}

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

.section-heading h2 {
  margin: 8px 0 0;
  font-size: 28px;
  letter-spacing: -1px;
}

.updated,
.wallet-note {
  color: var(--muted);
  font-size: 11px;
}

.big-progress {
  padding: 25px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
}

.progress-track {
  height: 14px;
  background: #171612;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.04);
}

.progress-fill {
  min-width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b87908, #f5b82e, #ffe18a);
  box-shadow: 0 0 20px rgba(245,184,46,.28);
  transition: width .8s ease;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  color: var(--muted-light);
  font-size: 12px;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.goal-card {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.07);
  background: var(--card);
  border-radius: var(--radius);
}

.goal-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.goal-name {
  font-size: 18px;
  font-weight: 800;
}

.goal-percent {
  color: var(--gold);
  font-weight: 800;
}

.goal-values {
  display: flex;
  justify-content: space-between;
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
}

.goal-track {
  height: 8px;
  background: #191816;
  border-radius: 999px;
  overflow: hidden;
}

.goal-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9c670a, var(--gold));
  transition: width .7s ease;
}

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

.wallet-card {
  position: relative;
  padding: 23px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  overflow: hidden;
}

.wallet-card::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(245,184,46,.07);
  border-radius: 50%;
  filter: blur(35px);
  top: -50px;
  right: -50px;
}

.wallet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.coin-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #181208;
  background: linear-gradient(135deg, #ffe28a, #d79617);
  font-size: 13px;
  font-weight: 950;
}

.wallet-name {
  margin-top: 2px;
  font-weight: 800;
}

.wallet-network {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.wallet-value {
  margin-top: 22px;
}

.wallet-balance {
  font-size: 23px;
  font-weight: 800;
}

.wallet-usd {
  margin-top: 5px;
  color: var(--gold);
  font-size: 12px;
}

.wallet-info {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.info-item {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}

.info-label {
  display: block;
  color: #6f6c65;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.info-value {
  display: block;
  margin-top: 4px;
  color: var(--muted-light);
  font-size: 11px;
}

.address-box {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.address {
  flex: 1;
  min-width: 0;
  padding: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 10px;
  background: #080808;
  border: 1px solid rgba(255,255,255,.06);
  color: #8f8b82;
  font-family: monospace;
  font-size: 10px;
}

.copy-btn {
  flex: 0 0 auto;
  border: 1px solid rgba(245,184,46,.16);
  background: rgba(245,184,46,.06);
  color: var(--gold);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.copy-btn:hover {
  background: rgba(245,184,46,.12);
}

.wallet-error {
  margin-top: 15px;
  padding: 10px;
  border-radius: 9px;
  color: #ff9a9a;
  background: rgba(255,98,98,.07);
  border: 1px solid rgba(255,98,98,.12);
  font-size: 10px;
}

.transparency {
  padding-top: 105px;
  padding-bottom: 105px;
}

.transparency-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(245,184,46,.15);
  background:
    radial-gradient(circle at left, rgba(245,184,46,.08), transparent 45%),
    rgba(255,255,255,.02);
}

.transparency-icon {
  flex: 0 0 auto;
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #171108;
  background: linear-gradient(135deg, #ffe18a, #bd7d08);
  font-size: 30px;
  font-weight: 900;
}

.transparency h2 {
  margin: 7px 0 8px;
  font-size: 22px;
}

.transparency p {
  max-width: 750px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  color: #68655e;
  font-size: 10px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa69c;
}

.footer-brand img {
  width: 26px;
  height: 26px;
}

.footer-brand b {
  color: var(--gold);
}

.footer-hash {
  color: #55524c;
}

.loading-card {
  padding: 35px;
  text-align: center;
  color: var(--muted);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06);
  background: var(--card);
  grid-column: 1 / -1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 17px;
  border-radius: 999px;
  background: #f5b82e;
  color: #151005;
  font-size: 11px;
  font-weight: 900;
  transition: .25s ease;
  z-index: 100;
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 55px;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-coin {
    min-height: 320px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .wallet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 26px), var(--max-width));
  }

  .nav {
    height: 68px;
  }

  .live-status {
    padding: 7px 9px;
    font-size: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 46px;
    letter-spacing: -2.5px;
  }

  .hero-text {
    font-size: 14px;
  }

  .coin-card {
    width: 210px;
    height: 210px;
  }

  .coin-card img {
    width: 160px;
    height: 160px;
  }

  .ring-one {
    width: 280px;
    height: 280px;
  }

  .ring-two {
    width: 340px;
    height: 340px;
  }

  .section-heading {
    display: block;
  }

  .updated,
  .wallet-note {
    display: block;
    margin-top: 10px;
  }

  .goals-grid,
  .wallet-grid {
    grid-template-columns: 1fr;
  }

  .progress-meta {
    font-size: 10px;
  }

  .transparency-inner {
    align-items: flex-start;
    padding: 23px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 25px 0;
    text-align: center;
  }
}
