/* Boobles CSS Styles */

#boobles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.booble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    pointer-events: none;
    animation: boobleBurst 0.3s ease-out;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 40%);
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.1),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
}

/* Bubble burst animation when created */
@keyframes boobleBurst {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* Pop animation when bubble reaches top */
@keyframes booblePop {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

.booble.popping {
    animation: booblePop 0.5s ease-out forwards;
}

/* Floating animation */
@keyframes boobleFloat {
    0% {
        transform: translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateX(10px) rotate(90deg);
    }
    50% {
        transform: translateX(-5px) rotate(180deg);
    }
    75% {
        transform: translateX(15px) rotate(270deg);
    }
    100% {
        transform: translateX(0px) rotate(360deg);
    }
}

.booble.floating {
    animation: boobleFloat 4s ease-in-out infinite;
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .booble {
        backdrop-filter: blur(0.5px);
        box-shadow: 
            0 0 5px rgba(255, 255, 255, 0.05),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .booble {
        animation: none !important;
        opacity: 0.3;
    }
    
    .booble.floating {
        animation: none;
    }
}