/* 
   ╔══════════════════════════════════════════════════════════╗
   ║  JAVA POO LEARNING - VARIABLES CSS                      ║
   ║  Personaliza colores, fuentes y efectos aquí             ║
   ╚══════════════════════════════════════════════════════════╝ 
*/

/* ==================== COLORES PRINCIPALES ==================== */
:root {
    /* Colores primarios */
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-200: #bae6fd;
    --primary-300: #7dd3fc;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --primary-800: #075985;
    --primary-900: #0c4a6e;

    /* Colores de acento */
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-yellow: #eab308;

    /* Colores neutrales */
    --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;

    /* Colores plateados para code-block */
    --silver-light: #f3f4f6;
    --silver-mid: #d1d5db;
    --silver-dark: #9ca3af;

    /* Colores de syntax highlighting (fondo plateado) */
    --syntax-keyword: #4c1d95;
    --syntax-class: #1e40af;
    --syntax-function: #b45309;
    --syntax-string: #047857;
    --syntax-comment: #374151;
    --syntax-variable: #be123c;
    --syntax-number: #6d28d9;
}

/* ==================== FUENTES ==================== */
:root {
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Fira Code', 'JetBrains Mono', 'Consolas', 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;
}

/* ==================== SOMBRAS ==================== */
:root {
    --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 -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow-purple: 0 0 20px rgba(168, 85, 247, 0.4);
    --shadow-glow-pink: 0 0 20px rgba(236, 72, 153, 0.4);
}

/* ==================== BORDES Y RADIOS ==================== */
:root {
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ==================== TRANSICIONES ==================== */
:root {
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GRADIENTES ==================== */
:root {
    --gradient-primary: linear-gradient(135deg, var(--primary-500), var(--accent-purple));
    --gradient-silver: linear-gradient(145deg, #e8e8e8 0%, #c0c0c0 100%);
    --gradient-code-dark: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

/* ==================== CONFIGURACIÓN DE LABORATORIOS ==================== */
:root {
    /* Constructor Mágico */
    --lab-constructor-color: #f97316;
    --lab-constructor-border: #fb923c;

    /* Encapsulación */
    --lab-encapsulation-color: #ec4899;
    --lab-encapsulation-border: #f472b6;

    /* Herencia */
    --lab-inheritance-color: #8b5cf6;
    --lab-inheritance-border: #a78bfa;

    /* Polimorfismo */
    --lab-polymorphism-color: #06b6d4;
    --lab-polymorphism-border: #22d3ee;

    /* Dificultad y tiempos */
    --animation-duration-check: 300ms;
    --animation-duration-reset: 500ms;
    --toast-duration: 3000ms;
}
