/* 核心修复：防止页面出现水平滚动溢出 */
body {
    overflow-x: hidden; /* 禁用水平方向的滚动条 */
    width: 100%;        /* 确保 body 宽度不会超过视口 */
}

/* 增强：重置所有元素的外边距和内边距，减少意外溢出 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* 确保 padding 和 border 不会增加元素总宽度 */
}
/* 滚动出现动画的基类 */
.scroll-reveal {
    /* 初始状态：透明且向下移动 50px */
    opacity: 0;
    transform: translateY(50px);

    /* 动画平滑过渡 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 动画激活时的状态 */
.scroll-reveal.visible {
    /* 最终状态：完全显示且回到原位 */
    opacity: 1;
    transform: translateY(0);
}

/* 全屏欢迎遮罩 - 高斯模糊版（支持响应式） */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* 使用网站主题色背景 */
    background-color: var(--bg-overlay);
    /* 添加高斯模糊效果，与导航栏风格统一 */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1); /* 平滑的上滑过渡 */
    will-change: transform;
    /* 添加边缘立体感，与导航栏一致 */
    border-bottom: 1px solid var(--border-light);
    /* 确保在移动端正常显示 */
    box-sizing: border-box;
    overflow: hidden;
    /* 针对iOS设备的额外优化 */
    -webkit-tap-highlight-color: transparent;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

/* 上滑隐藏效果 */
.welcome-overlay.slide-up {
    opacity: 0;
    transform: translateY(-100vh);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 遮罩内容样式 */
.welcome-content {
    color: var(--text-primary);
    text-align: center;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    z-index: 10000;
    /* 添加毛玻璃效果 */
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px var(--shadow-light);
    /* 确保在移动端正常显示 */
    box-sizing: border-box;
    transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* 网站图标容器 */
.welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background-color: rgba(139, 184, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.2s;
    color: var(--accent-primary);
    /* 确保在移动端正常显示 */
    box-sizing: border-box;
}

/* 艺术标题样式，与网站艺术字风格统一 */
.welcome-content h2 {
    font-family: 'Georgia', serif; /* 与网站艺术字保持一致 */
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 25px;
    opacity: 0;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease forwards 0.4s;
    /* 确保在移动端正常显示 */
    box-sizing: border-box;
}

.welcome-content p {
    font-size: 1.1rem;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 15px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.7s;
    /* 确保在移动端正常显示 */
    box-sizing: border-box;
}

/* 进入按钮样式 - 与网站按钮风格统一 */
#welcome-enter-btn {
    margin-top: 30px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
    transform: translateY(10px);
    /* 复用网站按钮样式 */
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-primary);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color var(--transition-normal), transform 0.1s ease, box-shadow var(--transition-normal);
    /* 确保在移动端正常显示 */
    box-sizing: border-box;
    /* 优化移动设备触摸体验 */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    /* 确保按钮足够大，方便移动端点击 */
    min-height: 48px;
    min-width: 120px;
}

#welcome-enter-btn:hover {
    background-color: var(--accent-secondary);
    box-shadow: 0 4px 12px rgba(139, 184, 255, 0.4);
    transform: translateY(-2px);
}

#welcome-enter-btn:active {
    transform: scale(0.98);
}

/* 项目展示区域样式 */
.projects-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .artistic-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.project-category {
    margin-bottom: 80px;
}

.category-title {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-primary);
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* 项目轮播容器 */
.projects-carousel {
    position: relative;
    margin: 40px 0;
    overflow: hidden;
    padding: 20px 0;
}

.projects-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
    padding: 0 50px;
}

.project-card {
    flex: 0 0 350px;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    opacity: 0.7;
    transform: scale(0.9);
}

