/* Color Variables */
:root {
    /* Primary Colors */
    --primary-blue: #0F172A;
    --primary-dark-blue: #1E293B;
    --primary-red: #e74c3c;
    --primary-dark-red: #c0392b;
    --primary-green: #2ecc71;
    --primary-yellow: #f39c12;
    
    /* Button Gradients */
    --instant-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --telegram-gradient: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    --hubcloud-gradient: linear-gradient(135deg, #764BA2 0%, #667EEA 100%);
    --xcloud-gradient: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --more-links-gradient: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    
    /* Text Colors */
    --light-text: #FFFFFF;
    --gray-text: #94A3B8;
    --light-gray: #e2e8f0;
    
    /* Shadows */
    --button-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    --modal-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Common Button Styles */
.download-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}

.download-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.download-btn i {
    margin-right: 8px;
}

.download-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Specific Button Styles */
.instant-btn {
    background: var(--instant-gradient) !important;
}

.instant-btn:hover {
    box-shadow: 0 5px 15px rgba(255, 81, 47, 0.3);
}

.instant-btn.error {
    background: #ff5252 !important;
}

.telegram-btn {
    background: var(--telegram-gradient) !important;
    box-shadow: 0 2px 10px rgba(42, 171, 238, 0.3);
}

.hubcloud-btn {
    background: var(--hubcloud-gradient) !important;
    box-shadow: 0 2px 10px rgba(118, 75, 162, 0.3);
}

.xcloud-btn {
    background: var(--xcloud-gradient) !important;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.more-links-btn {
    background: var(--more-links-gradient);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* Shine Effect */
.telegram-btn, .hubcloud-btn, .xcloud-btn {
    position: relative;
    overflow: hidden;
}

.telegram-btn::after, .hubcloud-btn::after, .xcloud-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Loading Section */
#loading-section {
    position: relative;
    width: 100%;
    background: transparent;
}

.loading {
    position: relative;
    text-align: center;
    padding: 40px 0;
}

.loading h3 {
    margin-top: 20px;
    color: #333;
    font-size: 18px;
}
/* More Links Section */
#more-links-section {
    margin-top: 20px;
    padding: 12px;
}

#more-links-section .download-group-title {
    margin-top: 30px;
    margin-bottom: 15px;
}

#more-links-section .download-container {
    margin: 10px auto;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--modal-shadow);
    width: 80%;
    max-width: 550px;
    position: relative;
    animation: modalopen 0.4s;
    line-height: 1.6;
}

.close-modal {
    color: var(--gray-text);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 0.8;
    position: absolute;
    right: 15px;
    top: 10px;
    z-index: 1;
    transition: color 0.3s;
}

.close-modal:hover, .close-modal:focus {
    color: var(--light-text);
    text-decoration: none;
}

@keyframes modalopen {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Instant Warning Modal */
#instantWarningModal .modal-content {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark-blue) 100%);
    border-top: 4px solid var(--primary-red);
    box-shadow: var(--modal-shadow);
    color: var(--light-text);
}

#instantWarningModal .modal-title {
    color: var(--light-text);
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-dark-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.warning-icon {
    color: var(--primary-red);
    margin-right: 10px;
}

/* Section Styles */
.problem-section, .solution-section {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 6px;
}

.problem-section {
    background-color: rgba(231, 76, 60, 0.15);
    border-left: 4px solid var(--primary-red);
}

.solution-section {
    background-color: rgba(46, 204, 113, 0.15);
    border-left: 4px solid var(--primary-green);
}

.problem-section h4, .solution-section h4 {
    margin-top: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.problem-section h4, .problem-section h4 i {
    color: var(--primary-red);
}

.solution-section h4, .solution-section h4 i {
    color: var(--primary-green);
}

.problem-section h4 i, .solution-section h4 i {
    margin-right: 8px;
}

.problem-section p, .solution-section p {
    line-height: 1.5;
    margin-bottom: 12px;
    color: var(--light-gray);
}

/* List Styles */
.solution-list {
    padding-left: 0;
    list-style-type: none;
    margin: 15px 0;
}

.solution-list li {
    padding: 6px 0;
    margin-bottom: 8px;
    position: relative;
    display: flex;
    align-items: flex-start;
    color: var(--gray-text);
}

.solution-list li strong {
    color: var(--light-text);
}

.solution-list li i {
    margin-right: 10px;
    color: var(--primary-green);
    width: 16px;
    text-align: center;
    padding-top: 3px;
}

/* Highlights */
.highlight-red {
    color: var(--primary-red);
    font-weight: bold;
}

.highlight-green {
    color: var(--primary-green);
    font-weight: bold;
}

/* Notice Text */
.notice-text {
    font-size: 14px;
    color: var(--gray-text);
    background-color: rgba(243, 156, 18, 0.15);
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 4px solid var(--primary-yellow);
    margin-top: 15px;
}

.notice-text i {
    color: var(--primary-yellow);
    margin-right: 8px;
}

/* Instant Container Styles */
.instant-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
}

.instant-container .download-btn {
    margin-bottom: 5px;
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .modal-content {
        margin: 20% auto;
        width: 92%;
        padding: 20px;
    }
    
    #instantWarningModal .modal-title {
        font-size: 18px;
    }
    
    .problem-section, .solution-section {
        padding: 12px;
    }
    
    .instant-container {
        flex-wrap: wrap;
        margin: 10px auto;
    }
} 








