.video-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    height: 922px;
}

.productions-container{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.video-player {
    flex: 1;
    border-radius: 1rem;
    overflow: hidden;
    background: black;
    position: relative;
    height: fit-content;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-player-content{
    height: max-content;
    width: 100%;
    position: relative;
    aspect-ratio: 16/9;
}

.video-player-content::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: var(--gradient);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.video-player-content iframe {
    width: 100%;
    height: 100%;
    position: relative;
    border: none;
}

#videoDetails {
    position: relative;
}

.playlist {
    width: 30%;
    background: var(--card-bg);
    border-radius: 1rem;
    overflow-y: scroll;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.swiper {
    width: auto;
    height: fit-content;
    position: relative;
    padding: 10px 13px;
}

.featured-video-section{
    margin-top: 10px;
    padding-top: 10px;
    position: relative;
}

.featured-video-section::after, .featured-video-title::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: var(--gradient);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.featured-video-title{
    border-radius: 1rem;
    color: #fff;
    width: fit-content;
    padding: 7px 10px;
    margin: 0px 10px;
    position: relative;
    font-size: 17px;
    border: 1px solid;
    border-color: red;
    line-height: 1rem;
    background: red; 
}

.swiper-slide {
    text-align: left;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 5px 5px;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.swiper-slide .video-item-featured {
    display: block;
   
}

.playlist h3 {
    padding: 1.25rem;
    color: var(--text-primary);
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.playlist h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.playlist ul {
    list-style: none;
    overflow-y: auto;
    height: 100%;
    padding: 0.75rem;
}

.playlist li {
    padding: 0.75rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.75rem;
    background: var(--card-bg);
    border: 1px solid transparent;
}

.playlist li:last-child {        
    margin-bottom: 0rem;
}

.playlist li:hover {
    background: var(--card-hover);
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.1);
}

.swiper-slide:hover {
    background: var(--card-hover);
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.1);
}

.playlist .video-item {
    /* display: flex; */
    gap: 1rem;
    align-items: center;
}

.playlist .thumbnail {
    width: 140px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 2/1.35;
    position: relative;
}

.playlist .thumbnail {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.swiper-slide .thumbnail {
    width: 100% !important;
    height: 100% !important;
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.playlist .thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, transparent 50%);
}

.playlist .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide .thumbnail img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    object-position: center !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.playlist li:hover .thumbnail img {
    transform: scale(1.08);
}

.swiper-slide:hover .thumbnail img {
    transform: scale(1.08);
}

.playlist .video-info {
    flex: 1;
}

.playlist .video-title {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-top: 5px;
    margin-bottom: 0.375rem;
    line-height: 1.4;
    font-weight: 500;
}

.swiper-slide .video-title {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-top: 5px;
    margin-bottom: 0.375rem;
    line-height: 1.4;
    font-weight: 500;
}

.playlist .video-channel {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.swiper-slide .video-channel {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.playlist .video-channel::before {
    content: '•';
    color: var(--accent-primary);
}

.swiper-slide .video-channel::before {
    content: '•';
    color: var(--accent-primary);
}

.playlist ul::-webkit-scrollbar {
    width: 6px;
}

.playlist ul::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 3px;
}

.playlist ul::-webkit-scrollbar-thumb {
    background: var(--card-hover);
    border-radius: 3px;
}

.playlist ul::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

.playlist::-webkit-scrollbar {
    width: 0;
}

.bottom-50{
    bottom:-50px;
}



@media(max-width:1680px){
    .video-container {    
        height: 922px;              
    }
}

@media (max-width:1440px){
    .productions-container{
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }

    .video-container {    
        height: 864px;                
    }
}

/* @media (max-width:1366px){
    .video-container {    
        height: 870px;                
    }
} */

@media (max-width: 1024px) {
    .video-container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    .productions-container{
        width: 100vw;
        margin: 0 auto;
        padding: 0 1.5rem;
    }

    .playlist {
        width: 100%;
        height: 480px;
    }

    .video-player {
        width: 100%;
        height: 0;
    }

    .playlist .thumbnail {
        width: 35% !important;
    }

    .playlist .video-item {
        display: flex;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 640px) {
    body {
        padding: 0.5rem;
    }

    .playlist .thumbnail {
        width: 120px;
        height: 68px;
    }

    .video-container {
        padding: 0rem;
    }

    .swiper {
        margin: 0px 5px;
    }
}

@media (max-height:1080px){
    .swiper-slide .thumbnail img {
        width: 100%;
        height: 170px;
        object-fit: cover;
        object-position: center !important;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
}