.social-float {
    position: fixed;
    right: clamp(16px, 3vw, 24px);
    bottom: clamp(16px, 3vw, 24px);
    z-index: 900;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 10px;
}

.social-float-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 12px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
    animation: socialFloatIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.social-float-link svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.social-float-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.social-float-link--telegram {
    background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
    animation-delay: 0.15s;
}

.social-float-link--instagram {
    background: linear-gradient(135deg, #f77737 0%, #e1306c 50%, #833ab4 100%);
    animation-delay: 0.05s;
    padding: 12px;
}

.social-float-link--instagram span {
    display: none;
}

.social-float-link:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.social-float-link:active {
    transform: translateY(-1px);
}

@keyframes socialFloatIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (min-width: 768px) {
    .social-float-link--instagram {
        padding: 12px 16px 12px 14px;
    }

    .social-float-link--instagram span {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    .social-float-link {
        animation: none;
    }
}
