body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  margin: 0;
  padding: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

.logo {
  margin-top: 20px;
  margin-bottom: 20px;
  animation: fadeIn 1s ease-in-out;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeIn 1s ease-in-out;
}

form {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 500px;
  animation: slideDown 1s ease-in-out;
}

label {
  font-weight: bold;
  font-size: 1.1rem;
}

input {
  width: 90%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  outline: none;
  font-size: 1rem;
}

input:focus {
  border: 2px solid #8f94fb;
  box-shadow: 0 0 8px #8f94fb;
  transition: 0.3s;
}

button {
  background: #8f94fb;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

button:hover {
  background: #4e54c8;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

h2 {
  margin-top: 1.5rem;
  animation: fadeIn 1s ease-in-out;
}

.results {
  margin-top: 2rem;
  text-align: center;
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  animation: slideUp 1s ease-in-out;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  background: rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0;
  padding: 0.7rem;
  border-radius: 10px;
}

.error {
  color: red;
}

/* Responsive Design */
@media (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }

  form {
    padding: 1.5rem;
  }

  input {
    font-size: 0.9rem;
  }

  button {
    font-size: 1rem;
  }

  .results {
    padding: 1rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
