#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0f; 
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; 
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-circle {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(0, 255, 255, 0.3);
  border-top: 4px solid cyan;
  border-radius: 50%;
  animation: spin 1.5s linear infinite, glow 2s ease-in-out infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 10px cyan, 0 0 20px cyan, 0 0 40px cyan;
  }
  50% {
    box-shadow: 0 0 5px cyan, 0 0 15px cyan, 0 0 30px cyan;
  }
}

#load {
  position: relative;
  width: 600px;
  height: 36px;
  overflow: visible;
  cursor: default;
}

#load div {
  position: absolute;
  width: 20px;
  height: 36px;
  opacity: 0;
  font-family: Helvetica, Arial, sans-serif;
  animation: move 2s linear infinite;
  transform: rotate(180deg);
  color: #35C4F0; 
  font-size: 28px;
  font-weight: bold;
}

#load div:nth-child(2) { animation-delay: 0.2s; }
#load div:nth-child(3) { animation-delay: 0.4s; }
#load div:nth-child(4) { animation-delay: 0.6s; }
#load div:nth-child(5) { animation-delay: 0.8s; }
#load div:nth-child(6) { animation-delay: 1s; }
#load div:nth-child(7) { animation-delay: 1.2s; }

@keyframes move {
  0% { left:0; opacity:0; }
  35% { left:41%; transform:rotate(0deg); opacity:1; }
  65% { left:59%; transform:rotate(0deg); opacity:1; }
  100% { left:100%; transform:rotate(-180deg); opacity:0; }
}
