.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 0 40px;
    height: 64px;
    border-radius: 12px 12px 0 0;
    position: relative;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.logo-link {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    color: #222;
    text-decoration: none;
    gap: 8px;
    transition: color 0.2s ease;
}

.logo-link:hover {
    color: #2d8cf0;
}

.logo-img {
    width: 38px;
    height: 38px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

/* 菜单切换按钮样式 */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
    transition: all 0.2s ease;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-toggle:hover span {
    background: #2d8cf0;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* 平板端适配 */
@media (max-width: 900px) {
    .header-top {
        padding: 0 20px;
    }
    .logo-img {
        width: 32px;
        height: 32px;
    }
    .logo-link {
        font-size: 24px;
    }
}

/* 移动端适配 */
@media (max-width: 600px) {
    .header-top {
        height: 56px;
        padding: 0 16px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .logo-img {
        width: 28px;
        height: 28px;
    }
    
    .logo-link {
        font-size: 20px;
    }
    
    /* 确保body有足够的上边距 */
    body {
        padding-top: 56px;
    }
} 