/* ===== BUBBLES BACKGROUND EFFECT ===== */

.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 240, 0.3), rgba(4, 16, 130, 0.2));
    border-radius: 50%;
    opacity: 0.6;
    animation: rise linear infinite;
    box-shadow: 
        inset 0 0 20px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(0, 255, 240, 0.2);
}

/* Bubble Animation */
@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        bottom: 110vh;
        transform: translateX(var(--drift)) scale(0.8);
        opacity: 0;
    }
}

/* Bubble Sizes */
.bubble.small {
    width: 40px;
    height: 40px;
}

.bubble.medium {
    width: 60px;
    height: 60px;
}

.bubble.large {
    width: 80px;
    height: 80px;
}

.bubble.xlarge {
    width: 100px;
    height: 100px;
}

/* Bubble Colors Variations */
.bubble.cyan {
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 240, 0.4), rgba(0, 255, 240, 0.1));
}

.bubble.blue {
    background: radial-gradient(circle at 30% 30%, rgba(4, 16, 130, 0.3), rgba(4, 16, 130, 0.1));
}

.bubble.white {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
}

/* Floating Animation for Variation */
@keyframes float-bubble {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-40px) translateX(-10px);
    }
    75% {
        transform: translateY(-20px) translateX(5px);
    }
}

.bubble.floating {
    animation: float-bubble 8s ease-in-out infinite;
}

/* Pulse Animation for Bubbles */
@keyframes pulse-bubble {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.bubble.pulsing {
    animation: pulse-bubble 3s ease-in-out infinite;
}

/* Shimmer Effect on Bubbles */
@keyframes shimmer-bubble {
    0% {
        box-shadow: 
            inset 0 0 20px rgba(255, 255, 255, 0.3),
            0 0 20px rgba(0, 255, 240, 0.2);
    }
    50% {
        box-shadow: 
            inset 0 0 30px rgba(255, 255, 255, 0.5),
            0 0 30px rgba(0, 255, 240, 0.4);
    }
    100% {
        box-shadow: 
            inset 0 0 20px rgba(255, 255, 255, 0.3),
            0 0 20px rgba(0, 255, 240, 0.2);
    }
}

.bubble.shimmer {
    animation: shimmer-bubble 2s ease-in-out infinite;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .bubble.xlarge {
        width: 70px;
        height: 70px;
    }
    
    .bubble.large {
        width: 60px;
        height: 60px;
    }
    
    .bubble.medium {
        width: 45px;
        height: 45px;
    }
    
    .bubble.small {
        width: 30px;
        height: 30px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .bubble {
        animation: none;
        opacity: 0.3;
    }
    
    .bubbles-container {
        display: none;
    }
}
