/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

/* 页面主体容器 */
body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 顶部导航栏 */
.header {
    padding: 0px 20px;
    height: 80px;
}

.header .header-con {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 1px solid #fff;
}

.header-logo {
    margin-right: auto;
    height: auto;
    font-size: 36px;
    font-weight: bold;
}

nav {
    height: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-link {
    display: inline-flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    line-height: 56px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.nav-link.active {
    border-bottom: 2px solid #F8FA4E;
    color: #F8FA4E; /* 金色文字 */
}

.nav-link:hover {
    color: #F8FA4E; /* 金色文字 */
}

/* 底部版权 */
.footer {
    height: 80px;
    line-height: 80px;
    padding: 0 20px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    border-top: 1px solid #F8FA4E;
}

/* 移动端适配 (屏幕宽度≤768px) */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
        justify-content: center;
    }

    .header-logo {
        font-size: 24px;
        font-weight: bold;
        height: auto;
    }

    .nav-link {
        margin: 0 15px;
        font-size: 14px;
        padding: 0;
    }

    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .footer {
        height: 50px;
        line-height: 50px;
        font-size: 12px;
    }
}
