/* 头部主容器 */
.header-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 0;
}

/* 标题样式 */
header h1 {
    margin: 0 0 15px 0;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    text-align: center;
    color: white;
}

/* 导航样式 */
nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 0;
    width: 100%;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .header-main {
        padding: 10px 15px;
    }
    
    header h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    nav {
        flex-direction: row;
        gap: 15px;
    }
    
    nav button {
        padding: 10px 15px;
        min-width: 130px;
        font-size: 0.9rem;
    }
}
