.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0040e0 0%, #0066ff 100%);
    border: none;
    visibility: hidden;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1100;
    box-shadow: 0 4px 12px rgba(0, 64, 224, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top::before {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2.5px solid #ffffff;
    border-right: 2.5px solid #ffffff;
    transform: rotate(-45deg);
    margin-top: -4px;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #0066ff 0%, #3399ff 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 64, 224, 0.4);
    color: #ffffff;
}

.back-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 64, 224, 0.3);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
