.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: min(900px, 92vw); height: min(620px, 70vh);
  background: radial-gradient(closest-side, rgba(8,3,2,0.72), rgba(8,3,2,0) 72%);
}

.supply {
  display: block; width: 100%;
  font-family: var(--f-mono); font-weight: 700;
  font-size: clamp(2rem, 8.6vw, 5.4rem);
  line-height: 1; letter-spacing: -0.01em;
}
.supply-num {
  white-space: nowrap; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--white-hot) 0%, var(--gold) 34%, var(--flame) 66%, var(--ember) 100%);
  background-size: 100% 230%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 26px rgba(255,110,20,0.45));
  animation: molten 5s ease-in-out infinite alternate;
}
@keyframes molten {
  from { background-position: 50% 0%; }
  to   { background-position: 50% 100%; }
}
.supply-unit {
  display: block; margin-top: 0.35rem;
  font-family: var(--f-display); font-size: 0.2em; letter-spacing: 0.5em;
  text-transform: uppercase; color: var(--gold); -webkit-text-fill-color: var(--gold);
  text-indent: 0.5em; filter: none;
}

.metrics {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 0.3rem clamp(0.9rem, 3vw, 1.6rem);
  font-family: var(--f-mono);
}
.metric { display: inline-flex; align-items: baseline; gap: 0.45rem; }
.metric .m-k {
  font-weight: 600; font-size: clamp(0.56rem, 1.6vw, 0.66rem);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--flame);
}
.metric .m-v {
  font-weight: 400; font-size: clamp(0.78rem, 2.4vw, 1rem);
  letter-spacing: 0.06em; color: var(--text); white-space: nowrap;
}

.burnbox {
  margin-top: clamp(1.4rem, 4vh, 2.6rem);
  width: min(620px, 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(0.4rem, 1.6vw, 0.75rem);
  padding: clamp(1.1rem, 3vw, 1.5rem) clamp(1.1rem, 3.4vw, 1.6rem);
  border: 1px solid rgba(255,60,0,0.45); border-radius: 16px;
  background: linear-gradient(180deg, rgba(40,8,3,0.62), rgba(20,5,2,0.62));
  box-shadow: 0 0 0 1px rgba(255,30,0,0.08) inset, 0 18px 50px rgba(0,0,0,0.5), 0 0 48px rgba(255,40,0,0.14);
  backdrop-filter: blur(7px);
  position: relative; overflow: hidden;
}

.burn-meta { text-align: center; }
.burn-label {
  font-family: var(--f-mono); font-size: clamp(0.58rem, 1.8vw, 0.7rem);
  font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--dim);
}
.burn {
  font-family: var(--f-mono); font-weight: 700; white-space: nowrap;
  font-size: clamp(1.5rem, 5.6vw, 2.9rem); line-height: 1.05; margin-top: 0.18rem;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--gold), var(--ember) 70%, var(--blood));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 16px rgba(255,40,0,0.45));
}
.burn-unit {
  font-family: var(--f-display); font-size: 0.34em; letter-spacing: 0.3em;
  margin-left: 0.4em; color: var(--flame); -webkit-text-fill-color: var(--flame);
}
.burn-sub {
  font-family: var(--f-body); font-size: clamp(0.6rem, 1.8vw, 0.72rem);
  color: rgba(201,169,136,0.7); margin-top: 0.3rem; letter-spacing: 0.02em;
}

