/* Digital Edition additions — menu cards, bot badges, animations, podium */

/* Menu mode cards */
.menu-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 480px) {
  .menu-cards { grid-template-columns: 1fr; }
}
.menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(239,227,195,0.35);
  border-radius: 16px;
  padding: 20px 14px;
  color: var(--paper);
  min-height: 120px;
}
.menu-card:hover { border-color: var(--yellow); filter: brightness(1.1); }
.menu-emoji { font-size: 2rem; line-height: 1; }
.menu-name { font-weight: 800; font-size: 1.05rem; color: var(--sand); }
.menu-desc { font-size: 0.8rem; color: var(--sand-dark); font-weight: 400; }

/* Bot badge in the player list */
.bot-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: rgba(126, 212, 255, 0.18);
  border: 1px solid rgba(126, 212, 255, 0.55);
  color: #aee3ff;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Thinking indicator while a bot takes its turn */
.thinking {
  font-size: 0.8rem;
  color: var(--sand-dark);
  font-style: italic;
}

/* Event card pop */
.card-pop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 55;
  pointer-events: none;
  padding: 20px;
}
.card-pop-inner {
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  border: 3px solid var(--yellow);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
  padding: 22px 26px;
  max-width: 380px;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.45;
  animation: popIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Bot Jaws reveal drama */
.jaws-reveal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 58;
  pointer-events: none;
  background: radial-gradient(circle, rgba(184, 30, 30, 0.25) 0%, rgba(3, 15, 25, 0.55) 75%);
}
.jaws-reveal-inner {
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 8vw, 3rem);
  font-weight: 800;
  color: #ff6b5e;
  text-shadow: 0 4px 18px rgba(0,0,0,0.8);
  animation: jawsZoom 0.9s ease-out;
}
@keyframes jawsZoom {
  0% { transform: scale(0.4); opacity: 0; }
  35% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Pawn spawn / finish flourish */
.pawn.spawned { animation: pawnPop 0.45s ease-out; }
@keyframes pawnPop {
  0% { transform: translate(-50%, -50%) scale(0.2); }
  60% { transform: translate(-50%, -50%) scale(1.35); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* Die shake while rolling */
.die-rolling { animation: dieShake 0.12s linear infinite; }
@keyframes dieShake {
  0% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-3px); }
  100% { transform: rotate(-4deg) translateY(0); }
}

/* Win podium */
.podium {
  text-align: left;
  margin: 14px auto 4px;
  max-width: 300px;
  padding-left: 1.4em;
  line-height: 1.6;
  font-size: 1rem;
}
.podium li:first-child { font-weight: 800; }
