@font-face {
    font-family: "a";
    /*中文字体*/
    src: url(https://i.zyyo.net/upload/%E5%AD%97%E4%BD%93/%E5%85%B6%E4%BB%96%E5%AD%97%E4%BD%93/Hubot/Hubot%20Sans/Hubot-Sans.woff2);
    font-display: swap;
}

@font-face {
    font-family: "b";
    /*英文字体*/
    src: url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
    font-display: swap;
}

/* 全局CSS变量定义 */
:root {
    /* 流光主页CSS变量 */
    --color-link: #5f5f5f;
    --color-link-hover: #5f5f5f;
    --color-enter: #fff;
    --color-title: #fff;
    --color-content: #222325;
    --font-alt: 200 6vw/1 "Comic Sans MS", "Helvetica Neue", "Microsoft Yahei", "Microsoft Yahei", -apple-system, sans-serif;
    
    /* 通用CSS变量 */
    --purple-start: #a742ff;
    --purple-end: #5626b5;
    --bg-opacity: rgba(255, 255, 255, 0.1);
    --text-color: #333;
    --music-bg: rgba(255, 255, 255, 0.85);
    --primary-color: #3f7cac;
    --secondary-color: #95afba;
    --background-color: #fafbfc;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --border-color: #e1e8ed;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --font-family-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


* {
    font-family: "b", "a", sans-serif;
    cursor: url('static/sb.cur'), url('static/sb.cur?v=1'), auto;
    -webkit-cursor: url('static/sb.cur'), auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    transition: color 0.1s ease, background-color 0.1s ease, border-color 0.1s ease, opacity 0.1s ease, transform 0.1s ease;
}
a:hover,
a:link,
a:visited,
a:active,
a:focus {
    text-decoration: none;
    outline: none;
    border: none;
    color: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 设置滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-text-color, #000000);
    border-radius: 8px;
    height: 20%;
}

::-webkit-scrollbar-track {
    background: var(--main-bg-color, linear-gradient(50deg, #a2d0ff, #ffffff));
}

/* Safari cursor fix */
@supports (-webkit-appearance: none) {
    * {
        cursor: url('static/sb.cur'), auto !important;
    }
    
    body {
        cursor: url('static/sb.cur'), auto !important;
    }
    
    html {
        cursor: url('static/sb.cur'), auto !important;
    }
    
    /* 确保所有交互元素也使用自定义cursor */
    a, button, input, select, textarea, .iconItem, .projectItem, .dock-item {
        cursor: url('static/sb.cur'), auto !important;
    }
    
    /* hover状态也强制使用自定义cursor */
    a:hover, button:hover, .iconItem:hover, .projectItem:hover, .dock-item:hover {
        cursor: url('static/sb.cur'), auto !important;
    }
}


/* 明暗模式主题变量 */
html[data-theme="dark"] {
    /* 主要背景和文字颜色 */
    --main-bg-color: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #0d0d0d 50%, #1f1f1f 75%, #0a0a0a 100%);
    --main-text-color: #ffffff;
    
    /* 暗金色系 */
    --dark-gold-primary: #d4af37;
    --dark-gold-secondary: #b8860b;
    --dark-gold-accent: #ffd700;
    --dark-gold-muted: #8b7355;
    --dark-gold-shadow: rgba(212, 175, 55, 0.3);
    
    /* 渐变文字颜色 */
    --gradient-start: var(--dark-gold-primary);
    --gradient-middle: #f76cc6;
    --gradient-end: var(--dark-gold-accent);
    
    /* 功能颜色 */
    --purple-text-color: var(--dark-gold-accent);
    --text-bg-color: rgba(26, 4, 48, 0.8);
    
    /* 图标相关颜色 */
    --icon-bg-color: rgba(25, 30, 40, 0.8);
    --icon-1-hover-color: var(--dark-gold-primary);
    --icon-2-hover-color: rgb(232, 68, 241);
    --icon-3-hover-color: var(--dark-gold-secondary);
    --icon-4-hover-color: rgb(201, 13, 0);
    --icon-5-hover-color: var(--dark-gold-muted);
    
    /* 项目卡片颜色 */
    --project-item-bg-color: rgba(25, 30, 40, 0.8);
    --project-item-hover-color: rgba(30, 40, 55, 0.9);
    --project-item-left-title-color: #ffffff;
    --project-item-left-text-color: #b8c2cc;
    
    /* 其他UI元素 */
    --footer-text-color: var(--dark-gold-muted);
    --border-color: rgba(212, 175, 55, 0.2);
    --shadow-light: 0 2px 10px var(--dark-gold-shadow);
    --shadow-medium: 0 4px 20px var(--dark-gold-shadow);
    
    /* 流光主页特殊颜色 */
    --color-link: #9aa7ff;
    --color-link-hover: #b8c2ff;
    --color-enter: #ffffff;
    --color-title: #ffffff;
    --color-content: #e8e8e8;
    
    /* 音乐播放器和dock */
    --music-bg: rgba(25, 30, 40, 0.85);
    --bg-opacity: rgba(0, 0, 0, 0.3);
}















body {
    height: 100%;
    min-height: 100vh;
    width: 100%;
    background: var(--main-bg-color, linear-gradient(50deg, #a2d1ff, #ffffff));
    overflow-x: hidden;
    overflow-y: hidden; /* 初始状态禁用垂直滚动 */
    color: var(--main-text-color, #000000);
    /* 防止滚动惯性影响页面切换 */
    scroll-behavior: auto;
}

#PageLoading {
    background: radial-gradient(white, #d8eaff);
    background-size: 100%;
    background-position: center;
    background-color: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 999999;
    margin-top: 0px;
    top: 0px;
    pointer-events: none;
    opacity: 1;
    transition: all 0.5s ease;
}

#PageLoading-zyyo {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#PageLoading-zyyo-center {
    height: 200px;
    width: 200px;
    position: relative;
    transition: all 1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.object {
    -moz-border-radius: 50% 50% 50% 50%;
    -webkit-border-radius: 50% 50% 50% 50%;
    border-radius: 50% 50% 50% 50%;
    position: absolute;
    border-left: 5px solid #8887fa;
    border-right: 5px solid #FFC0CB;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    -webkit-animation: animate 2.5s infinite;
    animation: animate 2.5s infinite;
}

#object_one {
    width: 20%;
    height: 20%;
}

#object_two {
    width: 35%;
    height: 35%;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

#object_three {
    width: 45%;
    height: 45%;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

#object_four {
    width: 55%;
    height: 55%;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

@-webkit-keyframes animate {
    50% {
        -ms-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    100% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes animate {
    50% {
        -ms-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    100% {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}




.main {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

.left {
    width: 250px;
    height: 100vh;
    display: flex;
    padding: 0 15px;
    position: fixed;
    left: 0;
    top: 0;
    align-items: center;
    flex-direction: column;
    z-index: 60;
}

.left-main {
    width: 100%;
     height: 100vh;
    overflow-y: scroll;
    display: flex;
  
    align-items: center;
    flex-direction: column;
    transform: scale(0.85) translateY(-70px);

}

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


.logo {
    flex-shrink: 0;
    width: 90%;
    position: relative;
    aspect-ratio: 1/1;
    margin-top: 50px;
    background-size: cover;
    border-radius: 50%;
    
    transition: all 0.8s ease-in-out;
   
}



.left-div {
    flex-shrink: 0;
    width: 100%;
    border-radius: 13px;
    margin-top: 15px;
    padding: 20px;
    background: var(--project-item-bg-color, rgba(249, 250, 251, 0.6));
}

.left-des {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.left-div-item {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    font-size: 15px;
    gap: 8px;
    overflow: hidden;
    padding-left: 0px;
}

.left-tag {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
}

.left-tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    padding: 10px;
    font-size: 13px;
    border-radius: 10px;
    background: var(--main-bg-color, linear-gradient(50deg, #a2d1ff, #ffffff));

}

#line {
    width: 100%;
    height: 200px;
    font-size: 13px;
    padding-left: 10px;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

#line li {
    list-style: none;
    position: relative;
    padding: 15px 0px 0px 15px;
    border-left: 2px solid #adbeff;
    border-radius: 0;
    scroll-snap-align: end;
    color: #82888a;
}



.focus {
    width: 15px;
    height: 15px;
    border-radius: 22px;
    background-color: #8da1ff;
    border: 2px solid #fff;
    position: absolute;
    left: -9px;
    top: 50%;
}

#line li:first-child .focus:first-child {
    background-color: #2ecc71;
    animation: focus 1.8s ease infinite;
}
#line::-webkit-scrollbar {
   display: none;
}
.left-title {
    font-size: 20px;
    margin-top: 30px;
}


.right {
    width: calc(100% - 250px);
    display: flex;
    padding: 0;
    position: relative;
    margin-left: 250px;
    flex-direction: column;
    z-index: 60;
    text-align: left;
}

.right main {
    text-align: left;
}

.right header {
    padding: 25px;
}

.welcome {

    font-size: 55px;
    font-weight: 800;
    margin: 30px 0;
}

.description {

    font-size: 20px;
    margin-top: 7px;
}

.gradientText {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200%;
    background-position: 0%;
    animation: backgroundSizeAnimation 5s ease-in-out infinite;
    background-image: linear-gradient(120deg, var(--gradient-start, #bd34fe), var(--gradient-middle, #e0321b) 30%, var(--gradient-end, #41d1ff) 60%);
}

@keyframes backgroundSizeAnimation {
    0% {
        background-position: 100%;
    }

    25% {
        background-position: 50%;
    }

    50% {
        background-position: 0%;
    }

    75% {
        background-position: 50%;
    }

    100% {
        background-position: 100%;
    }

}

.purpleText {
    color: var(--purple-text-color, #747bff);
    font-weight: 800;
}

.textBackground {
    font-weight: 800;
    background: var(--text-bg-color, #f4f4f4);
    border-radius: 5px;
    font-size: 15px;
    padding: 3px 5px;

}

.iconContainer {
    width: 100%;
    gap: 8px;
    height: 60px;
    display: flex;
    align-items: center;
    overflow-x: scroll;
    margin-top: 20px;

}

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



.iconItem {
    width: 47px;
    height: 40px;
    box-sizing: border-box;
    background: var(--icon-bg-color, rgba(249, 250, 251, 0.6));
    border-radius: 7px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.switch {
    width: 55px;
}

.iconTip {
    white-space: nowrap;
    display: none;
}





.iconItem:nth-child(1):hover {
    width: 95px;
    transform: translateY(-2px);
    background: var(--icon-1-hover-color, rgb(137, 172, 255));
}

.iconItem:nth-child(2):hover {
    width: 80px;
    transform: translateY(-2px);
    background: var(--icon-2-hover-color, rgb(251, 173, 255));
}

.iconItem:nth-child(3):hover {
    width: 80px;
    transform: translateY(-2px);
    background: var(--icon-3-hover-color, rgb(169, 255, 248));
}

.iconItem:nth-child(4):hover {
    width: 80px;
    transform: translateY(-2px);
    background: var(--icon-4-hover-color, rgb(255, 167, 161));
}

.iconItem:nth-child(5):hover {
    width: 80px;
    transform: translateY(-2px);
    background: var(--icon-5-hover-color, rgb(255, 183, 156));
}

.iconItem:hover .iconTip {
    display: block;
}

.switch:hover {
    width: 55px;

    transform: translateY(-2px);
    background: var(--icon-5-hover-color, rgb(255, 183, 156));
}

#tanChiShe {
    width: 100%;
    max-width: 800px;
    display: block;
}

#tanChiShe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: flex-start;
    font-size: 26px;
    font-weight: 800;
    margin: 20px 0;
    transition: font-size 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: left;
    will-change: font-size;
    padding-left: 0;
}
.title svg {
    flex-shrink: 0;
    margin-right: 3px;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.title:hover {
    font-size: 27.3px;
    transition: font-size 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.title:hover svg {
    width: 27.3px;
    height: 27.3px;
    transition: width 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), height 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.projectList {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 5px;
}

.projectItem {
    opacity: 0;
    transition-delay: 0.4s;
    transform: translateY(110px);
    /*淡入动画*/
    display: flex;
    background-color: var(--project-item-bg-color, rgba(249, 250, 251, 0.6));
    border-radius: 8px;
    padding: 18px;
    height: 105px;
    width: calc(50% - 60px);
    transition: all 0.5s ease;


}

.projectItem.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}


.projectItem:hover {
    border: 0.8px solid #747bff;
    box-shadow: 0 8px 16px -4px #2c2d300c;
    background-color: var(--project-item-hover-color, rgba(244, 245, 246, 0.8));
}



.projectItem:hover .projectItemLeft {
    width: 100%;
}

.projectItem:hover .projectItemRight {
    width: 0%;
}

.projectItem:hover .projectItemRight img {
    transform: rotate(40deg);
}

.projectItem:hover h1 {
    font-size: 18px;
}

.projectItemLeft p {
    font-size: 13px;
    margin-top: 5px;
    color: var(--project-item-left-text-color, #7e7e7e);
}

.projectItemLeft h1 {
    font-weight: normal;
    font-size: 18px;
    margin: 0px;

    transition: all 0.4s ease;
    color: var(--project-item-left-title-color, #000000);
}

.projectItemLeft {
    transition: all 0.4s ease;
    height: 100%;
    width: 80%;
}


.projectItemRight {
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    height: 100%;
}

.projectItemRight img {
    transition: all 0.1s ease;
    height: 44px;
    width: 44px;

}

.skill {
    padding: 25px;
    width: 100%;
}

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

.skill #skillWap {
    display: none;
}

footer {
    padding: 5px;
    color: var(--footer-text-color);
    font-size: 13px;
    margin-top: 20px;
}




@media (max-width: 1000px) {

    .projectItem {
        width: calc(100% - 25px);
    }


  


}

@media (max-width: 800px) {


    .right {
        width: 100%;
        padding: 0;
    }
    
    .right header {
        padding: 25px;
    }
    
#tanChiShe {
    width: 100%;
    max-width: 650px;
}
    .description {
        font-size: 16px;
    }

    .welcome {
        font-size: 48px;

    }


    .projectItemLeft p {
        font-size: 14px;
    }

    .projectItemLeft h1 {

        font-size: 15px;
    }

    .projectItem:hover h1 {

        font-size: 20px;

    }

    .projectList {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .skill #skillWap {
        display: block;
    }

    .skill #skillPc {
        display: none;
    }





    .left {
        position: fixed;
        z-index: 9999;
        padding: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        background: none;
        transition: all 0.3s linear;
    }

    .left-main {
        position: absolute;
        float: left;
        width: 60vw;
        /*侧边栏+按钮宽度*/
        left: -60vw;
        /*侧边栏隐藏在屏外宽度*/
        padding: 15px;
        box-sizing: border-box;
        background: var(--main-bg-color, linear-gradient(50deg, #a2d1ff, #ffffff));
        transition: all 0.25s ease-out;
        transform: scale(0.85) translateY(-70px);
    }

 

    .left-open {
        pointer-events: auto;
        background: rgba(100, 100, 100, 0.5);
    }


    .left-main-open {
        left: 0;
    }








}





.tc {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.tc-main {
    z-index: 9999999;
    width: 80%;
    max-width: 300px;
    /* 根据需要调整最大宽度 */
    min-height: 200px;
    background-color: #ffffff;
    border-radius: 12px;
    opacity: 0;
    display: flex;
    transition: all 0.15s linear;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: translateY(20%);
}

.tc-img {
    width: 100%;
    height: 100%;
}

.tc.active {
    visibility: visible !important;
    display: flex !important;
}

.tc-main.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.tc-close {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
      background-color: var(--project-item-bg-color, rgba(249, 250, 251, 0.6));
    margin-top: 30px;
    border-radius: 50%;
}







.onoffswitch {
    position: relative;
    width: 38px;
    height: 20px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    border-radius: 50px;
}

.onoffswitch-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200%;
    height: 100%;
    margin-left: -100%;
    transition: margin 0.2s ease-in 0s;
}

.onoffswitch-inner:before,
.onoffswitch-inner:after {
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    width: 50%;
    height: 100%;
    padding: 0;
    font-size: 12px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "";
    background-color: #e4e4e4;
    color: #FFFFFF;
    text-align: left;
}

.onoffswitch-inner:after {
    content: "";
    background-color: #272727;
    color: #FAFAFA;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    height: 70%;
    aspect-ratio: 1/1;
    background: #FFFFFF;
    position: absolute;
    top: 12.5%;
    bottom: 12.5%;
    right: 5px;

    border-radius: 20px;
    transition: all 0.2s ease-in 0s;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch {
    right: 50%;
}

/* ========== 流光主页样式 ========== */

/* 流光主页淡入效果 */
.fade {
    opacity: 0;
    transition: all 1s;
    transform: translateY(200px);
}

.fade.in {
    opacity: 1;
    transform: none;
}

/* 流光主页图标字体 */
@font-face {
    font-family: iconfont;
    font-display: auto;
    src: url(//at.alicdn.com/t/font_1056856_p9cyrhslv5j.eot?t=1551327438450);
    src: url(//at.alicdn.com/t/font_1056856_p9cyrhslv5j.eot?t=1551327438450#iefix) format("embedded-opentype"), url("data:application/x-font-woff2;charset=utf-8;base64,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") format("woff2"), url(//at.alicdn.com/t/font_1056856_p9cyrhslv5j.woff?t=1551327438450) format("woff"), url(//at.alicdn.com/t/font_1056856_p9cyrhslv5j.ttf?t=1551327438450) format("truetype"), url(//at.alicdn.com/t/font_1056856_p9cyrhslv5j.svg?t=1551327438450#iconfont) format("svg");
}

.icon {
    display: block;
    width: 1.5em;
    height: 1.5em;
    margin: 0;
    fill: currentColor;
    font-family: iconfont !important;
    font-size: inherit;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-github:before {
    content: "\e7ab";
}

.icon-twitter:before {
    content: "\ecc1";
}

.icon-other:before {
    content: "\e631";
}

.icon-email:before {
    content: "\e62d";
}

.icon-bokeyuan:before {
    content: "\e603";
}

.icon-xiaolian:before {
    content: "\e650";
}

.icon-wechat:before {
    content: "\f23b";
}

/* 流光主页主要样式 */
main {
    overflow: visible;
}

.content,
main {
    height: auto;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.content {
    background: 0 0;
}

.content-intro {
    z-index: 100;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* 防止滚动时影响下层主页面 */
    overscroll-behavior: contain;
}

/* 在引导页显示时隐藏音乐播放器和dock栏 */
body.intro-page .music-player,
body.intro-page .dock-container {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.content-main {
    position: relative;
    margin-top: 0;
    z-index: 50;
}

.content-inner {
    position: relative;
}

.content-inner,
.wrap {
    width: 100%;
    height: 100vh;
}

.wrap {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content-intro .content-inner {
    background: 0 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.shape {
    height: 100vh;
    width: 100%;
    display: block;
    background: 0 0;
}

.shape-wrap {
    position: relative;
    z-index: 0;
    margin: -5px 0 0;
    will-change: scroll-position;
    background: 0 0;
}

.shape path {
    fill: #151515;
}

.content-title {
    font-family: Comic Sans MS, Helvetica Neue, Microsoft Yahei, -apple-system, sans-serif;
    font-size: 4.7rem;
    font-weight: 200;
    color: #fff;
    line-height: 1;
    margin-top: .8em;
    margin-bottom: .3em;
    animation: whiteShadow 1.5s ease-in-out infinite alternate;
    text-shadow: #452d2d 0 0 1px, #fffffb 0 0 1px, #fffffb 0 0 2px;
}

@media screen and (max-width: 50em) {
    .content-title {
        font-size: 2rem;
    }
}

@keyframes whiteShadow {
    0% {
        text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 5px #333, 0 0 8px #333, 0 0 9px #333, 0 0 10px #333, 0 0 15px #333;
    }
    to {
        text-shadow: 0 0 .5px #fff, 0 0 1px #fff, 0 0 1.5px #fff, 0 0 2px #333, 0 0 4px #333, 0 0 5px #333, 0 0 6px #333, 0 0 8px #333;
    }
}

.content-subtitle {
    color: #fff;
    font-family: Comic Sans MS, Helvetica Neue, Microsoft Yahei, -apple-system, sans-serif;
    font-size: 1.2rem;
    font-weight: 200;
    margin-bottom: 2em;
    text-shadow: 0 0 4px #fff;
}

@media screen and (max-width: 1024px) {
    .content-subtitle {
        font-size: 1rem;
    }
}

.enter {
    color: #fff;
    font-size: .8rem;
    letter-spacing: 3px;
    white-space: pre;
    pointer-events: auto;
    transition: all .4s;
    z-index: 999;
    position: relative;
    background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, .7), transparent);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2s linear infinite;
    text-shadow: 0 0 10px hsla(0, 0%, 100%, .3);
}

.enter:focus,
.enter:hover {
    color: #5f5f5f;
}

@keyframes shimmer {
    0% {
        background-position: 200%;
        text-shadow: 0 0 10px hsla(0, 0%, 100%, .3);
    }
    50% {
        text-shadow: 0 0 20px hsla(0, 0%, 100%, .6);
    }
    to {
        background-position: -200%;
        text-shadow: 0 0 10px hsla(0, 0%, 100%, .3);
    }
}

.arrow {
    position: absolute;
    left: 49.5%;
    top: 95%;
    transform-origin: 50% 50%;
    transform: translate3d(-50%, 0, 0);
}

.arrow-1 {
    animation: arrow-movement 2s ease-in-out infinite;
}

.arrow-2 {
    animation: arrow-movement 2s 1s ease-in-out infinite;
}

.arrow:after,
.arrow:before {
    background: #fff;
    content: "";
    display: block;
    height: 3px;
    position: absolute;
    top: 0;
    left: 0;
    width: 13px;
    box-shadow: 1px 1px 20px 0 #fff;
}

.arrow:before {
    transform: rotate(45deg) translateX(-10%);
    transform-origin: top left;
}

.arrow:after {
    transform: rotate(-45deg) translateX(10%);
    transform-origin: top right;
}

@keyframes arrow-movement {
    0% {
        opacity: 0;
        top: 92%;
    }
    70% {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.content-subtitle span {
    animation: letter-glow .7s 0s ease both;
}

@keyframes letter-glow {
    0% {
        opacity: 0;
        text-shadow: 0 0 1px hsla(0, 0%, 100%, .1);
    }
    66% {
        opacity: 1;
        text-shadow: 0 0 20px hsla(0, 0%, 100%, .9);
    }
    77% {
        opacity: 1;
    }
    to {
        opacity: .7;
        text-shadow: 0 0 20px hsla(0, 0%, 100%, .2);
    }
}

.content-subtitle span:first-child {
    animation-delay: 50ms;
}

.content-subtitle span:nth-child(2) {
    animation-delay: .1s;
}

.content-subtitle span:nth-child(3) {
    animation-delay: .15s;
}

.content-subtitle span:nth-child(4) {
    animation-delay: .2s;
}

.content-subtitle span:nth-child(5) {
    animation-delay: .25s;
}

.content-subtitle span:nth-child(6) {
    animation-delay: .3s;
}

.content-subtitle span:nth-child(7) {
    animation-delay: .35s;
}

.content-subtitle span:nth-child(8) {
    animation-delay: .4s;
}

.content-subtitle span:nth-child(9) {
    animation-delay: .45s;
}

.content-subtitle span:nth-child(10) {
    animation-delay: .5s;
}

.content-subtitle span:nth-child(11) {
    animation-delay: .55s;
}

.content-subtitle span:nth-child(12) {
    animation-delay: .6s;
}

.content-subtitle span:nth-child(13) {
    animation-delay: .65s;
}

.content-subtitle span:nth-child(14) {
    animation-delay: .7s;
}

.content-subtitle span:nth-child(15) {
    animation-delay: .75s;
}

.content-subtitle span:nth-child(16) {
    animation-delay: .8s;
}

.content-subtitle span:nth-child(17) {
    animation-delay: .85s;
}

.content-subtitle span:nth-child(18) {
    animation-delay: .9s;
}

.content-subtitle span:nth-child(19) {
    animation-delay: .95s;
}

.content-subtitle span:nth-child(20) {
    animation-delay: 1s;
}

.content-subtitle span:nth-child(21) {
    animation-delay: 1.05s;
}

.content-subtitle span:nth-child(22) {
    animation-delay: 1.1s;
}

.content-subtitle span:nth-child(23) {
    animation-delay: 1.15s;
}

.content-subtitle span:nth-child(24) {
    animation-delay: 1.2s;
}

.content-subtitle span:nth-child(25) {
    animation-delay: 1.25s;
}

.content-subtitle span:nth-child(26) {
    animation-delay: 1.3s;
}

.content-subtitle span:nth-child(27) {
    animation-delay: 1.35s;
}

.content-subtitle span:nth-child(28) {
    animation-delay: 1.4s;
}

.content-subtitle span:nth-child(29) {
    animation-delay: 1.45s;
}

.content-subtitle span:nth-child(30) {
    animation-delay: 1.5s;
}

.content-subtitle span:nth-child(31) {
    animation-delay: 1.55s;
}

.content-subtitle span:nth-child(32) {
    animation-delay: 1.6s;
}

.content-subtitle span:nth-child(33) {
    animation-delay: 1.65s;
}

.content-subtitle span:nth-child(34) {
    animation-delay: 1.7s;
}

.content-subtitle span:nth-child(35) {
    animation-delay: 1.75s;
}

.content-subtitle span:nth-child(36) {
    animation-delay: 1.8s;
}

.content-subtitle span:nth-child(37) {
    animation-delay: 1.85s;
}

.content-subtitle span:nth-child(38) {
    animation-delay: 1.9s;
}

#background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#card {
    position: relative;
    width: 100vw;
    height: 100vh;
    color: #93979e;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    transition: width .5s ease, height .5s ease;
}

#card .card-inner {
    padding: 0;
    border: 0;
    width: 35%;
}

@media screen and (max-width: 1024px) {
    #card .card-inner {
        width: 45%;
    }
}

@media screen and (max-width: 768px) {
    #card .card-inner {
        width: 50%;
    }
}

@media screen and (max-width: 540px) {
    #card .card-inner {
        width: 60% !important;
    }
    #card .card-inner header h1 {
        font-size: 1rem !important;
    }
    #card .card-inner header h2,
    #card .card-inner ul li {
        font-size: .8rem !important;
    }
}

@media screen and (max-width: 480px) {
    #card .card-inner {
        width: 90% !important;
    }
}

@media screen and (max-width: 360px) {
    #card .card-inner {
        width: 100% !important;
    }
}

#card .card-inner header {
    margin-bottom: 40px;
}

#card .card-inner header img {
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
    transition: .4s ease-in-out;
    z-index: 2;
    position: relative;
}

#card .card-inner header h1 {
    margin: 15px 15px 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1.2em;
    font-weight: 300;
    z-index: 2;
    position: relative;
}

#card .card-inner header h2 {
    color: #ccc;
    letter-spacing: 3px;
    font-size: .8rem;
    font-weight: lighter;
    z-index: 2;
    position: relative;
}

#card .card-inner ul {
    position: relative;
    margin: 0;
    list-style-type: none;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 100%;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    padding-bottom: 40px;
}

#card .card-inner ul li {
    z-index: 2;
    position: relative;
    display: inline-block;
    transition: all .2s;
    width: 100%;
    height: 100%;
}

#card .card-inner ul li a {
    color: #b6b6b6;
    transition: all .2s;
}

#card .card-inner ul li a:hover {
    color: #f6f6f6;
    text-shadow: 0 0 2px #f6f6f6;
}

/* ========== Dark 模式暗金效果增强 ========== */

/* 背景暗金粒子效果 */
html[data-theme="dark"] body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, var(--dark-gold-primary), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--dark-gold-secondary), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--dark-gold-accent), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--dark-gold-primary), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--dark-gold-secondary), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
    animation: goldParticles 20s linear infinite;
}

@keyframes goldParticles {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100px);
    }
}

