@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #43cea2, #185a9d);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  text-align: center;
  width: 90%;
  max-width: 600px;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.3rem;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}

.subtitulo {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  animation: aparecer 0.8s ease;
}

@keyframes aparecer {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
}

input {
  width: 80%;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  text-align: center;
  font-size: 1.3rem;
  outline: none;
  margin-bottom: 1.5rem;
}

button {
  background-color: #fff;
  color: #185a9d;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.3rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #185a9d;
  color: #fff;
  transform: scale(1.07);
}

.resultado {
  margin-top: 2rem;
  font-size: 1.4rem;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 15px;
  word-wrap: break-word;
  animation: fadeIn 0.6s ease;
}

footer {
  margin-top: 2.5rem;
  font-size: 1rem;
  opacity: 0.85;
}
