body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #74ebd5, #acb6e5);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

.container {
  background-color: #ffffffcc;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  max-width: 600px;
  width: 100%;
  text-align: center;
}

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

.instructions {
  font-size: 14px;
  margin-bottom: 20px;
}

.clues {
  text-align: left;
  margin-bottom: 20px;
}

.clues ul {
  padding-left: 20px;
}

.grid-container {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  margin: 0 auto;
}

td {
  width: 50px;
  height: 50px;
  border: 2px solid #333;
  text-align: center;
  font-size: 24px;
  cursor: pointer;
  transition: 0.2s;
}

td.correct {
  background-color: #8ef58e;
}

td.wrong {
  background-color: #f58e8e;
}

td.selected {
  outline: 2px solid #333;
}

.controls {
  margin-top: 20px;
}

button {
  padding: 10px 20px;
  margin: 5px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background-color: #6c63ff;
  color: white;
  transition: 0.2s;
}

button:hover {
  background-color: #574bff;
}

#message {
  margin-top: 15px;
  font-weight: bold;
  font-size: 16px;
}
