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

.bounce {
  animation: bounce 1.5s ease-in-out infinite;
}


@keyframes rock {
  0%   { transform: rotate(-10deg); }
  50%  { transform: rotate(10deg); }
  100% { transform: rotate(-10deg); }
}

.rocking {
  transform-origin: bottom center; /* Rocks from its feet/base */
  animation: rock 1s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); } /* Gently expands by 4% */
}

.breathing {
  transform-origin: center bottom; /* Keeps the feet/base planted while the chest expands upward */
  animation: breathe 1s ease-in-out infinite;
}
