body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.main-card {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 20px;
    padding: 3rem;
}

.tabs-container {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 2rem;
}

.tab {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    background: none;
    border: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.tab.active {
    background: rgba(60, 60, 60, 0.6);
    color: #e5e7eb;
}

.upload-area {
    border: 2px dashed #374151;
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.upload-area:hover {
    border-color: #4b5563;
    background: rgba(60, 60, 60, 0.1);
}

.upload-area.drag-over {
    border-color: #6b7280;
    background: rgba(60, 60, 60, 0.2);
}

.file-info {
    background: rgba(40, 40, 40, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.password-input {
    width: 100%;
    padding: 16px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #374151;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}

.password-input:focus {
    outline: none;
    border-color: #6b7280;
    background: rgba(30, 30, 30, 0.9);
}

.password-input::placeholder {
    color: #6b7280;
}

.progress-container {
    margin-bottom: 1.5rem;
}

.progress-bar {
    background: #374151;
    border-radius: 8px;
    height: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #4b5563, #6b7280);
    height: 100%;
    border-radius: 8px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}

.button-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.process-btn {
    flex: 1;
    background: linear-gradient(135deg, #374151, #4b5563);
    color: white;
    font-weight: 600;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.process-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.process-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.clear-btn {
    background: rgba(40, 40, 40, 0.8);
    color: #e5e7eb;
    padding: 14px 24px;
    border: 1px solid #374151;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-btn:hover {
    background: rgba(50, 50, 50, 0.9);
}

.result-container {
    background: rgba(40, 40, 40, 0.6);
    border-radius: 16px;
    padding: 2rem;
}

.video-player {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.download-btn {
    background: rgba(40, 40, 40, 0.8);
    color: #e5e7eb;
    padding: 12px 24px;
    border: 1px solid #374151;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.download-btn:hover {
    background: rgba(50, 50, 50, 0.9);
}

.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.notification.success {
    background: rgba(34, 197, 94, 0.9);
}

.notification.error {
    background: rgba(239, 68, 68, 0.9);
}

@media (max-width: 768px) {
    .main-card {
        padding: 2rem 1.5rem;
    }
    
    .upload-area {
        padding: 3rem 1rem;
    }
    
    .button-container {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2rem !important;
    }
}