.game-lobby {
  background: #222;
  min-height: 80vh;
  padding: 40px 0;
  color: white;
}

.game-lobby .container {
  max-width: 900px; /* 기존보다 넓게 */
  width: 100%;
}

.game-title {
  text-align: center;
  margin-bottom: 40px;
}

.game-title h1 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 15px;
}

.game-title p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.start-game-section {
  text-align: center;
  margin-bottom: 50px;
}

.start-game-btn {
  background: #f73;
  border: none;
  padding: 15px 40px;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.start-game-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: white;
  text-decoration: none;
}

.content-section {
  max-width: 700px;
  margin: 0 auto 30px auto;
  padding: 40px 30px;
  background: #2f2f2f;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  margin-bottom: 30px;
  height: 100%;
}

.leaderboard-title {
  text-align: center;
  margin-bottom: 30px;
}

.leaderboard-title h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.ranking-table {
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  overflow: hidden;
  color: #333;
}

.ranking-table thead {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
}

.ranking-table th {
  border: none;
  padding: 15px;
  font-weight: bold;
  text-align: center;
}

.ranking-table td {
  border: none;
  padding: 12px 15px;
  vertical-align: middle;
  text-align: center;
}

.ranking-table tbody tr:nth-child(even) {
  background-color: rgba(0,0,0,0.05);
}

.rank-number {
  font-weight: bold;
  font-size: 1.1rem;
}

.rank-1 { color: #ffd700; }
.rank-2 { color: #c0c0c0; }
.rank-3 { color: #cd7f32; }

.view-all-btn {
  background: linear-gradient(45deg, #4CAF50, #45a049);
  border: none;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.view-all-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.loading-spinner {
  text-align: center;
  padding: 40px;
}

.no-data {
  text-align: center;
  padding: 40px;
  opacity: 0.7;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .game-title h1 {
    font-size: 2rem;
  }
  
  .start-game-btn {
    font-size: 1.2rem;
    padding: 12px 30px;
  }
  
  .ranking-table th,
  .ranking-table td {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  
  .content-section {
    margin-bottom: 20px;
  }
}

