/* Game polish animations */
@keyframes tkPop {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  20% { transform: translateY(-10px) scale(1.2); opacity: 1; }
  100% { transform: translateY(-80px) scale(1); opacity: 0; }
}

#tkPauseBtn:hover { background: rgba(99,102,241,.85) !important; transform: scale(1.08); }
#tkPauseBtn:active { transform: scale(0.92); }

/* Better overlay (already used in games) */
.overlay {
  animation: tkOverlayIn .3s ease-out;
}
@keyframes tkOverlayIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.overlay h2 {
  animation: tkBounce .5s ease-out .2s backwards;
}
@keyframes tkBounce {
  0% { transform: translateY(-20px); opacity: 0; }
  60% { transform: translateY(8px); opacity: 1; }
  100% { transform: translateY(0); }
}
.overlay .score-big {
  animation: tkPulse 1.2s ease-in-out infinite;
}
@keyframes tkPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* Score-big animations */
.score-big {
  background: linear-gradient(135deg, #fbbf24, #ef4444, #ec4899) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
