.vk-float-button-container {
    position: fixed;
    z-index: 99999;
}

.vk-float-button {
    position: fixed;
    width: var(--vk-button-size);
    height: var(--vk-button-size);
    border-radius: 50%;
    background-color: var(--vk-button-color);
    color: white;
    text-align: center;
    line-height: var(--vk-button-size);
    font-size: var(--vk-icon-size);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vk-float-button:hover {
    background-color: var(--vk-button-hover-color);
    transform: scale(1.1);
}

.vk-float-button i {
    vertical-align: middle;
}

/* Тултип */
.vk-float-button::after {
    content: attr(data-tooltip);
    position: absolute;
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10000;
    pointer-events: none;
}

.vk-float-button-left::after {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 15px;
}

.vk-float-button-right::after {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 15px;
}

.vk-float-button:hover::after {
    visibility: visible;
    opacity: 1;
}

/* Анимации */
.vk-animation-fade {
    animation: fadeIn 1s;
}

.vk-animation-bounce {
    animation: bounce 1s;
}

.vk-animation-pulse {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .vk-float-button.hide-on-mobile {
        display: none !important;
    }
    
    .vk-float-button {
        width: calc(var(--vk-button-size) * 0.8);
        height: calc(var(--vk-button-size) * 0.8);
        line-height: calc(var(--vk-button-size) * 0.8);
        font-size: calc(var(--vk-icon-size) * 0.8);
    }
}