#preloader {
  position: fixed;
  inset: 0;
  background: #0b0e17;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s ease-out, visibility 1.2s ease-out;
  opacity: 1;
  visibility: visible;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  width: 90px;
  height: 90px;
  border: 5px solid rgba(34, 197, 94, 0.2);
  border-top: 5px solid #22c55e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}