/* Hero Bubbles */
.hero-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: auto;
}

.bubble {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-highlight);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(3px);
    color: var(--color-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    user-select: none;
    white-space: nowrap;

    /* Fallback CSS Animation (Faster now, 10s) */
    animation: floatFallback 10s infinite ease-in-out;
    cursor: pointer;

    /* Visibility defaults - Visible by default */
    opacity: 0.6;
}

.bubble:hover {
    background: var(--glass-bg);
    border-color: var(--color-accent);
    color: var(--color-text);
    z-index: 10;
}

@keyframes floatFallback {
    0% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -50px);
    }

    66% {
        transform: translate(-30px, 20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* 
  NORMALIZED SIZES & POSITIONS 
  Defined positions help prevent stacking if JS fails.
*/

.b-1 {
    width: 140px;
    height: 140px;
    top: 15%;
    left: 10%;
    font-size: 0.9rem;
    animation-delay: 0s;
}

.b-2 {
    width: 155px;
    height: 155px;
    top: 65%;
    left: 8%;
    font-size: 0.95rem;
    animation-delay: -2s;
}

.b-3 {
    width: 160px;
    height: 160px;
    top: 20%;
    right: 12%;
    font-size: 1rem;
    animation-delay: -5s;
}

.b-4 {
    width: 145px;
    height: 145px;
    bottom: 15%;
    right: 18%;
    font-size: 0.9rem;
    animation-delay: -8s;
}

.b-5 {
    width: 130px;
    height: 130px;
    top: 45%;
    left: 75%;
    font-size: 0.85rem;
    animation-delay: -10s;
}

.b-6 {
    width: 150px;
    height: 150px;
    bottom: 35%;
    left: 5%;
    font-size: 0.95rem;
    animation-delay: -12s;
}

.b-7 {
    width: 158px;
    height: 158px;
    top: 8%;
    left: 40%;
    font-size: 0.95rem;
    animation-delay: -15s;
}

.b-8 {
    width: 142px;
    height: 142px;
    top: 75%;
    right: 5%;
    font-size: 0.9rem;
    animation-delay: -3s;
}

.b-9 {
    width: 135px;
    height: 135px;
    top: 60%;
    left: 30%;
    font-size: 0.85rem;
    animation-delay: -18s;
}

.b-10 {
    width: 152px;
    height: 152px;
    bottom: 5%;
    left: 55%;
    font-size: 0.95rem;
    animation-delay: -6s;
}

.b-11 {
    width: 148px;
    height: 148px;
    top: 30%;
    right: 35%;
    font-size: 0.9rem;
    animation-delay: -9s;
}

.b-12 {
    width: 138px;
    height: 138px;
    top: 10%;
    right: 25%;
    font-size: 0.85rem;
    animation-delay: -20s;
}

@media (max-width: 768px) {
    .bubble {
        transform: scale(0.6);
        opacity: 0.25 !important;
    }
}

@media (max-width: 480px) {
    .bubble {
        transform: scale(0.4);
    }
}