/* Full-screen overlay */
.loader-overlay {
    display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  
}

/* Loader container */
.loader {
  position: relative;
  width: 120px;
  height: 120px;
}

/* Central image container */
.img-box {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
    border: 4px solid #c8f60b;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);

  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

/* Center image */
.center-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;

  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

/* Orbiting dot */
.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: #c1ff00;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg) translateX(70px);
  animation: orbit-spin 3s linear infinite, orbit-bounce 0.6s ease-in-out infinite;
  z-index: 1;
}

/* Orbit animation */
@keyframes orbit-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(70px);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(70px);
  }
}

/* Simulated bounce via scale */
@keyframes orbit-bounce {
  0%, 100% {
    scale: 1;
  }
  50% {
    scale: 1.4;
  }
}


@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}