:root {
  --color-bg: #161423;
  --color-surface: #201D33;
  --color-surface-hover: #2A2647;
  --color-surface-active: #322D4A;
  --color-border: #322D4A;
  --color-border-light: #3D3766;
  --color-text: #E0DEF4;
  --color-text-secondary: #908CAA;
  --color-text-muted: #6E6A86;
  --color-text-inverse: #161423;
  --color-primary: #A277FF;
  --color-primary-hover: #B58CFF;
  --color-primary-subtle: rgba(162, 119, 255, 0.15);
  --color-accent: #F6C177;
  --color-accent-hover: #F8D08F;
  --color-accent-subtle: rgba(246, 193, 119, 0.15);
  --color-warning: #F6C177;
  --color-warning-subtle: rgba(246, 193, 119, 0.15);
  --color-danger: #FF3366;
  --color-danger-subtle: rgba(255, 51, 102, 0.15);
  --color-quran: #F6C177;
  --color-quran-subtle: rgba(246, 193, 119, 0.15);
  --color-hadith: #80FFEA;
  --color-hadith-subtle: rgba(128, 255, 234, 0.15);
  --color-salah: #A277FF;
  --color-salah-subtle: rgba(162, 119, 255, 0.15);
  --color-learn: #CBA6F7;
  --color-learn-subtle: rgba(203, 166, 247, 0.15);
  --color-note: #F087BD;
  --color-note-subtle: rgba(240, 135, 189, 0.15);
  --color-bookmark: #6E6A86;
  --color-bookmark-subtle: rgba(110, 106, 134, 0.15);
  --color-shia: #EF4444;
  --color-shia-subtle: rgba(239, 68, 68, 0.15);
  --grade-sahih: #22C55E;
  --grade-hasan: #F6C177;
  --grade-daif: #FF3366;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px rgba(162, 119, 255, 0.2);
  --shadow-gold: 0 0 20px rgba(246, 193, 119, 0.15);

  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-arabic: 'QPC_V2', 'UthmanicHafs', 'Scheherazade New', 'Amiri Quran', 'Amiri', 'Noto Naskh Arabic', serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --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: 1.875rem;
  --font-size-4xl: 2.25rem;

  --line-height-tight: 1.25;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;
  --line-height-arabic: 2;

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  --max-width: 72rem;
  --header-height: 4rem;
}
