/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(43, 45, 49, 0.9);
    border: 2px solid rgba(188, 163, 59, 0.3);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(188, 163, 59, 0.2);
    border-color: rgba(188, 163, 59, 0.6);
    color: rgba(188, 163, 59, 1);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(188, 163, 59, 0.3),
        0 0 30px rgba(188, 163, 59, 0.15);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 5rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}