/* Floating Video Player - Desktop Only */
.floating-video-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: none; /* Hidden by default, shown only on desktop */
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.floating-video-container.hidden {
    display: none !important;
}

.floating-video-wrapper {
    position: relative;
    width: 150px;
    height: 260px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
                0 0 0 3px rgba(168, 85, 247, 0.5),
                0 0 0 5px rgba(102, 126, 234, 0.3),
                0 0 60px rgba(168, 85, 247, 0.4),
                inset 0 0 30px rgba(255, 255, 255, 0.15),
                inset 0 0 60px rgba(168, 85, 247, 0.1);
    overflow: visible;
    padding: 0;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.floating-video-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.8), rgba(102, 126, 234, 0.8), rgba(255, 107, 53, 0.6), rgba(168, 85, 247, 0.8));
    background-size: 200% 200%;
    animation: gradient-border 4s ease infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes gradient-border {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.floating-video-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.floating-video-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.floating-video-close i {
    font-size: 10px;
}

.floating-video-player {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000000;
    border-radius: 11px;
    overflow: hidden;
    z-index: 0;
}

.floating-video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 11px;
}

/* Desktop Only - Show on screens wider than 768px */
@media (min-width: 769px) {
    .floating-video-container {
        display: block;
    }
}

/* Hide on mobile and tablet */
@media (max-width: 768px) {
    .floating-video-container {
        display: none !important;
    }
}

