/* =========================================
   ✨ PREMIUM UI LOADERS - PURE CSS ✨
   Version: 1.0
   ========================================= */

/* 1. NEON CYBER RING */
.loader-neon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #0ea5e9;
    border-bottom-color: #6366f1;
    animation: spin-neon 1s linear infinite;
    position: relative;
}
.loader-neon::before {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(14, 165, 233, 0.5);
    border-bottom-color: rgba(99, 102, 241, 0.5);
    filter: blur(8px);
    z-index: -1;
}
@keyframes spin-neon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 2. 3D FLIPPING CUBE */
.loader-cube {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    animation: flip-cube 1.2s infinite ease-in-out;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}
@keyframes flip-cube {
    0% { transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
    50% { transform: perspective(120px) rotateX(-180deg) rotateY(0deg); }
    100% { transform: perspective(120px) rotateX(-180deg) rotateY(-180deg); }
}

/* 3. ATOM ORBIT */
.loader-atom {
    width: 60px;
    height: 60px;
    position: relative;
}
.loader-atom::before, .loader-atom::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
}
.loader-atom::before {
    border-top-color: #f43f5e;
    border-right-color: #f43f5e;
    animation: spin-atom 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}
.loader-atom::after {
    border-bottom-color: #06b6d4;
    border-left-color: #06b6d4;
    animation: spin-atom 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite reverse;
}
@keyframes spin-atom {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 4. PULSE RIPPLE */
.loader-ripple {
    width: 20px;
    height: 20px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
}
.loader-ripple::before, .loader-ripple::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: ripple-effect 2s linear infinite;
}
.loader-ripple::after {
    animation-delay: 1s;
}
@keyframes ripple-effect {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(5); opacity: 0; }
}

/* 5. TYPING MESSENGER DOTS */
.loader-dots {
    display: flex;
    gap: 8px;
}
.loader-dots div {
    width: 12px;
    height: 12px;
    background-color: #e2e8f0;
    border-radius: 50%;
    animation: typing-dots 1.4s infinite ease-in-out both;
}
.loader-dots div:nth-child(1) { animation-delay: -0.32s; }
.loader-dots div:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing-dots {
    0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

/* 6. RADAR SCANNER */
.loader-radar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(236, 72, 153, 0.2);
    position: relative;
    overflow: hidden;
}
.loader-radar::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 50%; height: 50%;
    background: linear-gradient(135deg, transparent, rgba(236, 72, 153, 0.8));
    transform-origin: 0% 0%;
    animation: spin-radar 1.5s linear infinite;
}
@keyframes spin-radar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}