@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

body {
  font-family: 'Nunito', sans-serif;
  /* Prevent pull-to-refresh on mobile */
  overscroll-behavior-y: none;
}

/* Breathing Animation (Idle) */
@keyframes breathe {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.01);
  }
}

.animate-breathe {
  animation: breathe 3s ease-in-out infinite;
}

/* Interaction Animations */
.animate-jump {
  animation: jump 0.4s ease-out;
}

@keyframes jump {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-30px) scale(0.9, 1.1); }
  100% { transform: translateY(0) scale(1); }
}

.animate-shake {
  animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* Chat Bubble Fade In/Out */
.bubble-visible {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 10px;
}
