* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background: #f0e6ff;
  min-height: 100vh;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
}
::-webkit-scrollbar-thumb {
  background: #a78bfa;
  border-radius: 3px;
}

@keyframes bounceIn {
  0% { transform: scale(0.3) translateY(20px); opacity: 0; }
  50% { transform: scale(1.05) translateY(-3px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}

@keyframes fadeSlideUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes pawBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4) rotate(-10deg); }
}

.msg-bubble {
  animation: bounceIn 0.3s ease-out;
}

.wiggle-anim {
  animation: wiggle 0.5s ease-in-out;
}

.fade-slide-up {
  animation: fadeSlideUp 0.35s ease-out;
}

.typing-dot {
  animation: pulse 1s ease-in-out infinite;
}

.paw-bounce {
  animation: pawBounce 0.3s ease-out;
}

.chat-thread:hover {
  background: #ede9fe !important;
  transition: background 0.2s;
}

.post-card {
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.12);
}

input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}

.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  position: absolute;
  bottom: 0;
  right: 0;
}

@media (max-width: 768px) {
  .desktop-sidebar {
    display: none !important;
  }
}