.messenger-widget {
    position: fixed;
    right: 20px;
    bottom: 40px;
    z-index: 987;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.messenger-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    text-decoration: none;
}

.messenger-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.messenger-icon {
    width: 32px;
    height: 32px;
    pointer-events: none;
}

.messenger-btn::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: shine 4s infinite;
    opacity: 0;
}

@keyframes shine {
    0% {
        opacity: 0;
        transform: translate(-150%, -150%) rotate(25deg);
    }
    10% {
        opacity: 1;
    }
    30% {
        transform: translate(50%, 50%) rotate(25deg);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .messenger-widget {
        right: 10px;
        bottom: 20px;
        gap: 10px;
    }

    .messenger-btn {
        width: 50px;
        height: 50px;
    }

    .messenger-icon {
        width: 26px;
        height: 26px;
    }
}
