.videos-container {
    @apply relative w-full overflow-hidden;
    position: relative;
    width: 100%;
    background: linear-gradient(to right, #f3f4f6, #ffffff, #f3f4f6);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.videos-scroll {
    @apply flex overflow-x-auto pb-6 gap-6;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1.5rem;
    gap: 1.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    width: 100%;
    position: relative;
}

.videos-scroll::before,
.videos-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
    z-index: 1;
}

.video-card {
    @apply flex-none bg-white rounded-xl shadow-lg overflow-hidden transition-all duration-300;
    flex: 0 0 320px;
    width: 320px;
    min-width: 320px;
    transform: translateY(0);
    border: 1px solid rgba(229, 231, 235, 0.5);
    position: relative;
}


.video-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ef4444, #dc2626);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover::after {
    opacity: 1;
}

.video-thumbnail {
    @apply w-full h-48 object-cover transition-transform duration-300;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-info {
    @apply p-4;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
}

.video-title {
    @apply text-lg font-semibold mb-2 text-gray-800 line-clamp-2;
}

.video-race {
    @apply text-sm font-semibold text-red-600 mb-2;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 9999px;
}

.video-date {
    @apply text-sm text-gray-500;
}

.video-description {
    @apply text-gray-600 text-sm mt-2 line-clamp-2;
}

.loading {
    @apply animate-pulse bg-gray-200 rounded;
}

.error-message {
    @apply text-red-500 text-center py-4;
}

/* Scroll buttons */
.scroll-button {
    @apply absolute top-1/2 -translate-y-1/2 w-12 h-12 bg-white rounded-full shadow-lg flex items-center justify-center cursor-pointer z-10 transition-opacity duration-200;
    background: linear-gradient(to bottom, #ffffff, #f3f4f6);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.scroll-button:hover {
    @apply bg-gray-50;
    border-color: #ef4444;
    color: #ef4444;
}

.scroll-left {
    @apply left-0;
    margin-left: 0.5rem;
}

.scroll-right {
    @apply right-0;
    margin-right: 0.5rem;
} 