.back-to-top {
    position: fixed;
    bottom: 86px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: linear-gradient(160deg, #0f1419, #1a1f2e);
    color: #ffd700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 215, 0, 0.45) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: #ffd700;
    color: #000000;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 215, 0, 0.7) inset;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top.show:hover {
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .back-to-top {
        right: 19px;
        bottom: 72px;
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
}