/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
  pointer-events: all;
}

/* Loader Animation */
.loader-circle {
  width: 60px;
  height: 60px;
  border: 6px solid #00ff00;
  border-top: 6px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Fade-out Patch */
.fade-out {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  height: 0 !important;
  overflow: hidden;
  position: absolute;
}



/* Loading Text */
.loading-text {
  margin-top: 1em;
  font-family: 'Minecraftia', sans-serif;
  color: #00ff00;
  text-shadow: 0 0 8px #00ff00;
  animation: flicker 2s infinite;
  text-align: center;
}

/* Loader Icon */
.loader-icon {
  width: 80px;
  height: auto;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Spin Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Flicker Animation */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}