:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0a0a0a;
  color: #e2e8f0;
  font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  background-image: radial-gradient(60% 50% at 50% 0%, rgba(132, 204, 22, 0.06), transparent 70%);
}
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2d30; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #3a3e42; }
.card { background: #0e0f10; border: 1px solid rgba(31, 33, 35, 0.8); border-radius: 1rem; }
.card-pad { padding: 1rem; }
@media (min-width: 640px) { .card-pad { padding: 1.5rem; } }
.btn, .btn-primary, .btn-outline, .btn-danger, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .375rem;
  border-radius: .75rem; padding: .5rem .875rem; font-weight: 600; transition: .15s ease;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: #84cc16; color: #050505; }
.btn-primary:hover { background: #a3e635; }
.btn-outline { background: transparent; border-color: #2a2d30; color: #e2e8f0; }
.btn-outline:hover { background: #181a1c; }
.btn-danger { background: rgba(239, 68, 68, .92); color: #fff; }
.btn-danger:hover { background: rgba(239, 68, 68, 1); }
.btn-ghost { background: transparent; color: #cbd5e1; }
.btn-ghost:hover { background: #181a1c; }
.input {
  width: 100%; border-radius: .75rem; background: #131516; border: 1px solid #2a2d30;
  padding: .55rem .85rem; color: #f8fafc; outline: none; box-sizing: border-box;
}
.input:focus { border-color: #84cc16; box-shadow: 0 0 0 1px #84cc16; }
.label { display: block; margin-bottom: .35rem; color: #cbd5e1; font-size: .95rem; font-weight: 500; }
.badge, .badge-green, .badge-amber, .badge-red, .badge-slate {
  display: inline-flex; align-items: center; gap: .25rem; border-radius: 9999px; padding: .25rem .625rem;
  font-size: .75rem; font-weight: 500; border: 1px solid transparent;
}
.badge-green { background: rgba(132,204,22,.15); color: #bef264; border-color: rgba(132,204,22,.3); }
.badge-amber { background: rgba(245,158,11,.15); color: #fcd34d; border-color: rgba(245,158,11,.3); }
.badge-red { background: rgba(239,68,68,.15); color: #fca5a5; border-color: rgba(239,68,68,.3); }
.badge-slate { background: #1f2123; color: #cbd5e1; border-color: #2a2d30; }
.nav-link { display: flex; align-items: center; gap: .75rem; border-radius: .75rem; padding: .75rem 1rem; color: #94a3b8; text-decoration: none; }
.nav-link:hover { color: #f8fafc; background: #131516; }
.nav-link-active { color: #bef264; background: rgba(132,204,22,.1); border: 1px solid rgba(132,204,22,.3); }
.stat-card { background: #0e0f10; border: 1px solid rgba(31,33,35,.7); border-radius: 1rem; padding: 1rem; }
.table-th { text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #64748b; padding: .75rem 1rem; white-space: nowrap; }
.table-td { padding: .875rem 1rem; color: #cbd5e1; border-top: 1px solid rgba(31,33,35,.6); white-space: nowrap; }
.reveal, .reveal-l, .reveal-r, .reveal-scale { opacity: 1; transform: none; }
.grid-bg { background-image: linear-gradient(rgba(132,204,22,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(132,204,22,.05) 1px, transparent 1px); background-size: 46px 46px; }
