* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body * {
    visibility: hidden;
  }
  
  /* Torna visível apenas o fundo e o card */
  .card, .card * {
    visibility: visible;
  }
  
  .background-gif {
    visibility: visible;
  }

body, html {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient( #3a7bd5, #00d2ff);
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  padding: 30px;
  text-align: center;
  color: #ffffff;
  animation: fadeInUp 0.8s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card h1 {
  font-size: 26px;
  margin-bottom: 20px;
}

input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  margin-bottom: 15px;
  font-size: 16px;
  outline: none;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  transition: 0.3s;
}

input::placeholder {
  color: #777;
}

button {
  width: 100%;
  padding: 12px;
  background: #ffffff;
  color: #0077ff;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #f1f1f1;
}

.resultado {
  margin-top: 20px;
}

.resultado h2 {
  font-size: 22px;
  margin-bottom: 5px;
}

.resultado p {
  margin: 5px 0;
  font-size: 16px;
}

.resultado img {
  width: 80px;
  margin-top: 10px;
}

.hidden {
  display: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.background-gif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.4;
    animation: fadeIn 1s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.4; }
  }
  