/* AquaGenética - Animações Fluidas Aquáticas e Efeitos Bioluminescentes */

/* 1. Flutuação de Natação Suave */
@keyframes swimFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(0.8deg);
  }
  50% {
    transform: translateY(-3px) rotate(-0.5deg);
  }
  75% {
    transform: translateY(-12px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.animate-swim {
  animation: none !important;
  transform: none !important;
}

/* 2. Pulsação Bioluminescente */
.animate-pulse-glow {
  animation: none !important;
  transform: none !important;
}

/* 3. Brilho de Escama / Shimmer em Gradiente */
@keyframes scaleShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 245, 212, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: scaleShimmer 4s infinite linear;
}

/* 4. Bolhas Flutuantes CSS */
@keyframes floatBubble {
  0% {
    transform: translateY(100vh) translateX(0) scale(0.6);
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-10vh) translateX(30px) scale(1.1);
    opacity: 0;
  }
}

.bubble {
  position: absolute;
  bottom: -20px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.8), rgba(0, 245, 212, 0.2) 60%, rgba(0, 187, 249, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.5), 0 0 10px rgba(0, 245, 212, 0.3);
  pointer-events: none;
  animation: floatBubble var(--duration, 8s) ease-in infinite;
  animation-delay: var(--delay, 0s);
  z-index: 1;
}

/* 5. Efeito de Onda e Raios Cáusticos de Luz */
@keyframes causticsWave {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: rotate(180deg) scale(1.15);
    opacity: 0.5;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 0.3;
  }
}

.caustics-overlay {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0, 245, 212, 0.08) 0%, transparent 70%);
  animation: causticsWave 22s linear infinite;
  pointer-events: none;
}

/* 6. Indicador de Genética com Rotação */
@keyframes dnaRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.dna-icon {
  display: inline-block;
  animation: dnaRotate 8s linear infinite;
}

/* 7. Hover Glare nos Cards de Produtos */
.card-glare {
  position: relative;
}

.card-glare::before {
  display: none !important;
}

/* 8. Badge Pulse */
@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pulse-badge {
  animation: badgePulse 2s infinite ease-in-out;
}

/* 9. Ripple ao clicar */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
