#leady-loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #0a192f 0%, #000000 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: "Segoe UI", Roboto, sans-serif;
  color: white;
  transition: opacity 0.8s ease;
  overflow: hidden;
}
#leady-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}
.loader-bg-image {
  position: absolute;
  inset: 0;
  background-image: url("https://aavyuxeirkpgtbarjdce.supabase.co/storage/v1/object/public/plv-images/069e4483-704f-49be-8670-ff6a60ab1f08/1024_100.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.loader-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ffcc00 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  animation: glowPulse 6s ease-in-out infinite;
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}
@keyframes glowPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.12;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.2;
  }
}
.loader-wrapper {
  text-align: center;
  z-index: 2;
  animation: fadeIn 1s ease-out forwards;
}
.loader-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  border: 6px solid #ffcc00;
  border-top: 6px solid transparent;
  border-radius: 50%;
  animation: spin 1.4s linear infinite;
  box-shadow: 0 0 16px #ffcc00;
}
.loader-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffcc00;
  margin-top: 15px;
}
.loader-subtitle {
  font-size: 1rem;
  margin-top: 5px;
  color: #eee;
  font-style: italic;
  opacity: 0.85;
}
.loader-percent {
  font-size: 1.4rem;
  margin-top: 20px;
  font-weight: bold;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  .loader-title {
    font-size: 1.3rem;
  }
  .loader-subtitle {
    font-size: 0.9rem;
  }
  .loader-percent {
    font-size: 1.2rem;
  }
  .loader-circle {
    width: 60px;
    height: 60px;
    border-width: 4px;
  }
  .loader-bg-glow {
    width: 250px;
    height: 250px;
    filter: blur(40px);
  }
}
