body {
  margin: 0;
  padding: 0;
}

html.yourguru-loader-active,
html.yourguru-loader-active body {
  overflow: hidden;
}

html.yourguru-loader-active {
  background: radial-gradient(
    ellipse at 50% 42%,
    #ffedd5 0%,
    #fff5e6 35%,
    #e8eef5 70%,
    #dde6f0 100%
  );
}

#yourguru-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    ellipse at 50% 42%,
    #ffedd5 0%,
    #fff5e6 35%,
    #e8eef5 70%,
    #dde6f0 100%
  );
  transition: opacity 0.4s ease-out;
}

#yourguru-loader.yourguru-loader-fade-out {
  opacity: 0;
  pointer-events: none;
}

#yourguru-loader .yourguru-loader-logo-wrap {
  position: relative;
  width: min(40vh, calc(100vw - 48px), 380px);
  max-width: 100%;
  z-index: 1;
}

#yourguru-loader img {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  animation: yourguru-loader-entry 2s ease-out forwards;
}

#yourguru-loader .yourguru-loader-glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 194, 71, 0.25) 0%,
    transparent 70%
  );
  animation: yourguru-loader-glow 2.5s ease-in-out infinite;
}

@keyframes yourguru-loader-entry {
  0% { transform: scale(0); opacity: 0; }
  25% { transform: scale(1.15); opacity: 1; }
  40% { transform: scale(0.95); }
  55% { transform: scale(1.05); }
  70% { transform: scale(0.98); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes yourguru-loader-glow {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  #yourguru-loader img,
  #yourguru-loader .yourguru-loader-glow {
    animation: none;
  }
}
