/* Custom styles that can't be done with Tailwind */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-custom {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

#video-embed {
    min-height: 315px;
}

@media (max-width: 768px) {
    #video-embed {
        min-height: 200px;
    }
}
.short-preview {
    aspect-ratio: 9/16;
    transition: all 0.3s ease;
    cursor: pointer;
}

.short-preview video {
    transition: all 0.3s ease;
}

.short-preview:hover video {
    transform: scale(1.02);
}
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}