.sticky-icons {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
    transition: all 0.3s ease;
}

/* Base button style */
.sticky-icon {
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--color6, #222);
    border-radius: 999px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sticky-icon svg,
.sticky-icon i {
    width: 26px;
    height: 26px;
    transition: all 0.3s ease;
}

.sticky-icon:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Expandable: only toggle initially visible */
.sticky-icons--expandable .sticky-icon.toggle-icon {
    display: flex;
}

/* Expanded → show all icons */
.sticky-icons--expandable.expanded .sticky-icon {
    display: flex;
}

@keyframes stickySlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sticky-icons--expandable.expanded .sticky-icon:not(.toggle-icon) {
    animation: stickySlideUp 0.4s ease forwards;
}

/* Single mode: always show the top icon */
.sticky-icons--single .sticky-icon {
    display: flex;
}