.project-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    border-radius: 12px 12px 0 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.project-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.project-card.active .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tag {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(139, 184, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tag:hover {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 184, 255, 0.5);
}

.project-stats {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    padding: 12px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: rgba(139, 184, 255, 0.05);
    border-radius: 8px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 4px 16px;
    background: rgba(139, 184, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(139, 184, 255, 0.2);
    transform: translateY(-1px);
}

.stat i {
    color: var(--accent-primary);
    font-size: 0.95rem;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.project-link {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 184, 255, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.project-link:hover {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 184, 255, 0.6);
}

.project-link:hover::before {
    left: 100%;
}

/* 轮播导航 */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-dot.active {
    background: var(--accent-primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(139, 184, 255, 0.5);
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .nav-dot {
        background: rgba(255, 255, 255, 0.3);
    }
    
    .nav-dot.active {
        background: var(--accent-primary);
    }
}

/* 轮播箭头导航 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(0, 0, 0, 0.15);
    color: #222;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(139, 184, 255, 0.4);
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .carousel-arrow {
        background: rgba(30, 30, 30, 0.9);
        border: 2px solid rgba(255, 255, 255, 0.2);
        color: var(--text-primary);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
    
    .carousel-arrow:hover {
        background: var(--accent-primary);
        color: white;
        border-color: var(--accent-primary);
    }
}

/* 手动浅色模式适配 */
body:not(.dark-mode) .carousel-arrow {
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(0, 0, 0, 0.15);
    color: #222;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

body:not(.dark-mode) .carousel-arrow:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(139, 184, 255, 0.4);
}

/* 手动深色模式适配 */
body.dark-mode .carousel-arrow {
    background: rgba(30, 30, 30, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode .carousel-arrow:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .projects-carousel {
        padding: 20px 0;
        overflow: hidden;
        position: relative;
    }
    
    .projects-track {
        gap: 15px;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 添加平滑的移动动画 */
    }
    
    .project-card {
        flex: 0 0 280px;
        opacity: 0.7;
        transform: scale(0.9);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 更平滑的动画 */
    }
    
    .project-card.active {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); /* 更强的阴影效果 */
    }
    
    .carousel-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        background: rgba(255, 255, 255, 1);
        border: 1px solid rgba(0, 0, 0, 0.15);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        color: #222;
    }
    
    @media (prefers-color-scheme: dark) {
        .carousel-arrow {
            background: rgba(30, 30, 30, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }
    }
    
    body:not(.dark-mode) .carousel-arrow {
        background: rgba(255, 255, 255, 1);
        border: 1px solid rgba(0, 0, 0, 0.15);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        color: #222;
    }
    
    body.dark-mode .carousel-arrow {
        background: rgba(30, 30, 30, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    
    .carousel-arrow:hover {
        transform: translateY(-50%) scale(1.05);
    }
    
    .carousel-prev {
        left: 8px;
    }
    
    .carousel-next {
        right: 8px;
    }
    
    .carousel-nav {
        margin-top: 30px;
        gap: 12px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
        transition: all 0.3s ease;
    }
    
    .nav-dot.active {
        transform: scale(1.3);
        box-shadow: 0 0 10px var(--accent-primary);
    }
    
    /* 优化项目卡片内容在移动端的显示 */
    .project-content {
        padding: 20px;
    }
    
    .project-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .project-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .project-tags {
        gap: 6px;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .projects-track {
        gap: 12px;
    }
    
    .project-card {
        flex: 0 0 250px;
    }
    
    .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 6px;
    }
    
    .carousel-next {
        right: 6px;
    }
    
    .project-content {
        padding: 18px;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-link {
        padding: 12px 0;
    }
}

/* 超小屏幕适配 */
@media (max-width: 360px) {
    .projects-track {
        gap: 10px;
    }
    
    .project-card {
        flex: 0 0 220px;
    }
    
    .carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}


/* 学习区域样式 */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.learning-item {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255,255,255,0.05) 100%);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 
        0 4px 20px var(--shadow-light),
        0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.learning-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.learning-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 12px 40px var(--shadow-medium),
        0 4px 12px rgba(0,0,0,0.1);
}

.learning-item:hover::before {
    left: 100%;
}

.learning-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 184, 255, 0.1) 0%, rgba(139, 184, 255, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(139, 184, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.learning-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.8s ease;
}

.learning-item:hover .learning-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(139, 184, 255, 0.15) 0%, rgba(139, 184, 255, 0.08) 100%);
    box-shadow: 0 8px 25px rgba(139, 184, 255, 0.2);
}

.learning-item:hover .learning-icon::before {
    left: 100%;
}

.learning-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.learning-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.learning-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--accent-primary);
    width: 16px;
    text-align: center;
}

.progress-bar {
    background: var(--bg-progress);
    height: 6px;
    border-radius: 3px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 未来规划区域样式 */
.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.future-item {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255,255,255,0.05) 100%);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 
        0 4px 20px var(--shadow-light),
        0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.future-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.future-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 12px 40px var(--shadow-medium),
        0 4px 12px rgba(0,0,0,0.1);
}

