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

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

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

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

::-webkit-scrollbar-thumb {
    background: #FFD93D;
    border-radius: 5px;
}

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

/* Smooth transitions */
* {
    transition: background-color 0.2s ease;
}

/* Loading animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Code syntax highlighting */
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Image loading states */
img {
    transition: opacity 0.3s ease;
}

img[src=""] {
    opacity: 0;
}

/* Responsive image grids */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr !important;
    }
}

/* Focus states */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: 2px solid #FFD93D;
    outline-offset: 2px;
}

/* Hover effects */
button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

/* Card shadows */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(255, 217, 61, 0.3), 0 4px 6px -2px rgba(255, 217, 61, 0.2);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #FFD93D 0%, #FF9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}