body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #88c0d0, #81a1c1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  color: #2e3440;
}

.game-container {
  background: #eceff4;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  padding: 30px;
  width: 95%;
  max-width: 600px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  color: #3b4252;
}

.subtitle {
  font-size: 1rem;
  color: #4c566a;
  margin-bottom: 20px;
}

.crossword-grid {
  display: grid;
  grid-template-columns: repeat(5, 60px);
  grid-gap: 8px;
  justify-content: center;
  margin-bottom: 25px;
}

.cell {
  width: 60px;
  height: 60px;
  background-color: #d8dee9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cell.filled {
  background-color: #a3be8c;
  color: #fff;
}

.cell.hint {
  background-color: #ebcb8b;
  color: #2e3440;
}

.letters-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.letter {
  background-color: #5e81ac;
  color: white;
  font-size: 1.5rem;
  padding: 15px 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  user-select: none;
}

.letter:hover {
  transform: scale(1.1);
  background-color: #81a1c1;
}

.controls {
  margin-bottom: 15px;
}

button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background-color: #8fbcbb;
  color: #2e3440;
  font-weight: 600;
  margin: 5px;
  transition: all 0.2s ease;
}

button:hover {
  background-color: #88c0d0;
}

.status-bar {
  font-size: 1rem;
}

#message {
  margin-top: 10px;
  font-weight: bold;
}
