/* 1. 主题变量统一管理 */
:root {
    --bg-color: #f8f9fa;
    --text-color: #333;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-color: rgba(0, 0, 0, 0.1);
    --hover-color: rgba(59, 130, 246, 0.1);
    --timeline-bg: rgba(0, 0, 0, 0.03);
    --icon-color: #333;
    --title-color: #333;
    --subtitle-color: #666;
    --bg-gradient: linear-gradient(135deg, #f8f9fa, #e9ecef);
    --interest-card-bg: rgba(255, 255, 255, 0.95);
    --interest-text-color: #333;
    --interest-shadow: rgba(0, 0, 0, 0.1);
    --interest-border: rgba(255, 255, 255, 0.2);
    --bg-pattern: rgba(0, 0, 0, 0.02);
    --bg-primary: #f8f9fa;
    --bg-secondary: #e9ecef;
    --bg-gradient: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    --bg-pattern: rgba(0, 0, 0, 0.02);
    --page-bg: #ffffff;
}

/* 暗色主题变量 */
[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color:  rgba(255, 255, 255, 0.7);
    --card-bg: rgba(30, 30, 30, 0.95);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-color: rgba(59, 130, 246, 0.15);
    --timeline-bg: rgba(40, 40, 40, 0.95);
    --icon-color: #a0aec0;
    --title-color: rgba(255, 255, 255, 0.7);
    --subtitle-color: rgba(255, 255, 255, 0.7);
    --bg-gradient: linear-gradient(135deg, #111111, #1a1a1a);
    --interest-card-bg: rgba(35, 35, 35, 0.95);
    --interest-text-color: #e2e8f0;
    --interest-shadow: rgba(0, 0, 0, 0.3);
    --interest-border: rgba(255, 255, 255, 0.1);
    --bg-pattern: rgba(255, 255, 255, 0.02);
    --bg-primary: #121212;  /* 更深的黑色 */
    --bg-secondary: #1a1a1a;  /* 稍浅的黑色 */
    --bg-gradient: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    --bg-pattern: rgba(255, 255, 255, 0.02);
    --page-bg: #121212;
}

/* 2. 通用卡片样式 */
.profile-card-inner,
.timeline-content,
.moment-item,
.interest-item,
.site-card {
    background: var(--bg-color) !important;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

/* 3. 统一的标题样式 */
section > h2,
.timeline-content h3,
.moment-item h3,
.interest-item h3,
.site-card h3 {
    color: var(--title-color);
}

/* 4. 图标统一样式 */
.timeline-icon,
.moment-item i,
.site-card i {
    color: var(--icon-color);
    transition: all 0.3s ease;
}

/* 5. 标签统一样式 */
.timeline-tags span,
.moment-tags span {
    background: var(--hover-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* 6. 统一的悬停效果 */
.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--card-shadow);
}

/* 7. 暗色模式下的特殊效果 */
[data-theme="dark"] .profile-name {
    background: linear-gradient(45deg, var(--title-color), var(--subtitle-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

/* 8. 全局过渡效果 */
* {
    transition: background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

/* 2. 修改背景样式 */
html {
    background: var(--page-bg);
}

body {
    background: var(--bg-gradient);
    position: relative;
    min-height: 100vh;
    color: var(--text-color);
}

/* 添加背景图案 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(var(--bg-pattern) 1px, transparent 1px),
            radial-gradient(var(--bg-pattern) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

/* 移除之前的渐变叠加层 */
body::after {
    display: none;
}

/* 优化暗色模式下的过渡效果 */
html,
body,
body::before {
    transition: background 0.3s ease,
    background-color 0.3s ease,
    background-image 0.3s ease;
}

/* 确保页面容器在暗色模式下也是黑色 */
.page-container {
    background: var(--page-bg);
}

/* 暗色模式下的额外样式 */
[data-theme="dark"] {
    background: var(--bg-primary);
}

[data-theme="dark"] body {
    background: var(--bg-gradient);
}

/* 3. 修改兴趣爱好卡片样式 */
.interest-item {
    background: var(--interest-card-bg);
    border: 1px solid var(--interest-border);
    box-shadow: 0 4px 20px var(--interest-shadow);
}

.interest-item-content {
    background: var(--interest-card-bg);
}

.interest-item h3 {
    color: var(--title-color);
}

.interest-item p {
    color: var(--text-color);
}

/* 4. 兴趣爱好图片暗色模式适配 */
[data-theme="dark"] .interest-item img {
    opacity: 0.8;
    filter: brightness(0.8) contrast(1.2);
    transition: all 0.3s ease;
}

[data-theme="dark"] .interest-item:hover img {
    opacity: 1;
    filter: brightness(0.9) contrast(1.1);
}

/* 5. 兴趣爱好卡片悬停效果 */
.interest-item:hover {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 8px 30px var(--card-shadow);
}

/* 6. 优化暗色模式下的文字可读性 */
[data-theme="dark"] .interest-item h3 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .interest-item p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 7. 添加卡片边框发光效果 */
[data-theme="dark"] .interest-item:hover {
    border-color: var(--title-color);
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.2);
}


/* 调整暗色主题下的文字样式 */
[data-theme="dark"] .profile-motto {
    color: #e2e8f0;
    opacity: 0.9;
}

[data-theme="dark"] .timeline-content p,
[data-theme="dark"] .moment-item p,
[data-theme="dark"] .interest-item p,
[data-theme="dark"] .site-card p {
    color: #e2e8f0;
    opacity: 0.9;
}

[data-theme="dark"] .timeline-tags span,
[data-theme="dark"] .moment-tags span {
    background: rgba(96, 165, 250, 0.2);
    color: #fff;
}

/* 添加文字阴影以提高可读性 */
[data-theme="dark"] .timeline-content h3,
[data-theme="dark"] .moment-item h3,
[data-theme="dark"] .interest-item h3,
[data-theme="dark"] .site-card h3 {
    color:var(--text-color);
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

[data-theme="dark"] section > h2 {
    color: var(--text-color);
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
}

/* 优化图标颜色 */
[data-theme="dark"] .timeline-icon i,
[data-theme="dark"] .moment-item i,
[data-theme="dark"] .site-card i {
    color: var(--text-color);
}

/* 悬停效果优化 */
[data-theme="dark"] .timeline-tags span:hover,
[data-theme="dark"] .moment-tags span:hover {
    background: rgba(96, 165, 250, 0.3);
}

/* 确保链接文字清晰可见 */
[data-theme="dark"] a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

[data-theme="dark"] a:hover {
    color: var(--text-color);
}



/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*body {*/
/*    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;*/
/*    line-height: 1.6;*/
/*    color: #333;*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    padding: 20px;*/
/*    position: relative;*/
/*    background: transparent !important;*/
/*    min-height: 100vh;*/
/*}*/

/* 修改canvas背景样式 */
#matrixBg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #f8f9fa;
    opacity: 1;
}

/* 个人信息卡片新样式 */
.profile-card {
    perspective: 1000px;
    margin-bottom: 30px;
}

.profile-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.profile-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0;
}

.profile-image .avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

/* 发光效果 */
.profile-image::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg,
    #FF6B6B 0%,
    #4ECDC4 50%,
    #6EE7B7 100%
    );
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    transition: all 0.4s ease;
}

/* 新的悬停效果 */
.profile-image:hover .avatar {
    transform: scale(1.02);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.profile-image:hover::before {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

/* 脉冲发光动画 */
@keyframes glowPulse {
    0% {
        transform: scale(1);
        filter: blur(5px);
    }
    50% {
        transform: scale(1.02);
        filter: blur(8px);
    }
    100% {
        transform: scale(1);
        filter: blur(5px);
    }
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .profile-image .avatar {
        border-color: #2d2d2d;
    }

    .profile-image:hover .avatar {
        border-color: transparent;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
}

.profile-title h1 {
    font-size: 2em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateZ(20px);
}

.profile-subtitle {
    color: #666;
    font-size: 1.1em;
}

.typing-text {
    border-right: 2px solid #666;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}




/* 动画效果 */
@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #666 }
}

/* 悬停效果 */
.profile-card-inner:hover {
    transform: translateY(-5px) rotateX(5deg);
}


.profile-image:hover {
    transform: rotateY(180deg);
}


/* 响应式适配 */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}

/* 新的个人简介样式 */
.intro-container {
    margin: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.intro-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.intro-header {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    padding: 30px;
    color: white;
    text-align: center;
}

.intro-header h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.intro-subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

.intro-body {
    padding: 30px;
}

.intro-section {
    padding: 30px;
}

.intro-section i {
    font-size: 2em;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 5px;
}

.section-content {
    flex: 1;
}

.section-content h4 {
    color: #2d3748;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.section-content p {
    color: #4a5568;
    margin-bottom: 15px;
    line-height: 1.6;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.intro-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0 20px;
}

/* 悬停效果 */
.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

.intro-section:hover i {
    transform: scale(1.1) rotate(10deg);
    transition: transform 0.3s ease;
}

.intro-section:hover .skill-tags span {
    background: #3b82f6;
    color: white;
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .intro-card {
        background: rgba(45, 45, 45, 0.95);
    }

    .section-content h4 {
        color: #e2e8f0;
    }

    .section-content p {
        color: #a0aec0;
    }

    .intro-divider {
        background: #2d3748;
    }

    .skill-tags span {
        background: rgba(59, 130, 246, 0.15);
        color: #60a5fa;
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    /*.intro-header {*/
    /*    padding: 25px;*/
    /*}*/

    /*.intro-body {*/
    /*    padding: 20px;*/
    /*}*/

    .intro-section {
        /*padding: 20px;*/
        flex-direction: column;
        text-align: center;
    }

    .intro-section i {
        margin: 0 0 10px 0;
    }

    .skill-tags {
        justify-content: center;
    }
}

/* 兴趣爱好与特长 */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.interest-item {
    text-align: center;
    padding: 8px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

/* 调整动态边框效果 */
.interest-item::before,
.interest-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
    #ff6b6b, #4ecdc4, #6ee7b7, #ff6b6b,
    #4ecdc4, #6ee7b7, #ff6b6b, #4ecdc4
    );
    background-size: 400%;
    z-index: -1;
    animation: borderAnimation 20s linear infinite;
}

.interest-item::after {
    filter: blur(3px);
    opacity: 0.3;
}

/* 内容容器调整 */
.interest-item-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 12px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 边框动画 */
@keyframes borderAnimation {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 200% 0;
    }
    100% {
        background-position: 400% 0;
    }
}

.interest-item img {
    width: 100%;
    height: clamp(140px, 25vw, 180px);
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.interest-item h3 {
    margin: 15px 0 10px;
    font-size: 1.3em;
    font-weight: 600;
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientText 4s ease infinite;
}

.interest-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 悬停效果 */
.interest-item:hover::before,
.interest-item:hover::after {
    animation: borderAnimation 15s linear infinite;
}

.interest-item:hover img {
    transform: scale(1.03);
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .interest-item {
        background: rgba(45, 45, 45, 0.95);
    }

    .interest-item-content {
        background: rgba(45, 45, 45, 0.95);
    }

    .interest-item h3 {
        background: linear-gradient(45deg, #ff7e7e, #6ee7b7);
        -webkit-background-clip: text;
    }

    .interest-item p {
        color: #94a3b8;
    }
}

/* 个人标签样式重构 */
.tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tag-item {
    background: linear-gradient(145deg, #ffffff, #f6f6f6);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tag-item i {
    font-size: 2.8em;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tag-item h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.tag-item p {
    color: #64748b;
    font-size: 0.95em;
    line-height: 1.6;
}

.tag-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.1);
}

.tag-item:hover i {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
}

/* 个人站点展示样式 */
.sites-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.site-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #00c6fb, #005bea);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.site-card > i {
    font-size: 3em;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.site-content h3 {
    font-size: 1.3em;
    color: #2d3748;
    margin-bottom: 8px;
}

.site-content p {
    color: #718096;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.site-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.site-link i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

/* 为不站点设置不同的颜色 */
.site-card:nth-child(1) > i { color: #333; }  /* GitHub */
.site-card:nth-child(2) > i { color: #0084ff; }  /* 知乎 */
.site-card:nth-child(3) > i { color: #fb7299; }  /* 哔哩哔哩 */
.site-card:nth-child(4) > i { color: #00c58e; }  /* 博客 */

/* 悬停效果 */
.site-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.site-card:hover::before {
    transform: scaleX(1);
}

.site-card:hover > i {
    transform: scale(1.1) rotate(5deg);
}

.site-link:hover {
    color: #2563eb;
}

.site-link:hover i {
    transform: translateX(5px);
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .site-card {
        background: rgba(45, 45, 45, 0.95);
    }

    .site-content h3 {
        color: #e2e8f0;
    }

    .site-content p {
        color: #94a3b8;
    }

    .site-link {
        color: #60a5fa;
    }

    .site-link:hover {
        color: #93c5fd;
    }

    /* 暗色模式下的图标颜色调整 */
    .site-card:nth-child(1) > i { color: #c9d1d9; }  /* GitHub */
    .site-card:nth-child(2) > i { color: #1a98ff; }  /* 知乎 */
    .site-card:nth-child(3) > i { color: #fb7299; }  /* 哔哩哔哩 */
    .site-card:nth-child(4) > i { color: #00e0a1; }  /* 博客 */
}

/* 响应式适配 */
@media (max-width: 768px) {
    .sites-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .site-card > i {
        font-size: 2.5em;
    }
}

/* 生活剪样式更新 */
.life-moments-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.moment-item {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.moment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 126, 95, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 为每个图标设置不同的色 */
.moment-item:nth-child(1) i {
    color: #FF7E5F; /* 阅读时光 - 珊瑚色 */
}

.moment-item:nth-child(2) i {
    color: #7B68EE; /* 旅行足迹 - 紫色 */
}

.moment-item:nth-child(3) i {
    color: #00B4D8; /* 音乐品味 - 蓝色 */
}

.moment-item:nth-child(4) i {
    color: #FF9F1C; /* 美食探索 - 色 */
}

.moment-item i {
    font-size: 2.5em;
    transition: all 0.3s ease;
}

.moment-content h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.moment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 为每个卡片设置不同的标签颜色 */
.moment-item:nth-child(1) .moment-tags span {
    background: #FFF0ED;
    color: #FF7E5F;
}

.moment-item:nth-child(2) .moment-tags span {
    background: #F0EDFF;
    color: #7B68EE;
}

.moment-item:nth-child(3) .moment-tags span {
    background: #E5F9FF;
    color: #00B4D8;
}

.moment-item:nth-child(4) .moment-tags span {
    background: #FFF4E5;
    color: #FF9F1C;
}

.moment-tags span {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

/* 悬停效果 */
.moment-item:nth-child(1):hover {
    box-shadow: 0 8px 25px rgba(255, 126, 95, 0.15);
}

.moment-item:nth-child(2):hover {
    box-shadow: 0 8px 25px rgba(123, 104, 238, 0.15);
}

.moment-item:nth-child(3):hover {
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.15);
}

.moment-item:nth-child(4):hover {
    box-shadow: 0 8px 25px rgba(255, 159, 28, 0.15);
}

.moment-item:hover {
    transform: translateY(-5px);
}

.moment-item:hover::before {
    opacity: 1;
}

.moment-item:hover i {
    transform: scale(1.1) rotate(10deg);
}

/* 悬停时标签颜色变化 */
.moment-item:nth-child(1):hover .moment-tags span {
    background: #FF7E5F;
    color: #fff;
}

.moment-item:nth-child(2):hover .moment-tags span {
    background: #7B68EE;
    color: #fff;
}

.moment-item:nth-child(3):hover .moment-tags span {
    background: #00B4D8;
    color: #fff;
}

.moment-item:nth-child(4):hover .moment-tags span {
    background: #FF9F1C;
    color: #fff;
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .moment-item {
        background: rgba(45, 45, 45, 0.95);
    }

    .moment-content h3 {
        color: #e2e8f0;
    }

    /* 暗色模式下的标签样式 */
    .moment-item:nth-child(1) .moment-tags span {
        background: rgba(255, 126, 95, 0.2);
        color: #FF9F8E;
    }

    .moment-item:nth-child(2) .moment-tags span {
        background: rgba(123, 104, 238, 0.2);
        color: #A799F3;
    }

    .moment-item:nth-child(3) .moment-tags span {
        background: rgba(0, 180, 216, 0.2);
        color: #66D7F1;
    }

    .moment-item:nth-child(4) .moment-tags span {
        background: rgba(255, 159, 28, 0.2);
        color: #FFBC5C;
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .life-moments-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .moment-item i {
        font-size: 2em;
    }

    .moment-tags {
        gap: 6px;
    }

    .moment-tags span {
        padding: 4px 3px;
        font-size: 0.85em;
    }
}

/* 添加片悬停效果 */
[data-theme="dark"] .education-item:hover,
[data-theme="dark"] .work-item:hover,
[data-theme="dark"] .moment-item:hover,
[data-theme="dark"] .tag-item:hover,

    /* 改善文字可读性 */
[data-theme="dark"] .work-item li,
[data-theme="dark"] .education-content p,
[data-theme="dark"] .moment-content p,
[data-theme="dark"] .tag-item p {
    color: #d1d1d1;
}

/* 优链接颜色 */
/*[data-theme="dark"] a {*/
/*    color: #6ee7b7;*/
/*}*/

/*[data-theme="dark"] a:hover {*/
/*    color: #9ef0cd;*/
/*}*/

/* 暗色模式下的canvas背景 */
@media (prefers-color-scheme: dark) {
    #matrixBg {
        background: #121212;
    }
}


/* 响应布局优化 */
@media (max-width: 768px) {
    /* 调整整体布局 */
    .profile-section {
        flex-direction: column;
        text-align: center;
    }

    .profile-intro {
        text-align: center;
    }

}


/* 修改头像尺寸 */
.profile-image {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    margin: 0 auto 15px;
}

.profile-image .avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

/* 发光效果 */
.profile-image::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg,
    #FF6B6B 0%,
    #4ECDC4 50%,
    #6EE7B7 100%
    );
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    transition: all 0.4s ease;
}

/* 新的悬停效果 */
.profile-image:hover .avatar {
    transform: scale(1.02);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.profile-image:hover::before {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

/* 脉冲发光动画 */
@keyframes glowPulse {
    0% {
        transform: scale(1);
        filter: blur(5px);
    }
    50% {
        transform: scale(1.02);
        filter: blur(8px);
    }
    100% {
        transform: scale(1);
        filter: blur(5px);
    }
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .profile-image .avatar {
        border-color: #2d2d2d;
    }

    .profile-image:hover .avatar {
        border-color: transparent;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .profile-image {
        width: 100px;
        height: 100px;
    }
}

/* 修改页容器布局为上下结构 */
.page-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 修改左侧区域样式 */
.left-section {
    position: relative; /* 改为相对定位 */
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 修改右侧区域样式 */
.right-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 修改统一卡片样式，移除外边框 */
.profile-card,
.intro-section,
.life-moments,
.interests,
.sites {
    width: 100%;
    background: transparent; /* 移除背景色 */
    backdrop-filter: none; /* 移除模糊效果 */
    border-radius: 0; /* 移除圆角 */
    overflow: visible; /* 允许内容溢出 */
    box-shadow: none; /* 移除阴影 */
}

/* 修改内部卡片样式 */
.profile-card-inner,
.intro-card,
.moment-item,
.interest-item,
.site-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .profile-card-inner,
    .intro-card,
    .moment-item,
    .interest-item,
    .site-card {
        background: rgba(45, 45, 45, 0.95);
    }
}

/* 修复个人简介模块的盒子模型 */
.intro-section {
    padding: 30px;  /* 统一外层padding */
}

.intro-container {
    margin: 0;  /* 移除多余的margin */
}

.intro-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 修复内部section的样式，避免命名冲突 */
.intro-card .content-section {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.intro-card .content-section:last-child {
    border-bottom: none;
}

/* 修复有模块标题的样式 */
section > h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    padding: 0 30px;  /* 统一左右内边距 */
    color: #2c3e50;
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    section > h2 {
        color: #e2e8f0;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    section > h2 {
        padding: 0 20px;
        font-size: 1.6em;
    }
}

/* 个人简介时轴样式 */
.intro-section {
    padding: 30px;
    background: transparent;
}

.intro-timeline {
    position: relative;
    padding: 30px 0;
    overflow: hidden; /* 确保装饰不会溢出 */
}

/* 左侧装饰 */
.intro-timeline::after {
    content: '';
    position: absolute;
    left: 5%;
    top: 0;
    height: 100%;
    width: 100px;
    background:
            radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0, rgba(59, 130, 246, 0.1) 2px, transparent 2px) 0 0/20px 20px,
            radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0, rgba(59, 130, 246, 0.05) 1px, transparent 1px) 10px 10px/20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

/* 右侧装饰 */
.intro-timeline::before {
    content: '';
    position: absolute;
    right: 5%;
    top: 0;
    height: 100%;
    width: 100px;
    background:
            radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0, rgba(59, 130, 246, 0.1) 2px, transparent 2px) 0 0/20px 20px,
            radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0, rgba(59, 130, 246, 0.05) 1px, transparent 1px) 10px 10px/20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .intro-timeline::after,
    .intro-timeline::before {
        background:
                radial-gradient(circle at center, rgba(96, 165, 250, 0.15) 0, rgba(96, 165, 250, 0.15) 2px, transparent 2px) 0 0/20px 20px,
                radial-gradient(circle at center, rgba(96, 165, 250, 0.1) 0, rgba(96, 165, 250, 0.1) 1px, transparent 1px) 10px 10px/20px 20px;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .intro-timeline::after,
    .intro-timeline::before {
        width: 50px; /* 减小装饰宽度 */
    }

    .intro-timeline::after {
        left: 0;
    }

    .intro-timeline::before {
        right: 0;
    }
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
}

.timeline-icon i {
    font-size: 20px;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
}

.timeline-content {
    width: calc(50% - 50px);
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 2px;
    background: rgba(59, 130, 246, 0.3);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 50px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -20px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -20px;
}

.timeline-content h3 {
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 1.3em;
}

.timeline-content p {
    color: #4a5568;
    margin-bottom: 10px;
    line-height: 1.6;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.timeline-tags span {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

/* 悬停效果 */
.timeline-item:hover .timeline-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

.timeline-item .timeline-tags span:hover{
    cursor: pointer;
    background: #3b82f6;
    color: white;
}

[data-theme="dark"] .timeline-icon i{
    color: var(--bg-color);
}
[data-theme="dark"] .interest-item p{
    color: var(--bg-color);
}
/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .timeline-icon {
        background: #2d2d2d;
    }

    .timeline-content {
        background: rgba(45, 45, 45, 0.95);
    }

    .timeline-content h3 {
        color: #e2e8f0;
    }

    .timeline-content p {
        color: #a0aec0;
    }

    .timeline-tags span {
        background: rgba(59, 130, 246, 0.15);
        color: #60a5fa;
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .intro-timeline::before {
        left: 10px;
    }

    .timeline-item {
        justify-content: flex-start;
        margin-bottom: 5px;
    }

    .timeline-content {
        width: calc(100% - 30px);
        margin-left: 10px !important;
    }

    .timeline-content::before {
        left: -10px !important;
    }

    .timeline-icon {
        width: 28px;
        height: 28px;
    }

    .timeline-icon i {
        font-size: 14px;
    }

    .intro-timeline {
        padding: 5px 0;
    }

    .timeline-content h3 {
        font-size: 1em;
        margin-bottom: 6px;
    }

    .timeline-content p {
        font-size: 0.85em;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .timeline-tags {
        gap: 4px;
    }

    .timeline-tags span {
        padding: 2px 8px;
        font-size: 0.8em;
    }
}

/* 修改兴趣爱好卡片标题样式 */
.interest-item h3 {
    margin: 15px 0 10px;
    font-size: 1.3em;
    font-weight: 600;
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientText 4s ease infinite;
}

/* 添加标题下划线效果 */
.interest-item h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transition: width 0.3s ease;
}

/* 悬停效果 */
.interest-item:hover h3::after {
    width: 100%;
}

/* 渐变文字动画 */
@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .interest-item h3 {
        background: linear-gradient(45deg, #ff7e7e, #6ee7b7);
        -webkit-background-clip: text;
    }

    .interest-item h3::after {
        background: linear-gradient(45deg, #ff7e7e, #6ee7b7);
    }
}

/* 添加技能点样式 */
.profile-skills {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.profile-skills h3 {
    font-size: 1.2em;
    color: #2d3748;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-bar {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #4a5568;
}

.skill-progress {
    width: 100%;
    height: 8px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress {
    position: absolute;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 1s ease;
    animation: progressAnimation 1.5s ease-out forwards;
}

/* 进度条动画 */
@keyframes progressAnimation {
    from {
        width: 0;
    }
    to {
        width: var(--progress-width);
    }
}

/* 悬停效果 */
.skill-bar:hover .progress {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .profile-skills {
        background: rgba(255, 255, 255, 0.05);
    }

    .profile-skills h3 {
        color: #e2e8f0;
    }

    .skill-info {
        color: #a0aec0;
    }

    .skill-progress {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .profile-skills {
        padding: 3px;
    }

    .skill-bars {
        gap: 12px;
    }

    .skill-info {
        font-size: 0.85em;
    }

    .skill-progress {
        height: 6px;
    }
}

/* 修改intro-left布局为左右结构 */
.intro-left {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
}

.intro-right {
    flex: 1;
}

/* 修改intro-container样式 */
.intro-container {
    margin: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

/* 修改intro-left样式 */
.intro-left {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
}

/* 修改intro-right样式 */
.intro-right {
    flex: 1;
}

/* 修改profile-card-inner样式 */
.profile-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .profile-card-inner {
        background: rgba(45, 45, 45, 0.95);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .intro-flex {
        flex-direction: column;
    }

    .intro-left {
        width: 100%;
    }
}

/* 修改profile-left-side布局 */
.profile-left-side {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    /*background: var(--bg-color);*/
}

.profile-image-wrapper {
    flex: 0 0 120px;
}

.profile-info {
    flex: 0 1 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

.profile-name {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.profile-motto {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 12px;
    font-style: italic;
    line-height: 1.3;
    text-align: center;
    padding: 0 5px;
}

/* 详细信息容器 */
.profile-details {
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 详细信息项居中 */
.profile-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 0.9em;
    line-height: 1.3;
    padding: 4px 0;
    width: fit-content;
}

.profile-detail-item i {
    font-size: 1.2em;
    color: #3b82f6;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

[data-theme="dark"] .profile-detail-item{
    color: var(--text-color);
}
/* 社交链接容器 */
.profile-social {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* 社交链接按钮 */
.social-link {
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    /*color: #3b82f6;*/
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .profile-motto {
        color: #a0aec0;
    }

    .profile-detail-item {
        color: #e2e8f0;
    }

    .profile-details,
    .profile-social {
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .social-link {
        background: rgba(96, 165, 250, 0.15);
    }

    .social-link:hover {
        background: #60a5fa;
        color: #1a1a1a;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .profile-info {
        padding: 5px 0;
    }

    .profile-name {
        font-size: 1.5em;
    }

    .profile-motto {
        font-size: 0.9em;
    }

    .profile-detail-item {
        font-size: 0.9em;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }
}

/* 添加卡片点击效果 */
.clickable-card {
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 添加点击波纹效果 */
.clickable-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.5s ease-out, height 0.5s ease-out, opacity 0.5s ease-out;
}

/* 点击时的波纹动画 */
.clickable-card:active::after {
    width: 150%;
    height: 150%;
    opacity: 1;
    transition: width 0s, height 0s;
}

/* 悬停效果 */
.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* 为不同类型的卡添加点击效果 */
.moment-item.clickable-card:hover {
    box-shadow: 0 8px 25px rgba(var(--card-color), 0.15);
}

.interest-item.clickable-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.site-card.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 添加点击反馈 */
.clickable-card:active {
    transform: scale(0.98);
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .clickable-card::after {
        background: rgba(255, 255, 255, 0.1);
    }

    .clickable-card:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
}


/* 主题切换按钮样式 */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;  /* 改为right定位 */
    z-index: 1000;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle-btn i {
    font-size: 1.2em;
    color: #333;
    transition: all 0.3s ease;
}

.theme-toggle-btn .fa-sun {
    display: none;
    color: #ffd700;
}

.theme-toggle-btn .fa-moon {
    color: #3b82f6;
}

/* 悬停效果 */
.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* 点击效果 */
.theme-toggle-btn:active {
    transform: scale(0.95);
}

/* 暗色模式适配 */
[data-theme="dark"] .theme-toggle-btn {
    background: rgba(45, 45, 45, 0.9);
}

[data-theme="dark"] .theme-toggle-btn i {
    color: #fff;
}
[data-theme="dark"] .social-link{
    color: var(--bg-color) !important;
}
/* 响应式适配 */
@media (max-width: 768px) {
    .profile-left-side{
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .profile-image-wrapper{
        flex: 0;
        margin-bottom: 0;
    }

    .theme-toggle {
        top: 15px;
        right: 15px;
    }

    .theme-toggle-btn {
        width: 35px;
        height: 35px;
    }
}

