body { background-color: #000; color: #0f0; font-family: 'Roboto', Arial, sans-serif; margin: 0; padding: 0; display: flex; flex-direction: column; height: 100vh; } header { background-color: #121212; width: 100%; padding: 1rem 2rem; display: flex; align-items: center; color: #0f0; font-weight: 700; font-size: 1.5rem; box-shadow: 0 2px 5px #0f0a; } main { flex: 1; display: flex; flex-direction: row; padding: 1rem 2rem; gap: 1rem; max-width: 1200px; margin: 0 auto; } .video-section { flex: 3; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; } .video-title { color: #0f0; font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; width: 80vw; max-width: 900px; text-align: left; box-sizing: border-box; } .video-container { width: 80vw; max-width: 900px; aspect-ratio: 16/9; margin: 0 auto 1rem auto; display: flex; align-items: center; justify-content: center; background: #111; border-radius: 10px; box-shadow: 0 0 20px #0f0a; position: relative; min-height: 320px; overflow: hidden; } video { width: 100%; height: 100%; object-fit: contain; background-color: #111; border-radius: 8px; outline: none; box-shadow: none; display: block; z-index: 1; } .custom-controls { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; background: rgba(0, 34, 0, 0.95); backdrop-filter: blur(5px); border-radius: 0 0 10px 10px; padding: 0.75rem; width: 100%; position: absolute; left: 0; bottom: 0; opacity: 1; transition: opacity 0.3s ease; z-index: 2; } .controls-wrapper { display: flex; align-items: center; gap: 0.5rem; } .video-container:hover .custom-controls { opacity: 1; } .custom-controls button { background: transparent; color: #0f0; border: 1px solid #0f0; border-radius: 4px; padding: 0.3rem 0.8rem; font-size: 0.9rem; cursor: pointer; transition: all 0.2s ease; text-transform: capitalize; display: flex; align-items: center; gap: 0.3rem; min-width: 2.5rem; justify-content: center; } #skipForward, #skipBackward { font-size: 0.8rem; } .progress-bar { flex: 1; height: 4px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; position: relative; cursor: pointer; transition: height 0.2s ease; } .progress-bar:hover { height: 8px; } .progress { position: absolute; left: 0; top: 0; height: 100%; background: #0f0; border-radius: 2px; transition: width 0.1s ease; } .options-menu { position: absolute; bottom: auto; top: 100%; right: 0; background: rgba(0, 34, 0, 0.95); backdrop-filter: blur(5px); border: 1px solid #0f0; border-radius: 4px; padding: 0.5rem; display: none; min-width: 150px; z-index: 10; } .quality-menu { position: absolute; top: 100%; right: 0; background: rgba(0, 34, 0, 0.95); backdrop-filter: blur(5px); border: 1px solid #0f0; border-radius: 4px; padding: 0.5rem; display: none; min-width: 100px; z-index: 10; } .options-menu.show, .quality-menu.show { display: block; } .menu-item { color: #0f0; padding: 0.3rem 0.8rem; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: space-between; } .menu-item:hover { background: #040; } .menu-item.active { background: #040; } .volume-control { display: flex; align-items: center; gap: 0.5rem; position: relative; } .volume-bar { width: 0; opacity: 0; transition: all 0.3s ease; -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, #0f0 100%, #222 100%); border-radius: 2px; height: 4px; } .volume-bar::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; background: #0f0; border-radius: 50%; cursor: pointer; } .volume-bar::-moz-range-thumb { width: 12px; height: 12px; background: #0f0; border-radius: 50%; cursor: pointer; border: none; } .volume-control:hover .volume-bar { width: 80px; opacity: 1; } .audio-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 5rem; opacity: 0.7; text-shadow: 0 0 10px #000; pointer-events: none; z-index: 1; } .video-preview.audio-mode { background: linear-gradient(45deg, #111 25%, #1a1a1a 25%, #1a1a1a 50%, #111 50%, #111 75%, #1a1a1a 75%, #1a1a1a); background-size: 20px 20px; animation: moveBackground 30s linear infinite; } @keyframes moveBackground { from { background-position: 0 0; } to { background-position: 40px 40px; } } .sidebar { flex: 1; background-color: #121212; border-radius: 8px; padding: 1rem; color: #0f0; box-shadow: 0 0 10px #0f0a; font-size: 0.9rem; } .sidebar h3 { margin-top: 0; margin-bottom: 1rem; } .sidebar p { margin: 0.25rem 0; } footer { background-color: #121212; width: 100%; padding: 0.5rem 2rem; text-align: center; font-size: 0.9rem; color: #0f0; box-shadow: 0 -2px 5px #0f0a; } input[type="file"] { background-color: #000; border: 1px solid #0f0; color: #0f0; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; font-size: 0.9rem; transition: background-color 0.2s ease, border-color 0.2s ease; } input[type="file"]::-webkit-file-upload-button { background-color: #020; border: none; color: #0f0; padding: 0.5rem 1rem; cursor: pointer; font-weight: 700; border-radius: 3px; margin-right: 10px; transition: background-color 0.2s ease; } input[type="file"]:hover { background-color: #040; border-color: #0f0; } input[type="file"]::-webkit-file-upload-button:hover { background-color: #060; } .audio-visualizer { width: 100%; height: 120px; background: #000; border-radius: 8px; margin-top: 1rem; display: none; } /* Playlist Styles */ .playlist-section { margin-top: 1rem; } .playlist-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; height: 1.5rem; } .playlist-list { list-style: none; padding: 0; margin: 0; max-height: 300px; overflow-y: auto; } .playlist-item { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem; margin: 0.25rem 0; background: #001100; border-radius: 4px; cursor: pointer; transition: background 0.2s; } .playlist-item:hover { background: #002200; } .playlist-item.active { background: #004400; border-left: 3px solid #0f0; } .playlist-item-actions { display: flex; gap: 0.5rem; } .playlist-item button, #addFiles { background: transparent; color: #0f0; border: 1px solid #0f0; border-radius: 4px; padding: 0.3rem 0.8rem; font-size: 0.9rem; cursor: pointer; transition: all 0.2s ease; text-transform: capitalize; display: flex; align-items: center; gap: 0.3rem; min-width: 2.5rem; justify-content: center; } .playlist-item button:hover, #addFiles:hover { background-color: #040; } .drag-handle { cursor: move; margin-right: 0.5rem; } .dragging { opacity: 0.5; }
Top Video Player
No video loaded
0:00 / 0:00