.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #a777e3, #6e8efb);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: scale(0.95);
}

.arrow-icon {
    width: 24px;
    height: 24px;
    fill: white;
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}

.scroll-to-top:hover .arrow-icon {
    transform: rotate(-90deg) scale(1.1);
}
