/* Animations discrètes — ambiance néon */
@keyframes pulse-brand {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(57, 255, 20, 0.45));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(57, 255, 20, 0.65));
  }
}

@keyframes drift-bg {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.92;
  }
}

.app-bg {
  animation: drift-bg 12s ease-in-out infinite;
}

.site-header h1 {
  animation: pulse-brand 5s ease-in-out infinite;
}

/* Halo sur un pot « prêt à récolter » */
@keyframes pulse-slot-ready {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(57, 255, 20, 0.15),
      0 6px 24px rgba(0, 0, 0, 0.35);
    border-color: rgba(57, 255, 20, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(57, 255, 20, 0.35),
      0 0 22px rgba(57, 255, 20, 0.28),
      0 6px 28px rgba(0, 0, 0, 0.4);
    border-color: rgba(57, 255, 20, 0.55);
  }
}

.slot-card--ready {
  animation: pulse-slot-ready 2.4s ease-in-out infinite;
}

/* Flash bref après récolte */
@keyframes harvest-card-flash {
  0% {
    filter: brightness(1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  }
  40% {
    filter: brightness(1.18);
    box-shadow:
      0 0 32px rgba(57, 255, 20, 0.55),
      0 6px 28px rgba(0, 0, 0, 0.25);
  }
  100% {
    filter: brightness(1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  }
}

.slot-card--harvest-flash {
  animation: harvest-card-flash 0.65s ease-out 1;
}
