/* =========================================
   PRELOADER NOVACONTROLS - MISMO ESTILO OPTIMIZADO
========================================= */

#nova-preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at top, #0b3d91 0%, #03142d 45%, #010914 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}

#nova-preloader.nova-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nova-loader-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nova-loader-ring {
  position: absolute;
  width: 285px;
  height: 285px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.08);
  border-top: 4px solid #3da5ff;
  border-right: 4px solid #67d1ff;
  animation: novaRotate 2.1s linear infinite;
  box-shadow: 0 0 18px rgba(61,165,255,.25);
}

.nova-loader-ring::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.14);
  animation: novaRotateReverse 12s linear infinite;
}

.nova-loader-water {
  position: absolute;
  width: 205px;
  height: 205px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,.045);
  border: 2px solid rgba(255,255,255,.10);
  box-shadow: inset 0 0 14px rgba(255,255,255,.06);
}

.nova-water-fill {
  position: absolute;
  width: 180%;
  height: 180%;
  left: -40%;
  bottom: -130%;
  background: linear-gradient(180deg, #10a3eb, #ffffff, #0f8dae);
  border-radius: 40%;
  animation: novaWaterRise 4.2s ease forwards, novaWave 5.5s linear infinite;
}

.nova-loader-logo {
  position: relative;
  width: 126px;
  z-index: 10;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.28));
}

.nova-loader-text {
  position: absolute;
  bottom: -60px;
  text-align: center;
  width: 100%;
}

.nova-loader-text h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 2px;
  color: #ffffff;
  font-weight: 900;
}

.nova-loader-text p {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.82);
  letter-spacing: .8px;
}

#nova-preloader::before,
#nova-preloader::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,165,255,.12), transparent 70%);
  animation: novaPulse 5s ease infinite;
}

#nova-preloader::after {
  animation-delay: 2.5s;
}

@keyframes novaRotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes novaRotateReverse {
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes novaWave {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes novaWaterRise {
  0% {
    bottom: -130%;
  }

  100% {
    bottom: -32%;
  }
}

@keyframes novaPulse {
  0%,100% {
    transform: scale(1);
    opacity: .35;
  }

  50% {
    transform: scale(1.12);
    opacity: .10;
  }
}

@media (max-width: 600px) {
  .nova-loader-container {
    transform: scale(.78);
  }

  .nova-loader-water {
    backdrop-filter: none;
  }
}