/* Lobby & Landing Screen Styling */
.landing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  background: radial-gradient(circle at center, #164229 0%, #0a1710 100%);
  text-align: center;
  overflow-y: auto;
}

.landing-card {
  width: 100%;
  max-width: 440px;
  background: rgba(14, 28, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.logo-title {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #fff 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.logo-suits {
  display: flex;
  gap: 12px;
  font-size: 1.5rem;
  letter-spacing: 4px;
}

.logo-suits .red {
  color: var(--card-red);
}

.logo-suits .black {
  color: #fff;
}

.landing-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-bottom: 24px;
}

.landing-footer-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.btn-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.btn-link:hover {
  color: var(--gold);
}

/* Waiting Room Lobby Screen */
.lobby-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 20px;
  width: 100%;
  overflow-y: auto;
}

.lobby-header {
  text-align: center;
  margin-bottom: 24px;
}

.room-code-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-md);
  padding: 12px 28px;
  margin-top: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.room-code-badge:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: scale(1.02);
}

.room-code-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.room-code-value {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--gold);
  font-family: monospace;
}

.room-code-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Player List Grid in Lobby */
.lobby-players-box {
  background: rgba(14, 28, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.lobby-players-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.player-chips-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.player-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.player-chip-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-chip-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--felt-border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.player-chip-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.player-chip-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-host {
  background: var(--gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

.badge-you {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

/* Network banner in lobby */
.lan-info-card {
  background: rgba(52, 152, 219, 0.12);
  border: 1px solid rgba(52, 152, 219, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #cce5ff;
  line-height: 1.4;
  margin-bottom: 24px;
}

.lan-info-card strong {
  color: #fff;
}

.lobby-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

