body {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f0f0f0;
}

.card {
  display: inline-block;
  width: 60px;
  height: 90px;
  margin: 5px;
  background-color: #fff;
  border: 2px solid #333;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  line-height: 90px;
  font-size: 20px;
}

.card.selected {
  background-color: #526AC8;
  color: white;
}

.player {
  display: inline-block;
  margin: 10px;
  text-align: center;
}

.player-card {
  width: 60px;
  height: 90px;
  background-color: #ddd;
  margin: 5px auto;
  border-radius: 5px;
  line-height: 90px;
  transition: all 0.3s ease;
}

.player-card.most-chosen {
  background-color: #ffd700;
  border: 2px solid #ff8c00;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hidden-card {
  background-color: #999;
}

/* Button styles */
.button {
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin: 0 5px;
  background-color: #21468B;
}

.button:hover {
  background-color: #2C5AA0;
}

/* New Round button styles */
.button.button-reset {
  background-color: #FF6B1A;
}

.button.button-reset:hover {
  background-color: #FF8C4B;
}

/* Game container styles */
div#game {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.button-container {
  margin: 20px;
  text-align: center;
}

#spectator-count {
  margin-top: 20px;
  color: #666;
  font-size: 0.9em;
}

/* Welcome page styles */
.welcome-container {
  text-align: center;
  margin-top: 100px;
}

.name-container {
  margin-bottom: 20px;
}

.name-input {
  width: 50%;
  padding: 10px;
  font-size: 16px;
  margin: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.join-form {
  display: inline-block;
}

.button-gray {
  background-color: #666666;
}

.button-gray:hover {
  background-color: #555555;
}
