/* Logo Particles — scoped styles (prefixed with lp- to avoid clashing with Divi) */

#lp-root {
  position: relative;
}

#lp-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;   /* fallback for older browsers */
  height: 100svh;  /* "small" viewport height: stays stable while the iOS
                       Safari address bar collapses/expands, so the canvas
                       doesn't jump/resize on every scroll tick */
  z-index: -1; /* sits behind the real page content */
  background: radial-gradient(circle at 50% 45%, #0c1016 0%, #050608 60%, #020304 100%);
}

#lp-stage canvas {
  display: block;
}

#lp-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.lp-loader {
  position: relative;
  width: 52px;
  height: 52px;
  animation: lpLoaderSpin 1.8s linear infinite;
}
.lp-loader .lp-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}
.lp-loader .lp-dot i {
  display: block;
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #cfe8ff;
  box-shadow: 0 0 8px 1px rgba(191, 227, 255, 0.55);
  animation: lpDotPulse 1.2s ease-in-out infinite;
}
.lp-loader .lp-dot:nth-child(1) { transform: rotate(0deg) translate(22px); }
.lp-loader .lp-dot:nth-child(2) { transform: rotate(120deg) translate(22px); }
.lp-loader .lp-dot:nth-child(3) { transform: rotate(240deg) translate(22px); }
.lp-loader .lp-dot:nth-child(2) i { animation-delay: 0.15s; }
.lp-loader .lp-dot:nth-child(3) i { animation-delay: 0.3s; }

@keyframes lpLoaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes lpDotPulse {
  0%, 100% { transform: scale(0.55); opacity: 0.35; }
  50%      { transform: scale(1.25); opacity: 1; }
}

/* Canvas Black Gradient only for mobile*/
@media (max-width: 768px) {
  #lp-stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 15vh;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
  }
}