/* Стили для большой кнопки Telegram */
.telegram-banner {
    margin: 20px 0;
    text-align: center;
}

.telegram-button {
    display: inline-block;
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
    transition: all 0.3s ease;
    text-decoration: none !important;
    width: 100%;
    max-width: 600px;
}

.telegram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 136, 204, 0.4);
    text-decoration: none !important;
    color: white !important;
}

.telegram-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.3);
}

.telegram-button-content {
    display: flex;
    align-items: center;
    padding: 20px 30px;
}

.telegram-icon {
    flex-shrink: 0;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.telegram-button:hover .telegram-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.telegram-text {
    flex-grow: 1;
    text-align: left;
}

.telegram-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.telegram-subtitle {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.3;
}

.telegram-arrow {
    flex-shrink: 0;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.telegram-button:hover .telegram-arrow {
    transform: translateX(5px);
}

/* Адаптивность для планшетов */
@media (max-width: 768px) {
    .telegram-button-content {
        padding: 15px 20px;
    }
    
    .telegram-icon {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .telegram-title {
        font-size: 20px;
    }
    
    .telegram-subtitle {
        font-size: 14px;
    }
    
    .telegram-arrow {
        margin-left: 15px;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
    .telegram-banner {
        margin: 15px 0;
    }
    
    .telegram-button-content {
        padding: 12px 15px;
    }
    
    .telegram-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .telegram-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .telegram-title {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .telegram-subtitle {
        font-size: 13px;
    }
    
    .telegram-arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 360px) {
    .telegram-button-content {
        padding: 10px 12px;
    }
    
    .telegram-icon {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
    
    .telegram-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .telegram-title {
        font-size: 16px;
        letter-spacing: 0.5px;
    }
    
    .telegram-subtitle {
        font-size: 12px;
    }
    
    .telegram-arrow {
        margin-left: 10px;
    }
    
    .telegram-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Дополнительные эффекты для улучшения UX */
@media (prefers-reduced-motion: no-preference) {
    .telegram-button {
        animation: telegramPulse 3s ease-in-out infinite;
    }
    
    @keyframes telegramPulse {
        0%, 100% {
            box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
        }
        50% {
            box-shadow: 0 4px 25px rgba(0, 136, 204, 0.5);
        }
    }
}

/* Темная тема (если понадобится в будущем) */
@media (prefers-color-scheme: dark) {
    .telegram-button {
        background: linear-gradient(135deg, #0099ff 0%, #0066aa 100%);
    }
}

/* Фокус для доступности */
.telegram-button:focus {
    outline: 2px solid #0088cc;
    outline-offset: 2px;
}

/* Печать - скрыть кнопку */
@media print {
    .telegram-banner {
        display: none !important;
    }
}
