/* Professional Simple Loading Screen */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
    font-family: 'Inter', sans-serif;
}

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

/* Logo Container */
.loader-logo-container {
    margin-bottom: 20px;
}

/* Simple Logo Animation */
.loader-logo {
    width: 160px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    background: white;
    border-radius: 12px;
    padding: 20px;
}

@keyframes pulse {
    0% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.9; 
    }
    100% { 
        transform: scale(1); 
        opacity: 1; 
    }
}

/* Loading Text */
.loader-text {
    font-size: 18px;
    font-weight: 500;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 30px;
    animation: blink 1.2s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Simple Loading Dots */
.loader-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Status Text */
.loader-status {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    animation: fade 2s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes fade {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 640px) {
    .loader-logo {
        width: 140px;
    }

    .loader-text {
        font-size: 16px;
    }

    .loader-status {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .loader-logo {
        width: 120px;
    }

    .loader-text {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
}