/**
 * Webvio Background Scene — pastel mesh + floating bubbles
 * Elementor Addon by Webvio
 */

.webvio-bg-scene-widget {
  position: relative;
  width: 100%;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.elementor-widget-webvio_bg_scene > .elementor-widget-container {
  padding: 0;
  margin: 0;
}

.webvio-bg-scene {
  pointer-events: none;
  overflow: hidden;
}

.webvio-bg-scene--fixed {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.webvio-bg-scene--absolute {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.webvio-bg-scene__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(224, 242, 247, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 90% 10%, rgba(252, 228, 236, 0.75) 0%, transparent 52%),
    radial-gradient(ellipse 65% 50% at 50% 50%, rgba(255, 255, 255, 0.65) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 85%, rgba(248, 187, 208, 0.35) 0%, transparent 48%),
    linear-gradient(135deg, #E0F2F7 0%, #FFFDE7 42%, #FCE4EC 78%, #F8BBD0 100%);
}

.webvio-bg-scene__bubbles {
  position: absolute;
  inset: 0;
}

.webvio-bg-bubble {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.webvio-bg-bubble--rose {
  background: radial-gradient(circle at 32% 28%,
    #FFF5F8 0%,
    #F8BBD0 24%,
    #F48FB1 52%,
    #EC407A 78%,
    #880E4F 100%
  );
  box-shadow:
    inset -16px -20px 32px rgba(136, 14, 79, 0.2),
    inset 14px 16px 24px rgba(255, 255, 255, 0.55),
    0 32px 64px rgba(236, 64, 122, 0.18);
}

.webvio-bg-bubble--magenta {
  background: radial-gradient(circle at 30% 26%,
    #FCE4EC 0%,
    #F8BBD0 22%,
    #F06292 50%,
    #E91E63 76%,
    #880E4F 100%
  );
  box-shadow:
    inset -16px -20px 32px rgba(136, 14, 79, 0.22),
    inset 14px 16px 24px rgba(255, 255, 255, 0.5),
    0 32px 64px rgba(233, 30, 99, 0.2);
}

.webvio-bg-bubble--lavender {
  background: radial-gradient(circle at 33% 27%,
    #F3E5F5 0%,
    #CE93D8 26%,
    #BA68C8 54%,
    #AB47BC 80%,
    #7B1FA2 100%
  );
  box-shadow:
    inset -16px -20px 32px rgba(106, 27, 154, 0.2),
    inset 14px 16px 24px rgba(255, 255, 255, 0.52),
    0 32px 64px rgba(186, 104, 200, 0.18);
}

.webvio-bg-bubble--xl {
  width: min(400px, 28vh);
  height: min(400px, 28vh);
}

.webvio-bg-bubble--lg {
  width: min(320px, 22vh);
  height: min(320px, 22vh);
}

.webvio-bg-bubble--md {
  width: min(168px, 12vh);
  height: min(168px, 12vh);
}

.webvio-bg-bubble--sm {
  width: min(96px, 7vh);
  height: min(96px, 7vh);
}

.webvio-bg-bubble--xs {
  width: min(56px, 4.5vh);
  height: min(56px, 4.5vh);
}

.webvio-bg-bubble--soft {
  filter: blur(6px);
  opacity: 0.72;
}

.webvio-bg-bubble--1 { top: 28%; left: 8%; }
.webvio-bg-bubble--2 { bottom: -6%; right: -4%; }
.webvio-bg-bubble--3 {
  top: 4%;
  right: 6%;
  width: min(128px, 9.5vh);
  height: min(128px, 9.5vh);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(248, 187, 208, 0.85) 0%,
    rgba(244, 114, 182, 0.45) 42%,
    rgba(206, 147, 216, 0.18) 68%,
    transparent 88%
  );
  box-shadow: none;
  filter: blur(16px);
  opacity: 0.72;
}
.webvio-bg-bubble--4 { top: 6%; left: 4%; }
.webvio-bg-bubble--5 { top: 52%; left: 22%; }
.webvio-bg-bubble--6 { top: 38%; right: 28%; }
.webvio-bg-bubble--7 { bottom: 22%; left: 46%; }

@media (max-width: 768px) {
  .webvio-bg-bubble--xl {
    width: min(280px, 26vh);
    height: min(280px, 26vh);
  }

  .webvio-bg-bubble--lg {
    width: min(220px, 20vh);
    height: min(220px, 20vh);
  }

  .webvio-bg-bubble--md {
    width: min(120px, 10vh);
    height: min(120px, 10vh);
  }
}

@media (prefers-reduced-motion: reduce) {
  .webvio-bg-bubble {
    animation: none !important;
  }
}
