.word-grid {
  display: grid;
  grid-template-columns: repeat(5, 50px);
  grid-gap: 10px;
  justify-content: center;
  margin: 20px auto;
  padding: 10px;
  background-color: #000; /* Pure black background */
  border: 2px solid #FFD700; /* Golden border around the grid */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); /* Golden glowing effect */
}

.grid-cell {
  width: 50px;
  height: 50px;
  background-color: #222; /* Darker background for contrast */
  color: #FFD700; /* Golden text color */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  border: 1px solid #FFD700;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6); /* Glowing effect on the grid cells */
  transition: transform 0.2s, box-shadow 0.2s; /* Smooth hover effect */
}

.grid-cell:hover {
  transform: scale(1.1); /* Slightly enlarge on hover */
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.9); /* Intensify glow on hover */
}

input#wordInput {
  padding: 10px;
  font-size: 16px;
  width: 200px;
  margin: 20px 0;
  border: 2px solid #FFD700;
  border-radius: 5px;
  background-color: #222; /* Match the black theme */
  color: #FFD700; /* Golden text color */
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); /* Glowing effect around input */
  outline: none; /* Remove default outline */
  transition: box-shadow 0.2s; /* Smooth focus effect */
}

input#wordInput:focus {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8); /* Intensify glow on focus */
}




/* Responsive Design Improvements */
@media (max-width: 1200px) {
  #main-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  #wheel-container,
  .game-board,
  #settings-container {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #main-container {
    padding: 10px;
  }

  #spin-btn {
    width: 80px;
    height: 80px;
    font-size: 14px;
  }

  .tabs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tab-button {
    flex: 1 1 auto;
    text-align: center;
  }

  button {
    font-size: 14px;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  #main-container {
    flex-direction: column;
    gap: 20px;
  }

  #wheel-container {
    max-width: 300px;
    height: auto;
  }

  .game-board {
    grid-template-columns: repeat(3, 80px);
  }

  .cell {
    width: 80px;
    height: 80px;
    font-size: 24px;
  }

  button {
    font-size: 12px;
    padding: 8px 12px;
  }

  .tabs {
    flex-direction: column;
    gap: 5px;
  }
}
