:root {
    --primary-gradient: linear-gradient(135deg, #6B73FF 0%, #000DFF 100%);
    --secondary-gradient: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
    --bg-gradient: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --how-to-download-gradient: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    --download-problems-gradient: linear-gradient(135deg, #FF9500 0%, #FF6B00 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text-primary);
}

/* Header */
header {
    background: rgba(15, 23, 42, 0.98);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo h1 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
}

/* Container */
.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.folder-name {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

/* Sections */
.section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.section h3 {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* Ad Space */
.ad-space {
    display: none;
}

.ad-space:not(:empty) {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    min-height: 100px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Captcha */
.captcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.verify-btn {
    background: var(--secondary-gradient);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.verify-btn:hover {
    transform: translateY(-2px);
}

/* Timer */
.timer {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
}

#countdown {
    background: var(--primary-gradient);
    padding: 10px 20px;
    border-radius: 8px;
    margin-right: 10px;
}

/* Download Button */
.download-container {
    margin-top: 20px;
}

.download-btn {
    background: linear-gradient(135deg, #4285F4 0%, #0F9D58 100%);
    /* Google Drive colors */
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
    background: linear-gradient(135deg, #5C9CE6 0%, #14B160 100%);
}

.download-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.3);
}

.download-btn i {
    font-size: 20px;
}

/* Download Title */
.download-title {
    text-align: left;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #4285F4 0%, #0F9D58 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Error Message */
.error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        margin: 20px auto;
        width: 95%;
    }

    .section {
        padding: 15px;
        margin-bottom: 15px;
    }

    .folder-name {
        font-size: 18px;
        margin-bottom: 20px;
        word-break: break-word;
    }

    .download-title {
        font-size: 20px;
        text-align: center;
        margin-bottom: 20px;
    }

    .download-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
        justify-content: center;
    }

    .timer {
        font-size: 20px;
    }

    #countdown {
        padding: 8px 15px;
    }

    .logo h1 {
        font-size: 20px;
    }

    header {
        padding: 15px;
    }

    .error {
        padding: 12px;
        font-size: 14px;
    }

    /* Improve touch targets */
    .download-btn,
    .verify-btn {
        min-height: 44px;
    }

    /* Better spacing for mobile */
    .section>*+* {
        margin-top: 15px;
    }

    /* Make icons slightly smaller on mobile */
    .download-btn i {
        font-size: 18px;
    }
}

/* Small phones */
@media (max-width: 375px) {
    .download-title {
        font-size: 18px;
    }

    .download-btn {
        font-size: 14px;
        padding: 10px 15px;
    }

    .timer {
        font-size: 18px;
    }
}

/* Landscape mode */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        margin: 10px auto;
    }

    .section {
        padding: 12px;
        margin-bottom: 10px;
    }

    .folder-name {
        margin-bottom: 15px;
    }
}

/* Loading state for download button */
.download-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Download Groups */
.download-group {
    margin-bottom: 30px;
}

.download-group-title {
    text-align: left;
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-secondary);
    border-left: 4px solid #4285F4;
    padding-left: 10px;
}

