import confetti from 'canvas-confetti';

export const triggerBirthdayConfetti = () => {
  // Immersive UI Tangerine & Sky Blue themed confetti burst
  const brandColors = ['#FF8C32', '#00D7FF', '#FFFFFF', '#FFA843', '#38E1FF'];

  confetti({
    particleCount: 80,
    spread: 70,
    origin: { y: 0.6 },
    colors: brandColors,
    disableForReducedMotion: true
  });

  // Secondary side bursts for high energy
  setTimeout(() => {
    confetti({
      particleCount: 50,
      angle: 60,
      spread: 55,
      origin: { x: 0 },
      colors: brandColors
    });
    confetti({
      particleCount: 50,
      angle: 120,
      spread: 55,
      origin: { x: 1 },
      colors: brandColors
    });
  }, 150);
};
