:root {
  --bg: #070708;
  --bg2: #0e0e11;
  --bg-elevated: #121216;
  --bg-card: rgba(18, 18, 22, 0.88);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --muted2: #71717a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #ff3b3b;
  --accent-hover: #ff5555;
  --accent-soft: rgba(255, 59, 59, 0.12);
  --accent-glow: rgba(255, 59, 59, 0.28);
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  background:
    radial-gradient(900px 480px at 110% -10%, rgba(255, 59, 59, 0.16), transparent 55%),
    radial-gradient(700px 420px at -15% 30%, rgba(255, 255, 255, 0.04), transparent 50%),
    radial-gradient(600px 380px at 50% 110%, rgba(255, 59, 59, 0.06), transparent 55%),
    linear-gradient(165deg, var(--bg2) 0%, var(--bg) 45%, #040405 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid rgba(255, 59, 59, 0.7);
  outline-offset: 3px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.badge-ok {
  color: var(--ok);
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
}

.badge-warn {
  color: var(--warn);
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
}

.badge-bad {
  color: var(--accent);
  border-color: rgba(255, 59, 59, 0.35);
  background: rgba(255, 59, 59, 0.1);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--bg-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
