/* Social Bubble Buttons v3.0 */

.sb-wrapper {
    position: fixed;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.sb-wrapper.sb-bottom-left {
    align-items: flex-start;
}

/* BASE BUTTON */
.sb-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 24px 24px 24px 6px;
    text-decoration: none;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
    animation: sb-float-in 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.sb-wrapper.sb-bottom-left .sb-btn {
    border-radius: 24px 24px 6px 24px;
    flex-direction: row-reverse;
}

.sb-btn:hover {
    transform: scale(1.04) translateY(-2px);
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.28));
    text-decoration: none;
    color: #fff;
}

/* TAIL */
.sb-tail {
    position: absolute;
    bottom: -9px;
    right: 18px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 0 solid transparent;
    border-top: 9px solid transparent;
}

.sb-wrapper.sb-bottom-left .sb-tail {
    right: auto;
    left: 18px;
    border-left: 0 solid transparent;
    border-right: 9px solid transparent;
}

/* TELEGRAM */
.sb-tg { background: linear-gradient(135deg, #0088cc, #006aaa); }
.sb-tg:hover { background: linear-gradient(135deg, #009de8, #007cc0); }
.sb-tail-tg { border-top-color: #006aaa; }

/* VK */
.sb-vk { background: linear-gradient(135deg, #4680c2, #2d5f9a); }
.sb-vk:hover { background: linear-gradient(135deg, #5590d4, #3870b4); }
.sb-tail-vk { border-top-color: #2d5f9a; }

/* WHATSAPP */
.sb-wa { background: linear-gradient(135deg, #25d366, #128c4a); }
.sb-wa:hover { background: linear-gradient(135deg, #30e070, #1aad5e); }
.sb-tail-wa { border-top-color: #128c4a; }

/* MAX */
.sb-max { background: linear-gradient(135deg, #4B7BEC, #7C4DFF); }
.sb-max:hover { background: linear-gradient(135deg, #5D8AFF, #8E63FF); }
.sb-tail-max { border-top-color: #7C4DFF; }

/* ICON */
.sb-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: white;
}

.sb-icon-img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

/* ANIMATION */
@keyframes sb-float-in {
    from { opacity: 0; transform: translateY(20px) scale(0.85); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* MOBILE */
@media (max-width: 480px) {
    .sb-btn { padding: 11px 15px; font-size: 13px; }
    .sb-icon { width: 20px; height: 20px; }
}
