/* Sticky video styles */
/* Ensure parent containers allow overflow */
.about-section,
.about-section .container,
.about-section .row,
.about-section .col-lg-6,
.about-card {
    overflow: visible !important;
}

.music-player-wrapper {
    position: relative;
    transition: all 0.3s ease;
}

.music-player-wrapper.sticky {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 350px !important;
    height: 197px !important;
    z-index: 9999 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    border-radius: 15px !important;
    animation: slideInFromRight 0.4s ease-out;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

.music-player-wrapper.sticky iframe {
    border-radius: 15px;
    width: 100% !important;
    height: 100% !important;
}

/* Placeholder to maintain layout when video becomes sticky */
.music-player-placeholder {
    width: 100%;
    height: 315px;
    display: none;
}

.music-player-placeholder.active {
    display: block;
}

/* Close button for sticky video */
.sticky-video-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.sticky-video-close:hover {
    transform: scale(1.15);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.sticky-video-close i {
    color: white;
    font-size: 14px;
}

.music-player-wrapper.sticky .sticky-video-close {
    display: flex;
}

/* Animation */
@keyframes slideInFromRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .music-player-wrapper.sticky {
        width: 280px;
        height: 158px;
        right: 15px;
        top: 15px;
    }
}

@media (max-width: 480px) {
    .music-player-wrapper.sticky {
        width: 240px;
        height: 135px;
        right: 10px;
        top: 10px;
    }
}