/* =============================================
   VIDEO ENHANCEMENTS AND FALLBACKS
   ============================================= */

/* Video Fallback Styling */
.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    color: var(--text-white);
    z-index: 3;
}

.fallback-content {
    text-align: center;
    padding: 2rem;
}

.fallback-content i {
    font-size: 4rem;
    color: var(--brand-orange);
    margin-bottom: 1rem;
}

.fallback-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.fallback-content p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Enhanced video styling */
#platform-demo-video {
    border-radius: 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Custom video controls styling */
#platform-demo-video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

#platform-demo-video::-webkit-media-controls-play-button {
    background-color: var(--brand-orange);
    border-radius: 50%;
}

/* Loading indicator */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-white);
    font-size: 1.125rem;
    z-index: 2;
}

/* Video poster image styling */
video[poster] {
    object-fit: cover;
}

/* Responsive video enhancements */
@media (max-width: 768px) {
    .fallback-content i {
        font-size: 3rem;
    }
    
    .fallback-content h3 {
        font-size: 1.25rem;
    }
}