@keyframes cellPop {
  0% { transform: scale(0.78); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes cellShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

@keyframes hintPop {
  0% { transform: scale(0.7); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes panelEnter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes celebrateGlow {
  0%, 100% { box-shadow: var(--shadow); }
  50% { box-shadow: 0 0 0 6px rgba(228, 179, 99, 0.35), var(--shadow); }
}

.cell-pop { animation: cellPop 0.22s ease; }
.cell-shake { animation: cellShake 0.28s ease; }
.cell-hint-pop { animation: hintPop 0.32s ease; }
.panel-enter { animation: panelEnter 0.22s ease; }
.celebrate { animation: celebrateGlow 0.9s ease; }

@media (prefers-reduced-motion: reduce) {
  .cell-pop, .cell-shake, .cell-hint-pop, .panel-enter, .celebrate { animation: none; }
}
