/* ============================================================
   CSS Custom Properties (Variables)
   Theme: Hacker Matrix / Cybersecurity Dark Mode
   ============================================================ */

:root {
  /* Primary Color Palette */
  --primary: #2E7D32;
  --secondary: #1B5E20;
  --bg: #121212;
  --card-bg: #1E1E1E;
  --accent: #4CAF50;
  --text: #E8F5E9;
  --danger: #F44336;
  --warning: #FF9800;
  --info: #2196F3;

  /* Extended Palette */
  --bg-elevated: #252525;
  --border-color: #333333;
  --text-muted: #A5D6A7;
  --text-dim: #81C784;
  --success: #66BB6A;
  --code-bg: #0D0D0D;
  --overlay: rgba(0, 0, 0, 0.85);

  /* Typography */
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Roboto Mono', 'Courier New', monospace;
  --font-sans: 'Inter', 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 10px var(--accent);
  --shadow-glow-lg: 0 0 20px var(--accent), 0 0 40px rgba(76, 175, 80, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Z-index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;

  /* Layout */
  --container-max: 1280px;
  --header-height: 64px;
  --sidebar-width: 300px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
