/* ========================================
   COSMIC NEBULA EFFECTS
   Premium space clouds for product showcase
   ======================================== */

.cosmic-nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: nebulaFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.nebula-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -150px;
    background: radial-gradient(circle,
            rgba(138, 43, 226, 0.4) 0%,
            rgba(75, 0, 130, 0.3) 30%,
            rgba(72, 61, 139, 0.2) 60%,
            transparent 100%);
    animation-delay: 0s;
}

.nebula-2 {
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -200px;
    background: radial-gradient(circle,
            rgba(184, 134, 11, 0.4) 0%,
            rgba(255, 215, 0, 0.3) 30%,
            rgba(218, 165, 32, 0.2) 60%,
            transparent 100%);
    animation-delay: -7s;
}

.nebula-3 {
    width: 450px;
    height: 450px;
    top: 50%;
    right: -100px;
    background: radial-gradient(circle,
            rgba(65, 105, 225, 0.3) 0%,
            rgba(30, 144, 255, 0.2) 30%,
            rgba(100, 149, 237, 0.15) 60%,
            transparent 100%);
    animation-delay: -14s;
}

@keyframes nebulaFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }

    25% {
        transform: translate(20px, -30px) scale(1.05);
        opacity: 0.2;
    }

    50% {
        transform: translate(-15px, -20px) scale(0.95);
        opacity: 0.18;
    }

    75% {
        transform: translate(30px, 15px) scale(1.02);
        opacity: 0.12;
    }
}

/* Add subtle particle shimmer effect */
.cosmic-nebula::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 70%);
    animation: shimmerPulse 4s ease-in-out infinite;
}

@keyframes shimmerPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}