.scroll-to-top {
    position: fixed;
    bottom: 6.675vmin;
    right: -22.225vmin;
    width: 13.325vmin;
    height: 13.325vmin;
    background: var(--eco3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.9vmin 3.325vmin rgba(85, 127, 8, 0.6);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    display: flex;
    opacity: 0;
    transform: scale(0.8) rotate(-180deg);
}

.scroll-to-top.show {
    right: 6.675vmin;
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.scroll-to-top:hover {
    background: var(--eco4);
    transform: scale(1.1) translateY(-0.675vmin);
    box-shadow: 0 1.775vmin 5.55vmin rgba(85, 127, 8, 0.4);
}

.scroll-to-top:active {
    transform: scale(0.95) translateY(-0.225vmin);
}

.scroll-to-top::before {
    content: '↑';
    font-size: 5.325vmin;
    font-weight: bold;
    color: #fafafa;
}

@media screen and (max-width: 768px) {
    .scroll-to-top {
        width: 16.25vmin;
        height: 16.25vmin;
        bottom: 7.5vmin;
        right: -25vmin;
    }
    
    .scroll-to-top.show {
        right: 7.5vmin;
    }
    
    .scroll-to-top::before {
        font-size: 6.5vmin;
    }
}

@media screen and (max-width: 480px) {
    .scroll-to-top {
        width: 12vmin;
        height: 12vmin;
        bottom: 5vmin;
        right: -15vmin;
        box-shadow: 0 0.5vmin 2vmin rgba(85, 127, 8, 0.6);
    }
    
    .scroll-to-top.show {
        right: 5vmin;
    }
    
    .scroll-to-top:hover {
        transform: scale(1.1) translateY(-0.5vmin);
        box-shadow: 0 1vmin 3.5vmin rgba(85, 127, 8, 0.4);
    }
    
    .scroll-to-top:active {
        transform: scale(0.95) translateY(-0.25vmin);
    }
    
    .scroll-to-top::before {
        font-size: 5vmin;
    }
}

@media screen and (max-width: 320px) {
    .scroll-to-top {
        width: 11vmin;
        height: 11vmin;
        bottom: 4vmin;
        right: -12.5vmin;
    }
    
    .scroll-to-top.show {
        right: 4vmin;
    }
    
    .scroll-to-top::before {
        font-size: 4.5vmin;
    }
}