/* Custom animations and styles */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Smooth transitions for all interactive elements */
button, .hover\:shadow-lg {
    transition: all 0.3s ease;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive text sizing */
@media (max-width: 640px) {
    h1 {
        font-size: 1.5rem !important;
    }
    
    .text-5xl {
        font-size: 2.5rem !important;
    }
    
    .text-3xl {
        font-size: 1.5rem !important;
    }
}

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

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Card hover effects */
.hover\:shadow-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Progress bar animations */
.progress-bar {
    transition: width 0.5s ease-in-out;
}

/* Community feed styling */
.feed-item {
    transition: background-color 0.2s ease;
}

.feed-item:hover {
    background-color: #f9fafb;
}