.future-item:hover::before {
    left: 100%;
}

.future-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 184, 255, 0.1) 0%, rgba(139, 184, 255, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(139, 184, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.future-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.8s ease;
}

.future-item:hover .future-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(139, 184, 255, 0.15) 0%, rgba(139, 184, 255, 0.08) 100%);
    box-shadow: 0 8px 25px rgba(139, 184, 255, 0.2);
}

.future-item:hover .future-icon::before {
    left: 100%;
}

.future-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.future-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.future-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
}

.future-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--bg-overlay);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    margin-top: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.future-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.future-item:hover .future-status {
    transform: scale(1.05);
}

.future-item:hover .future-status::before {
    left: 100%;
}

.status-planning {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.08) 100%);
    color: #4CAF50;
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.status-conceptual {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15) 0%, rgba(33, 150, 243, 0.08) 100%);
    color: #2196F3;
    border-color: rgba(33, 150, 243, 0.3);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.status-longterm {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15) 0%, rgba(156, 39, 176, 0.08) 100%);
    color: #9C27B0;
    border-color: rgba(156, 39, 176, 0.3);
    box-shadow: 0 2px 8px rgba(156, 39, 176, 0.2);
}

/* 移动端响应式设计 */
@media screen and (max-width: 768px) {
    /* 项目展示区域移动端适配 */
    .projects-section {
        padding: 60px 0;
    }
    
    .section-header .artistic-title {
        font-size: 2.2rem;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .project-card {
        margin-bottom: 20px;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .learning-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .learning-item {
        padding: 24px;
    }
    
    .learning-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .learning-content h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .learning-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .future-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .future-item {
        padding: 24px;
    }
    
    .future-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .future-content h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .future-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .future-status {
        padding: 6px 16px;
        font-size: 0.8rem;
        margin-top: 12px;
    }
    
    .project-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-link {
        text-align: center;
        padding: 8px 0;
    }
    
    /* 缩小标题字体 */
    .welcome-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    /* 调整段落字体大小 */
    .welcome-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    /* 缩小图标尺寸 */
    .welcome-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
        margin-bottom: 20px;
    }
    
    /* 调整内容区域内边距 */
    .welcome-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    /* 调整按钮样式 */
    #welcome-enter-btn {
        margin-top: 25px;
        padding: 10px 20px;
        font-size: 15px;
        min-height: 44px;
        min-width: 100px;
    }
}

/* 小屏幕移动设备 */
@media screen and (max-width: 480px) {
    /* 进一步缩小标题字体 */
    .welcome-content h2 {
        font-size: 1.5rem;
    }
    
    /* 进一步调整段落字体大小 */
    .welcome-content p {
        font-size: 0.95rem;
    }
    
    /* 进一步缩小图标尺寸 */
    .welcome-icon {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    /* 进一步调整内容区域内边距 */
    .welcome-content {
        padding: 25px 15px;
        border-radius: 12px;
    }
    
    /* 优化动画时间，适应移动设备 */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* 淡入动画定义 - 已在响应式设计中优化 */

/* 模态框遮罩：全屏模糊化背景 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* 核心优化：对整个背景应用模糊滤镜 */
    backdrop-filter: blur(5px); /* 降低模糊值，以免太重 */
    -webkit-backdrop-filter: blur(5px);

    /* 降低透明度，让底部的模糊背景更清晰可见 */
    background-color: var(--bg-overlay);

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition-normal);
}

