* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1f1c2c 0%, #928DAB 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="text"], textarea {
    padding: 15px 20px;
    border-radius: 10px;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: box-shadow 0.3s ease;
    resize: vertical;
}

input[type="text"]:focus, textarea:focus {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

button {
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, #ff6b6b, #f06595);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 101, 149, 0.4);
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.status-section {
    margin-top: 30px;
}

.progress-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    height: 20px;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    width: 0%;
    transition: width 0.3s ease;
}

.result-section {
    margin-top: 30px;
}

.video-container {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

video {
    width: 100%;
    height: auto;
    display: block;
}

.download-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #4facfe;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #00f2fe;
}
