/* Background from the MellowBusiness login, scoped to the shared footer. */
.mellow-footer-scene {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #000;
}

.mellow-footer-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.mellow-footer-background__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 44px 44px;
    background-position: center;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 30%, transparent 100%);
}

.mellow-footer-background__outline {
    position: absolute;
    left: 4%;
    bottom: -2.29vw;
    width: 92%;
    height: auto;
    overflow: visible;
}

.mellow-footer-background__outline path {
    fill: none;
    stroke: rgba(213,15,62,.39);
    stroke-width: 2px;
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
}

.mellow-footer-background i {
    position: absolute;
    display: block;
    border-radius: 50%;
    aspect-ratio: 1;
    animation: mellow-footer-drift var(--drift-duration, 37s) ease-in-out var(--drift-delay, 0s) infinite alternate;
}

.mellow-footer-background__flare--1 {
    width: clamp(640px,70vw,1000px);
    right: -300px;
    top: -260px;
    background: radial-gradient(closest-side, rgba(213,15,62,.324), rgba(213,15,62,.073) 55%, transparent 75%);
}

.mellow-footer-background__flare--2 {
    width: clamp(700px,80vw,1150px);
    left: -440px;
    bottom: -640px;
    background: radial-gradient(closest-side, rgba(213,15,62,.257), rgba(213,15,62,.057) 55%, transparent 75%);
    --drift-duration: 43s;
    --drift-delay: -17s;
}

.mellow-footer-background__flare--3 {
    left: 50%;
    top: 50%;
    width: clamp(480px,46vw,720px);
    margin: calc(clamp(480px,46vw,720px) / -2) 0 0 calc(clamp(480px,46vw,720px) / -2);
    background: radial-gradient(closest-side, rgba(213,15,62,.419), rgba(213,15,62,.113) 45%, transparent 72%);
    --drift-duration: 53s;
    --drift-delay: -29s;
}

/* Remove the previous solid sections and filled logos, including EN/mobile. */
.mellow-footer-scene .elementor-location-footer > .elementor-section-wrap > .elementor-top-section {
    background-color: transparent;
    background-image: none;
}

@keyframes mellow-footer-drift {
    from { transform: translate3d(-8vw, 4%, 0) scale(.94); }
    to { transform: translate3d(8vw, -9%, 0) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .mellow-footer-background i { animation: none; }
}
