.back-to-top {
    position: fixed;
    right: 35px;
    bottom: 174px;
    z-index: 2147483647;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(10, 134, 183, 0.32);
    border-radius: 50%;
    background: rgba(241, 250, 255, 0.92);
    color: #007fad;
    box-shadow: 0 9px 24px rgba(19, 71, 98, 0.17), 0 0 0 3px rgba(10, 134, 183, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
    backdrop-filter: blur(12px) saturate(1.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: rgba(10, 134, 183, 0.46);
    background: rgba(255, 255, 255, 0.96);
    color: #006f9f;
    box-shadow: 0 12px 28px rgba(19, 71, 98, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.86);
    transform: translateY(-3px);
}

.back-to-top:active {
    transform: translateY(0) scale(0.96);
}

.back-to-top:focus-visible {
    outline: 2px solid rgba(10, 134, 183, 0.42);
    outline-offset: 3px;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media screen and (max-width: 1024px) {
    .back-to-top {
        right: 21px;
        bottom: 196px;
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}
