#button-up {
    width: 38px;
    height: 38px;
    background: #46a2fd;
    border: 2px solid rgba(255, 255, 255, 0.9);
    position: fixed;
    bottom: 30px;
    right: 22px;
    cursor: pointer;
    border-radius: 50% !important;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 995;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                opacity 300ms ease, 
                background-color 300ms ease;
}

#button-up::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 3px solid white;
    border-left: 3px solid white;
    transform: rotate(45deg);
    margin-top: 3px;
    transition: transform 300ms ease;
}

#button-up:hover {
    transform: scale(1.1);
    background-color: #258cf4;
}

#button-up:hover::before {
    transform: rotate(45deg) translate(-2px, -2px);
}

@media (max-width: 768px) {
    #button-up {
        right: 8px;
    }
}