/* 模态框内容：保持毛玻璃效果或简化 */
/* 注意：由于 overlay 已经模糊了背景，modal-content 自身的毛玻璃可以根据需要调整 */
/* 模态框内容：改为完全不透明的纯白色 */
.modal-content {
    /* 核心修正：设置为卡片背景色 */
    background-color: var(--bg-card); /* 使用CSS变量 */

    /* 移除之前的毛玻璃滤镜（因为父元素已提供模糊效果） */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    /* 保持边框和阴影，增加立体感和精致度 */
    border: 1px solid var(--border-light); /* 调整边框为浅色 */
    box-shadow: 0 10px 30px var(--shadow-medium); /* 略微加重阴影 */

    /* ... 保持其他样式（padding, border-radius, max-width, transition 等） ... */
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    color: var(--text-primary);
    transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    /* ... */
}

/* 模态框内容：应用毛玻璃效果 */
.modal-content {
    /* 1. 设置背景为半透明（白或灰） */
    background-color: var(--bg-card);

    /*!* 2. 添加高斯模糊滤镜（核心！） *!*/
    /*backdrop-filter: blur(10px); !* 模糊度可以比导航栏高一些 *!*/
    /*-webkit-backdrop-filter: blur(10px); !* 兼容 Safari *!*/

    /* 3. 增加边框和阴影提升立体感 */
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px var(--shadow-medium);

    /* 保持原有的排版样式 */
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    transform: scale(1);
    transition: transform 0.3s ease;
}

/* 隐藏状态（保持不变） */
.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-overlay.hidden .modal-content {
    transform: scale(0.95);
}
/* 确认按钮基础样式 (应用于 #modal-confirm-btn) */
.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 15px; /* 与上方文本分隔 */

    /* 视觉样式 */
    background-color: var(--accent-primary); /* 醒目的蓝色 */
    color: var(--text-light);
    border: none;
    border-radius: 8px; /* 略微圆角 */
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    /* 核心：添加过渡，实现“灵动”效果 */
    transition: background-color var(--transition-normal),
    transform 0.1s ease,
    box-shadow var(--transition-normal);
}

/* 按钮悬停 (Hover) 效果 */
.btn-primary:hover {
    background-color: var(--accent-secondary); /* 颜色略深 */
    box-shadow: 0 4px 12px rgba(139, 184, 255, 0.4); /* 增加阴影，使其"浮起" */
    transition: background-color var(--transition-normal), transform 0.1s ease, box-shadow var(--transition-normal);
}

/* 按钮点击 (Active) 效果 */
.btn-primary:active {
    transform: scale(0.98); /* 模拟按钮被按下的效果 */
}
/*!* 为 main 元素添加顶部内边距 *!*/
/*main {*/
/*    !* 导航栏高度是 60px，我们增加 70px 留出一点空间 *!*/
/*    padding-top: 70px;*/

/*    !* 确保 main 元素在页面上正常显示 *!*/
/*    display: block;*/

/*    !* 限制 main 内容的最大宽度，与导航栏内容对齐 (可选) *!*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*}*/
/* 阻止页面滚动的类 */
.modal-open {
    overflow: hidden; /* 禁用垂直滚动条 */
    height: 100vh;   /* 确保 body 高度限制在视口内 */
    width: 100%;
}

/* 1. 英雄区块：视差滚动效果和意境基础 */
.hero-parallax-scene {
    height: 100vh;
    /* 修复iOS兼容性问题：使用更安全的背景设置 */
    background: url('../image/background.jpg') no-repeat center center / cover;
    background-attachment: scroll; /* iOS设备兼容性 */
    position: relative;
    overflow: hidden;

    /* Flexbox 居中内容 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* 为支持fixed背景的现代浏览器提供视差效果 */
@supports (background-attachment: fixed) and (not (-webkit-overflow-scrolling: touch)) {
    .hero-parallax-scene {
        background-attachment: fixed;
    }
}

/* iOS Safari 特定修复 */
@supports (-webkit-touch-callout: none) {
    .hero-parallax-scene {
        -webkit-background-size: cover;
        background-size: cover;
        background-attachment: scroll;
    }
}

/* 颜色蒙版 */
.hero-parallax-scene .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 浅色模式下较浅的蒙版 */
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 1;
    transition: background-color var(--transition-normal);
}

