/* Porn Cinema Styles */ /* ===== CINEMA LAYOUT ===== */ body.cinema-mode { background: #000; color: #fff; overflow-x: hidden; /* Override main body flex layout */ display: block !important; align-items: unset !important; justify-content: unset !important; min-height: 100vh; } .cinema-loading { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.95); display: flex; align-items: center; justify-content: center; z-index: 10000; } .cinema-header { background: var(--color-background-gradient); border-bottom: 1px solid var(--bg-tertiary); padding: 0; position: sticky; top: 0; z-index: 1000; width: 100%; display: block !important; flex-direction: row !important; } .cinema-nav { display: flex; align-items: center; justify-content: space-between; max-width: 100%; margin: 0; padding: 8px 20px; height: 44px; } .cinema-nav h1 { margin: 0; font-size: 1.1rem; font-weight: 600; color: #ffffff; display: flex; align-items: center; gap: 8px; } .cinema-controls { display: flex; gap: 6px; } /* Modern header button styling */ .cinema-header .btn { padding: 6px 12px !important; min-width: auto !important; min-height: auto !important; font-size: 0.85rem !important; border-radius: 6px !important; background: rgba(255, 255, 255, 0.1) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; color: #ffffff !important; transition: all 0.2s ease !important; display: flex !important; align-items: center !important; gap: 6px !important; font-weight: 500 !important; } .cinema-header .btn-secondary { background: var(--color-secondary-transparent) !important; border: 1px solid var(--color-secondary-border) !important; color: #e0e0e0 !important; } .cinema-header .btn-secondary:hover { background: var(--color-secondary-hover) !important; border-color: var(--color-secondary) !important; transform: none !important; box-shadow: 0 2px 8px var(--color-secondary-transparent) !important; } /* ===== KEYBOARD SHORTCUTS HELP ===== */ .shortcuts-help { position: fixed; top: 80px; right: 20px; background: rgba(0, 0, 0, 0.9); border: 2px solid #444; border-radius: 10px; padding: 20px; max-width: 350px; z-index: 2000; display: none; backdrop-filter: blur(10px); } .shortcuts-help h3 { margin: 0 0 15px 0; color: var(--color-primary); text-align: center; } .shortcuts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 0.9rem; } .shortcut-item { display: flex; align-items: center; gap: 8px; padding: 4px; } .shortcut-item kbd { background: #333; border: 1px solid #555; border-radius: 4px; padding: 2px 6px; font-size: 0.8rem; min-width: 24px; text-align: center; font-family: monospace; } /* ===== MAIN CINEMA LAYOUT ===== */ .cinema-main { max-width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 320px; gap: 0; min-height: calc(100vh - 52px); } /* ===== MAIN CONTENT AREA ===== */ .main-content-area { padding: 20px; overflow-y: auto; } /* ===== RIGHT SIDEBAR ===== */ .cinema-sidebar { background: var(--color-background-gradient); border-left: 1px solid var(--bg-tertiary); display: flex; flex-direction: column; overflow: hidden; } .sidebar-tabs { display: flex; border-bottom: 1px solid var(--bg-tertiary); background: rgba(0, 0, 0, 0.2); } .sidebar-tab { flex: 1; padding: 12px 8px; background: transparent; border: none; color: var(--text-muted); font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; border-bottom: 3px solid transparent; } .sidebar-tab.active { color: #ffffff; background: var(--color-secondary-transparent); border-bottom-color: var(--color-secondary); } .sidebar-tab:hover { background: rgba(255, 255, 255, 0.05); color: #ffffff; } .sidebar-panel { flex: 1; padding: 0; display: none; flex-direction: column; overflow: hidden; } .sidebar-panel.active { display: flex; } .panel-header { padding: 16px; border-bottom: 1px solid var(--bg-tertiary); background: rgba(0, 0, 0, 0.1); } .panel-header h3 { margin: 0 0 10px 0; color: #ffffff; font-size: 1rem; font-weight: 600; } .playlist-controls { display: flex; gap: 6px; flex-wrap: wrap; } .playlist-controls .btn-mini { padding: 4px 8px; font-size: 0.75rem; border-radius: 4px; background: var(--color-secondary-transparent); border: 1px solid var(--color-secondary-border); color: var(--text-primary); } .playlist-controls .btn-mini:hover { background: var(--color-secondary-hover); border-color: var(--color-secondary); } .playlist-controls .btn-danger { background: rgba(220, 53, 69, 0.15); border-color: rgba(220, 53, 69, 0.3); } .playlist-controls .btn-danger:hover { background: rgba(220, 53, 69, 0.25); border-color: rgba(220, 53, 69, 0.5); } /* Playlist content */ .playlist-content { flex: 1; padding: 16px; overflow-y: auto; } .playlist-empty { text-align: center; color: var(--text-dim); padding: 30px 10px; font-size: 0.9rem; line-height: 1.4; } .playlist-items { display: flex; flex-direction: column; gap: 8px; } .playlist-item { display: flex; align-items: center; justify-content: space-between; padding: 12px; background: rgba(255, 255, 255, 0.05); border-radius: 8px; cursor: pointer; transition: all 0.3s ease; border: 1px solid transparent; } .playlist-item:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); } .playlist-item.current { background: var(--color-primary-transparent); border-color: var(--color-primary); } .playlist-item-info { flex: 1; min-width: 0; /* Allow text to truncate */ } .playlist-item-name { font-weight: 500; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #ffffff; } .playlist-item-meta { color: var(--text-muted); font-size: 0.8rem; } .playlist-item-actions { display: flex; gap: 6px; opacity: 0.7; transition: opacity 0.3s ease; } .playlist-item:hover .playlist-item-actions { opacity: 1; } .btn-playlist-play, .btn-playlist-remove { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff; border-radius: 4px; padding: 4px 8px; font-size: 0.8rem; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; } .btn-playlist-play:hover { background: var(--color-secondary-hover); border-color: var(--color-secondary); color: #ffffff; } .btn-playlist-remove:hover { background: rgba(220, 53, 69, 0.3); border-color: rgba(220, 53, 69, 0.5); color: #ffffff; } /* Playlist notification styles */ .playlist-notification { animation: slideInRight 0.3s ease-out, slideOutRight 0.3s ease-in 2.7s; } @keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } @keyframes slideOutRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } } /* ===== PLAYLIST MODAL STYLES ===== */ .playlist-modal-content { background: var(--color-background-gradient); border-radius: 12px; max-width: 500px; width: 90vw; max-height: 80vh; overflow: hidden; border: 1px solid var(--bg-tertiary); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); } .playlist-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--bg-tertiary); background: rgba(0, 0, 0, 0.2); } .playlist-modal-header h3 { margin: 0; color: var(--color-primary); font-size: 1.2rem; font-weight: 600; } .playlist-modal-close { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all 0.2s ease; } .playlist-modal-close:hover { background: rgba(220, 53, 69, 0.3); border-color: rgba(220, 53, 69, 0.5); } .playlist-modal-body { padding: 20px; max-height: 60vh; overflow-y: auto; } /* Save playlist form styles */ .save-playlist-form { display: flex; flex-direction: column; gap: 16px; } .save-playlist-form label { color: #ffffff; font-weight: 500; margin-bottom: 8px; } .save-playlist-form input { background: rgba(0, 0, 0, 0.3); border: 1px solid #404050; border-radius: 6px; color: #ffffff; padding: 12px; font-size: 1rem; transition: border-color 0.2s ease; } .save-playlist-form input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary-transparent); } .save-playlist-form input::placeholder { color: #666; } .playlist-info { color: #999; font-size: 0.9rem; text-align: center; padding: 8px; background: rgba(255, 255, 255, 0.05); border-radius: 4px; } .save-actions { display: flex; gap: 12px; justify-content: center; } .btn-save-playlist, .btn-save-and-export { padding: 10px 20px; border-radius: 6px; border: 1px solid; cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: all 0.2s ease; min-width: 120px; } .btn-save-playlist { background: var(--color-secondary-transparent); border-color: var(--color-secondary-border); color: #e0e0e0; } .btn-save-playlist:hover { background: var(--color-secondary-hover); border-color: var(--color-secondary); } .btn-save-and-export { background: rgba(40, 167, 69, 0.15); border-color: rgba(40, 167, 69, 0.3); color: #e0e0e0; } .btn-save-and-export:hover { background: rgba(40, 167, 69, 0.25); border-color: rgba(40, 167, 69, 0.5); } .saved-playlists { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; } .saved-playlist-item { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: rgba(255, 255, 255, 0.05); border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; } .saved-playlist-item:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); } .saved-playlist-info { flex: 1; min-width: 0; } .saved-playlist-name { font-weight: 600; color: #ffffff; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .saved-playlist-meta { color: #999; font-size: 0.85rem; } .saved-playlist-actions { display: flex; gap: 6px; } .btn-load-playlist, .btn-export-playlist, .btn-delete-playlist { padding: 6px 10px; border-radius: 4px; border: 1px solid; cursor: pointer; font-size: 0.8rem; transition: all 0.2s ease; min-width: 60px; } .btn-load-playlist { background: var(--color-secondary-transparent); border-color: var(--color-secondary-border); color: #e0e0e0; } .btn-load-playlist:hover { background: var(--color-secondary-hover); border-color: var(--color-secondary); } .btn-export-playlist { background: rgba(40, 167, 69, 0.15); border-color: rgba(40, 167, 69, 0.3); color: #e0e0e0; } .btn-export-playlist:hover { background: rgba(40, 167, 69, 0.25); border-color: rgba(40, 167, 69, 0.5); } .btn-delete-playlist { background: rgba(220, 53, 69, 0.15); border-color: rgba(220, 53, 69, 0.3); color: #e0e0e0; } .btn-delete-playlist:hover { background: rgba(220, 53, 69, 0.25); border-color: rgba(220, 53, 69, 0.5); } .playlist-modal-separator { display: flex; align-items: center; text-align: center; margin: 20px 0; color: #666; font-size: 0.9rem; } .playlist-modal-separator::before, .playlist-modal-separator::after { content: ''; flex: 1; height: 1px; background: #404050; } .playlist-modal-separator span { padding: 0 15px; } .file-upload-area { text-align: center; } .btn-upload-playlist { background: rgba(40, 167, 69, 0.15); border: 1px solid rgba(40, 167, 69, 0.3); color: #e0e0e0; padding: 10px 20px; border-radius: 6px; cursor: pointer; font-size: 0.9rem; transition: all 0.2s ease; } .btn-upload-playlist:hover { background: rgba(40, 167, 69, 0.25); border-color: rgba(40, 167, 69, 0.5); } /* Responsive modal styles */ @media (max-width: 768px) { .playlist-modal-content { width: 95vw; max-height: 90vh; } .saved-playlist-item { flex-direction: column; align-items: stretch; gap: 12px; } .saved-playlist-actions { justify-content: space-between; } .save-actions { flex-direction: column; } } /* ===== PLAYLIST CREATION MODAL ===== */ .create-playlist-modal { max-width: 600px; } .create-playlist-form { display: flex; flex-direction: column; gap: 20px; } .create-playlist-form label { color: #ffffff; font-weight: 500; margin-bottom: 8px; } .create-playlist-form input { background: rgba(0, 0, 0, 0.3); border: 1px solid #404050; border-radius: 6px; color: #ffffff; padding: 12px; font-size: 1rem; transition: border-color 0.2s ease; } .create-playlist-form input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary-transparent); } .preselected-videos { background: rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 16px; } .preselected-videos h4 { margin: 0 0 12px 0; color: #28a745; font-size: 1rem; } .video-list { max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; } .playlist-creation-video-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: rgba(255, 255, 255, 0.05); border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.1); } .playlist-creation-video-item .video-name { flex: 1; color: #ffffff; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .btn-remove-from-creation { background: rgba(220, 53, 69, 0.15); border: 1px solid rgba(220, 53, 69, 0.3); color: #e0e0e0; border-radius: 50%; width: 24px; height: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; transition: all 0.2s ease; } .btn-remove-from-creation:hover { background: rgba(220, 53, 69, 0.25); border-color: rgba(220, 53, 69, 0.5); } .empty-playlist-note { background: rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 16px; text-align: center; color: #999; font-size: 0.9rem; line-height: 1.4; } .playlist-creation-actions { display: flex; gap: 12px; justify-content: center; } .btn-create-playlist, .btn-create-and-switch { padding: 12px 24px; border-radius: 6px; border: 1px solid; cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: all 0.2s ease; min-width: 140px; } .btn-create-playlist { background: var(--color-secondary-transparent); border-color: var(--color-secondary-border); color: #e0e0e0; } .btn-create-playlist:hover { background: var(--color-secondary-hover); border-color: var(--color-secondary); } .btn-create-and-switch { background: rgba(40, 167, 69, 0.15); border-color: rgba(40, 167, 69, 0.3); color: #e0e0e0; } .btn-create-and-switch:hover { background: rgba(40, 167, 69, 0.25); border-color: rgba(40, 167, 69, 0.5); } /* ===== EXIT CONFIRMATION MODAL ===== */ .confirmation-modal-content { background: linear-gradient(135deg, #2a2a3a, #1e1e2e); border-radius: 12px; max-width: 450px; width: 90vw; overflow: hidden; border: 1px solid #404050; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); animation: scaleIn 0.3s ease-out; } .confirmation-modal-header { padding: 20px 20px 0 20px; text-align: center; } .confirmation-modal-header h3 { margin: 0; color: var(--color-primary); font-size: 1.3rem; font-weight: 600; } .confirmation-modal-body { padding: 20px; text-align: center; } .confirmation-modal-body p { margin: 0 0 12px 0; color: #ffffff; font-size: 1rem; line-height: 1.4; } .confirmation-modal-body .warning-text { color: #ffc107; font-size: 0.9rem; font-weight: 500; background: rgba(255, 193, 7, 0.1); padding: 10px; border-radius: 6px; border: 1px solid rgba(255, 193, 7, 0.2); margin-bottom: 0; } .confirmation-modal-actions { display: flex; gap: 12px; padding: 0 20px 20px; justify-content: center; } .btn-confirm-exit, .btn-cancel-exit { padding: 12px 24px; border-radius: 6px; border: 1px solid; cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: all 0.2s ease; min-width: 120px; } .btn-confirm-exit { background: rgba(220, 53, 69, 0.15); border-color: rgba(220, 53, 69, 0.3); color: #e0e0e0; } .btn-confirm-exit:hover { background: rgba(220, 53, 69, 0.25); border-color: rgba(220, 53, 69, 0.5); color: #ffffff; } .btn-cancel-exit { background: var(--color-secondary-transparent); border-color: var(--color-secondary-border); color: #e0e0e0; } .btn-cancel-exit:hover { background: var(--color-secondary-hover); border-color: var(--color-secondary); color: #ffffff; } .btn-cancel-exit:focus { outline: 2px solid var(--color-secondary); outline-offset: 2px; } /* Modal animations */ @keyframes fadeIn { from { opacity: 0; background: rgba(0, 0, 0, 0); } to { opacity: 1; background: rgba(0, 0, 0, 0.8); } } @keyframes fadeOut { from { opacity: 1; background: rgba(0, 0, 0, 0.8); } to { opacity: 0; background: rgba(0, 0, 0, 0); } } @keyframes scaleIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } } /* Responsive confirmation modal */ @media (max-width: 768px) { .confirmation-modal-content { width: 95vw; max-width: none; } .confirmation-modal-actions { flex-direction: column; } .btn-confirm-exit, .btn-cancel-exit { width: 100%; } } /* Search panel */ .search-content { flex: 1; padding: 16px; display: flex; flex-direction: column; } .search-input-sidebar { width: 100%; padding: 10px; background: rgba(0, 0, 0, 0.3); border: 1px solid #404050; border-radius: 6px; color: #ffffff; font-size: 0.9rem; margin-bottom: 16px; } .search-input-sidebar::placeholder { color: #666; } .search-results { flex: 1; color: #a0a0a0; font-size: 0.9rem; } .video-player-section { background: #111; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); margin-bottom: 20px; } .video-container { position: relative; width: 100%; height: 60vh; min-height: 400px; background: #000; } .main-video { width: 100%; height: 100%; object-fit: contain; background: #000; } .video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; transition: opacity 0.3s ease; } .video-overlay.hidden { opacity: 0; } .video-title { font-size: 1.8rem; font-weight: bold; text-align: center; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); margin-bottom: 10px; padding: 0 20px; } .video-info { font-size: 1rem; color: #ccc; text-align: center; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); } .play-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: auto; } .play-button-large { width: 80px; height: 80px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); border: none; font-size: 2rem; color: #333; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5); } .play-button-large:hover { background: rgba(255, 255, 255, 1); transform: scale(1.1); } .video-loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; } /* ===== VIDEO CONTROLS ===== */ .video-controls { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8)); position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; transform: translateY(0); opacity: 1; transition: transform 0.3s ease, opacity 0.3s ease; } /* Auto-hide controls when playing and no interaction */ .video-container.auto-hide .video-controls { transform: translateY(100%); opacity: 0; } .video-container:hover .video-controls, .video-controls:hover, .video-controls.visible { transform: translateY(0); opacity: 1; } /* Hide controls after 3 seconds of no interaction */ .video-container.hide-controls .video-controls:not(:hover) { transform: translateY(100%); opacity: 0; transition-delay: 3s; } .progress-container { margin-bottom: 15px; width: 100% !important; min-width: 300px !important; display: block !important; } .progress-bar { position: relative; height: 12px !important; background: rgba(255, 255, 255, 0.3) !important; border-radius: 6px; cursor: pointer; margin-bottom: 8px; transition: height 0.2s ease; width: 100% !important; min-width: 280px !important; display: block !important; } .progress-bar:hover { height: 16px !important; } .progress-filled { height: 100% !important; background: var(--color-gradient) !important; border-radius: 6px; width: 0%; transition: width 0.1s ease; position: relative; display: block !important; } .progress-thumb { position: absolute; top: -4px; right: -7px; width: 14px; height: 14px; background: #fff; border-radius: 50%; opacity: 0; transition: opacity 0.2s ease; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); pointer-events: none; } .progress-bar:hover .progress-thumb { opacity: 1; } .time-display { display: flex; justify-content: space-between; font-size: 0.9rem; color: #ccc; } .controls-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; } .controls-left, .controls-center, .controls-right { display: flex; align-items: center; gap: 15px; } .control-btn { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; padding: 8px 12px; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; font-size: 1rem; } .control-btn:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.5); } .volume-control { display: flex; align-items: center; gap: 10px; } .volume-slider { width: 80px; height: 4px; background: rgba(255, 255, 255, 0.3); border-radius: 2px; outline: none; cursor: pointer; } .volume-slider::-webkit-slider-thumb { width: 14px; height: 14px; background: #fff; border-radius: 50%; cursor: pointer; -webkit-appearance: none; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); } .volume-percentage { color: #ccc; font-size: 0.9rem; min-width: 35px; } .quality-dropdown, .speed-dropdown { background: rgba(0, 0, 0, 0.7); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; padding: 5px 8px; border-radius: 4px; font-size: 0.9rem; } /* ===== PLAYLIST SECTION ===== */ .playlist-section { background: #1a1a1a; border-radius: 10px; padding: 20px; max-height: 300px; overflow-y: auto; } .playlist-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; border-bottom: 2px solid #333; padding-bottom: 10px; } .playlist-header h3 { margin: 0; color: var(--color-primary); } .playlist-controls { display: flex; gap: 10px; } .playlist-content { min-height: 100px; } .playlist-empty { text-align: center; color: #666; padding: 30px; } .playlist-item { display: flex; align-items: center; padding: 10px; background: rgba(255, 255, 255, 0.05); border-radius: 8px; margin-bottom: 8px; cursor: pointer; transition: all 0.3s ease; } .playlist-item:hover { background: rgba(255, 255, 255, 0.1); } .playlist-item.current { background: var(--color-primary-transparent); border: 1px solid var(--color-primary); } .playlist-thumbnail { width: 60px; height: 40px; background: #333; border-radius: 4px; margin-right: 15px; object-fit: cover; } .playlist-details { flex: 1; } .playlist-title { font-weight: bold; margin-bottom: 4px; } .playlist-duration { color: #999; font-size: 0.9rem; } .playlist-actions { display: flex; gap: 8px; } /* ===== VIDEO LIBRARY SECTION ===== */ .video-library-section { background: rgba(26, 26, 26, 0.6); border-radius: 8px; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.1); } .library-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 8px; } .library-header h3 { margin: 0; color: var(--color-primary); font-size: 0.95rem; font-weight: 600; } .library-controls { display: flex; align-items: center; gap: 8px; } .playlist-management { display: flex; gap: 6px; } .playlist-management .btn-mini.has-selection { background: rgba(40, 167, 69, 0.2); border-color: rgba(40, 167, 69, 0.4); color: #fff; } .playlist-management .btn-mini.active { background: rgba(255, 107, 157, 0.2); border-color: rgba(255, 107, 157, 0.4); color: #fff; } .view-toggle { display: flex; border: 1px solid #444; border-radius: 4px; overflow: hidden; } .view-btn { background: rgba(255, 255, 255, 0.1); border: none; color: #ccc; padding: 4px 8px; cursor: pointer; transition: all 0.3s ease; font-size: 0.8rem; } .view-btn.active, .view-btn:hover { background: var(--color-primary); color: #fff; } .sort-controls { display: flex; align-items: center; gap: 6px; } .sort-dropdown { background: rgba(0, 0, 0, 0.7); border: 1px solid #444; color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; } .search-controls { display: flex; align-items: center; gap: 6px; } .search-input { background: rgba(0, 0, 0, 0.7); border: 1px solid #444; color: #fff; padding: 4px 8px; border-radius: 4px; width: 140px; font-size: 0.8rem; } .search-input::placeholder { color: #666; } .btn-mini { padding: 4px 6px; font-size: 0.75rem; border-radius: 3px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #ccc; } .btn-mini:hover { background: rgba(255, 255, 255, 0.2); color: #fff; } .library-content { min-height: 120px !important; display: block !important; visibility: visible !important; opacity: 1 !important; overflow-y: auto !important; max-height: 400px !important; } .library-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; gap: 8px !important; visibility: visible !important; opacity: 1 !important; } .video-card { background: rgba(255, 255, 255, 0.05) !important; border-radius: 10px !important; overflow: hidden !important; cursor: pointer !important; transition: all 0.3s ease !important; border: 2px solid transparent !important; position: relative !important; display: block !important; visibility: visible !important; opacity: 1 !important; height: auto !important; min-height: unset !important; } .video-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); } .video-card.selected { border-color: var(--color-primary); background: var(--color-primary-transparent); } .video-card.multi-selected { border-color: #28a745; background: rgba(40, 167, 69, 0.15); } .video-selection-checkbox { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; background: rgba(0, 0, 0, 0.7); border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: transparent; font-size: 14px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; z-index: 10; } .video-selection-checkbox.checked { background: #28a745; border-color: #28a745; color: white; } .video-selection-checkbox:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(0, 0, 0, 0.8); } .video-thumbnail { width: 100%; height: 80px; background: #333; display: flex; align-items: center; justify-content: center; color: #666; font-size: 2rem; position: relative; overflow: hidden; } .video-thumbnail img, .video-thumbnail video { width: 100%; height: 100%; object-fit: cover; } /* Portrait video thumbnails - use contain to show full image */ .video-thumbnail img[style*="object-fit: contain"] { background: #222; } .video-duration { position: absolute; bottom: 5px; right: 5px; background: rgba(0, 0, 0, 0.8); color: #fff; padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; } .video-details { padding: 4px 8px; } .video-name { font-weight: bold; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.9rem; } .video-meta { color: #999; font-size: 0.75rem; display: flex; justify-content: space-between; } .video-actions { padding: 0 8px 4px; display: flex; justify-content: space-between; opacity: 0; transition: opacity 0.3s ease; } .video-card:hover .video-actions { opacity: 1; } /* ===== LIBRARY LIST VIEW ===== */ .library-list { display: flex; flex-direction: column; gap: 8px; } .video-list-item { display: flex; align-items: center; padding: 12px; background: rgba(255, 255, 255, 0.05); border-radius: 8px; cursor: pointer; transition: all 0.3s ease; border: 1px solid transparent; position: relative; } .video-list-item:hover { background: rgba(255, 255, 255, 0.1); } .video-list-item.selected { border-color: var(--color-primary); background: var(--color-primary-transparent); } .video-list-item.multi-selected { border-color: #28a745; background: rgba(40, 167, 69, 0.15); } .video-list-item .video-selection-checkbox { position: relative; top: auto; left: auto; margin-right: 12px; } .list-thumbnail { width: 80px; height: 50px; background: #333; border-radius: 6px; margin-right: 15px; object-fit: cover; } .list-details { flex: 1; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 15px; align-items: center; } .list-name { font-weight: bold; } .list-meta { color: #999; font-size: 0.9rem; } /* ===== THEATER MODE ===== */ .theater-mode .cinema-header { opacity: 0.3; transition: opacity 0.3s ease; } .theater-mode .cinema-header:hover { opacity: 1; } .theater-mode .playlist-section, .theater-mode .video-library-section { opacity: 0.5; transition: opacity 0.3s ease; } .theater-mode .playlist-section:hover, .theater-mode .video-library-section:hover { opacity: 1; } /* ===== THEATER MODE ACTIVE ===== */ body.theater-mode-active { overflow: hidden; } body.theater-mode-active .cinema-header { position: fixed; top: 0; left: 0; right: 0; z-index: 2000; background: rgba(42, 42, 58, 0.95); backdrop-filter: blur(10px); opacity: 0; transform: translateY(-100%); transition: all 0.3s ease; } body.theater-mode-active .cinema-header:hover, body.theater-mode-active .cinema-header.show-on-hover { opacity: 1; transform: translateY(0); } body.theater-mode-active .cinema-main { display: block; padding: 0; margin: 0; width: 100vw; height: 100vh; overflow: hidden; } body.theater-mode-active .main-content-area { padding: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; } body.theater-mode-active .video-player-section { width: 100vw; height: 100vh; margin: 0; border-radius: 0; box-shadow: none; background: #000; } body.theater-mode-active .video-container { width: 100vw; height: 100vh; min-height: 100vh; border-radius: 0; } body.theater-mode-active .main-video { width: 100vw; height: 100vh; object-fit: contain; } /* Auto-hide header in theater mode */ body.theater-mode-active .cinema-header.auto-hide { opacity: 0; transform: translateY(-100%); transition-delay: 3s; } /* Show header on mouse movement near top */ body.theater-mode-active .header-hover-zone { position: fixed; top: 0; left: 0; right: 0; height: 80px; z-index: 1999; pointer-events: none; } /* Theater mode controls styling */ body.theater-mode-active .video-controls { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9)); backdrop-filter: blur(5px); } /* Theater mode escape hint */ .theater-escape-hint { position: fixed; top: 20px; right: 20px; background: rgba(0, 0, 0, 0.9); color: #fff; padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; z-index: 2001; opacity: 0; transform: translateY(-20px); transition: all 0.3s ease; backdrop-filter: blur(10px); border: 1px solid var(--color-primary-border); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); } .theater-escape-hint kbd { background: var(--color-primary-transparent); border: 1px solid var(--color-primary-border); border-radius: 4px; padding: 2px 6px; font-size: 0.8rem; margin: 0 2px; color: var(--color-primary); font-weight: bold; } body.theater-mode-active .theater-escape-hint { opacity: 1; transform: translateY(0); } body.theater-mode-active .theater-escape-hint.fade-out { opacity: 0; transform: translateY(-20px); transition-delay: 3s; } /* ===== FULLSCREEN STYLES ===== */ .video-container:-webkit-full-screen { width: 100vw; height: 100vh; } .video-container:-moz-full-screen { width: 100vw; height: 100vh; } .video-container:fullscreen { width: 100vw; height: 100vh; } /* ===== RESPONSIVE DESIGN ===== */ @media (max-width: 1024px) { .cinema-main { padding: 15px; gap: 15px; } .video-container { height: 50vh; min-height: 300px; } .library-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; } .shortcuts-help { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 90vw; } } @media (max-width: 768px) { .cinema-nav { flex-direction: column; gap: 10px; text-align: center; } .controls-row { flex-direction: column; gap: 15px; } .library-header { flex-direction: column; align-items: stretch; } .search-input { width: 100%; } .list-details { grid-template-columns: 1fr; gap: 5px; } .shortcuts-grid { grid-template-columns: 1fr; } } /* ===== UTILITY CLASSES ===== */ .hidden { display: none !important; } .loading-spinner { width: 40px; height: 40px; border: 4px solid rgba(255, 255, 255, 0.1); border-left: 4px solid var(--color-primary); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* ===== SCROLLBAR STYLING ===== */ .playlist-section::-webkit-scrollbar, .library-content::-webkit-scrollbar { width: 8px; } .playlist-section::-webkit-scrollbar-track, .library-content::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); border-radius: 4px; } .playlist-section::-webkit-scrollbar-thumb, .library-content::-webkit-scrollbar-thumb { background: var(--color-primary-hover); border-radius: 4px; } .playlist-section::-webkit-scrollbar-thumb:hover, .library-content::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }