/** * Netflix 2025 Info Modal Component * Premium, cinematic modal with video preview and rich metadata */ export function createInfoModal(video, onClose, onPlay, recommendations = []) { const modal = document.createElement('div'); modal.className = 'modal modal--info active'; modal.id = `modal-${video.id}`; const backdropUrl = video.backdrop || video.thumbnail; const isSeries = video.type === 'series' || video.category?.toLowerCase() === 'series'; modal.innerHTML = `
${video.description || 'No description available for this title.'}
${ep.description || (video.description || '').substring(0, 60)}...
${(rec.description || 'No description').substring(0, 80)}${rec.description && rec.description.length > 80 ? '...' : ''}