.yt-gallery-container {
    display: flex;
    flex-direction: column;;
    align-items: center;
    width: 100%;
    /*background: rgba(255, 255, 255, 0.05);*/
    border-radius: 25px;
    /*box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);*/
    padding: 40px;
    /*backdrop-filter: blur(15px);*/
    /*border: 1px solid rgba(255, 255, 255, 0.1);*/
}

.yt-header-section {
    text-align: center;
    margin-bottom: 30px;
}

.yt-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.yt-header-subtitle {
    font-size: 1.1rem;
    color: #cbd5e0;
    opacity: 0.9;
}

.yt-player-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.yt-player-container {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: #000;
}

.yt-video-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.yt-video-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yt-video-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Navigation Buttons */
.yt-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yt-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.yt-prev-btn {
    left: 20px;
}

.yt-next-btn {
    right: 20px;
}

/* Dots Indicator */
.yt-indicator-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.yt-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.yt-indicator.yt-active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.yt-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

/* Auto-play pause/play button */
.yt-control-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yt-control-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.yt-description-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
}

/* Video Info Panel */
.yt-video-details {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    /*background: rgba(255, 255, 255, 0.05);*/
    border-radius: 15px;
    /*border: 1px solid rgba(255, 255, 255, 0.1);*/
}

.yt-current-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.yt-current-desc {
    font-size: 0.95rem;
    color: #cbd5e0;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .yt-gallery-container {
        padding: 25px;
    }
    
    .yt-main-title {
        font-size: 2rem;
    }
    
    .yt-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .yt-prev-btn {
        left: 15px;
    }
    
    .yt-next-btn {
        right: 15px;
    }
    
    .yt-control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    
    .yt-gallery-container {
        padding: 20px;
    }
    
    .yt-main-title {
        font-size: 1.6rem;
    }
    
    .yt-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .yt-prev-btn {
        left: 10px;
    }
    
    .yt-next-btn {
        right: 10px;
    }
    
    .yt-control-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Loading animation */
.yt-video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    z-index: 5;
}

.yt-video-slide iframe {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yt-video-slide.yt-slide-active iframe {
    opacity: 1;
}