.welcome-loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
  font-family: 'Minecraft', system-ui, sans-serif;
}

.welcome-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.welcome-message {
  color: white;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  animation: fadeInUp 0.5s ease-out;
}

.welcome-subtext {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  text-align: center;
  margin-top: 1rem;
  animation: fadeInUp 0.5s ease-out 0.2s backwards;
}

.loader-pixel {
  width: 32px;
  height: 32px;
  background: rgba(80, 240, 255, 0.9);
  animation: loaderAnim 1s steps(1) infinite;
  image-rendering: pixelated;
  box-shadow: 0 0 15px rgba(80, 240, 255, 0.8);
  margin-bottom: 2rem;
}

@keyframes loaderAnim {
  0% { transform: translate(0, 0); }
  25% { transform: translate(32px, 0); }
  50% { transform: translate(32px, 32px); }
  75% { transform: translate(0, 32px); }
  100% { transform: translate(0, 0); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .welcome-message {
    font-size: 1.5rem;
    padding: 0 1rem;
  }
  
  .welcome-subtext {
    font-size: 0.85rem;
    padding: 0 1rem;
  }
  
  .loader-pixel {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .welcome-message {
    font-size: 1.2rem;
  }
  
  .welcome-subtext {
    font-size: 0.8rem;
  }
}