/* Download Buttons */
.download-container {
    margin-bottom: 15px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Button Variants */
.cdn-btn {
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    color: white;
}

.drive-btn {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
    color: white;
}

.onedrive-btn {
    background: linear-gradient(135deg, #0078D4 0%, #106EBE 100%);
    color: white;
}

.direct-btn {
    background: linear-gradient(135deg, #6B73FF 0%, #000DFF 100%);
    color: white;
}

.rclone-btn {
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    color: white;
}

.google-btn {
    background: linear-gradient(135deg, #EA4335 0%, #FBBC05 100%);
    color: white;
}

.gdflix-btn {
    background: linear-gradient(135deg, #1A73E8 0%, #34A853 100%);
    color: white;
}

.gdtot-btn {
    background: linear-gradient(135deg, #2196F3 0%, #4CAF50 100%);
    color: white;
}

.filepress-btn {
    background: linear-gradient(135deg, #00BCD4 0%, #3F51B5 100%);
    color: white;
}

.other-drive-btn {
    background: linear-gradient(135deg, #9C27B0 0%, #673AB7 100%);
    color: white;
}

.pixeldrain-btn {
    background: linear-gradient(135deg, #FF9800 0%, #F44336 100%);
    color: white;
}

.gofile-btn {
    background: linear-gradient(135deg, #795548 0%, #607D8B 100%);
    color: white;
}

.other-btn {
    background: linear-gradient(135deg, #607D8B 0%, #455A64 100%);
    color: white;
}

/* Hover Effects */
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .download-group-title {
        font-size: 16px;
    }

    .download-btn {
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* Add these new styles */
.download-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.download-header h2 {
    font-size: 28px;
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 15px;
}

.download-logo {
    max-width: 150px;
    height: auto;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 25px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.download-btn span {
    position: relative;
    z-index: 1;
}

.download-btn i {
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-btn:hover::before {
    opacity: 1;
}

/* PC Specific Styles */
@media (min-width: 1024px) {
    .container {
        max-width: 900px;
    }

    .download-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .download-group-title {
        grid-column: 1 / -1;
    }

    .download-btn {
        height: 60px;
        font-size: 18px;
    }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .download-header h2 {
        font-size: 22px;
    }

    .download-btn {
        padding: 14px 20px;
        font-size: 14px;
    }

    .download-btn i {
        font-size: 18px;
    }

    .download-group {
        margin-bottom: 20px;
    }
}

/* Update these styles */
.cdn-btn {
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    color: white;
}

.download-group {
    margin-bottom: 35px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-group-title {
    text-align: left;
    margin-bottom: 25px;
    font-size: 20px;
    color: #fff;
    border-left: 4px solid #FF416C;
    padding-left: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        margin: 15px auto;
        width: 92%;
    }

    .download-group {
        padding: 8px;
        margin-bottom: 20px;
    }

    .download-group-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .download-container {
        margin-bottom: 12px;
    }

    .download-btn {
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 8px;
    }

    .download-btn i {
        font-size: 16px;
    }

    /* Better touch targets */
    .download-btn {
        min-height: 48px;
    }

    /* Improved spacing */
    .section {
        padding: 15px;
        margin-bottom: 15px;
    }

    .folder-name {
        font-size: 18px;
        padding: 0 10px;
        margin-bottom: 20px;
    }
}

/* Small phones */
@media (max-width: 375px) {
    .container {
        width: 95%;
        padding: 8px;
    }

    .download-btn {
        font-size: 13px;
        padding: 10px 12px;
    }

    .download-group-title {
        font-size: 15px;
    }
}

/* Landscape mode */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        margin: 10px auto;
    }

    .download-group {
        padding: 12px;
        margin-bottom: 15px;
    }
}

/* Button Grid Layout */
.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 15px 0;
}

.button-grid .download-container {
    margin: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .button-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.loading-text-generate{
    color: #fff !important;
}

/* How to Download Section */
.how-to-download-section {
    text-align: center;
    margin: 20px 0 25px;
}

.how-to-download-btn {
    display: inline-block;
    background: var(--how-to-download-gradient);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.how-to-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0) 100%);
    transition: all 0.6s ease;
}

.how-to-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 65, 108, 0.5);
}

.how-to-download-btn:hover::before {
    left: 100%;
}

.how-to-download-btn i:first-child {
    margin-right: 10px;
    font-size: 18px;
}

.how-to-download-btn i:last-child {
    margin-left: 10px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .how-to-download-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 90%;
        max-width: 320px;
    }
}

@media (max-width: 375px) {
    .how-to-download-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}


/* Download Problems Section */
.download-problems-section {
    text-align: center;
    margin: 0 0 25px;
}

.download-problems-btn {
    display: inline-block;
    background: var(--download-problems-gradient);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: none;
    cursor: pointer;
    width: auto;
}

.download-problems-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0) 100%);
    transition: all 0.6s ease;
}

.download-problems-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 149, 0, 0.5);
}

.download-problems-btn:hover::before {
    left: 100%;
}

.download-problems-btn i:first-child {
    margin-right: 10px;
    font-size: 18px;
    color: #FFF7E0;
}

.download-problems-btn i:last-child {
    margin-left: 10px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .download-problems-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 90%;
        max-width: 320px;
    }
}

@media (max-width: 375px) {
    .download-problems-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* Loading state for download button */


