body {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(30,60,114,0.2);
    padding: 40px 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    animation: fadeIn 1s ease;
}
.animated-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 24px;
    letter-spacing: 2px;
    animation: bounceIn 1.2s;
}
.animated-title span {
    animation: spin 2s linear infinite;
    display: inline-block;
}
form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
input, button {
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
}
input {
    background: #f0f4fa;
    transition: box-shadow 0.2s;
}
input:focus {
    box-shadow: 0 0 0 2px #2a5298;
    outline: none;
}
.animated-btn {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(30,60,114,0.15);
    animation: pulse 1.5s infinite;
}
.animated-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(30,60,114,0.25);
}
#status {
    margin-top: 24px;
    font-size: 1.1rem;
    color: #2a5298;
    min-height: 32px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounceIn {
    0% { transform: scale(0.7); }
    60% { transform: scale(1.1); }
    80% { transform: scale(0.95); }
    100% { transform: scale(1); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(30,60,114,0.2); }
    70% { box-shadow: 0 0 0 10px rgba(30,60,114,0.05); }
    100% { box-shadow: 0 0 0 0 rgba(30,60,114,0.2); }
}
.video-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    animation: slideIn 0.5s ease;
}
.video-preview img {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.video-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}
.video-info p {
    margin: 4px 0;
    font-size: 0.9rem;
    color: #666;
}
.input-group {
    position: relative;
}
.input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    pointer-events: none;
}
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.step {
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s;
}
.step.active {
    background: #43cea2;
    color: #fff;
    transform: scale(1.05);
}
#progress-container {
    margin-top: 24px;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes morph {
    0%, 100% { border-radius: 20px; }
    25% { border-radius: 30px 20px 20px 30px; }
    50% { border-radius: 20px 30px 30px 20px; }
    75% { border-radius: 30px 20px 30px 20px; }
}
.glass {
    animation: morph 8s infinite ease-in-out;
}
.animated-btn {
    position: relative;
    overflow: hidden;
}
.animated-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.animated-btn:hover::before {
    left: 100%;
}
.dark .video-preview {
    background: rgba(40,44,54,0.3);
}
.dark .video-info p {
    color: #ccc;
}
