/* style.css - Стили для кнопки скачивания */

.big-dl-container {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
}

.big-dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #6c5ce7 0%, #5f3dc4 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(108, 92, 231, 0.3);
    min-height: 40px;
    min-width: 160px;
    line-height: 1.2;
    white-space: nowrap;
    user-select: none;
}

.big-dl-btn:hover {
    background: linear-gradient(135deg, #7c6cf0 0%, #6c5ce7 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(108, 92, 231, 0.4);
}

.big-dl-btn:active {
    transform: scale(0.97);
}

.big-dl-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.big-dl-btn .dl-icon {
    flex-shrink: 0;
    stroke: currentColor;
}

.big-dl-btn .spinning {
    animation: spin 1s linear infinite;
}

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

/* Адаптивность */
@media (max-width: 768px) {
    .big-dl-btn {
        padding: 6px 16px;
        font-size: 12px;
        min-height: 34px;
        min-width: 120px;
        border-radius: 25px;
    }
    
    .big-dl-btn .dl-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .big-dl-btn {
        padding: 5px 12px;
        font-size: 11px;
        min-height: 30px;
        min-width: 100px;
        border-radius: 20px;
        gap: 5px;
    }
    
    .big-dl-btn .dl-icon {
        width: 12px;
        height: 12px;
    }
}

/* Для темной темы */
@media (prefers-color-scheme: dark) {
    .big-dl-btn {
        background: linear-gradient(135deg, #7c6cf0 0%, #6c5ce7 100%);
        box-shadow: 0 2px 15px rgba(108, 92, 231, 0.2);
    }
    
    .big-dl-btn:hover {
        background: linear-gradient(135deg, #8c7cf0 0%, #7c6cf0 100%);
        box-shadow: 0 4px 25px rgba(108, 92, 231, 0.3);
    }
}

/* Отключение анимаций */
@media (prefers-reduced-motion: reduce) {
    .big-dl-btn {
        transition: none;
    }
    .big-dl-btn .spinning {
        animation: none;
    }
}