/* Overlay */
.loader {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, rgba(10,10,25,0.9), rgba(0,0,10,0.98));
  z-index: 9999;
}

/* Rings */
.loader-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 3px solid transparent;
  border-top: 3px solid #6fa8ff;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  filter: drop-shadow(0 0 8px rgba(111,168,255,0.8));
}

.loader-ring:nth-child(2) {
  width: 110px;
  height: 110px;
  border-top-color: #00d0ff;
  animation-duration: 1.8s;
}

.loader-ring:nth-child(3) {
  width: 140px;
  height: 140px;
  border-top-color: #7b5cff;
  animation-duration: 2.4s;
}

/* Span */

.loader-span {
  position: absolute;
  font-size: 1.3rem;
  top: calc(50% + 90px);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}