
:root {
  --bg-primary: #0B0E14;
  --bg-surface: #151A22;
  --bg-surface-hover: #1C212B;
  --bg-surface-light: #232936;
  --border-color: rgba(255,255,255,0.08);
  --border-color-light: rgba(255,255,255,0.15);
  --color-primary: #6366F1;
  --color-primary-light: #818CF8;
  --color-primary-glow: rgba(99,102,241,0.4);
  --color-success: #10B981;
  --color-success-light: rgba(16,185,129,0.15);
  --color-danger: #EF4444;
  --color-danger-light: rgba(239,68,68,0.15);
  --color-warning: #F59E0B;
  --color-warning-light: rgba(245,158,11,0.15);
  --color-info: #0EA5E9;
  --color-info-light: rgba(14,165,233,0.15);
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 20px var(--color-primary-glow);
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --sidebar-width: 240px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); background-color: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: transparent; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; background: transparent; border: none; outline: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0d20; }
::-webkit-scrollbar-thumb { background: #2a2d5a; border-radius: 10px; }
h1 { font-size: 1.75rem; font-weight: 700; }
h2 { font-size: 1.35rem; font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; }
.text-sm { font-size: 0.8125rem; }
.text-xs { font-size: 0.75rem; }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-warning { color: var(--color-warning); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes ringFill { from { stroke-dashoffset: 314; } }
.animate-fade { animation: fadeIn 0.4s ease forwards; }
.animate-slide { animation: slideInRight 0.4s ease forwards; }

body.light-mode {
  --bg-primary: #f4f7fa;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f0f4f8;
  --bg-surface-light: #e4e9f2;
  --border-color: rgba(0,0,0,0.08);
  --border-color-light: rgba(0,0,0,0.12);
  --text-primary: #1a1f36;
  --text-secondary: #5a607f;
  --text-muted: #8890a5;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.05);
  --shadow-glow: 0 0 20px rgba(108,92,231,0.15);
}
