/* ===== LAUNCHER ===== */
#launcher {
  width: 92%;
  max-width: 480px;
  padding-top: 10px;
}

#launcher.hidden {
  display: none;
}

.launcher-subtitle {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.games-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.game-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.game-card:active {
  transform: translateY(3px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.game-card.available {
  border-color: rgba(255, 215, 0, 0.3);
}

.game-card.available:hover {
  border-color: #FFD700;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.game-card.unavailable {
  opacity: 0.5;
  cursor: default;
}

.game-icon {
  font-size: 42px;
  min-width: 52px;
  text-align: center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.game-info {
  flex: 1;
}

.game-name {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  margin-bottom: 4px;
}

.game-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.game-arrow {
  font-size: 20px;
  color: rgba(255, 215, 0, 0.5);
}

.game-card.unavailable .game-arrow {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
  font-style: italic;
}

/* ===== GAME SCREEN ===== */
#game {
  width: 92%;
  max-width: 480px;
  padding-top: 10px;
}

#game.hidden {
  display: none;
}

#killerTitle.hidden {
  display: none;
}

/* ===== POOL ===== */
.pool-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(123, 47, 190, 0.4);
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pool-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pool-chip {
  background: linear-gradient(145deg, #7B2FBE, #5a1e8e);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pool-chip .chip-count {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 1px 7px;
  font-size: 12px;
}

/* ===== PLAYERS LIST ===== */
.players-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.player-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  transition: all .3s;
}

.player-card.active {
  background: rgba(255, 215, 0, 0.1);
  border-color: #FFD700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.player-card.eliminated {
  opacity: 0.35;
  filter: grayscale(1);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.player-name {
  font-size: 17px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-active {
  background: #FFD700;
  color: #1a472a;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 1px;
}

.badge-forced {
  background: #ff4444;
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 1px;
}

.hearts {
  font-size: 22px;
  letter-spacing: 2px;
}

.joker-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.joker-badge {
  background: linear-gradient(145deg, #7B2FBE, #5a1e8e);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 12px;
  transition: opacity .3s;
}

.joker-badge.used {
  opacity: 0.25;
  text-decoration: line-through;
}

/* ===== JOKER COUNTER ===== */
.joker-counter {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 6px;
}

.joker-counter.maxed {
  color: rgba(255, 80, 80, 0.6);
}

/* ===== ACTION ZONE ===== */
.action-zone {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.action-title {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-action {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: transform .1s, box-shadow .1s, opacity .2s;
}

.btn-action:active {
  transform: translateY(2px);
  box-shadow: none !important;
}

.btn-action:disabled {
  opacity: 0.3;
  cursor: default;
}

.btn-hit {
  background: linear-gradient(145deg, #4CAF50, #388E3C);
  color: white;
  box-shadow: 0 4px 0 #2E7D32;
}

.btn-miss {
  background: linear-gradient(145deg, #F44336, #D32F2F);
  color: white;
  box-shadow: 0 4px 0 #B71C1C;
}

.btn-black {
  background: linear-gradient(145deg, #424242, #212121);
  color: white;
  box-shadow: 0 4px 0 #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-joker {
  background: linear-gradient(145deg, #7B2FBE, #5a1e8e);
  color: white;
  box-shadow: 0 4px 0 #3d1466;
}
