/* ===========================================
   DYNAH MUSIC - CSS ROOT VARIABLES
   Blue Theme Color Palette
   =========================================== */

:root {
  /* ===========================================
     PRIMARY COLORS - Blue Theme
     =========================================== */
  --primary-blue: #02175d;
  /* Main brand blue */
  --primary-blue-light: #3b82f6;
  /* Lighter blue */
  --primary-blue-dark: #1e3a8a;
  /* Darker blue */
  --primary-blue-50: #eff6ff;
  /* Very light blue */
  --primary-blue-100: #dbeafe;
  /* Light blue tint */
  --primary-blue-200: #bfdbfe;
  /* Medium light blue */
  --primary-blue-300: #93c5fd;
  /* Medium blue */
  --primary-blue-400: #60a5fa;
  /* Medium dark blue */
  --primary-blue-500: #3b82f6;
  /* Standard blue */
  --primary-blue-600: #2563eb;
  /* Dark blue */
  --primary-blue-700: #1d4ed8;
  /* Darker blue */
  --primary-blue-800: #1e40af;
  /* Very dark blue */
  --primary-blue-900: #1e3a8a;
  /* Deepest blue */

  /* ===========================================
     ACCENT COLORS
     =========================================== */
  --accent-cyan: #06b6d4;
  /* Complementary cyan */
  --accent-cyan-light: #22d3ee;
  /* Light cyan */
  --accent-cyan-dark: #0891b2;
  /* Dark cyan */
  --accent-indigo: #6366f1;
  /* Indigo accent */
  --accent-purple: #8b5cf6;
  /* Purple accent */

  /* ===========================================
     NEUTRAL COLORS
     =========================================== */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;

  /* ===========================================
     SEMANTIC COLORS
     =========================================== */
  --success: #10b981;
  /* Green for success */
  --success-light: #34d399;
  --success-dark: #059669;
  --warning: #f59e0b;
  /* Amber for warnings */
  --warning-light: #fbbf24;
  --warning-dark: #d97706;
  --error: #ef4444;
  /* Red for errors */
  --error-light: #f87171;
  --error-dark: #dc2626;
  --info: var(--primary-blue);
  /* Blue for info */

  /* ===========================================
     BACKGROUND COLORS
     =========================================== */
  --bg-primary: var(--white);
  --bg-secondary: var(--gray-50);
  --bg-tertiary: var(--gray-100);
  --bg-dark: var(--gray-900);
  --bg-overlay: rgba(0, 0, 0, 0.5);
  --bg-blue-gradient: linear-gradient(135deg, var(--primary-blue-500), var(--primary-blue-700));
  --bg-hero-gradient: linear-gradient(135deg, var(--primary-blue-600), var(--accent-cyan));

  /* ===========================================
     TEXT COLORS
     =========================================== */
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-500);
  --text-light: var(--gray-400);
  --text-white: var(--white);
  --text-blue: var(--primary-blue);
  --text-link: var(--primary-blue-600);
  --text-link-hover: var(--primary-blue-800);

  /* ===========================================
     BORDER COLORS
     =========================================== */
  --border-light: var(--gray-200);
  --border-medium: var(--gray-300);
  --border-dark: var(--gray-400);
  --border-blue: var(--primary-blue-300);
  --border-focus: var(--primary-blue-500);

  /* ===========================================
     SHADOW COLORS
     =========================================== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-blue: 0 4px 14px 0 rgba(30, 64, 175, 0.2);
  --shadow-blue-lg: 0 10px 25px -3px rgba(30, 64, 175, 0.3);

  /* ===========================================
     TYPOGRAPHY
     =========================================== */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-secondary: 'Poppins', sans-serif;
  --font-family-mono: 'Fira Code', 'Monaco', 'Cascadia Code', monospace;

  /* 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 */
  --text-6xl: 3.75rem;
  /* 60px */

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* ===========================================
     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 */
  --space-24: 6rem;
  /* 96px */
  --space-32: 8rem;
  /* 128px */

  /* ===========================================
     BORDER RADIUS
     =========================================== */
  --radius-none: 0;
  --radius-sm: 0.125rem;
  /* 2px */
  --radius-md: 0.375rem;
  /* 6px */
  --radius-lg: 0.5rem;
  /* 8px */
  --radius-xl: 0.75rem;
  /* 12px */
  --radius-2xl: 1rem;
  /* 16px */
  --radius-3xl: 1.5rem;
  /* 24px */
  --radius-full: 9999px;

  /* ===========================================
     TRANSITIONS
     =========================================== */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  --transition-colors: color 150ms ease-in-out, background-color 150ms ease-in-out, border-color 150ms ease-in-out;
  --transition-transform: transform 150ms ease-in-out;
  --transition-all: all 150ms ease-in-out;

  /* ===========================================
     ENHANCED ANIMATIONS
     =========================================== */
  --animation-fade-in: fadeIn 0.3s ease-in-out;
  --animation-slide-up: slideUp 0.4s ease-out;
  --animation-scale: scale 0.2s ease-in-out;
  --animation-pulse: pulse 2s infinite;

  /* ===========================================
     ENHANCED GRADIENTS
     =========================================== */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-vibrant: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-sunset: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-dark: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

  /* ===========================================
     GLASSMORPHISM EFFECTS
     =========================================== */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --backdrop-blur: blur(10px);

  /* ===========================================
     Z-INDEX LAYERS
     =========================================== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;

  /* ===========================================
     BREAKPOINTS (for reference in JS)
     =========================================== */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* ===========================================
     SAFE AREA INSETS (Mobile)
     =========================================== */
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);

  /* ===========================================
     COMPONENT SPECIFIC
     =========================================== */
  --header-height: 4rem;
  --sidebar-width: 16rem;
  --footer-height: 3rem;
  --container-max-width: 1200px;
  --content-max-width: 65ch;

  /* Button Variables */
  --btn-padding-sm: var(--space-2) var(--space-3);
  --btn-padding-md: var(--space-3) var(--space-4);
  --btn-padding-lg: var(--space-4) var(--space-6);

  /* Input Variables */
  --input-height-sm: 2rem;
  --input-height-md: 2.5rem;
  --input-height-lg: 3rem;
  --input-padding: var(--space-3) var(--space-4);

  /* Card Variables */
  --card-padding: var(--space-6);
  --card-radius: var(--radius-lg);
  --card-shadow: var(--shadow-md);
}

/* ===========================================
   KEYFRAME ANIMATIONS
   =========================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}