/* 深色模式下增加透明度，使头图更暗 */
body.dark-mode .hero-parallax-scene .hero-overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

/* 英雄文字内容 */
.hero-parallax-scene .hero-content {
    color: var(--text-light);
    z-index: 2;
    max-width: 800px;
    padding-top: 40px; /* 增加顶部内边距，让内容整体下移 */
}

.hero-parallax-scene h1 {
    font-size: 4.2rem;
    font-family: 'STKaiti', 'KaiTi', '楷体', 'SimKai', '华文楷体', serif;
    font-weight: normal;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-bottom: 20px; /* 减少底部边距，为统计信息留出空间 */
    color: #fff8e1;
    text-align: center;
    padding: 0;
}



.hero-parallax-scene p {
    font-size: 1.35rem;
    margin-bottom: 35px; /* 减少底部边距，平衡整体布局 */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    transition: text-shadow var(--transition-normal);
}

/* 网站统计信息样式 */
.site-statistics {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 0 25px; /* 调整上下边距，优化间距比例 */
    gap: 12px;
}

.stat-item {
    font-size: 1rem;
    color: rgba(255, 248, 225, 0.95);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    padding: 12px 28px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 280px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-item span {
    font-weight: 700;
    color: #fff8e1;
    text-shadow: 0 0 12px rgba(255, 248, 225, 0.6);
}

/* 运行时间特殊样式 */
#site-runtime {
    font-weight: 800;
    color: #fff8e1;
    text-shadow: 
        0 0 15px rgba(255, 248, 225, 0.8),
        0 0 30px rgba(139, 184, 255, 0.4);
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        text-shadow: 
            0 0 12px rgba(255, 248, 225, 0.6),
            0 0 25px rgba(139, 184, 255, 0.3);
    }
    100% {
        text-shadow: 
            0 0 18px rgba(255, 248, 225, 1),
            0 0 35px rgba(139, 184, 255, 0.6);
    }
}

/* 英雄图案滚动按钮样式 */
.hero-scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(180%) brightness(115%);
    -webkit-backdrop-filter: blur(10px) saturate(180%) brightness(115%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px; /* 增大圆角 */
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 2px 6px rgba(255, 255, 255, 0.2) inset,
        0 0 0 1px rgba(255, 255, 255, 0.1), /* 边缘高光 */
        0 0 15px rgba(255, 255, 255, 0.05); /* 外发光效果 */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin-top: 25px; /* 调整按钮顶部边距，保持整体平衡 */
}

.hero-scroll-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px) saturate(220%) brightness(130%);
    -webkit-backdrop-filter: blur(15px) saturate(220%) brightness(130%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 3px 10px rgba(255, 255, 255, 0.3) inset,
        0 0 0 1px rgba(255, 255, 255, 0.3), /* 增强边缘高光 */
        0 0 25px rgba(255, 255, 255, 0.15), /* 增强外发光 */
        0 0 40px rgba(255, 255, 255, 0.1); /* 额外发光层 */
    transform: translateY(-4px) scale(1.08);
    color: var(--text-light);
}

.hero-scroll-btn:active {
    transform: scale(0.98);
    backdrop-filter: blur(6px) saturate(140%) brightness(105%);
    -webkit-backdrop-filter: blur(6px) saturate(140%) brightness(105%);
}

.hero-scroll-btn svg {
    transition: transform 0.3s ease;
}

.hero-scroll-btn:hover svg {
    transform: translateY(2px);
}

/* 按钮悬浮动画 */
@keyframes buttonFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hero-scroll-btn {
    animation: buttonFloat 6s ease-in-out infinite;
}

.hero-scroll-btn:hover {
    animation-play-state: paused;
}