/* 主标题暗金发光效果 */
html[data-theme="dark"] .welcome {
    background: linear-gradient(45deg, var(--dark-gold-primary), var(--dark-gold-accent), var(--dark-gold-secondary));
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 3s ease-in-out infinite;
    text-shadow: 0 0 20px var(--dark-gold-shadow);
    position: relative;
}

html[data-theme="dark"] .welcome::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse, var(--dark-gold-shadow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: goldGlow 2s ease-in-out infinite alternate;
}

@keyframes goldShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes goldGlow {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* 项目卡片暗金边框和阴影效果 */
html[data-theme="dark"] .projectItem {
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

html[data-theme="dark"] .projectItem::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

html[data-theme="dark"] .projectItem:hover {
    border-color: var(--dark-gold-primary);
    box-shadow: 
        0 8px 25px rgba(212, 175, 55, 0.2),
        0 0 20px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

html[data-theme="dark"] .projectItem:hover::before {
    opacity: 1;
    animation: goldSweep 1.5s ease-in-out;
}

@keyframes goldSweep {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* 图标暗金悬停效果 */
html[data-theme="dark"] .iconItem:nth-child(1):hover,
html[data-theme="dark"] .iconItem:nth-child(3):hover,
html[data-theme="dark"] .iconItem:nth-child(5):hover {
    background: linear-gradient(45deg, var(--dark-gold-primary), var(--dark-gold-secondary));
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.3),
        0 0 20px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

/* 标题暗金效果 */
html[data-theme="dark"] .title {
    color: var(--dark-gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    transition: font-size 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: font-size;
}

html[data-theme="dark"] .title:hover {
    color: var(--dark-gold-accent);
    text-shadow: 
        0 0 15px rgba(255, 215, 0, 0.6),
        0 0 25px rgba(212, 175, 55, 0.3);
    font-size: 27.3px;
    transition: font-size 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html[data-theme="dark"] .title:hover svg {
    width: 27.3px;
    height: 27.3px;
    transition: width 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), height 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 左侧栏暗金装饰 */
html[data-theme="dark"] .left-div {
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

html[data-theme="dark"] .left-tag-item {
    background: linear-gradient(45deg, rgba(20, 20, 20, 0.9), rgba(30, 30, 30, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--dark-gold-primary);
    transition: all 0.3s ease;
}

html[data-theme="dark"] .left-tag-item:hover {
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.1));
    border-color: var(--dark-gold-primary);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
    transform: translateY(-1px);
}

/* 滚动条暗金效果 */
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

html[data-theme="dark"] ::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.8);
}

/* 渐变文字暗金效果 */
html[data-theme="dark"] .gradientText {
    background-image: linear-gradient(120deg, var(--dark-gold-primary), var(--dark-gold-accent) 30%, var(--dark-gold-secondary) 60%);
}

html[data-theme="dark"] .purpleText {
    color: var(--dark-gold-primary);
    background: linear-gradient(45deg, var(--dark-gold-primary), var(--dark-gold-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========== Dark 模式额外适配 ========== */

/* Dark 模式下流光主页背景适配 */
html[data-theme="dark"] .content {
    background: var(--main-bg-color) !important;
}

html[data-theme="dark"] .content-intro {
    background: var(--main-bg-color) !important;
}

html[data-theme="dark"] body {
    background: var(--main-bg-color) !important;
}

html[data-theme="dark"] .content-main {
    background: var(--main-bg-color) !important;
}

html[data-theme="dark"] .main {
    background: var(--main-bg-color) !important;
}

html[data-theme="dark"] .grid-background {
    opacity: 0.3;
}

/* Dark 模式下页面加载器适配 */
html[data-theme="dark"] #PageLoading {
    background: radial-gradient(#1a1a2e, #0f1419);
}

/* Dark 模式下滚动条适配 */
html[data-theme="dark"] ::-webkit-scrollbar-track {
    background-color: var(--main-bg-color);
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Dark 模式下左侧栏适配 */
html[data-theme="dark"] .left-main {
    background: var(--main-bg-color);
}

html[data-theme="dark"] .left-tag-item {
    background: var(--icon-bg-color);
    color: var(--main-text-color);
}

/* Dark 模式下时间线适配 */
html[data-theme="dark"] #line li {
    border-left-color: rgba(173, 190, 255, 0.3);
    color: var(--project-item-left-text-color);
}

html[data-theme="dark"] .focus {
    background-color: #9aa7ff;
}

/* Dark 模式下切换按钮适配 */
html[data-theme="dark"] .onoffswitch-inner:before {
    background-color: #2c3e50;
}

html[data-theme="dark"] .onoffswitch-inner:after {
    background-color: #9aa7ff;
}

/* Dark 模式下弹窗适配 */
html[data-theme="dark"] .tc-main {
    background-color: var(--project-item-bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .tc-close {
    background-color: var(--icon-bg-color);
    color: var(--main-text-color);
}

/* Dark 模式下形状路径适配 */
html[data-theme="dark"] .shape path {
    fill: #0f1419;
}

/* Dark 模式下卡片适配 */
html[data-theme="dark"] #card .card-inner header img {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* Dark 模式下进度条等元素适配 */
html[data-theme="dark"] .object {
    border-left-color: #9aa7ff;
    border-right-color: #f76cc6;
}

/* Dark 模式下移动端适配 */
@media (max-width: 800px) {
    html[data-theme="dark"] .left-open {
        background: rgba(0, 0, 0, 0.7);
    }
    
    html[data-theme="dark"] .left-main {
        background: var(--main-bg-color);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}