* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #061a45;
  color: #f8fbff;
}
main {
  min-height: 100vh;
  background:
    radial-gradient(circle at 25% 15%, rgba(53, 180, 255, 0.26), transparent 32%),
    linear-gradient(135deg, #071b47 0%, #123b91 48%, #5b25d6 100%);
  overflow: hidden;
}
.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 48px;
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 48px 0 24px;
}
.orbital { position: relative; aspect-ratio: 1; min-height: 320px; }
.core {
  position: absolute;
  inset: 28%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #bfe5ff 42%, #7c4cff 100%);
  color: #0a2d76;
  font-size: 54px;
  font-weight: 900;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28), inset 0 0 32px rgba(255, 255, 255, 0.72);
}
.ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  inset: 16%;
  animation: turn 18s linear infinite;
}
.r2 { inset: 5%; border-color: rgba(150, 221, 255, 0.28); animation-duration: 28s; animation-direction: reverse; }
.chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 86px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border-radius: 8px;
  font-weight: 800;
}
.c1 { left: 6%; top: 29%; }
.c2 { right: 8%; top: 18%; }
.c3 { right: 15%; bottom: 15%; }
.panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(3, 13, 35, 0.58);
  box-shadow: 0 24px 100px rgba(0, 0, 0, 0.24);
  border-radius: 8px;
  padding: 30px;
  backdrop-filter: blur(18px);
}
.topline, .tag, .band span, .stats span, .rule, .notice { color: #bdd7ff; }
.topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
}
h1 {
  margin: 28px 0 4px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
}
.tag { margin: 0 0 28px; font-size: 20px; }
.rule {
  margin: -14px 0 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}
.rule code { display: inline; margin: 0; font-size: 13px; }
.meter { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.meter-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffffff, #5ed9ff, #b8a0ff);
  transition: width 0.35s ease;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 28px; }
.stats div { min-width: 0; padding: 16px; background: rgba(255, 255, 255, 0.08); border-radius: 8px; }
.stats strong { display: block; font-size: 24px; }
.stats span { display: block; margin-top: 4px; font-size: 12px; }
.actions { display: flex; gap: 10px; }
.wallets {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.wallets.open { display: grid; }
.wallet-option {
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.wallet-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
}
.wallet-logo img { width: 100%; height: 100%; object-fit: cover; }
.wallet-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
button {
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
}
button:disabled { opacity: 0.54; cursor: not-allowed; }
.primary { background: #ffffff; color: #0b2a6d; border-color: #ffffff; }
.icon { width: 46px; padding: 0; }
.details { width: min(1120px, calc(100vw - 36px)); margin: 0 auto; padding: 10px 0 48px; }
.band { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 12px; }
.band div, .feed { border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(3, 13, 35, 0.42); border-radius: 8px; }
.band div { padding: 14px 16px; }
.notice {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(3, 13, 35, 0.42);
  border-radius: 8px;
  line-height: 1.45;
}
.band span, .band code { display: block; }
code { margin-top: 5px; color: #ffffff; font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; }
.feed { overflow: hidden; }
.row, .empty {
  min-height: 54px;
  padding: 0 16px;
  display: grid;
  align-items: center;
  grid-template-columns: 80px 1fr 120px 28px;
  color: #f8fbff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.row:last-child { border-bottom: 0; }
.row:hover { background: rgba(255, 255, 255, 0.08); }
.empty { display: grid; place-items: center; color: #bdd7ff; }
.spin { animation: turn 0.8s linear infinite; }
@keyframes turn { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 26px; }
  .orbital { min-height: 230px; max-width: 320px; margin: 0 auto; width: 100%; }
  h1 { font-size: 58px; }
  .panel { padding: 22px; }
  .stats, .band { grid-template-columns: 1fr; }
  .actions { flex-wrap: wrap; }
  button:not(.icon) { flex: 1 1 140px; }
  .row { grid-template-columns: 58px 1fr 84px 22px; font-size: 13px; }
}
