/* Custom styles for Tumblr-like experience */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #001122;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

/* Animation for posts */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bg-gray-800 {
  animation: slideIn 0.3s ease-out;
}

/* Hover effects */
.bg-gray-800:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Golden buzzer animation */
@keyframes goldSpin {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.1); }
}

.animate-pulse {
  animation: goldSpin 1s infinite;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .max-w-4xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Text selection */
::selection {
  background: rgba(59, 130, 246, 0.3);
}

/* Focus states for accessibility */
button:focus,
a:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Loading state for buttons */
button:active {
  transform: scale(0.98);
}

/* Tumblr-style post interactions */
.post-actions button {
  transition: all 0.2s ease;
}

.post-actions button:hover {
  transform: scale(1.1);
}

/* Tag styling */
.tag {
  transition: color 0.2s ease;
}

.tag:hover {
  text-decoration: underline;
}