﻿.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b0000, #b30000);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(139, 0, 0, 0.35), inset 0 -2px 6px rgba(255,255,255,0.15);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 9999;
}

    .scroll-to-top svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: white;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .scroll-to-top.show {
        opacity: 0.7;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .scroll-to-top:hover {
        opacity: 1;
        color: white;
        text-decoration: none;
    }
