/* =============================================
   KidsDreamEvery - Design System Variables
   ============================================= */

:root {
    /* ===== Color Palette ===== */
    
    /* Sky Gradient */
    --sky-top: #c8e4f9;
    --sky-mid: #e8d4f0;
    --sky-bottom: #fce4ec;
    
    /* Clouds */
    --cloud-white: rgba(255, 255, 255, 0.95);
    --cloud-solid: #ffffff;
    --cloud-shadow: rgba(200, 210, 230, 0.4);
    
    /* Stars */
    --star-yellow: #ffd54f;
    --star-pink: #ffb6c1;
    --star-gold: #ffca28;
    
    /* Rainbow Colors */
    --rainbow-red: #ff6b6b;
    --rainbow-orange: #ffa94d;
    --rainbow-yellow: #ffd43b;
    --rainbow-green: #69db7c;
    --rainbow-blue: #74c0fc;
    --rainbow-purple: #b197fc;
    --rainbow-pink: #f783ac;
    
    /* Category Colors */
    --cat-fairytale: #ffb3ba;
    --cat-fairytale-light: #ffe4ec;
    --cat-songs: #bae1ff;
    --cat-songs-light: #e0f4ff;
    --cat-audiobook: #baffc9;
    --cat-audiobook-light: #e0fff4;
    --cat-worksheet: #ffffba;
    --cat-worksheet-light: #fff9e0;
    --cat-games: #e2baff;
    --cat-games-light: #f0e4ff;
    
    /* Text Colors */
    --text-dark: #4a5568;
    --text-medium: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Status Colors */
    --success: #4ade80;
    --warning: #fbbf24;
    --error: #f87171;
    --info: #60a5fa;
    
    /* ===== Typography ===== */
    --font-display: 'Baloo 2', cursive;
    --font-body: 'Noto Sans KR', sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    
    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* ===== Spacing ===== */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    
    /* ===== Border Radius ===== */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-3xl: 48px;
    --radius-full: 9999px;
    
    /* ===== Shadows ===== */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 40px rgba(126, 184, 218, 0.3);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    
    /* ===== Transitions ===== */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-bounce: 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* ===== Z-Index ===== */
    --z-background: -1;
    --z-default: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-tooltip: 400;
    --z-toast: 500;
    
    /* ===== Layout ===== */
    --max-width-sm: 640px;
    --max-width-md: 768px;
    --max-width-lg: 1024px;
    --max-width-xl: 1200px;
    --max-width-2xl: 1400px;
    
    /* ===== Breakpoints (for reference) ===== */
    /* Mobile: 0 - 639px */
    /* Tablet: 640px - 1023px */
    /* Desktop: 1024px+ */
}

/* ===== Dark Mode (Future) ===== */
@media (prefers-color-scheme: dark) {
    :root {
        /* Dark mode variables can be added here */
    }
}
