#floating-cat {
  width: 80px;
  height: 80px;
  cursor: grab;
  z-index: 999999;
  transition: transform 0.2s ease;
  transform: translate3d(0, 0, 0);
  object-fit: contain;
  display: block;
}

#floating-cat:hover {
  transform: scale(1.1);
}

/* Dark Mode Neon Glow */
:root.cat-dark-mode #floating-cat,
body.cat-dark-mode #floating-cat {
  animation: sharp-glow 1.5s ease-in-out infinite alternate;
}

@keyframes sharp-glow {
  0% {
    filter: drop-shadow(0 0 2px #00ff00);
  }
  100% {
    filter: drop-shadow(0 0 6px #00ff00);
  }
}

/* Speech Bubble Styling */
.affirmation-bubble {
  position: fixed;
  transform: translate(-50%, -100%);
  background: #ffffff;
  color: #111111;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000000;
  pointer-events: none;
  max-width: 180px;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  animation: bubblePop 0.2s ease-out forwards;
}

:root.cat-dark-mode .affirmation-bubble,
body.cat-dark-mode .affirmation-bubble {
  background: #1e1e2e;
  color: #00ff00;
  border: 1px solid rgba(0, 255, 0, 0.4);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

@keyframes bubblePop {
  0% {
    opacity: 0;
    transform: translate(-50%, -90%) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -100%) scale(1);
  }
}