* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            min-height: 100vh;
            background-color: var(--body-color);
            transition: all 0.3s ease;
            display: flex;
            /* 添加背景图 */
            background-image: url('Screenshot_20250518_193216_com.predidit.kazumi_edit_9215290534830804.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }

        /* 设置全局变量 */
        :root {
            --body-color: #ffffff;
            --shell-color: #0e0d0d;
            --primary-color: #695CFE;
            --primary-color-light: #100f0f;
            --toggle-color: #DDD;
            --text-color: #fdf9f9;
        }



        .shell {
            position: fixed;
            top: 0;
            left: 0;
            height: 100%;
            width: 250px;
            padding: 10px 14px;
            background: var(--shell-color);
            transition: all 0.3s ease;
            z-index: 100;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .close {
            width: 88px;
        }

        .shell li {
            height: 50px;
            list-style: none;
            display: flex;
            align-items: center;
            margin-top: 10px;
        }

        .image,
        .icon {
            min-width: 60px;
            border-radius: 6px;
        }

        .icon {
            min-width: 60px;
            border-radius: 6px;
            height: 60%;
            display: flex;
            align-items: center;
            justify-content: center;
            font: 300 23px '';
        }

        .text,
        .icon {
            color: var(--text-color);
            transition: all 0.3s ease;
        }

        .text {
            font: 500 17px;
            white-space: nowrap;
            opacity: 1;
        }

        .shell.close .text {
            opacity: 0;
        }

        header {
            position: relative;
        }

        .image-text {
            display: flex;
            align-items: center;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
        }

        .name {
            margin-top: 2px;
            font: 600 18px '';
        }

        .software {
            font-size: 20px;
            margin-top: -2px;
            display: block;
        }

        .image {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .image img {
            width: 45px;
            border-radius: 6px;
        }

        .toggle {
            position: absolute;
            top: 50%;
            right: -20px; /* 调整位置使其完全显示 */
            transform: translateY(-50%) rotate(180deg);
            height: 35px; /* 稍微增大确保完全可见 */
            width: 35px;
            background-color: var(--primary-color);
            color: var(--shell-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 101; /* 提高层级确保在最前面 */
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        }

        .toggle:hover {
            background-color: #5a4dfd;
        }

        .shell.close .toggle {
            transform: translateY(-50%) rotate(0deg);
        }

        .menu {
            margin-top: 40px;
        }

        li.search-box {
            border-radius: 6px;
            background-color: var(--primary-color-light);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        li.search-box input {
            height: 100%;
            width: 100%;
            outline: none;
            border: none;
            background-color: var(--primary-color-light);
            color: var(--text-color);
            border-radius: 6px;
            font-size: 17px;
            font-weight: 500;
            transition: all 0.3s ease;
            padding-left: 10px;
        }

        .shell li a {
            list-style: none;
            height: 100%;
            background-color: transparent;
            display: flex;
            align-items: center;
            height: 100%;
            width: 100%;
            border-radius: 6px;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .shell li a:hover {
            background-color: var(--primary-color);
        }

        .shell li a:hover .icon,
        .shell li a:hover .text {
            color: var(--shell-color);
        }

        .menu-bar {
            height: calc(100% - 55px);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow-y: scroll;
        }

        .menu-bar::-webkit-scrollbar {
            display: none;
        }

        .menu-bar .mode {
            border-radius: 6px;
            background-color: var(--primary-color-light);
            position: relative;
            transition: all 0.3s ease;
        }

        .menu-bar .mode .sun-moon {
            height: 50px;
            width: 60px;
        }



        .toggle-switch {
            position: absolute;
            right: 0;
            height: 100%;
            min-width: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            cursor: pointer;
        }

        .switch {
            position: relative;
            height: 22px;
            width: 40px;
            border-radius: 25px;
            background-color: var(--toggle-color);
            transition: all 0.3s ease;
        }

        .switch::before {
            content: '';
            position: absolute;
            height: 15px;
            width: 15px;
            border-radius: 50%;
            top: 50%;
            left: 5px;
            transform: translateY(-50%);
            background-color: var(--shell-color);
            transition: all 0.3s ease;
        }


        /* 内容区域样式 */
        .content-area {
            flex: 1;
            margin-left: 110px;
            padding: 20px;
            transition: all 0.3s ease;
            min-height: 100vh;
        }

        body.nav-close .content-area {
            margin-left: 88px;
        }

        .content-page {
            display: none;
            animation: fadeIn 0.5s;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
            min-height: calc(100vh - 40px);
        }

        .content-page.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .page-title {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--primary-color);
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-color-light);
        }

        .page-content {
            line-height: 1.6;
            color: var(--text-color);
        }

        /* 主页特定样式 */
        .home-welcome {
            text-align: center;
            padding: 40px 0;
        }

        .home-welcome h1 {
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--primary-color);
        }

        .home-welcome p {
            font-size: 18px;
            max-width: 600px;
            margin: 0 auto;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .shell {
                width: 88px;
            }
            
            .shell:not(.close) {
                width: 250px;
                z-index: 1000;
            }
            
            .content-area {
                margin-left: 88px;
            }
            
            body.nav-close .content-area {
                margin-left: 0;
            }
            
            .toggle {
                right: -25px;
            }
        
        }
        /* 个人信息卡片样式 */
        .myhe{
            margin-top: 1.5rem;
            margin-left: 4.6rem;
            background-color:rgba(244, 246, 248, 0.436);
            width: 160px;
            height: 78px;
            border: rgb(45, 76, 116) 1px solid;
            border-radius: 10px;
        }
        .personinform{
            display: flex;
            color: white;
            margin-left: 9px;
            margin-top: 9px;
            font-size: 15px;
        }
        .personinform span{
            margin-left: 25px;
        }
        .timeline{
            color: white;
            margin-left: 4.6rem;
            margin-top: 10px;
            background-color:rgba(244, 246, 248, 0.436);
            width: 160px;
            height: 225px;
            border: rgb(45, 76, 116) 1px solid;
            border-radius: 10px;
        }
        .timeline-date{
            display: flex;
            color: white;
            margin-left: 9px;
            margin-top: 9px;
            font-size: 15px;
        }
        .persondescribe{
            color: white;
            display: flex;
            margin-left: 330px;
            margin-top: -650px;
            font-size: 70px;
        }
        /* 句子 */
        .container{
            display: flex;
            width: 700px;
            height: 200px;
            margin-left: 330px;
            margin-top: 30px;
            color: white;
        }
        .quote-card{
            color: white;
            display: flex;
            font-size: 30px;
        }