.video-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.video-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.video-item img {
    object-fit: cover;
    width: 100%;
    height: 110%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.ribbon {
    position: absolute;
    top: 15px;
    left: -10px;
    background-color: var(--theme-color);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}
