body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #f5f5f5;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #64f5e0;
}

main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.upload-section, .controls-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#upload-btn, #process-btn, #download-btn {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#upload-btn:hover, #process-btn:hover, #download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.3);
}

.control-group {
    margin-bottom: 1.5rem;
}

.control-group h3 {
    margin-top: 0;
    color: #64f5e0;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    cursor: pointer;
}

input[type="checkbox"] {
    margin-right: 0.5rem;
}

.preview-container {
    margin-top: 1.5rem;
}

video {
    width: 100%;
    max-height: 500px;
    border-radius: 8px;
    background: #000;
}

.hidden {
    display: none !important;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    transition: width 0.3s ease;
}

.result-actions {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}