/* Fundo moderno */
body {
  font-family: "Poppins", sans-serif;
  background: url("https://images.unsplash.com/photo-1614064745490-83abb17303e1?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    no-repeat center center/cover;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Container */
.container {
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
  color: #fff;
  animation: fadeIn 1s ease-in-out;
}

/* Título */
h1 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #00ffe5;
  animation: pulse 2s infinite;
}

/* Configurações */
.config {
  margin-bottom: 20px;
}

.config label {
  display: block;
  margin: 10px 0;
  cursor: pointer;
}

/* Caixa de resultado */
.result {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#password {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 1.1rem;
  text-align: center;
  background: #111;
  color: #0ff;
  font-weight: bold;
  letter-spacing: 2px;
  animation: glow 2s infinite alternate;
}

/* Botões */
button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  background: linear-gradient(45deg, #00ffe5, #0066ff);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #00ffe5;
}

#copy {
  background: linear-gradient(45deg, #ff00ff, #ff6600);
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    text-shadow: 0 0 5px #00ffe5, 0 0 10px #00ffe5;
  }
  50% {
    text-shadow: 0 0 15px #00ffe5, 0 0 25px #00ffe5;
  }
  100% {
    text-shadow: 0 0 5px #00ffe5, 0 0 10px #00ffe5;
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px #0ff;
  }
  to {
    box-shadow: 0 0 20px #0ff;
  }
}
