body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(135deg, #1e3c72, #b7157e);
  color: white;
}

h1{
    font-family: cursive;
}

.container {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 600px;
  backdrop-filter: blur(10px);
  animation: fadeIn 1s ease-in-out;
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

input {
  width: 80%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  outline: none;
}

button {
  padding: 10px 20px;
  background-color: #fc4d8a;
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #000000;
    color: white;
}

#result {
  margin-top: 15px;
  font-size: 18px;
  min-height: 24px;
  animation: fadeIn 0.5s ease-in-out;
}

.win {
  font-size: 24px;
  color: #22c55e;
  animation: bounce 0.8s infinite alternate;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}
