body {
    background-color: #0d0d0d;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 15px #ff00ff, 0 0 25px #00ffff;
    max-width: 500px;
    width: 90%;
}

header h1 {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
    font-size: 1.1em;
}

.input-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

#video-url {
    width: 70%;
    padding: 10px 15px;
    border: 2px solid #00ffff;
    background: transparent;
    color: #fff;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 1em;
    transition: box-shadow 0.3s ease;
}

#video-url:focus {
    box-shadow: 0 0 15px #00ffff;
}

#download-btn {
    padding: 10px 20px;
    border: 2px solid #ff00ff;
    background: transparent;
    color: #ff00ff;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    font-size: 1em;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

#download-btn:hover {
    background: #ff00ff;
    color: #1a1a1a;
    box-shadow: 0 0 15px #ff00ff;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00ffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.result a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #00ffff;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 0 10px #00ffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ffff;
}

footer {
    margin-top: 40px;
    color: #555;
    font-size: 0.9em;
}
