
/* 全局样式重置（所有页面通用） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft Yahei", sans-serif;
    background-color: #1c1c38;
    color: #fff;
}

/* 主容器（所有页面通用） */
.container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* 导航栏样式（所有页面通用） */
.navbar {
    position: absolute;
    top: 30px;
    right: 50px;
    z-index: 100; /* 确保导航栏在最上层 */
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px; /* 导航项之间的间距 */
}

.navbar li {
    position: relative; /* 用于定位选中态的黄色下划线 */
}

.navbar a {
    display: block;
    width: 102px;
    height: 24px;
    font-family: SourceHanSansCN, SourceHanSansCN;
    font-weight: 500;
    font-size: 18px;
    color: #D2D2D2;
    text-align: center;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    line-height: 24px; /* 垂直居中 */
}

.navbar li.active a,
.navbar a:hover {
    color: #FFFFFF;
}

/* 选中时的黄色下划线效果 */
.navbar li.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500); /* 黄色渐变 */
    border-radius: 2px;
}

/* Logo样式（所有页面通用） */
.logo {
    position: absolute;
    top: 30px;
    left: 50px;
    width: 180px;
    height: auto;
    z-index: 90; /* 确保Logo不被遮挡 */
}

/* 分隔线 */
.divider {
    width: 100%;
    height: 10px;
    background: url("../Img/Home/FL.png") no-repeat center center;
    background-size: cover;
}

/* 页脚样式 */
footer {
    width: 100%;
    background: #111122;
    padding: 20px 50px;
    font-size: 14px;
    color: #ccc;
    text-align: center;
}

.health-notice {
    margin-bottom: 15px;
    line-height: 1.6;
}

.copyright {
    margin-bottom: 10px;
}

.icp{
    padding-top: 10px;
    font-size: 14px;
    color: #ccc;
    text-align: center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}