
        /* --- 全局重置与基础样式 --- */
        @font-face {
            font-family: '朱雀仿宋';
            src: url('./zqfs.woff2') format('woff2'),
                url('./zqfs.woff2') format('woff'),
                url('./zqfs.woff2') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: '朱雀仿宋', sans-serif;
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: #f5f5f5;
        }

        a {
            text-decoration: none;
            color: #000;
        }

        .one:hover {
            color: rgb(157, 234, 76);
        }

        .two:hover {
            color: #007BFF;
        }

        ul {
            list-style: none;
        }

        /* --- 主体布局容器 --- */
        .container {
            display: flex;
            width: 100%;
            max-width: 1200px;
            margin: 10px auto;
            background: #ffffff;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            border-radius: 8px;
            overflow: hidden;
            flex: 1;
            position: relative;
        }

        /* --- 左侧个人信息栏 --- */
        .left {
            width: 30%;
            background-color: #fff;
            color: #000;
            padding: 40px 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            /* 核心修复：配合 margin: auto 确保内容始终垂直居中 */
            align-items: center;
            text-align: center;
            flex-shrink: 0;
            position: sticky;
            top: 50px;
            /* 核心修复：用 margin: auto 替代 height: fit-content，
               当内容高度小于 max-height 时，上下 auto margin 会将其精确居中 */
            margin: auto 0;
            max-height: calc(100vh - 90px);
            overflow-y: auto;
            scrollbar-width: none;
        }

        .left::-webkit-scrollbar {
            display: none;
        }

        .avatar {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 4px solid pink;
            object-fit: cover;
            margin-bottom: 20px;
            transition: transform 0.3s;
            background-size: cover;
            overflow: hidden;
        }

        .avatar:hover {
            transform: scale(1.05);
        }

        .left h2 {
            font-size: 1.2rem;
            font-weight: 300;
            margin-bottom: 30px;
            font-style: italic;
            opacity: 0.9;
        }

        .social-links {
            display: flex;
            gap: 20px;
        }

        .social-links a {
            font-size: 1.5rem;
            color: #000;
        }

        /* --- 右侧内容栏 --- */
        .right {
            flex: 1;
            padding: 40px;
            display: flex;
            flex-direction: column;
            gap: 40px;
            overflow-y: auto;
            max-height: calc(100vh - 80px);
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .right::-webkit-scrollbar {
            display: none;
        }

        /* --- 1. 轮播图区域 --- */
        .lunbo-container {
            width: 100%;
            height: 300px;
            overflow: hidden;
            border-radius: 8px;
            position: relative;
            background: #111;
        }

        .lunbo-track {
            display: flex;
            width: 400%;
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }

        .lunbo-item {
            width: 25%;
            height: 100%;
        }

        .lunbo-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .carousel-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.5;
            transition: all 0.3s;
            z-index: 10;
        }

        .carousel-control:hover {
            background-color: rgba(255, 255, 255, 0.4);
            opacity: 1;
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-control.prev {
            left: 15px;
        }

        .carousel-control.next {
            right: 15px;
        }

        .carousel-indicators {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s;
        }

        .indicator.active {
            background-color: #fff;
            transform: scale(1.3);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
        }

        /* --- 2. 简介区域 --- */
        .jianjie h3 {
            font-size: 1.5rem;
            padding-left: 15px;
            margin-bottom: 15px;
            color: #2c3e50;
            border-left: 4px solid transparent;
            transition: border-color 0.3s;
        }

        .jianjie h3:hover {
            border-left-color: #007BFF;
        }

        .jianjie p {

            text-align: center;
            color: #000;
            font-weight: bold;
            background-image: linear-gradient(to right, yellow, pink);
            background-size: 0px 2px;
            background-repeat: no-repeat;
            background-position: left bottom;
           
        }
        .jianjie p:hover {
             background-size: 100% 2px;
             transition:2s;
        }


        /* --- 3. 项目区域 --- */
        .project {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        .project-title {
            font-size: 1.5rem;
            padding-left: 15px;
            margin-bottom: 15px;
            color: #2c3e50;
            border-left: 4px solid transparent;
            transition: border-color 0.3s;
        }

        .project-title:hover {
            border-left-color: #007BFF;
        }

        .card {
            background: #fff;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 20px;
            transition: box-shadow 0.3s, transform 0.3s;
            display: flex;
            flex-direction: column;
        }

        .card:hover {
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transform: translateY(-5px);
        }

        .card h1 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: #2c3e50;
        }

        .card span {
            font-size: 0.9rem;
            color: #777;
            margin-bottom: 20px;
            display: block;
        }

        .card-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
            gap: 16px;
            /* 核心修复：用 gap 确保预览按钮与图标间距自适应 */
        }

        /* 核心修复：重写 .yulan 样式，确保文字水平+垂直居中 */
        .yulan {
            flex: 1;
            max-width: 140px;
            height: 40px;
            background-color: #EDEAF2;
            border-radius: 5px;
            overflow: hidden;
            transition: background-color 0.3s;
        }

        .yulan:hover {
            background-color: #e0dbe8;
        }

        .yulan a {
            display: flex;
            width: 100%;
            height: 100%;
            align-items: center;
            justify-content: center;
            /* flex 布局直接实现水平垂直居中 */
        }

        .yulan p {
            margin: 0;
            font-size: 0.9rem;
            color: #555;
        }

        .github-link {
            font-size: 1.5rem;
            color: #333;
            flex-shrink: 0;
            /* 防止图标被挤压 */
            transition: color 0.3s, transform 0.3s;
        }

        .github-link:hover {
            color: #000;
            transform: scale(1.15);
        }

        /* --- 页脚 --- */
        footer {
            text-align: center;
            padding: 20px;
            background: #ffffff;
            color: #000;
            font-size: 0.85rem;
            margin-top: auto;
        }

        footer a {
            color: #000;
            margin: 0 5px;
        }

        /* --- 移动端适配 --- */
        @media (max-width: 768px) {
            .container {
                flex-direction: column;
                margin: 0;
                border-radius: 0;
                box-shadow: none;
            }

            .left {
                width: 100%;
                padding: 30px 20px;
                position: static;
                max-height: none;
                margin: 0;
                /* 移动端取消 margin: auto，恢复正常文档流 */
            }

            .right {
                padding: 30px 20px;
                overflow-y: visible;
                max-height: none;
            }

            .lunbo-container {
                height: 200px;
            }

            .project {
                grid-template-columns: 1fr;
            }

            .card {
                padding: 15px;
            }

            .yulan {
                max-width: 120px;
                height: 36px;
            }
        }
    