:root { --bg-color: #0a0a0c; --panel-bg: rgba(255, 255, 255, 0.03); --border-color: rgba(255, 255, 255, 0.1); --accent-gradient: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%); --text-main: #ffffff; --text-dim: #a0a0a0; --timeline-track: #1a1a1f; --clip-bg: rgba(58, 123, 213, 0.3); --clip-border: #3a7bd5; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, -apple-system, sans-serif; } body { background-color: var(--bg-color); color: var(--text-main); height: 100vh; overflow: hidden; display: flex; flex-direction: column; } /* Header */ header { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; backdrop-filter: blur(10px); } .logo { font-size: 1.5rem; font-weight: 800; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } /* Main Layout */ main { flex: 1; display: grid; grid-template-columns: 300px 1fr; overflow: hidden; } /* Sidebar (Tools & Upload) */ .sidebar { border-right: 1px solid var(--border-color); padding: 1.5rem; display: flex; flex-direction: column; gap: 2rem; } .upload-zone { border: 2px dashed var(--border-color); border-radius: 1rem; padding: 2rem; text-align: center; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; } .upload-zone:hover { border-color: #3a7bd5; background: rgba(58, 123, 213, 0.05); } /* Preview Area */ .preview-container { padding: 2rem; display: flex; justify-content: center; align-items: center; background: radial-gradient(circle at center, #16161a 0%, #0a0a0c 100%); } .video-preview { width: 100%; max-width: 800px; aspect-ratio: 16/9; background: #000; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); overflow: hidden; position: relative; } /* Timeline Section */ .timeline-section { height: 250px; border-top: 1px solid var(--border-color); padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 1rem; backdrop-filter: blur(20px); } .timeline-header { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--text-dim); } .timeline-track { flex: 1; background: var(--timeline-track); border-radius: 0.5rem; position: relative; overflow-x: auto; overflow-y: hidden; display: flex; align-items: center; padding: 0 1rem; } .timeline-clip { height: 60px; background: var(--clip-bg); border: 1px solid var(--clip-border); border-radius: 0.5rem; position: absolute; cursor: grab; display: flex; align-items: center; padding: 0 1rem; font-size: 0.75rem; font-weight: 600; transition: transform 0.2s; } .timeline-clip:active { cursor: grabbing; transform: scale(1.02); } /* Playhead */ .playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #ff4757; z-index: 10; } /* Buttons */ .btn-primary { background: var(--accent-gradient); color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 700; cursor: pointer; transition: opacity 0.2s; white-space: nowrap; } .btn-primary:hover { opacity: 0.9; } /* Base Responsive */ @media (max-width: 768px) { main { grid-template-columns: 1fr; overflow-y: auto; } .sidebar { border-right: none; border-bottom: 1px solid var(--border-color); padding: 1rem; } .preview-container { padding: 1rem; } .timeline-section { height: auto; min-height: 200px; padding: 1rem; } header { padding: 1rem; } .header-actions { display: block; /* Show export button on mobile */ } .logo { font-size: 1.2rem; } }