/* Dark Mode Styling */
body {
    background-color: #181818;
    color: #e0e0e0;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 400px;
}

h1 {
    font-size: 1.8em;
    color: #ffffff;
    margin-bottom: 20px;
}

.video-container {
    background-color: #333;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.btn {
    background-color: #6200ee;
    color: white;
    font-size: 1.2em;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 15px;
    display: block;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-shadow: 0 4px 12px rgba(98, 0, 238, 0.4);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #3700b3;
}

.download-btn {
    background-color: #03dac6;
}

.download-btn:hover {
    background-color: #018786;
}

#output {
    margin-top: 20px;
    font-size: 1.1em;
    color: #03dac6;
}

#waitingText {
    color: #03dac6;
    font-size: 1.2em;
    font-weight: bold;
    animation: blink 1s linear infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Responsive styling for mobile */
@media (max-width: 600px) {
    h1 {
        font-size: 1.5em;
    }

    .btn {
        font-size: 1em;
        padding: 10px 15px;
    }

    #output {
        font-size: 1em;
    }
}
