/* ===== GAME LOBBY STYLING ===== */
.game-lobby {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.game-lobby h1 {
  font-size: 2.2rem;
  color: #0056d1;
  margin-bottom: 1rem;
}

#game-status {
  font-weight: bold;
  color: #2e3a45;
  margin-bottom: 2rem;
}

#games-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.highlight-card {
  background-color: #ffffff;
  border-radius: 12px;
  flex: 1 1 300px;
  max-width: 320px;
  padding: 2rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.highlight-card h3 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #1f2a38;
}

.highlight-card p {
  color: #4a5766;
  font-size: 1rem;
  margin: 1rem 0 1.5rem 0;
}

.join-btn {
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: white;
  font-weight: bold;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.join-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-primary.join-btn {
  background-color: #1ec8c8;
}

.btn-primary.join-btn:hover {
  background-color: #17b4b4;
}

.btn-secondary.join-btn {
  background-color: #e64545;
}

.btn-secondary.join-btn:hover {
  background-color: #c23535;
}

@media (max-width: 768px) {
  #games-list {
    flex-direction: column;
    align-items: center;
  }
}
