:root {
  --bg: #0b1020;
  --fg: #e5e7eb;
  --muted: #9ca3af;
  --accent: #8b5cf6;
  --accent-2: #06b6d4;
  --card: rgba(255,255,255,.06);
  --card-bd: rgba(255,255,255,.12);
  --ok: #22c55e;
  --warn: #f59e0b;
  --err: #ef4444;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, var(--accent), transparent 70%),
              radial-gradient(circle at 80% 70%, var(--accent-2), transparent 70%);
  z-index: -1;
}

.wrap { max-width: 800px; padding: 2rem; }

.card {
  background: var(--card);
  border: 1px solid var(--card-bd);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.logo { display: flex; align-items: center; font-weight: bold; font-size: 1.25rem; gap: 0.5rem; }
.toggle { background: none; border: none; font-size: 1.25rem; cursor: pointer; }

.badge { display: inline-flex; align-items: center; background: var(--accent); color: white; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.9rem; margin-bottom: 1rem; }
.badge .dot { width: 0.6rem; height: 0.6rem; background: white; border-radius: 50%; margin-right: 0.5rem; }

h1 { font-size: 2rem; margin-bottom: 1rem; }
.gradient-text { background: linear-gradient(90deg,var(--accent),var(--accent-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.lead { color: var(--muted); margin-bottom: 1.5rem; }

.grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 1.5rem; }
.tile { background: var(--card-bd); padding: 1rem; border-radius: 1rem; text-align: center; }
.num { font-size: 1.5rem; font-weight: bold; }

form { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
input { flex: 1; padding: 0.75rem; border-radius: 0.75rem; border: 1px solid var(--card-bd); }
button { padding: 0.75rem 1rem; border: none; border-radius: 0.75rem; background: var(--accent); color: white; cursor: pointer; }

.foot { margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.social a { margin-left: 0.5rem; text-decoration: none; }

.hidden { display: none; }
