/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    position: fixed;
    bottom: -50px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-blue), var(--accent-purple), var(--accent-red), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.scroll-to-top.show {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
}

.scroll-to-top.show::before {
    opacity: 0.5;
    animation: spin 2s linear infinite;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5);
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-red) 100%);
}

.scroll-to-top:active {
    transform: translateY(0) scale(1);
}
