@keyframes mega-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.8) rotate(15deg);
  }
  70% {
    transform: scale(0.9) rotate(-10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.mega-pop {
  animation: mega-pop 0.6s ease;
}

/* 飛び散るパーティクル */
.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.8;
  z-index: 9999;
  animation: particle-fly 0.8s ease-out forwards;
}

@keyframes particle-fly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(0.5);
    opacity: 0;
  }
}

/* ====== 追加：光のフレア波紋エフェクト ====== */
.pop-glow {
  position: absolute;
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glow-expand 0.6s ease-out;
}

@keyframes glow-expand {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(10);
    opacity: 0;
  }
}