.scrollToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.scrollToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scrollToTop:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), 0 0 20px rgba(236, 72, 153, 0.5);
}

.scrollToTop:active {
    transform: translateY(0) scale(0.9);
}

@media (max-width: 768px) {
    .scrollToTop {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}