/* === TELEGRAM-LINK-ANIMATED.CSS === */
/* 💚 Красивая зеленая подсветка для @tsemakh */

.telegram-link {
    color: #10b981 !important;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    animation: pulse-green 3s ease-in-out infinite;
}

/* Мигающая зеленая точка */
.telegram-link::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
    animation: blink-green 2s ease-in-out infinite;
}

/* Текст @tsemakh */
.telegram-link::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 0.6rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 800;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

/* Эффекты при наведении */
.telegram-link:hover {
    color: #059669 !important;
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    transform: scale(1.05);
    padding-right: 20px;
}

.telegram-link:hover::after {
    content: 'ONLINE';
    opacity: 1;
    transform: scale(1);
}

/* Анимация пульсации */
@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    }
}

/* Анимация мигания точки */
@keyframes blink-green {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
    }
    50% {
        opacity: 0.3;
        box-shadow: 0 0 5px rgba(16, 185, 129, 0.4);
    }
}

/* Иконка стрелки для открытия в новой вкладке */
.telegram-link-icon {
    font-size: 0.8em;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.telegram-link:hover .telegram-link-icon {
    transform: translate(2px, -2px);
    opacity: 1;
}

/* Дополнительный текст */
.footer-description .emoji {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .telegram-link {
        padding: 6px 14px 6px 10px;
        font-size: 0.95rem;
    }
    
    .telegram-link::before {
        width: 6px;
        height: 6px;
    }
}