/**
 * Monopoli Nusantara - Pawns Stylesheet
 * Pion pemain khas Indonesia dengan efek pulsing dan animasi loncat petak
 */

.player-pawn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.15s ease;
  z-index: 10;
}

.pawn-emoji {
  font-size: 16px;
  line-height: 1;
}

/* Pion Giliran Aktif (Glow Emas) */
.player-pawn.active-pawn {
  z-index: 14;
  border-color: #FEF08A;
  box-shadow: 0 0 14px #F59E0B, 0 4px 10px rgba(15, 23, 42, 0.55);
  animation: activePawnPulse 1.6s infinite ease-in-out;
}

@keyframes activePawnPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px #F59E0B;
  }
  50% {
    transform: scale(1.22);
    box-shadow: 0 0 18px #F59E0B;
  }
}

/* Animasi Loncat Petak (Pawn Hop) */
.player-pawn.pawn-hop {
  animation: pawnJump 0.16s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes pawnJump {
  0% {
    transform: translateY(0) scale(1, 1);
  }
  40% {
    transform: translateY(-18px) scale(0.85, 1.2);
  }
  75% {
    transform: translateY(0) scale(1.2, 0.85);
  }
  100% {
    transform: translateY(0) scale(1, 1);
  }
}
