:root {
  --bg: #05000f;
  --surface: #120726;
  --surface-2: #1a0d35;
  --surface-3: #201047;
  --ink: #f4efff;
  --muted: #b9add9;
  --line: rgba(173, 149, 233, 0.18);
  --accent: #ff7b4a;
  --burned: #ff9b76;
  --circulating: #ffffff;
  --noncirc: #9c6dff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 24%, #3b1478 0%, #2a0d5f 30%, rgba(20, 5, 45, 0.96) 58%, #05000f 100%),
    repeating-radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.03) 0 6%, rgba(255, 255, 255, 0) 6% 12%),
    var(--bg);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.4rem 1rem 2.4rem;
}

.hero-card {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.2rem;
  background: linear-gradient(145deg, rgba(41, 16, 88, 0.92), rgba(21, 8, 48, 0.96));
  border-radius: 18px;
  border: 1px solid var(--line);
}

.hero-card h1 {
  margin: 0;
  font-family: "Canela", "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(1.7rem, 4.7vw, 2.4rem);
}

.subtitle { margin: 0.25rem 0 0.9rem; color: var(--muted); }
.total-label { margin: 0; color: var(--muted); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; }
.total-value {
  margin: 0.16rem 0 0;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-meta {
  text-align: right;
  color: var(--muted);
  font-size: 0.88rem;
  min-width: 220px;
}
.hero-meta p { margin: 0.15rem 0; }

.summary-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.summary-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 0.9rem;
  border: 1px solid var(--line);
}

.summary-card .label {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.summary-card .value {
  margin: 0.35rem 0 0;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 700;
}

.burned .value { color: var(--burned); }
.circulating .value { color: #ffffff; }
.noncirc .value { color: #c6a9ff; }

.split-card,
.section-block,
.accordion-wrap {
  margin-top: 1rem;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 1rem;
}

.split-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
}

.split-head h2,
.section-block h2 {
  margin: 0;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
}

.split-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.stacked {
  margin-top: 0.7rem;
  width: 100%;
  height: 20px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
}

.seg { height: 100%; }
.seg.burned { background: var(--burned); }
.seg.circulating { background: #8fb3ff; }
.seg.noncirc { background: #9c6dff; }

.split-legend {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.78rem;
}

.split-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.split-legend .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}

.split-legend .dot.burned { background: var(--burned); }
.split-legend .dot.circulating { background: #8fb3ff; }
.split-legend .dot.noncirc { background: #9c6dff; }

.breakdown-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.break-card {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 0.85rem;
  border: 1px solid var(--line);
}

.break-card .label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-size: 0.78rem;
}

.break-card .value {
  margin: 0.35rem 0 0;
  font-size: clamp(1.18rem, 3vw, 1.6rem);
  font-weight: 700;
}

.formula {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.puts-sub {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.45;
}

.chain-list { margin-top: 0.75rem; display: grid; gap: 0.5rem; }
.chain-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.chain-name { color: var(--ink); font-size: 0.9rem; }
.chain-bar-bg {
  width: 100%;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.chain-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #85a0ff, #b08cff);
}
.chain-val {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

details {
  border-top: 1px solid var(--line);
  padding: 0.6rem 0;
}
details:first-child { border-top: 0; padding-top: 0; }

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

.details-body {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  display: grid;
  gap: 0.28rem;
}

.details-body a {
  color: #ffb27f;
  text-decoration: none;
  margin-right: 0.6rem;
}
.details-body a:hover { text-decoration: underline; }

.links-block h2 {
  margin-bottom: 0.7rem;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.quick-links a {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 123, 74, 0.16), rgba(142, 112, 255, 0.2));
  border: 1px solid rgba(255, 140, 96, 0.45);
  color: #ffe6d8;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.quick-links a:hover {
  background: linear-gradient(135deg, rgba(255, 123, 74, 0.24), rgba(142, 112, 255, 0.28));
}

.footnote { text-align: center; margin-top: 1rem; }
.disclaimer-bottom {
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
  color: rgba(200, 188, 226, 0.82);
}
.eq-title { margin: 0; font-size: 0.92rem; color: #f8e9dc; }
.eq-values { margin: 0.22rem 0 0; font-size: 0.74rem; color: rgba(200, 188, 226, 0.9); }
.credit { margin: 0.45rem 0 0; font-size: 0.72rem; color: rgba(200, 188, 226, 0.62); }
.credit a { color: rgba(200, 188, 226, 0.68); text-decoration: none; }
.credit a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .summary-grid { grid-template-columns: 1fr; }
  .breakdown-grid { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr; }
  .hero-card { flex-direction: column; }
  .hero-meta { text-align: left; min-width: 0; }
}
