.floating-tools-wrapper {
    position: fixed;
    top: 85%;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    transform: translateY(-50%);
    pointer-events: auto;
}

.floating-language-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1px;
}

.floating-social-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.floating-tools-wrapper .fs-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.floating-tools-wrapper .fs-btn::before {
    content: '';
    position: absolute;
    z-index: 0;
    width: 150%;
    height: 150%;
    background: conic-gradient(transparent, transparent, transparent, #1a1a1a);
    animation: fsSpin 2.5s linear infinite;
}

.floating-tools-wrapper .fs-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    z-index: 1;
    border-radius: 50%;
    background: #ffffff;
}

.floating-tools-wrapper .fs-btn .fs-icon {
    position: relative;
    z-index: 2;
    width: 22px;
    height: 22px;
    fill: #1a1a1a;
    transition: transform 0.3s ease;
}

.floating-tools-wrapper .fs-btn:hover {
    transform: scale(1.08);
}

.fs-language {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-language-toggle {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(142, 139, 134, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.fs-language-toggle:hover,
.fs-language-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(142, 139, 134, 0.65);
    transform: scale(1.06);
    outline: none;
}

@keyframes fsSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 768px) {
    .floating-tools-wrapper {
        top: 85svh;
        right: 12px;
        gap: 25px;
    }

    .floating-social-wrapper {
        gap: 10px;
        padding: 8px;
        border-radius: 25px;
    }

    .floating-tools-wrapper .fs-btn {
        width: 42px;
        height: 42px;
    }

    .floating-tools-wrapper .fs-btn .fs-icon {
        width: 20px;
        height: 20px;
    }

    .fs-language-toggle {
        width: 42px;
        height: 42px;
        font-size: 9px;
    }

}