/* Page & table layout */
#game-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 20px;
  position: relative;
}

.table-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  background: #1a1a1a;
  border-radius: 10px 10px 0 0;
  z-index: 200;
  position: relative;
}

.table-header .table-actions { display: flex; gap: 10px; }
.table-header .table-actions .secondary { background: #444; color: #fff; }
.table-header .table-actions .secondary:disabled { opacity: .5; cursor: not-allowed; }

.table-header button {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  z-index: 201;
}

.game-table {
  flex: 1;
  background: var(--felt-green);
  border-radius: 0 0 10px 10px;
  position: relative;
  min-height: 70vh;
  padding: 20px 20px 150px;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0.1) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

.dealer-area { text-align: center; margin-bottom: 40px; }

.players-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.player-spot {
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 15px;
  min-width: 200px;
  min-height: 240px;
  text-align: center;
  position: relative;
  transition: all .3s ease;
}

.player-spot.active-player {
  background: rgba(255,215,55,0.1);
  border: 2px solid var(--gold);
  transform: scale(1.05);
  z-index: 10;
}

.player-spot.waiting-bet { border: 2px dashed var(--gold); }

/* Leaderboard */
.leaderboard {
  position: fixed;
  top: 70px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  padding: 15px;
  border-radius: 10px;
  width: 200px;
  z-index: 100;
}

.leaderboard h2 { margin-bottom: 10px; text-align: center; font-size: 1.2rem; }
#leaderboard-list { list-style: none; max-height: 300px; overflow-y: auto; }
#leaderboard-list li { padding: 5px 0; border-bottom: 1px solid #333; font-size: .9rem; }
