/* ==========================================================================
   VORTEXTOPUP — 3D PULSING BRAND PRELOADER
   ========================================================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #080C14;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-container {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(0, 245, 155, 0.1);
    border-top: 3px solid #00F59B;
    border-right: 3px solid #00D2FF;
    animation: vortexSpin 1.1s linear infinite;
    box-shadow: 0 0 25px rgba(0, 245, 155, 0.35);
}

.preloader-spinner::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom: 2px solid #FF5E3A;
    animation: vortexSpinReverse 0.8s linear infinite;
}

.preloader-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00F59B 0%, #00D2FF 100%);
    color: #080C14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(0, 245, 155, 0.5);
    animation: vortexPulse 1.5s ease-in-out infinite;
    z-index: 2;
}

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

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

@keyframes vortexPulse {
    0%, 100% { transform: scale(0.92); }
    50% { transform: scale(1.08); }
}
