        /* 基础样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            list-style: none;
        }
        header {
            background: #1f1f1f;
            padding: 0 20px;
        }
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 60px;
			max-width:1200px;
			margin:0 auto;
        }
        .logo {
            color: #fff;
            font-size: 20px;
        }
        /* 桌面端菜单样式 */
        .main-menu {
            display: flex;
			font-size: 16px;
        }
        .main-menu li {
            margin-left: 20px;
        }
        /* 菜单链接基础样式 */
        .main-menu a {
            color: #fff;
            text-decoration: none;
            /* 调整下划线容器：使用伪元素实现自定义长度和圆角 */
            position: relative;
            display: inline-block;
            padding-bottom: 8px; /* 增加底部内边距，给下划线留出空间 */
            transition: color 0.3s ease;
        }
        /* 自定义下划线：使用伪元素 */
        .main-menu a::after {
            content: '';
            position: absolute;
            left: 10%; /* 左偏移，控制下划线长度（左右各留10%空白） */
            bottom: 0;
            width: 80%; /* 下划线宽度（总长度为文字的80%） */
            height: 3px; /* 下划线高度 */
            background-color: transparent;
            border-radius: 1px; /* 圆角（高度的一半，实现半圆角） */
            transition: background-color 0.3s ease;
        }
        /* 鼠标悬浮样式 */
        .main-menu a:hover {
            color: #ffba01;
        }
        .main-menu a:hover::after {
            background-color: #ffba01;
        }
        /* 选中状态样式（需给对应a标签加selected类） */
        .main-menu a.selected {
            color: #ffba01;
            font-weight: 500; /* 可选：选中时加粗，增强视觉 */
        }
        .main-menu a.selected::after {
            background-color: #ffba01;
        }
        /* 移动端菜单按钮（默认隐藏） */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            /* 按钮悬浮效果 */
            transition: color 0.3s ease;
        }
        .menu-toggle:hover {
            color: #ffba01;
        }

        /* 媒体查询：适配移动端（以768px为分界，可根据需求调整） */
        @media (max-width: 768px) {
            /* 隐藏桌面端菜单 */
            .main-menu {
                display: none;
                position: absolute;
                top: 60px;
                left: 0;
                right: 0;
                background: #333;
                flex-direction: column;
                padding: 20px;
            }
            .main-menu li {
                margin: 10px 0;
            }
            /* 显示移动端菜单按钮 */
            .menu-toggle {
                display: block;
            }
            /* 菜单激活状态：显示下拉菜单 */
            .main-menu.active {
                display: flex;
				z-index: 3;
				opacity: 0.95;
            }
            /* 移动端保持样式一致 */
            .main-menu a:hover,
            .main-menu a.selected {
                color: #ffba01;
            }
            .main-menu a:hover::after,
            .main-menu a.selected::after {
                background-color: #ffba01;
            }
        }