body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0b2a3d;
  color: #f1f1f1;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
}

#game {
  width: 600px;
  background: #1e3a5f;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px #003366;
}

h1 {
  text-align: center;
  margin-bottom: 15px;
}

/* Join section styles - input plus two buttons */
#join-section {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

#join-section input {
  width: 200px;
  padding: 8px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  outline: none;
}

/* Buttons in join section share styles */
#join-section button {
  padding: 8px 16px;
  font-size: 16px;
  border: none;
  background-color: #007acc;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#join-section button:hover {
  background-color: #005fa3;
}

/* Hide the game section initially */
#game-section {
  display: none;
}

#table {
  background-color: #0a1a2a;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.card-area {
  background: #14446f;
  border-radius: 6px;
  padding: 10px;
  margin: 10px 0;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-weight: bold;
  font-size: 16px;
  user-select: none;
}

/* Played cards section styling */
#played-cards {
  background-color: #0f2c50;
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  font-size: 16px;
}

/* Player area */
#player-area {
  background-color: #0a1a2a;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

/* Turn status styling */
#turn-status {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #ffcc00;
}

/* Actions */
#actions {
  margin-top: 15px;
}

#actions button {
  margin: 0 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
  border: none;
  background-color: #007acc;
  color: white;
  transition: background-color 0.3s ease;
}

#actions button:hover {
  background-color: #005fa3;
}

#pot, #chip-count {
  font-size: 18px;
  margin-top: 10px;
}

#log {
  background-color: #022640;
  height: 150px;
  overflow-y: auto;
  padding: 10px;
  margin-top: 20px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: #b3d4fc;
}