.telegram-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f5f5f5;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
                0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 320px;
    width: 85%;
    transform: translateY(150%);
    transition: transform 0.3s ease-in-out;
    border: 1px solid #e0e0e0;
    animation: neonPulse 2s infinite alternate;
}

@keyframes neonPulse {
    from {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
                    0 0 10px rgba(0, 0, 0, 0.1);
    }
    to {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
                    0 0 15px rgba(0, 0, 0, 0.15);
    }
}

.telegram-popup.show {
    transform: translateY(0);
}

.telegram-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.telegram-popup-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
}

.telegram-popup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    width: 100%;
}

.telegram-popup-icon {
    font-size: 20px;
    color: #0088cc;
    margin-right: 8px;
    text-shadow: none;
}

.telegram-popup-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 0;
    color: #333333;
}

.telegram-popup-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #666666;
    margin-bottom: 0;
}

.telegram-popup-button {
    background: #0088cc;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.telegram-popup-button:hover {
    background: #006699;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.telegram-popup-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #999999;
    cursor: pointer;
    font-size: 14px;
    padding: 3px;
    line-height: 1;
    z-index: 1001;
}

.telegram-popup-close:hover {
    color: #666666;
}

@media (max-width: 480px) {
    .telegram-popup {
        width: 80%;
        padding: 10px 15px;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%) translateY(150%);
    }
    
    .telegram-popup.show {
        transform: translateX(50%) translateY(0);
    }
} 