/* ===== GLOBAL ===== */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #020617;
    color: #fff;
}

/* PAGE WRAPPER */
.dl-page {
    width: 100%;
    overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
.dl-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at top, #1e293b, #020617);
}

/* TITLE */
.dl-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg,#6366f1,#a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* SUBTEXT */
.dl-hero p {
    color: #cbd5f5;
    font-size: 1.1rem;
}

/* ===== INPUT BOX ===== */
.dl-box {
    margin-top: 30px;
    display: flex;
    width: 100%;
    max-width: 650px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

/* INPUT FIELD */
.dl-box input {
    flex: 1;
    padding: 16px;
    border: none;
    outline: none;
    background: transparent;
    color: white;
    font-size: 15px;
}

/* BUTTON */
.dl-box button {
    background: linear-gradient(135deg,#6366f1,#a855f7);
    border: none;
    padding: 16px 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.dl-box button:hover {
    opacity: 0.9;
}

/* ===== RESULT AREA ===== */
#result {
    margin-top: 25px;
    text-align: center;
}

/* DOWNLOAD BUTTON */
.dl-btn {
    display: inline-block;
    margin: 10px;
    padding: 14px 22px;
    background: linear-gradient(135deg,#10b981,#059669);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.dl-btn:hover {
    transform: scale(1.05);
}

/* ===== LOADER ===== */
.loader {
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #6366f1;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* ===== CONTENT SECTION (SEO) ===== */
.dl-content {
    background: #020617;
    padding: 80px 20px;
    max-width: 900px;
    margin: auto;
    text-align: left;
}

/* HEADINGS */
.dl-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 40px;
    color: #fff;
}

/* TEXT */
.dl-content p {
    color: #cbd5f5;
    line-height: 1.7;
}

/* LIST */
.dl-content ul {
    padding-left: 20px;
}

.dl-content li {
    margin-bottom: 10px;
    color: #cbd5f5;
}

/* ===== THEMES ===== */

/* INSTAGRAM */
.ig-theme .dl-hero h1 {
    background: linear-gradient(90deg,#f97316,#ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TIKTOK */
.tt-theme .dl-hero h1 {
    background: linear-gradient(90deg,#06b6d4,#f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

    .dl-hero h1 {
        font-size: 2rem;
    }

    .dl-box {
        flex-direction: column;
        border-radius: 12px;
    }

    .dl-box input {
        width: 100%;
        padding: 14px;
    }

    .dl-box button {
        width: 100%;
        padding: 14px;
    }

    .dl-btn {
        width: 90%;
        text-align: center;
    }

    .dl-content {
        padding: 50px 20px;
    }
}