/* CORE LOADER STYLES */

#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1000px;
    /* Enable 3D for children */
}

/* Audio Visualizer (Background Pulse) */
#audio-visualizer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(181, 196, 58, 0.1) 0%, rgba(0, 0, 0, 1) 70%);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.1s;
}

.loader-phase {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
    /* Controlled via JS */
}

.loader-phase.active {
    display: block;
}