body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #89f7fe, #66a6ff);
  margin: 0;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  color: #333;
}

h1 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #222;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

input {
  padding: 12px 18px;
  width: 250px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  margin-right: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  outline: none;
}

button {
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  background: #007bff;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
  background: #0056b3;
}

#error {
  color: red;
  font-weight: bold;
  margin-top: 20px;
}

#result {
  background: white;
  border-radius: 15px;
  padding: 30px 25px;
  margin-top: 40px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  animation: fadeIn 0.5s ease-in-out;
}

#result h3 {
  text-align: center;
  color: #007bff;
  margin-bottom: 25px;
  font-size: 1.8rem;
}

#result p {
  font-size: 16px;
  line-height: 1.6;
  margin: 8px 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  input {
    width: 100%;
    margin-bottom: 10px;
  }

  button {
    width: 100%;
  }

  #result {
    padding: 20px;
  }
}

input, button {
  padding: 10px;
  margin-top: 10px;
}