/* 移动端响应式设计 */
@media screen and (max-width: 768px) {
    .hero-scroll-btn {
        padding: 14px 28px;
        font-size: 1rem;
        gap: 10px;
        margin-top: 25px;
        border-radius: 18px; /* 移动端圆角调整 */
        /* 移动端触摸优化 */
        min-height: 50px;
        min-width: 150px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .hero-scroll-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .hero-scroll-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.25),
            0 2px 8px rgba(255, 255, 255, 0.25) inset,
            0 0 0 1px rgba(255, 255, 255, 0.25),
            0 0 20px rgba(255, 255, 255, 0.12),
            0 0 30px rgba(255, 255, 255, 0.08);
    }

    /* 移动端标题响应式设计 */
    .hero-parallax-scene h1 {
        font-size: 3.2rem;
        letter-spacing: 0.03em;
        line-height: 1.4;
        padding: 0;
    }
}

@media screen and (max-width: 480px) {
    .hero-scroll-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        gap: 8px;
        margin-top: 20px;
        border-radius: 16px;
        min-width: 130px;
        min-height: 46px;
    }
    
    .hero-scroll-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .hero-scroll-btn:hover {
        transform: translateY(-2px) scale(1.04);
    }

    .hero-parallax-scene h1 {
        font-size: 2.5rem;
        line-height: 1.4;
        letter-spacing: 0.02em;
        padding: 0;
    }
}

/* 2. 歌词区块：图文并茂的左右布局 */
.lyric-section {
    margin: 100px 0; /* 保持垂直留白，水平留白交给内部容器 */
    padding: 0; /* 移除容器本身的 padding */
    width: 100%; /* 确保它占据全部宽度 */

    display: grid;
    gap: 80px; /* 增强留白感 */
    align-items: center;
    grid-template-columns: minmax(300px, 3fr) minmax(200px, 2fr); /* 使用 minmax 确保最小宽度 */
}

.lyric-section > div { /* 简单地对 lyric-section 的所有直接子 div 施加宽度控制 */
    max-width: 1100px; /* 限制内容的最大宽度 */
    margin: 0 auto;    /* 内容居中 */
}
.lyric-text,
.lyric-image {
    padding: 0 40px; /* 确保在全宽背景下内容不贴边 */
}
/* 文本容器 */
.lyric-text {
    line-height: 1.8;
}

/* 艺术字标题 */
.artistic-title {
    font-family: 'Georgia', serif; /* 衬线字体增强文学感 */
    font-size: 2rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    transition: color var(--transition-normal), border-color var(--transition-normal);
}

.lyric-text p {
    font-size: 1.3rem;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 25px;
    color: var(--text-primary);
    transition: color var(--transition-normal);
}

.read-more-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: bold;
    transition: color var(--transition-normal);
}

/* 图片容器 */
.lyric-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px var(--shadow-light); /* 提升立体感 */
    transition: box-shadow var(--transition-normal);
}

/* 左右交错实现 (用于第二个区块) */
.lyric-section[data-order="right"] {
    grid-template-columns: 2fr 3fr; /* 颠倒列顺序 */
}

/* 滚动动画基础：初始状态 */
.lyric-section .lyric-text,
.lyric-section .lyric-image {
    opacity: 0;
    transition: none; /* 禁用初始状态的过渡 */
}

/* 初始位移：文本从左，图片从右 */
.lyric-section .lyric-text {
    transform: translateX(-50px);
}
.lyric-section .lyric-image {
    transform: translateX(50px);
}

/* 动画激活时 (文本从左滑入，图片从右滑入) */
.lyric-section.visible .lyric-text {
    opacity: 1;
    transform: translateX(0);
    /* 文本延迟出现，让图片先到 */
    transition: opacity 1s ease-out 0.2s, transform 1s ease-out 0.2s;
}

.lyric-section.visible .lyric-image {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 1s ease-out, transform 1s ease-out; /* 图片立即出现 */
}

