/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.5;
}

/* 通用头部样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    color: #c41230;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin: 0 20px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #c41230;
}

.nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c41230;
    transition: width 0.3s;
}

.nav a:hover:after,
.nav a.active:after {
    width: 100%;
}

.user-actions {
    display: flex;
    align-items: center;
}

.btn-login,
.btn-register {
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    margin-left: 15px;
    font-size: 14px;
}

.btn-login {
    color: #c41230;
    border: 1px solid #c41230;
}

.btn-register {
    background: #c41230;
    color: #fff;
} 