/* Ultra-Sliding Social Bar with Glow */
.social-strip {
    position: fixed;
    top: 50%;
    right: -40px; /* partially hidden */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 9999;
    pointer-events: auto;
    opacity: 0;
    transition: all 0.3s ease, opacity 0.5s ease;
}

/* Page-load or scroll visible state */
.social-strip.visible {
    right: 8px;
    opacity: 1;
}

/* Glow active state */
.social-strip.glow .s-btn {
    box-shadow: 0 0 12px rgba(255,255,255,0.6);
    transition: box-shadow 0.3s ease;
}

/* Icon buttons */
.s-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff !important;
    font-size: 16px;
    text-decoration: none;
    position: relative;
    overflow: visible;
    transform: translateX(20px); /* start slightly right */
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.3s ease;
}

/* Animate icons individually */
.social-strip.visible .s-btn,
.social-strip.page-load .s-btn {
    transform: translateX(0);
    opacity: 1;
}

/* Staggered delays */
.social-strip.visible .s-btn:nth-child(1),
.social-strip.page-load .s-btn:nth-child(1) { transition-delay: 0.05s; }
.social-strip.visible .s-btn:nth-child(2),
.social-strip.page-load .s-btn:nth-child(2) { transition-delay: 0.10s; }
.social-strip.visible .s-btn:nth-child(3),
.social-strip.page-load .s-btn:nth-child(3) { transition-delay: 0.15s; }
.social-strip.visible .s-btn:nth-child(4),
.social-strip.page-load .s-btn:nth-child(4) { transition-delay: 0.20s; }

/* Bounce on hover + glow */
.s-btn:hover {
    transform: translateX(0) scale(1.15);
    box-shadow: 0 0 16px rgba(255,255,255,0.9);
    transition: transform 0.25s cubic-bezier(0.68,-0.55,0.27,1.55), box-shadow 0.25s ease;
}

/* Labels */
.s-btn span {
    position: absolute;
    right: 100%;
    margin-right: 6px;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.25s ease;
}
.s-btn:hover span {
    opacity: 1;
    transform: translateX(0);
}

/* Brand colors */
.s-btn.fb { background: #1877f2; }
.s-btn.wa { background: #25d366; }
.s-btn.li { background: #0a66c2; }
.s-btn.tw { background: #1da1f2; }

/* Mobile version */
@media (max-width: 768px) {
    .social-strip {
        flex-direction: row;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        justify-content: center;
        padding: 6px 0;
        background: #fff;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
        transform: none;
        gap: 10px;
        opacity: 1;
    }
    .s-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        transform: none;
        opacity: 1;
        transition: none;
    }
    .s-btn span { display: none; }
}