/* 修正第二个区块的动画方向 */
.lyric-section[data-order="right"].visible .lyric-text {
    /* 文本在右边，所以从右边滑入 */
    transform: translateX(0);
    /* 初始状态也需要修正，确保它从右边隐藏 */
}
.lyric-section[data-order="right"] .lyric-text {
    transform: translateX(50px);
}

/* 图片在左边，所以从左边滑入 */
.lyric-section[data-order="right"].visible .lyric-image {
    transform: translateX(0);
}
.lyric-section[data-order="right"] .lyric-image {
    transform: translateX(-50px);
}

/*设置脚注*/
/* 脚注容器样式 */
footer {
    background-color: var(--bg-footer); /* 深色背景更常见 */
    color: var(--text-light);           /* 浅色文字 */
    padding: 40px 0;      /* 上下内边距 */
    font-size: 14px;
    transition: background-color var(--transition-normal);
}
/* 内部容器，用于限制宽度并居中 */
.footer-container {
    max-width: 1200px; /* 限制最大宽度，与导航栏内容宽度保持一致 */
    margin: 0 auto;    /* 居中显示 */
    padding: 0 40px;   /* 左右内边距（与导航栏一致） */

    /* 核心布局：使用 Flexbox 将各区域横向排列 */
    display: flex;
    justify-content: space-between; /* 区域之间平均分配空间 */
    flex-wrap: wrap; /* 允许在小屏幕上换行 */
    text-align: center;
}

/* 脚注区块样式 */
.footer-section {
    width: 20%; /* 每个区块占据约 20% 宽度 */
    margin-bottom: 20px; /* 底部间距 */
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* 版权文本容器：确保文本居中 */
.copyright-text {
    /* 确保文本自身宽度允许它居中 */
    width: 100%;
    text-align: center; /* 确保 p 标签内的文本内容居中 */
    white-space: nowrap; /* 防止移动端换行 */
}

/* 链接和列表样式重置 */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-section a:hover {
    color: #fff; /* 悬停时高亮 */
}




/* 移动端响应式调整 */
@media screen and (max-width: 768px) {
    /* 导航栏样式已移至共享样式文件 */

    /* 英雄区块 */
    .hero-parallax-scene h1 {
        font-size: 2.5rem; /* 减小标题大小 */
    }
    .hero-parallax-scene p {
        font-size: 1.1rem;
    }
    
    /* 统计信息移动端适配 */
    .site-statistics {
        margin: 20px 0 25px;
    }
    
    .stat-item {
        font-size: 0.9rem;
        padding: 8px 20px;
        border-radius: 12px;
    }

    /* 歌词区块：单列堆叠 */
    .lyric-section {
        grid-template-columns: 1fr; /* 单列布局 */
        gap: 30px;
        padding: 0 20px;
        margin: 50px auto;
        grid-template-areas:
            "text"  /* 文本区域在第一行 */
            "image"; /* 图片区域在第二行 */
    }

    /* 修正交错区块的顺序 */
    .lyric-section[data-order="right"] {
        /* 核心：切换为单列 */
        grid-template-columns: 1fr;

        /* 明确定义区域顺序：图片在上，文本在下 */
        grid-template-areas:
            "text" /* 文本区域在第二行 */
            "image"; /* 图片区域在第一行 */
    }

    /* 确保每个元素被分配到相应的区域 */
    .lyric-text { grid-area: text; }
    .lyric-image { grid-area: image; }

    /* 移动端动画修正：统一从下方滑入 */
    .lyric-section .lyric-text,
    .lyric-section .lyric-image {
        transform: translateY(50px); /* 统一从下方滑入 */
    } 
    .lyric-section.visible .lyric-text,
    .lyric-section.visible .lyric-image {
        transform: translateY(0);
    }
}


/* 欢迎遮罩样式定义 */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease-in-out;
    transition: opacity 0.8s ease, background-color var(--transition-normal);
}

.welcome-content {
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 15px 35px var(--shadow-medium);
    border: 1px solid var(--border-light);
    animation: slideIn 0.8s ease-out;
    max-width: 90%;
    color: var(--text-primary);
    transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.welcome-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
    color: var(--accent-primary);
}

