body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #0f2027; /* Default stage color */
  transition: background-color 1s ease-in-out;
  color: white;
  }
  #game {
  text-align: center;
  max-width: 600px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }
  button {
  margin: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #6c5ce7;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
  }
  button:hover {
  background-color: #a29bfe;
  transform: scale(1.05);
  }
  .hidden {
  display: none;
  }
  #progress-bar-container {
  margin-top: 20px;
  width: 100%; /* Central alignment fix */
  display: flex;
  justify-content: center; /* Aligns the bar in the center */
  }
  #progress-bar {
  width: 80%;
  height: 10px;
  background-color: #ccc;
  border-radius: 5px;
  display: flex;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  }
  .progress-segment {
  flex: 1;
  background: #2c3e50;
  transition: background-color 0.3s ease-in-out;
  }
  .progress-segment.completed {
  background-color: #27ae60;
  }
  #ending {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  transition: all 0.5s ease-in-out;
  }
  