/* Video Optimizer Styling - Black + #FFC407 Theme */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary-yellow: #FFC407; --primary-black: #000000; --secondary-black: #1a1a1a; --border-color: #333333; --text-primary: #ffffff; --text-secondary: #cccccc; --text-muted: #888888; --hover-yellow: #FFD54F; } body { font-family: 'Montserrat', sans-serif; background-color: var(--primary-black); color: var(--text-primary); line-height: 1.6; min-height: 100vh; } .container { max-width: 1400px; margin: 0 auto; padding: 2rem; } /* Header */ .header { text-align: center; margin-bottom: 3rem; padding: 2rem 0; border-bottom: 2px solid var(--primary-yellow); } .header h1 { font-size: 2.5rem; font-weight: 700; color: var(--primary-yellow); margin-bottom: 0.5rem; } .subtitle { font-size: 1rem; color: var(--text-secondary); font-weight: 400; } /* Upload Section */ .upload-section { margin-bottom: 3rem; } .upload-area { border: 3px dashed var(--primary-yellow); border-radius: 12px; padding: 4rem 2rem; text-align: center; cursor: pointer; transition: all 0.3s ease; background-color: var(--secondary-black); } .upload-area:hover { border-color: var(--hover-yellow); background-color: #222222; transform: translateY(-2px); } .upload-area.dragover { border-color: var(--hover-yellow); background-color: #2a2a2a; border-style: solid; } .upload-icon { font-size: 4rem; margin-bottom: 1rem; } .upload-area h2 { font-size: 1.5rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; } .upload-area p { color: var(--text-secondary); margin-bottom: 0.5rem; } .file-hint { font-size: 0.875rem; color: var(--text-muted); margin-top: 1rem; } /* Configuration Section */ .config-section { background-color: var(--secondary-black); border-radius: 12px; padding: 2rem; margin-bottom: 3rem; } .config-section h2 { font-size: 1.75rem; font-weight: 600; color: var(--primary-yellow); margin-bottom: 1.5rem; } .video-info { background-color: var(--primary-black); border: 1px solid var(--border-color); border-radius: 8px; padding: 1.5rem; margin-bottom: 2rem; } .video-info h3 { font-size: 1.25rem; color: var(--primary-yellow); margin-bottom: 1rem; } .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; } .info-item { display: flex; flex-direction: column; } .info-label { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.25rem; } .info-value { font-size: 1rem; color: var(--text-primary); font-weight: 500; } .config-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .config-item { display: flex; flex-direction: column; } .config-item label { font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; } .select-input, .text-input { padding: 0.75rem; background-color: var(--primary-black); border: 2px solid var(--border-color); border-radius: 6px; color: var(--text-primary); font-family: 'Montserrat', sans-serif; font-size: 1rem; transition: border-color 0.3s ease; } .select-input:focus, .text-input:focus { outline: none; border-color: var(--primary-yellow); } .select-input option { background-color: var(--primary-black); color: var(--text-primary); } .hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; } .format-info { background-color: var(--primary-black); border-left: 4px solid var(--primary-yellow); border-radius: 6px; padding: 1rem; margin-bottom: 2rem; } .format-info h4 { color: var(--primary-yellow); margin-bottom: 0.5rem; font-size: 1rem; } .format-info p { color: var(--text-secondary); font-size: 0.875rem; margin: 0.25rem 0; } .warning-message { background-color: rgba(255, 196, 7, 0.1); border: 2px solid var(--primary-yellow); border-radius: 6px; padding: 1rem; margin-bottom: 2rem; color: var(--primary-yellow); font-size: 0.9rem; line-height: 1.5; } .warning-message strong { color: var(--primary-yellow); font-weight: 700; } .warning-message.warning-red { background-color: rgba(255, 0, 0, 0.1); border: 2px solid #ff0000; color: #ff6666; } .warning-message.warning-red strong { color: #ff0000; } /* Buttons */ .btn-primary, .btn-secondary { padding: 1rem 2rem; border: none; border-radius: 6px; font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; width: 100%; } .btn-primary { background-color: var(--primary-yellow); color: var(--primary-black); } .btn-primary:hover:not(:disabled) { background-color: var(--hover-yellow); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 196, 7, 0.4); } .btn-primary:disabled { background-color: #555555; color: #888888; cursor: not-allowed; } .btn-secondary { background-color: transparent; color: var(--primary-yellow); border: 2px solid var(--primary-yellow); } .btn-secondary:hover { background-color: var(--primary-yellow); color: var(--primary-black); } /* Progress Bar */ .progress-bar { width: 100%; height: 50px; background-color: var(--primary-black); border: 2px solid var(--border-color); border-radius: 25px; overflow: hidden; margin-top: 1rem; position: relative; } .progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary-yellow), var(--hover-yellow)); width: 0%; transition: width 0.3s ease; } .progress-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-weight: 600; color: var(--text-primary); z-index: 1; } /* Comparison Section */ .comparison-section { background-color: var(--secondary-black); border-radius: 12px; padding: 2rem; margin-bottom: 3rem; } .comparison-section h2 { font-size: 1.75rem; font-weight: 600; color: var(--primary-yellow); margin-bottom: 1.5rem; } .stats-bar { display: flex; justify-content: space-around; background-color: var(--primary-black); border-radius: 8px; padding: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; } .stat-item { display: flex; flex-direction: column; align-items: center; } .stat-label { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 0.5rem; } .stat-value { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); } .stat-item.reduction .stat-value { color: var(--primary-yellow); } .video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .video-player-container { background-color: var(--primary-black); border-radius: 8px; padding: 1rem; border: 1px solid var(--border-color); } .video-player-container h3 { color: var(--primary-yellow); margin-bottom: 1rem; font-size: 1.25rem; } .video-player { width: 100%; max-width: 100%; height: auto; border-radius: 6px; margin-bottom: 0.75rem; background-color: #000000; } .video-player.aspect-changed { border: 4px solid #ff0000; box-shadow: 0 0 20px rgba(255, 0, 0, 0.5); } .video-specs { background-color: var(--primary-black); border: 1px solid var(--border-color); border-radius: 6px; padding: 0.75rem; margin-bottom: 1rem; font-size: 0.8125rem; } .video-specs .spec-row { display: flex; justify-content: space-between; padding: 0.25rem 0; border-bottom: 1px solid var(--border-color); } .video-specs .spec-row:last-child { border-bottom: none; } .video-specs .spec-label { color: var(--text-muted); font-weight: 500; } .video-specs .spec-value { color: var(--primary-yellow); font-weight: 600; } .video-controls { display: flex; gap: 0.5rem; flex-direction: column; } .btn-mute { padding: 0.75rem 1.5rem; background-color: var(--secondary-black); color: var(--primary-yellow); border: 2px solid var(--primary-yellow); border-radius: 6px; font-family: 'Montserrat', sans-serif; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; width: 100%; } .btn-mute:hover { background-color: var(--primary-yellow); color: var(--primary-black); } .btn-mute.muted { background-color: var(--primary-yellow); color: var(--primary-black); border-color: var(--primary-yellow); } .playback-controls { display: flex; gap: 1rem; margin-bottom: 2rem; } .playback-controls .btn-secondary { width: auto; flex: 1; } /* Footer */ .footer { text-align: center; padding: 2rem 0; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.875rem; } .footer p { margin: 0.25rem 0; } /* Responsive Design */ @media (max-width: 768px) { .container { padding: 1rem; } .header h1 { font-size: 2rem; } .upload-area { padding: 2rem 1rem; } .config-grid { grid-template-columns: 1fr; } .video-grid { grid-template-columns: 1fr; } .stats-bar { flex-direction: column; } .playback-controls { flex-direction: column; } } /* Loading Animation */ @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .loading { animation: pulse 1.5s ease-in-out infinite; }