:root {
  --bg: #070b16;
  --bg2: #0d1326;
  --card: #0f172d;
  --line: #1f2a49;
  --text: #e9f0ff;
  --muted: #8ea0c9;
  --accent: #3f57ff;
  --green: #4ad77f;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at 20% 0%, #131c33, var(--bg));
  color: var(--text);
}

.app { max-width: 1280px; margin: 0 auto; padding: 20px; }
.topbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: #0c1325;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  position: sticky;
  top: 8px;
}
.brand { font-weight: 700; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--line);
  background: #121a31;
  color: var(--muted);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
.tab.active { background: var(--accent); color: #fff; border-color: transparent; }

.view { display: none; margin-top: 18px; }
.view.active { display: block; }
h1 { margin: 0 0 16px 0; font-size: 34px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.card {
  background: linear-gradient(180deg, #0f1730, #0a1022);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.card h3 { margin: 0 0 10px 0; }
.muted { color: var(--muted); }
.big { font-size: 30px; font-weight: 700; margin: 8px 0; }
.green { color: var(--green); }

.progress {
  width: 100%;
  height: 10px;
  border-radius: 99px;
  background: #192541;
  overflow: hidden;
}
.progress > div {
  height: 100%;
  background: linear-gradient(90deg, #4962ff, #7b8cff);
}

.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  border: 1px solid var(--line);
  background: #1a2444;
  color: #dce7ff;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}
.btn.primary { background: var(--accent); border-color: transparent; color: #fff; }
.btn:hover { filter: brightness(1.12); }

.list { margin: 0; padding-left: 20px; color: #cad7ff; }
.list li { margin: 6px 0; }

label { display: block; margin: 10px 0 6px; color: var(--muted); }
.copy-row { display: flex; gap: 8px; }
.copy-row input {
  flex: 1;
  background: #0a1328;
  color: #d9e4ff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}

@media (max-width: 768px) {
  h1 { font-size: 28px; }
  .topbar { flex-direction: column; align-items: flex-start; }
}
