:root {
    --primary-gradient: linear-gradient(120deg, #8e2de2 0%, #4a00e0 100%);
    --secondary-gradient: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);
    --info-gradient: linear-gradient(135deg, #2193b0, #6dd5ed);
    --danger-gradient: linear-gradient(135deg, #ff9966, #ff5e62);
    --dark-color: #333;
    --light-color: #333;
    --border-radius: 10px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: white;
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
}

.download-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.download-header {
    background: var(--info-gradient);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.download-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.download-header p {
    opacity: 0.9;
    font-size: 16px;
}

.download-body {
    padding: 30px;
    color: var(--dark-color);
}

.file-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.file-info {
    font-size: 60px;
    margin-bottom: 20px;
    color: #8e2de2;
    text-shadow: 0 2px 10px rgba(142, 45, 226, 0.3);
}

.file-info .file-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    word-break: break-all;
    text-align: center;
    color: var(--dark-color);
}

.file-info .file-size {
    color: #6c757d;
    font-size: 16px;
    background-color: rgba(108, 117, 125, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    margin-top: 5px;
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.download-section h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.btn-gdtot,
.btn-filepress,
.btn-gofile,
.btn-gcloud-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin: 0;
    width: auto;
    min-width: 250px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: auto;
    align-self: center;
    max-width: 100%;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-generate {
    background: var(--secondary-gradient);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.btn-generate:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.6);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: auto;
    align-self: center;
    max-width: 100%;
    margin-bottom: 10px !important;
    margin-top: 5px !important;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    z-index: -1;
}

.download-btn:hover::before {
    left: 0;
}

.btn-buzzheavier {
    background: var(--info-gradient);
    box-shadow: 0 4px 15px rgba(33, 147, 176, 0.4);
}

.btn-pixeldrain-download {
    background: var(--secondary-gradient);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.btn-pixeldrain-web {
    background: var(--danger-gradient);
    box-shadow: 0 4px 15px rgba(255, 153, 102, 0.4);
}

.download-btn:hover {
    transform: translateY(-3px);
}

.btn-buzzheavier:hover {
    box-shadow: 0 6px 20px rgba(33, 147, 176, 0.6);
}

.btn-pixeldrain-download:hover {
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.6);
}

.btn-pixeldrain-web:hover {
    box-shadow: 0 6px 20px rgba(255, 153, 102, 0.6);
}

.download-btn i {
    font-size: 18px;
}

.loading {
    display: none;
    text-align: center;
    margin: 30px 0;
}

.loading svg {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.loading p {
    margin-top: 15px;
    font-weight: 600;
    color: #8e2de2;
    font-size: 18px;
}

.download-links {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.note-text {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    border-left: 5px solid #8e2de2;
    font-size: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    color: var(--dark-color);
}

.note-text i {
    color: #8e2de2;
}

.processing-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
    margin: 10px auto;
    text-align: center;
}

.processing-badge i {
    color: #8e2de2;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 15px;
        margin: 15px auto;
    }

    .download-header {
        padding: 20px;
    }

    .download-header h1 {
        font-size: 22px;
    }

    .download-body {
        padding: 20px;
    }

    .download-btn {
        padding: 10px 16px;
        font-size: 14px;
        width: auto;
        max-width: 100%;
    }

    .btn {

        padding: 10px 16px;
        font-size: 18px;
        width: auto;
        max-width: 100%;

    }

    .download-btn i {
        font-size: 16px;
    }

    .file-info {
        padding: 15px;
    }

    .file-info {
        font-size: 45px;
    }

    .file-info .file-name {
        font-size: 18px;
    }

    .file-info .file-size {
        font-size: 14px;
    }

    .note-text {
        padding: 15px;
        font-size: 14px;
    }
}

.btn-gdtot {
    background: linear-gradient(120deg, #8e2de2 0%, #4a00e0 100%);
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.4);
}

.btn-filepress {
    background: linear-gradient(120deg, #ff416c 0%, #ff4b2b 100%);
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
}

.btn-gdtot:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(142, 45, 226, 0.6);
}

.btn-filepress:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.6);
}

.btn-gcloud-login {
    background: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
    box-shadow: 0 4px 15px rgba(253, 160, 133, 0.4);
}

.btn-gcloud-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 160, 133, 0.6);
}

.btn-gofile {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-gofile:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-stream-online {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-stream-online:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-temporary-instant {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-temporary-instant:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.btn-viking-download {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #581c87 100%);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}

.btn-viking-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.6);
}

.btn-xcloud {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-xcloud:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-text,
.btn-processing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 0 10px;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-processing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    background: transparent;
    color: white;
}

.processing .btn-text {
    opacity: 0;
    visibility: hidden;
}

.processing .btn-processing {
    opacity: 1;
    visibility: visible;
    z-index: 3;
}

.btn-processing i {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 576px) {

    .btn-gdtot,
    .btn-filepress,
    .btn-gofile,
    .btn-gcloud-login,
    .btn-stream-online,
    .btn-temporary-instant,
    .btn-viking-download,
    .btn-xcloud {
        padding: 10px 16px;
        font-size: 14px;
    }
}

.btn-instant-download {
    background: linear-gradient(120deg, #1e90ff 0%, #0066cc 100%);
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.btn-instant-download:hover {
    background: linear-gradient(120deg, #0066cc 0%, #004080 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
}

.btn-instant-stream {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-instant-stream:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e8861a 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.instant-note {
    font-size: 14px;
    color: #444;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.5;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #1e90ff;
}

/* Responsive styles for instant note */
@media (max-width: 576px) {
    .instant-note {
        font-size: 13px;
        padding: 8px;
        margin-bottom: 15px;
    }
}

#instant-download-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
}

#instant-download-link {
    margin: 0 auto !important;
    display: inline-flex !important;
    justify-content: center !important;
}

.instant-note {
    text-align: center !important;
    width: 100%;
    margin-top: 10px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.download-section a {
    margin: 0 auto;
    margin-bottom: 10px;
}

/* Enhanced Instant Stream Button Processing Animation */
.btn-instant-stream {
    position: relative !important;
    overflow: hidden !important;
    margin-top: 18px !important;
    /* Fixed size to prevent shrinking */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 12px 20px !important;
    min-width: 180px !important;
    height: 48px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.btn-instant-stream .btn-text,
.btn-instant-stream .btn-processing {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    height: 48px !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.btn-instant-stream .btn-text {
    position: relative !important;
    z-index: 2 !important;
}

.btn-instant-stream .btn-processing {
    color: #fff !important;
    font-size: 14px !important;
    background: transparent !important;
    z-index: 10 !important;
}

.btn-instant-stream .btn-processing[style*="display: flex"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-instant-stream .btn-text[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Ensure button maintains size during processing */
.btn-instant-stream[style*="pointer-events: none"] {
    min-width: 180px !important;
    height: 48px !important;
    max-width: 100% !important;
}

/* Processing state specific styling */
.btn-instant-stream .btn-processing {
    white-space: nowrap !important;
}

.btn-instant-stream .btn-processing i {
    animation: spin 1s linear infinite !important;
    color: #fff !important;
    font-size: 16px !important;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Disabled state styling */
.btn-instant-stream[style*="pointer-events: none"] {
    cursor: not-allowed !important;
    opacity: 0.8 !important;
}

/* Force spinner to be visible */
.btn-instant-stream .btn-processing i.fa-spinner {
    display: inline-block !important;
    animation: spin 1s linear infinite !important;
    color: white !important;
}