:root {
  color-scheme: dark;
  --bg: #0a0a0f;
  --bg-elev-1: #141420;
  --bg-elev-2: #1a1a2e;
  --bg-elev-3: #0d0d1a;
  --text: #e6e6e6;
  --text-strong: #f5f5f7;
  --muted: #8a8aa0;
  --muted-2: #6b6b82;
  --muted-3: #4a4a5f;
  --accent: #ff6b6b;
  --accent-2: #ffa502;
  --accent-3: #20c997;
  --accent-4: #4ecdc4;
  --border: #1e1e30;
  --border-strong: #2a2a3a;
  --white-rgb: 255, 255, 255;
  --black-rgb: 0, 0, 0;
  --accent-rgb: 255, 107, 107;
  --accent-2-rgb: 255, 165, 2;
  --accent-3-rgb: 32, 201, 151;
  --accent-4-rgb: 78, 205, 196;
  --text-inverse: #fff;
  --text-soft: #ccc;
  --text-soft-2: #bbb;
  --text-muted-static: #999;
  --text-subtle: #666;
  --text-subtle-2: #555;
  --text-subtle-3: #444;
  --accent-hover: #ff5252;
  --accent-active: #ff4040;
  --danger: #ff4444;
  --success: #2ecc71;
  --success-strong: #27ae60;
  --status-ok: #4caf50;
  --status-info: #64b5f6;
  --black: #000;
  --warning: #f9a825;
  --accent-2-hover: #e89400;
  --accent-3-hover: #1aae83;
  --bg-elev-2-soft: #1a1a28;
  --bg-elev-4: #1a1a24;
  --bg-elev-5: #14141c;
  --bg-elev-6: #0d0d14;
  --bg-elev-7: #0a0a10;
  --bg-olive: #2a2a0a;
  --bg-success-soft: #0a2a0a;
  --bg-info-soft: #0a1a2a;
  --border-hover: #3a3a4a;
  --shadow-sm: 0 4px 16px rgba(var(--black-rgb), 0.3);
  --shadow-md: 0 10px 30px rgba(var(--black-rgb), 0.35);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(var(--accent-rgb), 0.08), transparent 60%), var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover { color: var(--accent); }

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.card {
  background: linear-gradient(145deg, rgba(20, 20, 32, 0.95), rgba(26, 26, 46, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.panel {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  background: rgba(var(--white-rgb), 0.06);
  color: var(--muted);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev-3);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(var(--accent-rgb), 0.8);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.textarea { resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 8px 16px rgba(var(--accent-rgb), 0.2);
}

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

.btn-outline {
  background: transparent;
  border-color: rgba(var(--white-rgb), 0.15);
  color: var(--text);
}

.btn-outline:hover {
  border-color: rgba(var(--accent-rgb), 0.6);
  color: var(--accent);
}

.btn-accent {
  background: rgba(var(--accent-2-rgb), 0.15);
  border-color: rgba(var(--accent-2-rgb), 0.4);
  color: var(--accent-2);
}

.btn-success {
  background: rgba(var(--accent-3-rgb), 0.18);
  border-color: rgba(var(--accent-3-rgb), 0.45);
  color: var(--accent-3);
}

.btn-muted {
  background: rgba(var(--white-rgb), 0.04);
  border-color: rgba(var(--white-rgb), 0.12);
  color: var(--muted);
}

.glow {
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.3), 0 0 18px rgba(var(--accent-rgb), 0.25);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

@media (max-width: 760px) {
  body { padding: 1.5rem; }
  .container { width: 100%; }
  .cluster { gap: 0.4rem; }
}

@media (max-width: 480px) {
  body { padding: 1rem 0.5rem; }
  .btn { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
  .card { border-radius: var(--radius-md); }
  .panel { border-radius: var(--radius-sm); }
}


