/* Telegram Widget Styles - No Sound Version */
#telegram-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc, #00a2ff);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#telegram-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 136, 204, 0.6);
}

.telegram-icon {
    color: white;
    font-size: 28px;
}

.telegram-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 160px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.telegram-tooltip span {
    display: block;
    font-weight: bold;
    color: #0088cc;
    font-size: 14px;
}

.telegram-tooltip small {
    color: #666;
    font-size: 12px;
}

#telegram-widget.hover .telegram-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.telegram-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0088cc;
    animation: gentlePulse 3s infinite;
    z-index: -1;
    opacity: 0.6;
}

.telegram-notification-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: #ff4444;
    border-radius: 50%;
    border: 2px solid white;
    animation: blink 2s infinite;
}

/* Attention-grabbing animations */
#telegram-widget.attention-grabber {
    animation: gentleBounce 0.8s ease-in-out 3, gentleGlow 5s ease-in-out;
}

@keyframes gentleBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-8px) scale(1.05);
    }
    60% {
        transform: translateY(-4px) scale(1.02);
    }
}

@keyframes gentleGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 136, 204, 0.8), 0 0 30px rgba(0, 136, 204, 0.4);
    }
}

@keyframes gentlePulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.3;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #telegram-widget {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .telegram-tooltip {
        right: 60px;
        width: 140px;
    }
    
    .telegram-notification-dot {
        top: -3px;
        right: -3px;
        width: 10px;
        height: 10px;
    }
}