/* Loading Screen Styles */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  color: white;
  font-family: 'DinProBold', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: #ffffff;
  width: 100%;
}

.loading-subtitle {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3em;
}

/* Progress Bar Container */
.progress-container {
  width: 400px;
  max-width: 80vw;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1em;
}

/* Progress Bar Fill */
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #E2007E, #ff4da6, #E2007E);
  background-size: 200% 100%;
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s ease;
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Progress Text */
.progress-text {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5em;
}

/* Loading Icon entfernt */

/* Stars in Background */
.loading-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .loading-title {
    font-size: 2em;
  }
  
  .loading-subtitle {
    font-size: 1em;
  }
  
  .progress-container {
    width: 300px;
  }
}
