.video-thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.video-thumbnail-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.video-thumbnail-wrapper:hover::before {
    opacity: 1;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 2;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-thumbnail-wrapper:hover .video-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-play-icon i {
    font-size: 32px;
    color: #dc3545;
}

.video-thumbnail-wrapper img {
    transition: transform 0.3s ease;
}

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

/* Lazy Loading Görsel Optimizasyonu */
.lazy-image-container {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.lazy-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 0;
    pointer-events: none; /* Tıklamayı engelleme */
}

.lazy-image-container.loaded::after {
    animation: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    position: relative;
    z-index: 1;
}

.lazy-image.lazy-loading {
    opacity: 0;
}

.lazy-image.lazy-loaded {
    opacity: 1;
}

.lazy-image.lazy-error {
    opacity: 1;
    filter: grayscale(100%);
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Görsel yüklenme animasyonu için hafif bir fade-in */
.lazy-image-container.loaded .lazy-image {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
