/* 
 * CSS Variables for The Channel website
 * All global variables are defined here to ensure consistency
 */

:root {
  /* 
   * Breakpoints
   * These are used with the breakpoint mixins from breakpoints.css
   * Values represent min-width in pixels:
   * - xxs: 0-479px (small phone portrait)
   * - xs: 480px-575px (phone portrait)
   * - sm: 576px-767px (phone landscape)
   * - md: 768px-991px (tablet portrait)
   * - lg: 992px-1199px (tablet landscape)
   * - xl: 1200px+ (desktop)
   */
  --breakpoint-xxs: 0px;
  --breakpoint-xs: 480px;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  
  /* Core colors */
  --color-background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --color-text: #fff;
  --color-text-muted: #b8b8b8;
  --color-primary: #c74168;
  --color-secondary: #533483;
  --color-accent: linear-gradient(45deg, #e94560, #533483);
  --color-card-bg: rgba(255, 255, 255, 0.05);
  
  /* Spacing system - Based on 4px increments */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 1rem;     /* 16px */
  --space-4: 1.5rem;   /* 24px */
  --space-5: 2rem;     /* 32px */
  --space-6: 3rem;     /* 48px */
  --space-7: 4rem;     /* 64px */
  --space-8: 6rem;     /* 96px */
  
  /* Typography */
  --font-family-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-family-display: 'Euphoria Script', cursive;
  
  /* Font sizes for mobile first (xs breakpoint) */
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */
  --font-size-6xl: 3.75rem;  /* 60px */
  --font-size-logo: 4rem;    /* 64px - will scale with fluid typography */
  
  /* Font weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  
  /* Line heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.8;
  
  /* Layout */
  --container-width: min(100% - 2rem, 1200px);
  --content-width: min(100% - 2rem, 800px);
  --phone-width: 18rem;  /* Default for smallest screens */
  --phone-height: 38rem; /* Default for smallest screens */
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-phone: 40px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Animation speeds */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index layers */
  --z-index-background: 0;
  --z-index-content: 1;
  --z-index-header: 10;
  --z-index-overlay: 50;
  --z-index-modal: 100;
}