/* Full Black Screen Loading Overlay with Bouncing Balls */

#loading-overlay {
    background: #000000 !important;
    transition: opacity 0.8s ease;
    overflow: hidden;
}

#loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Center container */
#loading-overlay .container {
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Bouncing ball styles */
.ball {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(124, 58, 237, 0.4);
    animation: bounce 1.2s infinite ease-in-out;
}

/* Stagger animation delay for each ball */
.ball:nth-child(1) { animation-delay: 0s; }
.ball:nth-child(2) { animation-delay: 0.1s; }
.ball:nth-child(3) { animation-delay: 0.2s; }
.ball:nth-child(4) { animation-delay: 0.3s; }
.ball:nth-child(5) { animation-delay: 0.4s; }
.ball:nth-child(6) { animation-delay: 0.5s; }
.ball:nth-child(7) { animation-delay: 0.6s; }

/* Bouncing animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-35px);
        opacity: 1;
    }
}