body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #72edf2 10%, #5151e5 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  padding: 10px;
}
.container {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 400px;
  width: 100%;
  transition: transform 0.3s ease-in-out;
}
.container:hover {
  transform: scale(1.05);
}
h1 {
  margin-bottom: 20px;
  color: #333;
  font-size: 2.2em;
}
input,
button {
  width: calc(100% - 20px);
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1em;
  transition: all 0.3s ease-in-out;
}
input:focus,
button:focus {
  outline: none;
  border-color: #5151e5;
  box-shadow: 0 0 5px rgba(81, 81, 229, 0.5);
}
input[type="submit"],
button {
  background-color: #28a745;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}
button {
  background-color: #dc3545;
}
input[type="submit"]:hover,
button:hover {
  background-color: #218838;
}
button:hover {
  background-color: #c82333;
}
.result {
  margin-top: 20px;
  font-size: 1.3em;
  color: #333;
}
.result .category {
  font-weight: bold;
  color: #007bff;
}
.error {
  color: red;
  font-weight: bold;
}
@media (max-width: 480px) {
  .container {
    padding: 20px;
  }
  h1 {
    font-size: 1.8em;
  }
  input,
  button {
    padding: 10px;
    font-size: 0.9em;
  }
  .result {
    font-size: 1.1em;
  }
}
