@charset "UTF-8";
/* CSS Document */

/* ========== Word Search Game Styling ========== */

.wide-game-wrapper {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto 40px;
  padding: 0 15px;
  box-sizing: border-box;
  font-family: sans-serif;
  color: white;
}

.wordsearch-instructions {
  text-align: center;
  margin-top: -10px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #f9d15d;
}

#wordSearchContainer1,
#wordSearchContainer2,
#wordSearchContainer3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

#wordSearch1,
#wordSearch2,
#wordSearch3 {
  display: grid;
  grid-gap: 4px;
  margin-bottom: 20px;
}

.grid-letter {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #3C2B4F;
  background-color: #FFF;
  width: 1.75em;
  height: 1.75em;
  font-family: Hind;
  font-weight: bold;
  font-size: 1.15em;
  cursor: pointer;
  transition: background-color 0.2s;
  user-select: none;
  padding-top: 0.2em;
}

.grid-letter.highlighted {
  background-color: #8BC34A;
}

.grid-letter.incorrect {
  background-color: #f88;
}

/* Clue word lists (center + tighter spacing) */
#words1,
#words2,
#words3 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px; /* tighter spacing */
  list-style-type: none;
  padding: 0;
  margin: 10px 0 0;
}

/* Word item badges */
.word-item {
  display: inline-block;
  padding: 6px 12px;
  background: #7634BA;
  border-radius: 6px;
  font-family: Bubblegum Sans;
  font-weight: bold;
  font-size: 18px;
  color: #FFF;
  transition: background-color 0.3s;
}

.word-item.found {
  background-color: #8BC34A;
  text-decoration: line-through;
  color: #333;
}

/* Celebration message */
.celebration-message {
  margin-top: 10px;
  font-size: 1.2em;
  font-family: Bubblegum Sans;
  font-weight: bold;
  color: #8BC34A;
}