/* 返回首页按钮通用样式 */
.home-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 100px;
    height: 40px;
    background: linear-gradient(135deg, #042d6b 0%, #004c98 100%);
    border: 1px solid #00bcd4;
    border-radius: 5px;
    box-shadow: 
        inset 0 0 10px rgba(7, 65, 122, 0.5),
        0 0 15px rgba(0, 188, 212, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.home-button:hover {
    background: linear-gradient(135deg, #004c98 0%, #0066cc 100%);
    box-shadow: 
        inset 0 0 15px rgba(0, 188, 212, 0.8),
        0 0 20px rgba(0, 188, 212, 0.6);
    transform: translateY(-2px);
}

.home-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-family: "微软雅黑", Arial, sans-serif;
    font-weight: bold;
}

.home-button .home-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    fill: #00bcd4;
}

.home-button:hover .home-icon {
    fill: #07f7f4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .home-button {
        top: 10px;
        right: 10px;
        width: 80px;
        height: 35px;
    }
    
    .home-button a {
        font-size: 12px;
    }
    
    .home-button .home-icon {
        width: 14px;
        height: 14px;
        margin-right: 3px;
    }
}

/* 动画效果 */
@keyframes homeButtonPulse {
    0% { box-shadow: inset 0 0 10px rgba(7, 65, 122, 0.5), 0 0 15px rgba(0, 188, 212, 0.3); }
    50% { box-shadow: inset 0 0 15px rgba(0, 188, 212, 0.8), 0 0 25px rgba(0, 188, 212, 0.6); }
    100% { box-shadow: inset 0 0 10px rgba(7, 65, 122, 0.5), 0 0 15px rgba(0, 188, 212, 0.3); }
}

.home-button.pulse {
    animation: homeButtonPulse 2s infinite;
}