.welcome-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-family: 'Georgia', serif;
    animation: fadeIn 1s ease-in-out 0.3s both;
}

.welcome-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-secondary);
    animation: fadeIn 1s ease-in-out 0.6s both;
}

#welcome-enter-btn {
    background-color: var(--accent-primary);
    color: var(--text-light);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
    transition: all var(--transition-normal);
    animation: fadeIn 1s ease-in-out 0.9s both;
}

#welcome-enter-btn:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px var(--shadow-light);
}

#welcome-enter-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px var(--shadow-light);
  }

/* 上滑隐藏效果 */
.welcome-overlay.slide-up {
    opacity: 0;
    transform: translateY(-100vh);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 动画定义 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端响应式设计 */
@media screen and (max-width: 768px) {
    /* 缩小标题字体 */
    .welcome-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    /* 调整段落字体大小 */
    .welcome-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    /* 缩小图标尺寸 */
    .welcome-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
        margin-bottom: 20px;
    }
    
    /* 调整内容区域内边距 */
    .welcome-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    /* 调整按钮样式 */
    #welcome-enter-btn {
        margin-top: 25px;
        padding: 10px 20px;
        font-size: 15px;
        min-height: 44px;
        min-width: 100px;
    }
}

/* 小屏幕移动设备 */
@media screen and (max-width: 480px) {
    /* 进一步缩小标题字体 */
    .welcome-content h2 {
        font-size: 1.5rem;
    }
    
    /* 进一步调整段落字体大小 */
    .welcome-content p {
        font-size: 0.95rem;
    }
    
    /* 进一步缩小图标尺寸 */
    .welcome-icon {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    /* 进一步调整内容区域内边距 */
    .welcome-content {
        padding: 25px 15px;
        border-radius: 12px;
    }
}

/* 移动端响应式样式已移至共享样式文件 */

/* Cookie使用提示样式 */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(100px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10000;
    color: var(--text-primary);
    overflow: hidden;
}

.cookie-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-radius: 18px;
    pointer-events: none;
}

.cookie-notice.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cookie-close-btn {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-end;
    min-width: 70px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cookie-close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cookie-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.cookie-close-btn:hover::before {
    left: 100%;
}

.cookie-close-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* 欢迎弹窗样式 */
.welcome-notice {
    position: fixed;
    bottom: 220px;
    right: 20px;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(100px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10001;
    color: var(--text-primary);
    overflow: hidden;
}

.welcome-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 184, 255, 0.15) 0%, rgba(139, 184, 255, 0.08) 100%);
    border-radius: 18px;
    pointer-events: none;
}

.welcome-notice.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.welcome-notice-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 1;
}

.welcome-notice-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .cookie-notice {
        bottom: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
        margin: 0;
    }
    
    .cookie-content p {
        font-size: 0.85rem;
    }
    
    .cookie-close-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .welcome-notice {
        top: 60px; /* 向下移动，避免遮挡导航栏 */
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        margin: 0 auto;
        padding: 12px; /* 减小内边距 */
        transform: translateY(0) scale(1);
        border-radius: 18px; /* 统一圆角，与默认样式一致 */
        max-height: 100px; /* 限制最大高度 */
        overflow: hidden; /* 隐藏超出内容 */
    }
    
    .welcome-notice-content p {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .cookie-notice {
        bottom: 10px;
        right: 10px;
        left: 10px;
        padding: 15px;
    }
    
    .cookie-content {
        gap: 12px;
    }
    
    .cookie-content p {
        font-size: 0.8rem;
    }
    
    .welcome-notice {
        top: 50px; /* 向下移动，避免遮挡导航栏 */
        right: 8px;
        left: 8px;
        max-width: calc(100% - 16px);
        padding: 10px; /* 进一步减小内边距 */
        border-radius: 18px; /* 统一圆角，与默认样式一致 */
        max-height: 90px; /* 更小的最大高度 */
    }
    
    .welcome-notice-content p {
        font-size: 0.8rem;
    }
}