/* --- КРУГЛАЯ КНОПКА ПОДДЕРЖКИ --- */
.support-circle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc 0%, #34b7f1 100%);
    color: #fff;
    border: none;
    box-shadow: 
        0 6px 20px rgba(52, 183, 241, 0.6),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    overflow: visible;
    animation: supportPulse 2s infinite ease-in-out;
}

@keyframes supportPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(52, 183, 241, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(52, 183, 241, 0.9);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(52, 183, 241, 0.6);
    }
}

.support-circle-btn:hover {
    transform: scale(1.1);
    box-shadow: 
        0 12px 35px rgba(52, 183, 241, 1),
        inset 0 0 0 3px rgba(255, 255, 255, 0.3);
    animation: none;
}

/* Иконка Telegram внутри кнопки */
.support-circle-btn .tg-icon {
    width: 32px;
    height: 32px;
    fill: #fff;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.support-circle-btn:hover .tg-icon {
    transform: scale(1.2);
}

/* Подпись "Поддержка" под кнопкой */
.support-label {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.support-circle-btn:hover .support-label {
    color: #e6f7ff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

/* Адаптация для мобильных */
@media (max-width: 992px) {
    .support-circle-btn {
        bottom: calc(var(--bottom-nav-h, 72px) + 25px);
        right: 25px;
        width: 65px;
        height: 65px;
    }
    
    .support-circle-btn .tg-icon {
        width: 28px;
        height: 28px;
    }
    
    .support-label {
        font-size: 10px;
        bottom: -23px;
    }
}

@media (max-width: 768px) {
    .support-circle-btn {
        bottom: calc(var(--bottom-nav-h, 72px) + 20px);
        right: 20px;
        width: 60px;
        height: 60px;
    }
    
    .support-circle-btn .tg-icon {
        width: 26px;
        height: 26px;
    }
    
    .support-label {
        font-size: 9px;
        bottom: -20px;
    }
}

@media (max-width: 480px) {
    .support-circle-btn {
        width: 55px;
        height: 55px;
        bottom: calc(var(--bottom-nav-h, 72px) + 15px);
        right: 15px;
    }
    
    .support-circle-btn .tg-icon {
        width: 24px;
        height: 24px;
    }
    
    .support-label {
        font-size: 8px;
        bottom: -18px;
    }
}

/* Эффект при клике */
.support-circle-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}

/* Эффект "нового сообщения" (красная точка) */
.support-circle-btn.has-update::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-color: #ff4757;
    border-radius: 50%;
    border: 2px solid #0088cc;
    animation: newMessageBlink 1.5s infinite;
    z-index: 2;
}

@keyframes newMessageBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}