/* Loader Styles */
#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(143, 148, 251, 0.6);
    animation: pulse 2s infinite;
}

.logo-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #1a1a2e;
    animation: rotate 3s linear infinite;
}

.loader-text {
    color: white;
    font-size: 24px;
    margin-bottom: 30px;
    font-family: Arial, sans-serif;
}

.loader-bar {
    width: 300px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #4e54c8, #8f94fb);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.loader-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.loader-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #8f94fb;
    margin: 0 5px;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader-dot:nth-child(1) { animation-delay: -0.32s; }
.loader-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(143, 148, 251, 0.6); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(143, 148, 251, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 30px rgba(143, 148, 251, 0.6); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 
    40% { 
        transform: scale(1.0);
    }
}

.loader-hidden {
    opacity: 0;
    pointer-events: none;
}