.load {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.spinner {
  animation: rotator 1.4s linear infinite;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
}

@keyframes rotator {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.path {
  stroke-dasharray: 187;
  stroke-dashoffset: 0;
  transform-origin: center;
  animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}

@keyframes colors {
  0% { stroke: #a855f7; }
  25% { stroke: #d946ef; }
  50% { stroke: #c084fc; }
  75% { stroke: #e879f9; }
  100% { stroke: #a855f7; }
}

@keyframes dash {
  0% {
    stroke-dashoffset: 187;
    transform: rotate(0deg);
  }
  50% {
    stroke-dashoffset: 46.75;
    transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 187;
    transform: rotate(450deg);
  }
}

.loading-text {
  margin-top: 28px;
  font-family: 'Anuphan', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #6b21a8;
  max-width: 450px;
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.02em;
  padding: 0 20px;
  text-shadow: 0 2px 10px rgba(168, 85, 247, 0.15);
  animation: modern-pulse 2.5s ease-in-out infinite;
}

@keyframes modern-pulse {
  0%, 100% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
  50% { 
    opacity: 0.6; 
    transform: translateY(-4px) scale(0.98);
  }
}
