.go-top-button {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #38a660, #45a049) !important;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;

    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    z-index: 1000;
    user-select: none;
}

.go-top-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.go-top-button:hover {
    background: linear-gradient(135deg, #2d8a4f, #3a8f42);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(56, 166, 96, 0.4);
}

.go-top-button:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 2px 10px rgba(56, 166, 96, 0.3);
}

.go-top-button i {
    transition: transform 0.3s ease;
}

.go-top-button:hover i {
    transform: translateY(-2px);
}

/* 脉冲动画效果 */
.go-top-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(56, 166, 96, 0.3);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.go-top-button:hover::before {
    transform: scale(1.2);
    opacity: 0;
    transition: all 0.6s ease;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .go-top-button {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* 小屏幕进一步调整 */
@media (max-width: 480px) {
    .go-top-button {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* 暗色模式支持 */


/* 减少动画效果（无障碍支持） */
@media (prefers-reduced-motion: reduce) {
    .go-top-button {
        transition: opacity 0.3s ease;
    }
    
    .go-top-button:hover {
        transform: none;
    }
    
    .go-top-button::before {
        display: none;
    }
}