body {
  margin: 0;
  font-family: Arial;
  color: white;
  overflow: hidden;

  background: linear-gradient(-45deg, #240046, #5a189a, #3c096c, #10002b);
  background-size: 400% 400%;
  animation: gradient 12s ease infinite;

  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 100vh;
}

/* animação do fundo */
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Transição suave */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(-50%); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.container {
  text-align: center;
  padding: 30px;
  max-width: 500px;
  width: 90%;

  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);

  box-shadow: 0 0 40px rgba(199,125,255,0.3);

  animation: float 4s ease-in-out infinite;
}

button {
  margin: 10px;
  padding: 12px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: white;
  color: #333;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.05);
}

/* Barra de progresso */
.progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step {
  flex: 1;
  padding: 5px;
  font-size: 12px;
  opacity: 0.5;
}

.step.active {
  font-weight: bold;
  opacity: 1;
  color: #c77dff;
}

#flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10;
}

body::after {
  content: "";
  position: fixed;

  width: 400px;
  height: 400px;

  background: radial-gradient(circle, rgba(199,125,255,0.25), transparent);

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  filter: blur(90px);
  z-index: -1;

  pointer-events: none;
}

#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

body {
  transition: all 0.6s ease;
}

/* 🌙 NOITE */
.noite {
  background: linear-gradient(-45deg, #0a0015, #1a0033, #0d001a, #000000) !important;
  color: #e6ccff;
}

.noite .container {
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 40px rgba(180,120,255,0.3);
}

/* ☀️ DIA (opcional reforço) */
.dia {
  background: linear-gradient(-45deg, #240046, #5a189a, #3c096c, #10002b);
  color: white;
}