/* Glow pulse — combo 5+ */
.fx-glow {
  animation: glowPulse 0.6s ease-in-out;
}

.fx-glow .grid-container {
  box-shadow: 0 0 40px rgba(108, 92, 231, 0.4);
  border-radius: var(--radius);
}

/* Screen shake — combo 10+ */
.fx-shake {
  animation: screenShake 0.4s ease;
}

/* Perfect text */
.fx-perfect {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--warning);
  text-shadow: 0 0 20px rgba(255, 215, 64, 0.6);
  pointer-events: none;
  z-index: 200;
  animation: perfectPop 0.8s ease-out forwards;
}

/* Wrong flash */
.fx-wrong-flash {
  animation: wrongFlash 0.3s ease;
}

/* Vignette — clutch clear */
.fx-vignette::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(108, 92, 231, 0.3) 100%);
  animation: vignetteIn 0.5s ease forwards;
}

/* Timer danger — last 10 seconds */
.timer-danger #hud-timer {
  animation: timerPulse 0.5s ease infinite;
}

/* Timer critical — last 5 seconds */
.timer-critical #hud-timer {
  animation: timerPulse 0.3s ease infinite;
  color: var(--danger);
}

/* Score pop */
.score-pop {
  position: absolute;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--success);
  pointer-events: none;
  z-index: 50;
  animation: scoreFly 0.8s ease-out forwards;
}

/* Combo badge glow */
.combo-glow #hud-combo {
  text-shadow: 0 0 12px rgba(0, 230, 118, 0.6);
}

/* Round clear flash */
.fx-round-clear {
  animation: roundClearFlash 0.5s ease;
}