.wallet-block {
  margin-top: clamp(1rem, 2.6vh, 1.5rem);
  width: min(620px, 100%);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.wallet-label {
  font-family: var(--f-mono); font-size: clamp(0.56rem, 1.8vw, 0.64rem);
  font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim); text-align: center; line-height: 1.5;
}
.wallet {
  width: 100%;
  display: flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: rgba(18,8,4,0.55); backdrop-filter: blur(6px);
}
.wallet-addr {
  flex: 1; min-width: 0; align-self: center;
  font-family: var(--f-mono); font-size: clamp(0.62rem, 2.1vw, 0.84rem);
  color: var(--gold); background: transparent; border: 0; outline: none;
  white-space: nowrap; overflow-x: auto;
  padding: 0.75rem 0.9rem;
  -webkit-user-select: all; user-select: all;
}
.copy-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0 clamp(0.9rem, 3vw, 1.2rem); border: 0; border-left: 1px solid var(--line);
  cursor: pointer; font-family: var(--f-mono); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--bg-0);
  background: linear-gradient(180deg, var(--gold), var(--flame));
  transition: filter 0.2s ease, background 0.2s ease;
}
.copy-btn:hover { filter: brightness(1.1); }
.copy-btn:active { filter: brightness(0.92); }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn.copied { background: linear-gradient(180deg, #41e06a, #1aa148); color: #06210f; }
.wallet-verify {
  align-self: center;
  font-family: var(--f-mono); font-size: clamp(0.54rem, 1.6vw, 0.6rem);
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  color: var(--flame); opacity: 0.82;
  transition: opacity 0.18s ease;
}
.wallet-verify:hover { opacity: 1; text-decoration: underline; }

/* Home: keep the live hero as a full first screen; the explainer scrolls in below. */
.home-hero { min-height: calc(100vh - 5.5rem); min-height: calc(100svh - 5.5rem); }

.home-about {
  width: min(720px, 100%); margin: 0 auto;
  padding: clamp(1.8rem, 5vw, 2.8rem) 0 clamp(0.4rem, 2vh, 1rem);
  border-top: 1px solid var(--line); text-align: left;
}
.home-about h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.15rem, 4.4vw, 1.55rem); letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--white-hot);
  text-align: center; margin-bottom: 1rem;
}
.home-about p {
  font-family: var(--f-body);
  font-size: clamp(0.82rem, 2.5vw, 0.93rem); line-height: 1.72;
  color: var(--dim); margin-bottom: 0.85rem;
}
.home-about p:last-child { margin-bottom: 0; }
.home-about strong { color: var(--text); font-weight: 600; }

body.share-mode #liveBadge,
body.share-mode .wallet-block,
body.share-mode .home-about { display: none !important; }

.share-ui {
  position: fixed; left: 50%; bottom: clamp(16px, 4vw, 30px); transform: translateX(-50%);
  z-index: 9; display: none; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.4rem 0.4rem 0.95rem; border-radius: 100px;
  background: rgba(16,7,3,0.9); border: 1px solid var(--line); backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim); box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
body.share-mode .share-ui { display: inline-flex; }
body.exporting .share-ui { display: none !important; }
.share-ui button { border: 0; cursor: pointer; border-radius: 100px; font: inherit; letter-spacing: 0.16em; text-transform: uppercase; }
.share-ui .save { padding: 0.5rem 1rem; color: var(--bg-0); background: linear-gradient(180deg, var(--gold), var(--flame)); }
.share-ui .save:hover { filter: brightness(1.1); }
.share-ui .save:disabled { opacity: 0.6; cursor: default; }
.share-ui .close { padding: 0.45rem 0.6rem; color: var(--dim); background: transparent; }

body.exporting .supply-num { background: none !important; -webkit-text-fill-color: var(--gold) !important; color: var(--gold) !important; filter: none !important; }
body.exporting .burn       { background: none !important; -webkit-text-fill-color: var(--flame) !important; color: var(--flame) !important; filter: none !important; }

.watermark {
  position: fixed; right: clamp(20px, 4.5vw, 46px); bottom: clamp(16px, 3.5vw, 30px); z-index: 6;
  display: none; align-items: center; gap: 0.42rem; pointer-events: none;
  font-family: var(--f-mono); font-weight: 600; font-size: clamp(0.66rem, 1.7vw, 0.82rem);
  letter-spacing: 0.08em; color: rgba(246,233,218,0.92); text-shadow: 0 1px 10px rgba(0,0,0,0.65);
}
body.share-mode .watermark { display: inline-flex; }
.watermark svg { width: 1em; height: 1em; fill: currentColor; opacity: 0.95; }

@media (max-width: 620px) {
  .burnbox { flex-direction: column; text-align: center; }
  .burn-meta { text-align: center; }

  .wallet { flex-direction: column; }
  .wallet-addr {
    white-space: normal; word-break: break-all; overflow-x: visible;
    text-align: center; align-self: stretch; line-height: 1.55;
    padding: 0.7rem 0.85rem 0.62rem;
  }
  /* Discreet framed Copy on mobile — not the loud gold fill of the desktop button. */
  .copy-btn {
    width: 100%; justify-content: center;
    border-left: 0; border-top: 1px solid var(--line);
    padding: 0.8rem; letter-spacing: 0.18em;
    color: var(--gold); background: rgba(20,8,4,0.55);
  }
  .copy-btn:hover { filter: none; color: var(--white-hot); background: rgba(255,120,30,0.12); }
  .copy-btn.copied { color: #41e06a; background: rgba(65,224,106,0.12); }
}
@media (prefers-reduced-motion: reduce) {
  .supply-num { animation: none !important; }
}
