.glow-green {
    animation: glow 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.8); }
}

#detectionOverlay::after {
    content: '🔍';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 10px rgba(0,255,0,0.8));
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

video {
    transform: scaleX(-1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.confetti {
  position: absolute;
  width: 10px;
  height: 14px;
  opacity: 0.9;
  animation: fall 3s linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
  }
  100% {
    transform: translateY(110vh) rotate(720deg);
  }
}
