* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Segoe UI', sans-serif;
  height: 100vh;
  background: linear-gradient(135deg, #1f1c2c, #928dab);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f0f0f0;
}

.app-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.card {
  background: #2c2f48;
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: 0.3s;
}

.card h1 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e0e0e0;
}

.input-group input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  background-color: #444766;
  color: #ffffff;
  transition: 0.3s;
}

.input-group input:focus {
  outline: 2px solid #7f5af0;
  background-color: #393c5a;
}

button {
  width: 100%;
  background: linear-gradient(90deg, #7f5af0, #6246ea);
  border: none;
  padding: 14px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 5px 20px rgba(127, 90, 240, 0.4);
  transition: all 0.3s ease;
}

button:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(127, 90, 240, 0.6);
}

.resultado {
  margin-top: 25px;
  font-size: 18px;
  font-weight: 500;
  color: #e0e0e0;
  text-align: center;
  line-height: 1.6;
}

.resultado strong {
  color: #ffffff;
  font-weight: 700;
}

.content-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.rodape {
  text-align: center;
  font-size: 14px;
  color: #bbbbbb;
  padding: 15px 0;
  font-weight: 400;
  opacity: 0.5;
}

@media (max-width: 400px) {
  .card {
    padding: 25px 20px;
  }

  button {
    font-size: 15px;
  }

  .input-group input {
    font-size: 15px;
  }
}
