/* Video Player System CSS */
/* YouTube video embeds with glassmorphic design */

.video-thumbnails {
    display: none; /* Hidden by default, shown after login */
    animation: fadeInUp 0.6s ease-out;
    margin-top: 20px;
}

.video-thumbnails.active {
    display: block;
}

.video-thumbnails-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-player-container {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.video-player-container:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    flex-shrink: 0;
}

.video-player-container.pulse .video-header-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.video-player-container.vision .video-header-icon {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.video-header-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #ffffff;
}

.video-header-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.3;
}

.video-player {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.video-player video,
.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* Platform-specific styling */
.video-player-container.pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.video-player-container.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(118, 75, 162, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.video-player-container:hover::before {
    left: 100%;
}

/* Video Highlighting Effects */
.video-player-container.highlighted {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    animation: pulseHighlight 2s ease-in-out;
}

.video-player-container.highlighted.pulse {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3);
}

.video-player-container.highlighted.vision {
    border-color: rgba(118, 75, 162, 0.5);
    box-shadow: 0 12px 35px rgba(118, 75, 162, 0.3);
}

@keyframes pulseHighlight {
    0%, 100% {
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 15px 45px rgba(255, 255, 255, 0.2);
    }
}

/* Destination Card Selection State */
.destination-card.selected {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.destination-card.selected .destination-arrow {
    color: var(--accent-green) !important;
}

/* Coming Soon Modal */
.coming-soon-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.coming-soon-modal.show {
    display: flex;
}

.coming-soon-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    padding: 40px;
    max-width: 400px;
    margin: 20px;
    text-align: center;
    color: #ffffff;
    position: relative;
    animation: scaleIn 0.3s ease-out;
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
}

.coming-soon-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-message {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 25px;
}

.coming-soon-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 24px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.coming-soon-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-thumbnail {
        padding: 15px;
        min-height: 100px;
        gap: 12px;
    }
    
    .video-thumbnail-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .video-thumbnail-title {
        font-size: 16px;
    }
    
    .video-thumbnail-description {
        font-size: 13px;
    }
    
    .coming-soon-content {
        padding: 30px 20px;
        margin: 15px;
    }
    
    .coming-soon-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .coming-soon-title {
        font-size: 20px;
    }
    
    .coming-soon-message {
        font-size: 14px;
    }
}
