:root {
  --bg: #0b0e14;
  --panel: #151a26;
  --ink: #e8ecf4;
  --muted: #9aa3b5;
  --accent: #6ee7ff;
  --accent-2: #a78bfa;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #1b2340 0%, var(--bg) 60%);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem;
}
.hero { text-align: center; max-width: 640px; margin-bottom: 3rem; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 1rem; }
.hero .sub { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.widget-card {
  background: var(--panel);
  border: 1px solid #2a3350;
  border-radius: 16px;
  padding: 2rem;
  width: min(480px, 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.widget-card h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.loading { color: var(--muted); }
.counter { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.counter output {
  font-size: 3rem;
  font-variant-numeric: tabular-nums;
  min-width: 4.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.counter button {
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  border: 1px solid #2a3350;
  background: #1d2438;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease;
}
.counter button:hover { background: #263052; }
.counter button:active { transform: scale(0.93); }
.counter .reset {
  width: auto;
  padding: 0 1rem;
  font-size: 0.9rem;
  height: 3rem;
}
