/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #833AB4, #FD1D1D);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

/* Header Styles */
.navbar {
    width: 100%;
    padding: 20px 0;
    background: linear-gradient(90deg, #833AB4, #FD1D1D);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.navbar nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: #FCB045;
}

/* Main Content */
.main-container {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 150px);
}

/* Downloader Box */
.downloader-box {
    background: linear-gradient(135deg, #FD1D1D, #833AB4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 40px 30px;
    margin-top: 60px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    color: #fff;
    transition: transform 0.3s;
}

.downloader-box:hover {
    transform: translateY(-5px);
}

.downloader-box h1 {
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.downloader-box p {
    margin-bottom: 30px;
    font-size: 1.2em;
}

.input-url {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1em;
    color: #333;
    outline: none;
    text-align: center;
}

.download-btn {
    padding: 15px 30px;
    background: linear-gradient(90deg, #FF6B6B, #FFB88C);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.2em;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(255, 107, 107, 0.5);
    transition: transform 0.3s;
}

.download-btn:hover {
    transform: scale(1.05);
}

/* Download Page Styles */
.download-container {
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.download-container img {
    max-width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    margin-bottom: 25px;
    transition: transform 0.3s;
}

.download-container img:hover {
    transform: scale(1.05);
}

.download-title {
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.download-button {
    padding: 18px 35px;
    background: linear-gradient(90deg, #FF6B6B, #FFB88C);
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    font-size: 1.3em;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-button:hover {
    transform: scale(1.05);
    box-shadow: 0 7px 20px rgba(255, 107, 107, 0.8);
}

/* Footer Styles */
.footer {
    padding: 15px 0;
    text-align: center;
    background: linear-gradient(90deg, #833AB4, #FD1D1D);
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar nav ul {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .downloader-box {
        max-width: 90%;
        padding: 30px 20px;
    }

    .downloader-box h1 {
        font-size: 1.5em;
    }

    .download-btn {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}
