@keyframes sparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 1;
  }
}

@keyframes customizePulse {
  0%, 100% {
    opacity: 0.8;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(1px);
  }
}

@keyframes heroBreathing {
  0%, 100% { 
    transform: scale(1);
    filter: brightness(0.95) contrast(1.05) saturate(1.1);
  }
  50% { 
    transform: scale(1.015);
    filter: brightness(1) contrast(1.1) saturate(1.15);
  }
}

@keyframes gentleFloat {
  0% {
    transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    opacity: 0.4;
    filter: blur(0px);
  }
  12.5% {
    transform: translateY(-45px) translateX(25px) scale(1.6) rotate(45deg);
    opacity: 0.9;
    filter: blur(1px);
  }
  25% {
    transform: translateY(-70px) translateX(40px) scale(0.6) rotate(90deg);
    opacity: 1;
    filter: blur(0px);
  }
  37.5% {
    transform: translateY(-30px) translateX(60px) scale(1.8) rotate(135deg);
    opacity: 0.5;
    filter: blur(2px);
  }
  50% {
    transform: translateY(-85px) translateX(15px) scale(0.7) rotate(180deg);
    opacity: 1;
    filter: blur(0px);
  }
  62.5% {
    transform: translateY(-55px) translateX(-35px) scale(1.4) rotate(225deg);
    opacity: 0.8;
    filter: blur(1px);
  }
  75% {
    transform: translateY(-25px) translateX(-50px) scale(1.7) rotate(270deg);
    opacity: 0.6;
    filter: blur(2px);
  }
  87.5% {
    transform: translateY(-40px) translateX(-20px) scale(0.8) rotate(315deg);
    opacity: 0.9;
    filter: blur(0px);
  }
  100% {
    transform: translateY(0px) translateX(0px) scale(1) rotate(360deg);
    opacity: 0.4;
    filter: blur(0px);
  }
}

@keyframes textShimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  0% { border-color: transparent; }
  50% { border-color: var(--color-sage); }
  100% { border-color: transparent; }
}

@keyframes orbPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@keyframes shimmerGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 0.8;
    transform: scaleX(1.2);
  }
}

@keyframes bubbleAppear {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes celebrationFloat {
  0% {
    opacity: 0;
    transform: scale(0) translateY(0);
  }
  20% {
    opacity: 1;
    transform: scale(1) translateY(-10px);
  }
  80% {
    opacity: 0.8;
    transform: scale(1.2) translateY(-30px);
  }
  100% {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
}

@keyframes celebrationPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(168, 181, 160, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(168, 181, 160, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(168, 181, 160, 0);
  }
}

@keyframes magicalCharge {
  0%, 100% {
    box-shadow: 0 0 20px rgba(168, 181, 160, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 40px rgba(168, 181, 160, 0.8);
    transform: scale(1.02);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 4px 8px rgba(168, 181, 160, 0.15));
  }
  50% {
    filter: drop-shadow(0 4px 16px rgba(220, 53, 69, 0.3));
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalBreathe {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 20px 25px -5px rgba(168, 181, 160, 0.1), 0 10px 10px -5px rgba(168, 181, 160, 0.04);
  }
  50% { 
    transform: scale(1.008); 
    box-shadow: 0 25px 30px -5px rgba(168, 181, 160, 0.15), 0 15px 15px -5px rgba(168, 181, 160, 0.08);
  }
}

@keyframes elegantPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes textSlideIn {
  from { 
    opacity: 0; 
    transform: translateY(10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes textFadeIn {
  from { 
    opacity: 0; 
    transform: translateY(5px); 
  }
  to { 
    opacity: 0.7; 
    transform: translateY(0); 
  }
}

@keyframes elegantSparkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.8); }
  50% { opacity: 0.7; transform: translateY(-6px) scale(1.1); }
}

@keyframes subtitlePulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.5; }
}

@keyframes subtleBreath {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.01); }
}

@keyframes ambientFloat {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(0.8);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-15px) translateX(8px) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-8px) translateX(-5px) scale(1.1);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-20px) translateX(12px) scale(0.9);
    opacity: 0.8;
  }
}

@keyframes celebrationFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes celebrationFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  10% {
    transform: translateY(10vh) rotate(90deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

@keyframes confettiBurst {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
  10% {
    transform: translate(var(--burst-x), var(--burst-y)) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--burst-x), calc(var(--burst-y) + 100vh)) scale(0.5);
    opacity: 0;
  }
}


@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  20% {
    transform: translate(30px, -50px) scale(1.1);
  }
  40% {
    transform: translate(-40px, -20px) scale(0.9);
  }
  60% {
    transform: translate(50px, 40px) scale(1.2);
  }
  80% {
    transform: translate(-20px, 60px) scale(0.95);
  }
}

@keyframes breathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Star Rating Animations */
@keyframes starGlow {
  0%, 100% {
    filter: drop-shadow(0 2px 8px rgba(255, 153, 153, 0.4));
  }
  50% {
    filter: drop-shadow(0 4px 16px rgba(255, 223, 77, 0.6));
  }
}

@keyframes sparkleFloat {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0);
  }
  50% {
    opacity: 1;
    transform: translate(10px, -10px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(20px, -20px) scale(0);
  }
}

@keyframes rippleEffect {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes starPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes confettiSway {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(-10px) rotate(-5deg);
  }
  75% {
    transform: translateX(10px) rotate(5deg);
  }
}

@keyframes sparkleRadiate {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1) rotate(180deg);
    opacity: 1;
  }
  100% {
    transform: scale(1.5) rotate(360deg);
    opacity: 0;
  }
}

@keyframes tooltipBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
