/**
 * Royal Academy Hub - Core Custom CSS Styles
 * Developer: SA Coder (https://sacoder.cyou)
 */

/* Google Fonts - Hind Siliguri */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #1E40AF;
    --primary-indigo: #4F46E5;
    --primary-slate: #0F172A;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: #F8FAFC;
    color: #1E293B;
}

/* Custom Scrollbar for modern premium experience */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Glassmorphism panel cards */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dark-glass-panel {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Rich linear gradients */
.bg-gradient-premium {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #4F46E5 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

/* Sidebar dynamic styles */
.sidebar-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-link:hover {
    background-color: rgba(30, 64, 175, 0.08);
    color: #1E40AF;
    transform: translateX(4px);
}

.sidebar-link.active {
    background-color: #1E40AF;
    color: #FFFFFF;
}

/* Micro-animations and transitions */
.hover-scale {
    transition: all 0.2s ease;
}
.hover-scale:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

@keyframes pulse-subtle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .95;
        transform: scale(1.02);
    }
}

.animate-pulse-subtle {
    animation: pulse-subtle 3s infinite ease-in-out;
}
