/********************************************
 * PAGE
 ********************************************/

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background-color: #e8f4f8;

  display: flex;
  justify-content: center;
  align-items: center;
}

/********************************************
 * GAME CONTAINER
 ********************************************/

.game-container {
  width: 90%;
  max-width: 600px;
  padding: 35px;
  text-align: center;

  background-color: white;
  border: 3px solid #0b6e75;
  border-radius: 20px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/********************************************
 * TITLE
 ********************************************/

h1 {
  margin-top: 0;
  color: #0b6e75;
  font-size: 38px;
}

#category {
  color: #555;
  font-size: 18px;
  font-weight: bold;
}

/********************************************
 * WORD DISPLAY
 ********************************************/

#wordDisplay {
  min-height: 55px;
  margin: 30px 0;

  color: #183b4e;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 5px;
}

/********************************************
 * HINT
 ********************************************/

#hintDisplay {
  min-height: 45px;
  color: #555;
  font-size: 17px;
  font-style: italic;
}

/********************************************
 * INPUT
 ********************************************/

#letterInput {
  width: 180px;
  padding: 12px;

  border: 2px solid #0b6e75;
  border-radius: 8px;

  font-size: 17px;
  text-align: center;
  outline: none;
}

#letterInput:focus {
  border-color: #e76f51;
  box-shadow: 0 0 5px rgba(231, 111, 81, 0.5);
}

/********************************************
 * BUTTONS
 ********************************************/

button {
  margin: 8px 4px;
  padding: 12px 20px;

  color: white;
  background-color: #0b6e75;

  border: none;
  border-radius: 8px;

  font-size: 16px;
  font-weight: bold;
  cursor: pointer;

  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #09575d;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  background-color: #999;
  cursor: not-allowed;
  transform: none;
}

#resetButton {
  background-color: #e76f51;
}

#resetButton:hover {
  background-color: #c9573d;
}

#hintButton {
  background-color: #d99b23;
}

#hintButton:hover {
  background-color: #b77d12;
}

/********************************************
 * GAME INFORMATION
 ********************************************/

#wrongLetters {
  color: #c0392b;
  font-weight: bold;
}

#lives {
  color: #183b4e;
  font-size: 19px;
  font-weight: bold;
}

#message {
  min-height: 25px;
  color: #c0392b;
  font-size: 18px;
  font-weight: bold;
}

/********************************************
 * SMALL SCREENS
 ********************************************/

@media (max-width: 500px) {
  .game-container {
    padding: 25px 15px;
  }

  h1 {
    font-size: 29px;
  }

  #wordDisplay {
    font-size: 23px;
    letter-spacing: 3px;
  }

  #letterInput {
    width: 80%;
  }
}
footer {
  position: fixed;
  bottom: 10px;
  right: 15px;
  font-size: 14px;
  color: #00bfff;
  font-weight: bold;
  font-family: Arial, sans-serif;
}
#gameSection {
  display: none;
}
.game-container {
  position: relative;
}

#starShop {
  position: absolute;
  top: 15px;
  right: 15px;
  text-align: center;
}

#starDisplay {
  margin: 0 0 8px;
  font-weight: bold;
  font-size: 18px;
}

#buyHintButton {
  padding: 8px 12px;
  cursor: pointer;
}
.game-container {
  position: relative;
}

#starShop {
  position: absolute;
  top: 15px;
  right: 15px;
  text-align: center;
}

#starDisplay {
  margin: 0 0 8px;
  font-weight: bold;
  font-size: 18px;
}

#buyHintButton {
  padding: 8px 12px;
  cursor: pointer;
}