/* Design System Variables */
:root {
  /* === COLORS === */
  
  /* Background Colors - Deep Space Theme */
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #16161d;
  --color-bg-elevated: #22222b;
  --color-bg-hover: #2d2d38;

  /* Text Colors */
  --color-text-primary: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-tertiary: #94a3b8;

  /* Heading Colors - Yellow/Gold Family */
  --color-heading-primary: #f4d03f;
  --color-heading-secondary: #e8c547;
  --color-heading-tertiary: #d4af37;

  /* Link Colors - Purple Family */
  --color-link-primary: #c4b5fd;
  --color-link-hover: #a78bfa;

  /* Action Colors - Button Purple Family */
  --color-action-primary: #8b5cf6;
  --color-action-secondary: #7c3aed;

  /* Accent Colors */
  --color-accent-warning: #f59e0b;
  --color-accent-success: #10b981;
  --color-accent-error: #ef4444;

  /* Border Colors */
  --color-border-primary: #374151;
  --color-border-light: #4b5563;

  /* Amazon Button Colors */
  --color-amazon-bg: #ffd814;
  --color-amazon-hover: #d4af37;
  --color-amazon-text: #0f1111;
  --color-amazon-text-hover: #ffffff;

  /* === 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;

  /* Mobile-specific spacing for denser layouts */
  --space-mobile-xs: 0.125rem;
  --space-mobile-sm: 0.375rem;
  --space-mobile-md: 0.75rem;
  --space-mobile-lg: 1rem;
  --space-mobile-xl: 1.25rem;

  /* === TYPOGRAPHY === */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 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: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;

  /* === BORDERS === */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-full: 9999px;

  --border-width-sm: 1px;
  --border-width-md: 2px;

  /* === SHADOWS === */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);

  /* Glow Effects - Simplified for performance */
  --glow-gold: 0 0 8px rgba(244, 208, 63, 0.2);
  --glow-purple: 0 0 6px rgba(196, 181, 253, 0.2);

  /* === HOVER EFFECTS === */
  /* Gold highlights of the current crumb and title links */
  --gold-bg-subtle: rgba(244, 208, 63, 0.08);
  --gold-bg: rgba(244, 208, 63, 0.1);
  --gold-bg-medium: rgba(244, 208, 63, 0.15);
  --gold-outline: rgba(244, 208, 63, 0.3);
  --gold-outline-strong: rgba(244, 208, 63, 0.5);
  --hover-bg-subtle: rgba(196, 181, 253, 0.08);
  --hover-bg-medium: rgba(196, 181, 253, 0.15);
  --hover-outline: rgba(196, 181, 253, 0.3);

  /* === TRANSITIONS === */
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* === Z-INDEX === */
  --z-dropdown: 1000;

  /* === TOUCH TARGETS === */
  --size-touch-target: 44px;

  /* === BOOK COVER DIMENSIONS === */
  --cover-width-sm: 80px;
  --cover-height-sm: 107px;
  --cover-width-md: 120px;
  --cover-height-md: 160px;

  /* === CONTAINER WIDTHS === */
  --container-xl: 1280px;
  --container-form: 36rem;
  --container-form-wide: 48rem;
}