:root {
  --bg: #0a0e1a;
  --bg2: #0f1629;
  --card: rgba(20, 28, 50, 0.6);
  --border: rgba(0, 229, 255, 0.18);
  --accent: #00e5ff;
  --accent2: #7c4dff;
  --text: #e6edf7;
  --muted: #7a8aa6;
  --good: #00e676;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: radial-gradient(ellipse at top, #1a2340 0%, transparent 60%),
              radial-gradient(ellipse at bottom right, #0d1a33 0%, transparent 50%),
              var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.logo .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.status {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 10px var(--good);
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.hero p {
  color: var(--muted);
  font-size: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 760px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.card .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 14px;
}

.card .value {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.card .unit {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

.card .sub {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.bar {
  margin-top: 16px;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  transition: width 0.25s ease;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #0a0e1a;
  border: none;
  padding: 14px 40px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.progress {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  min-height: 24px;
  margin-bottom: 40px;
}

.details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.details-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.14);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--muted);
}

.details-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.details-list {
  display: flex;
  flex-direction: column;
}

.details-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.details-item:first-child {
  border-top: none;
}

.details-label {
  color: var(--muted);
  font-size: 13px;
}

.details-value {
  color: var(--text);
  font-size: 14px;
  word-break: break-all;
}

@media (max-width: 640px) {
  .details-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 18px;
  }
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 40px;
}
