html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#background-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 600px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeIn 2s ease forwards;
}

p {
  font-size: 1.5rem;
  animation: fadeIn 3s ease forwards;
  animation-delay: 1s;
}

.logo {
  width: 150px;
  margin-top: 20px;
  animation: fadeIn 4s ease forwards;
}

/* Fortschrittsbalken */
#progress-container {
  width: 100%;
  height: 30px;
  background-color: #444;
  border-radius: 15px;
  margin: 20px 0;
  overflow: hidden;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  border-radius: 15px 0 0 15px;
  transition: width 0.5s ease-in-out;
}

#progress-text {
  color: white;
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
}

/* Admin Login & Early Access */
#admin-section, #login-section, #early-access-section {
  margin-top: 15px;
}

input[type="number"],
input[type="password"],
input[type="text"] {
  padding: 10px;
  width: 70%;
  max-width: 300px;
  border-radius: 5px;
  border: none;
  margin-bottom: 10px;
  font-size: 1rem;
}

button {
  padding: 10px 20px;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: linear-gradient(90deg, #2575fc, #6a11cb);
}

#login-message, #code-message {
  color: #ffcc00;
  font-weight: bold;
  height: 1.2em;
  margin-top: 5px;
}

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