.flag-bubbles-wrapper {
    width: min(960px, 100%);
    padding: 14px;
    border-radius: 18px;
    background: radial-gradient(circle at 20% 20%, rgba(86, 123, 227, 0.12), transparent 35%),
        radial-gradient(circle at 80% 30%, rgba(0, 209, 178, 0.12), transparent 32%),
        radial-gradient(circle at 50% 80%, rgba(255, 184, 0, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.45));
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.04);
}

.process-flag-stage {
    position: relative;
    overflow: hidden;
}

.flag-bubbles-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 0;
    pointer-events: none;
}

.flag-bubbles-overlay .flag-bubbles-field {
    height: 100%;
    min-height: 360px;
    opacity: 0.7;
    filter: saturate(0.92);
    border: none;
    box-shadow: none;
    background: transparent;
}

.process-flag-stage > .row {
    position: relative;
    z-index: 1;
}

.flag-bubbles-field {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 260px;
    border-radius: 14px;
    background: #fff;
}

.flag-bubble {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.2s ease-out;
    user-select: none;
    pointer-events: none;
}

body.landing-page.dark-mode .flag-bubbles-wrapper {
    background: radial-gradient(circle at 20% 20%, rgba(129, 140, 248, 0.08), transparent 32%),
        radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.08), transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(250, 204, 21, 0.08), transparent 26%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.9));
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow: 0 18px 52px rgba(2, 6, 23, 0.7);
}

body.landing-page.dark-mode .flag-bubbles-field {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: inset 0 0 26px rgba(15, 23, 42, 0.5);
}

body.landing-page.dark-mode .flag-bubbles-overlay .flag-bubbles-field {
    background: transparent;
    border: none;
    box-shadow: none;
    filter: saturate(1);
}

body.landing-page.dark-mode .flag-bubble {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    border-color: rgba(15, 23, 42, 0.28);
}

@media (max-width: 768px) {
    .flag-bubbles-field {
        height: 220px;
    }
}
