
.scroll-to-top {
    position: fixed;
    right: 32px;
    bottom: 40px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A943F 0%, #054d1b 100%);
    box-shadow: 0 8px 32px rgba(31,64,127,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.3s;
    border: none;
    outline: none;
    backdrop-filter: blur(6px);
}
.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.scroll-to-top:active {
    /* transform: scale(0.95); */
}
.scroll-to-top:hover {
    box-shadow: 0 12px 40px rgba(31,64,127,0.25);
    background: linear-gradient(135deg, #649774 0%, #3a5843 100%);
}
.scroll-to-top svg {
    width: 28px;
    height: 28px;
    display: block;
}
@media (max-width: 768px) {
    .scroll-to-top {
        right: 16px;
        bottom: 24px;
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    .scroll-to-top svg {
        width: 22px;
        height: 22px;
    }
}