* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  }

body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.game-container {
background: #ffffff;
padding: 30px 40px;
width: 350px;
border-radius: 15px;
text-align: center;
box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
animation: fadeIn 0.7s ease-in-out;
}

h1 {
font-size: 28px;
margin-bottom: 10px;
color: #333;
}

#instruction {
color: #555;
font-size: 15px;
margin-bottom: 20px;
}

#guessInput {
padding: 10px;
width: 100%;
border: 2px solid #6a11cb;
border-radius: 8px;
outline: none;
font-size: 16px;
}

#guessInput:focus {
border-color: #2575fc;
}

button {
width: 100%;
padding: 12px;
margin-top: 15px;
font-size: 16px;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: 0.3s ease;
}

#checkButton {
background: #6a11cb;
color: white;
}

#checkButton:hover {
background: #5a0eb3;
}

#restartButton {
background: #2575fc;
color: white;
}

#restartButton:hover {
background: #1f63d6;
}

#result {
font-size: 18px;
margin-top: 15px;
min-height: 25px;
}

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