.thread-panel {
  position: relative;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

/* Glass morphism effect */
.backdrop-blur-lg {
  backdrop-filter: blur(10px);
}

/* Smooth transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

button {
  transition: all 0.3s ease;
}

button:hover:not(:disabled) {
  transform: translateY(-2px);
}

button:active:not(:disabled) {
  transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr !important;
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
}