.vp-bebf4ae8-container {
    position: relative;
    background-color: #141414;
    border-radius: 40px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.vp-bebf4ae8-player-wrapper {
    width: 100%;
}

.vp-bebf4ae8-player-ratio {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 40px;
    background-color: #000;
}

.vp-bebf4ae8-player-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Floating overlay list style on the right side */
.vp-bebf4ae8-list {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100% - 48px);
    overflow-y: auto;
    overflow-x: visible;
    padding: 10px;
    width: 220px;
    z-index: 10;
    pointer-events: auto;
    box-sizing: border-box;
}

/* Hide scrollbar on overlay list */
.vp-bebf4ae8-list::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.vp-bebf4ae8-item {
    position: relative;
    width: 200px;
    aspect-ratio: 16 / 9;
    border: 2px solid transparent;
    border-radius: 24px; /* Extra round pill style as seen in image */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    box-sizing: border-box;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.vp-bebf4ae8-thumb {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.vp-bebf4ae8-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vp-bebf4ae8-item:hover .vp-bebf4ae8-thumb img {
    transform: scale(1.1);
}

/* White active border outline as specified */
.vp-bebf4ae8-item.is-active {
    border-color: #ffffff;
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.2);
}

.vp-bebf4ae8-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vp-bebf4ae8-item:hover .vp-bebf4ae8-play-overlay,
.vp-bebf4ae8-item.is-active .vp-bebf4ae8-play-overlay {
    opacity: 1;
}

.vp-bebf4ae8-play-overlay svg {
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* Hide titles completely */
.vp-bebf4ae8-title {
    display: none !important;
}

/* Responsiveness */
@media (max-width: 991px) {
    .vp-bebf4ae8-list {
        right: 16px;
        width: 150px;
    }
    .vp-bebf4ae8-item {
        width: 150px;
        border-radius: 16px;
    }
}

@media (max-width: 767px) {
    .vp-bebf4ae8-container {
        border-radius: 20px;
    }
    .vp-bebf4ae8-player-ratio {
        border-radius: 20px;
    }
    .vp-bebf4ae8-list {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-height: none;
        gap: 12px;
        padding: 16px;
        box-sizing: border-box;
    }
    .vp-bebf4ae8-item {
        width: 100%;
        height: auto;
        border-radius: 16px;
    }
}
