/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

/* 背景炫光元素样式 */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
    background: linear-gradient(45deg, transparent, transparent);
    box-shadow: 0 0 50px rgba(156, 39, 176, 0.3), 
                inset 0 0 50px rgba(156, 39, 176, 0.2);
    animation: glowPulse 20s infinite ease-in-out;
}

.glow-ring-1 {
    width: 60vw;
    height: 60vw;
    top: -30vw;
    right: -30vw;
    opacity: 0.4;
    animation-delay: 0s;
}

.glow-ring-2 {
    width: 40vw;
    height: 40vw;
    bottom: -20vw;
    left: -20vw;
    opacity: 0.3;
    box-shadow: 0 0 50px rgba(33, 150, 243, 0.3), 
                inset 0 0 50px rgba(33, 150, 243, 0.2);
    animation-delay: -5s;
}

.glow-ring-3 {
    width: 30vw;
    height: 30vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    box-shadow: 0 0 50px rgba(76, 175, 80, 0.3), 
                inset 0 0 50px rgba(76, 175, 80, 0.2);
    animation-delay: -10s;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.4;
    }
}

/* 语言切换按钮 */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.lang-btn.active {
    background-color: rgba(156, 39, 176, 0.7);
    color: #ffffff;
    border-color: rgba(156, 39, 176, 0.9);
}

/* 语言切换相关样式 */
[data-lang="en"] {
    display: none;
}

body.en [data-lang="zh"] {
    display: none;
}

body.en [data-lang="en"] {
    display: block;
}

body.zh [data-lang="zh"] {
    display: block;
}

body.zh [data-lang="en"] {
    display: none;
}

/* 导航栏样式 */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links li {
    padding: 1rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9c27b0, #2196f3);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 头部样式 */
.header {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.avatar-container {
    margin-bottom: 2rem;
}

.avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(135, 206, 250, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(135, 206, 250, 0.7);
}

.name {
    font-size: 3.5rem;
    font-weight: 200;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #ffffff;
}

.birth {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 15px;
    font-weight: 200;
}

.life-counter {
    font-size: 1.5rem;
    color: #64b5f6;
    margin-bottom: 30px;
    font-weight: 300;
}

#day-count {
    font-weight: 600;
    color: #4fc3f7;
    font-family: 'Courier New', monospace;
}

.motto {
    font-size: 1.3rem;
    color: #aaa;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px 0;
}

/* 轮播图区域 */
.carousel-section {
    padding: 2rem;
    text-align: center;
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    height: 500px;
}

.carousel-slides {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

/* 响应式轮播图 */
@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* 双纲领结构 */
.dualism {
    text-align: center;
    padding: 40px 20px;
    margin: 60px 0;
}

.dualism-line {
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.dualism-tech {
    color: #4fc3f7;
}

.dualism-symbol {
    color: #ffffff;
    margin: 0 30px;
    font-weight: 300;
}

.dualism-human {
    color: #ff8a65;
}

/* 主内容区 */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 维度通用样式 */
.dimension {
    margin-bottom: 120px;
    position: relative;
}

.dimension-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.dimension-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.dimension-subtitle {
    font-size: 1.1rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

/* 中间颜色标识 */
.tech-dimension .dimension-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #4fc3f7;
    margin: 20px auto 0;
}

.human-dimension .dimension-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #ff8a65;
    margin: 20px auto 0;
}

.dimension-keywords {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #bbb;
    font-weight: 300;
    letter-spacing: 1px;
}

.dimension-bio {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 0 20px;
}

/* 项目网格 */
.projects {
    margin: 60px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.project-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    background-color: rgba(79, 195, 247, 0.1);
}

.project-name {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #4fc3f7;
}

.project-desc {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.5;
}

/* 创作内容区域 */
.creative-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #ff8a65;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.work-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    color: #ddd;
    transition: all 0.3s ease;
}

.work-item:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 138, 101, 0.1);
}

/* 时间线样式 */
.timeline {
    margin-bottom: 120px;
    position: relative;
    padding: 0 20px;
}

.timeline-title {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 60px;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.timeline-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #ffffff;
    margin: 20px auto 0;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-items {
    position: relative;
}

/* 时间线中间线 */
.timeline-items::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 交替排列 */
.timeline-item:nth-child(odd) .timeline-year {
    order: 1;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-event {
    order: 2;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-year {
    order: 2;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-event {
    order: 1;
    text-align: right;
}

.timeline-year {
    width: 45%;
    font-size: 1.4rem;
    font-weight: 600;
    color: #4fc3f7;
    font-family: 'Courier New', monospace;
}

.timeline-item:nth-child(even) .timeline-year {
    color: #ff8a65;
}

.timeline-event {
    width: 45%;
    color: #ddd;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* 时间线中心点 */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
}

.timeline-item:nth-child(odd)::before {
    background-color: #4fc3f7;
}

.timeline-item:nth-child(even)::before {
    background-color: #ff8a65;
}

/* 哲学格言样式 */
.philosophy {
    margin-bottom: 120px;
    padding: 0 20px;
}

.philosophy-title {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 60px;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.philosophy-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #ffffff;
    margin: 20px auto 0;
}

.philosophy-quotes {
    max-width: 800px;
    margin: 0 auto;
}

.quote {
    display: block;
    margin-bottom: 50px;
    font-size: 1.5rem;
    font-style: italic;
    color: #bbb;
    line-height: 1.8;
    text-align: center;
    padding: 0 20px;
}

.quote:last-child {
    margin-bottom: 0;
}

/* 文章部分样式 */
.articles-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.articles-header {
    text-align: center;
    margin-bottom: 3rem;
}

.articles-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 1rem;
}

.articles-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 800px;
    margin: 0 auto;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.article-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(156, 39, 176, 0.15);
    border-color: rgba(156, 39, 176, 0.3);
}

.article-name {
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-desc {
    color: #aaa;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.article-download {
    display: inline-block;
    background-color: rgba(33, 150, 243, 0.2);
    color: #64b5f6;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.article-download:hover {
    background-color: rgba(33, 150, 243, 0.3);
    color: #90caf9;
    border-color: rgba(33, 150, 243, 0.5);
}

.article-download.large {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
    margin-top: 1rem;
}

.article-comment-btn {
    background-color: rgba(156, 39, 176, 0.2);
    color: #ce93d8;
    border: 1px solid rgba(156, 39, 176, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-comment-btn:hover {
    background-color: rgba(156, 39, 176, 0.3);
    color: #e1bee7;
    border-color: rgba(156, 39, 176, 0.5);
}

.comment-count {
    background-color: rgba(156, 39, 176, 0.5);
    color: white;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* 模态框样式 */
.article-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background-color: #0a0a0a;
    margin: 10% auto;
    padding: 0;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#modal-article-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modal-body {
    padding: 2rem;
}

.article-preview {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.preview-text {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* 留言区域样式 */
.comments-section {
    margin-top: 3rem;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(156, 39, 176, 0.5);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-comment {
    background: linear-gradient(90deg, #9c27b0, #2196f3);
    color: white;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(156, 39, 176, 0.3);
}

.submit-comment:active {
    transform: translateY(0);
}

/* 留言列表样式 */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.no-comments {
    color: #666;
    text-align: center;
    padding: 3rem;
    font-style: italic;
}

.comment-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.comment-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.07);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 500;
    color: #fff;
    font-size: 1.1rem;
}

.comment-date {
    color: #666;
    font-size: 0.85rem;
}

.comment-content {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 博客页面相关样式 */
.blog-header {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #0a0a0a, #1e1e1e);
    color: white;
    margin-bottom: 3rem;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

.blog-articles {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.articles-waterfall {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-article-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.blog-article-item:hover {
    border-color: rgba(0, 255, 204, 0.3);
    box-shadow: 0 8px 24px rgba(0, 255, 255, 0.15);
    transform: translateX(5px);
}

.article-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.article-date {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
}

.article-category {
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    color: black;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.file-type {
    background: #6c757d;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.article-title {
    font-size: 1.5rem;
    margin: 0 0 12px 0;
    color: #ffffff;
    line-height: 1.3;
    font-weight: 600;
}

.article-summary {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
}

.article-footer {
    display: flex;
    justify-content: flex-end;
}

.article-read-more {
    color: #00ffcc;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-read-more:hover {
    color: #0099ff;
    transform: translateX(5px);
}

.article-category {
    color: black;
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.file-type {
    color: white;
    background: #6c757d;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.comment-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.comment-icon {
    font-size: 1rem;
}

.comment-number {
    font-weight: 500;
}

/* 日本风格文章排版 */
.markdown-content {
    padding: 30px;
    font-family: 'Noto Serif JP', 'Source Han Serif', 'Noto Serif SC', serif;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    background-color: transparent;
    border-radius: 4px;
    box-shadow: none;
    text-align: justify;
    letter-spacing: 0.02em;
}

/* 标题样式 - 日式简约风格 */
.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    margin-top: 40px;
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.4;
    color: #00ffcc;
    text-align: center;
}

.markdown-content h1 {
    font-size: 2em;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

.markdown-content h2 {
    font-size: 1.7em;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.03em;
}

.markdown-content h3 {
    font-size: 1.4em;
    letter-spacing: 0.02em;
    color: #0099ff;
}

/* 段落样式 - 日式留白与节奏 */
.markdown-content p {
    margin-top: 0;
    margin-bottom: 28px;
    text-indent: 2em;
    line-height: 2;
}

/* 首段不缩进 */
.markdown-content > p:first-of-type {
    text-indent: 0;
}

/* 链接样式 */
.markdown-content a {
    color: #00ffcc;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.markdown-content a:hover {
    color: #0099ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

/* 列表样式 */
.markdown-content ul,
.markdown-content ol {
    padding-left: 2em;
    margin-top: 0;
    margin-bottom: 28px;
}

.markdown-content li {
    margin-top: 12px;
    line-height: 1.8;
}

/* 引用样式 - 和纸风格 */
.markdown-content blockquote {
    padding: 20px 25px;
    color: rgba(255, 255, 255, 0.8);
    border-left: 4px solid #00ffcc;
    margin: 28px 0;
    background-color: rgba(255, 255, 255, 0.05);
    font-style: italic;
}

/* 代码样式 */
.markdown-content code {
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 90%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    color: #ffcc00;
}

.markdown-content pre {
    padding: 20px;
    overflow: auto;
    font-size: 90%;
    line-height: 1.6;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    margin-top: 0;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.markdown-content pre code {
    padding: 0;
    margin: 0;
    font-size: 100%;
    word-break: normal;
    white-space: pre;
    background: transparent;
    border: 0;
}

/* 图片样式 - 日本美学风格 */
.markdown-content img {
    max-width: 100%;
    box-sizing: content-box;
    background-color: transparent;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin: 28px auto;
    display: block;
}

/* 强调日式风格的文章详情页 */
.article-content {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.full-article {
    background-color: transparent;
    padding: 0;
}

.full-article-title {
    font-family: 'Noto Serif JP', 'Source Han Serif', 'Noto Serif SC', serif;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 255, 204, 0.3);
    letter-spacing: 0.05em;
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* PDF查看器样式 */
.pdf-viewer {
    text-align: center;
    padding: 20px;
}

.pdf-container {
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.pdf-container iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.pdf-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.open-pdf-btn,
.download-pdf-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    color: black;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 10px;
}

.open-pdf-btn:hover,
.download-pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.3);
}

.pdf-icon {
    font-size: 1.2rem;
}

/* 加载和错误状态 */
.loading,
.error {
    text-align: center;
    padding: 50px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

.error {
    color: #ff6b6b;
}

.read-more-btn {
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    color: black;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* 文章详情视图样式 */
.article-detail-view {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.back-button:hover {
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    color: black;
    border-color: #00ffcc;
    transform: translateX(-3px);
}

.back-icon {
    font-size: 1rem;
}

.article-content-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.full-article {
    padding: 3rem;
}

.full-article-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.full-article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.article-date {
    color: rgba(255, 255, 255, 0.6);
}

.article-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.article-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.download-original {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    color: black;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-original:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.download-icon {
    font-size: 1rem;
}

/* 留言区域样式 */
.comments-section {
    margin-top: 3rem;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #00ffcc;
}

.comment-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffcc;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

.submit-comment {
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, #00ffcc, #0099ff);
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-comment:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.comments-list {
    space-y: 1rem;
}

.no-comments {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 2rem 0;
}

.comment-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 500;
    color: #00ffcc;
}

.comment-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.comment-body {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 博客入口样式 */
.blog-entry {
    background-color: #1a1a1a;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6ee7b7, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.entry-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #a0a0a0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6ee7b7, #3b82f6);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0 10px;
    box-shadow: 0 4px 15px rgba(110, 231, 183, 0.3);
}

.blog-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(110, 231, 183, 0.4);
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .articles-waterfall {
        padding: 0 15px;
        gap: 20px;
    }
    
    .blog-article-item {
        padding: 20px;
    }
    
    .article-title {
        font-size: 1.3rem;
    }
    
    .article-header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-meta,
    .full-article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .full-article-title {
        font-size: 1.8rem;
    }
    
    .pdf-container iframe {
        height: 500px;
    }
    
    .pdf-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 900px) {
    .name {
        font-size: 3rem;
    }
    
    .dualism-line {
        font-size: 2.2rem;
    }
    
    .dualism-symbol {
        margin: 0 20px;
    }
    
    .dimension-title {
        font-size: 2.2rem;
    }
    
    .timeline-title,
    .philosophy-title {
        font-size: 2rem;
    }
    
    .quote {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 60px 20px 40px;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .dualism-line {
        font-size: 1.8rem;
    }
    
    .dimension {
        margin-bottom: 80px;
    }
    
    .dimension-title {
        font-size: 2rem;
    }
    
    .dimension-bio {
        font-size: 1.1rem;
    }
    
    .timeline {
        margin-bottom: 80px;
    }
    
    .philosophy {
        margin-bottom: 80px;
    }
    
    /* 移动设备上时间线调整 */
    .timeline-items::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-item::before {
        left: 20px;
        top: 10px;
    }
    
    .timeline-year,
    .timeline-event {
        width: 100%;
        text-align: left !important;
        order: 0 !important;
    }
    
    .timeline-year {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .timeline-event {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }
    
    .birth,
    .life-counter {
        font-size: 1rem;
    }
    
    .motto {
        font-size: 1.1rem;
    }
    
    .carousel-container {
        height: 200px;
    }
    
    .dualism-line {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .dualism-symbol {
        margin: 0 10px;
    }
    
    .dimension-title {
        font-size: 1.8rem;
    }
    
    .dimension-subtitle {
        font-size: 0.9rem;
    }
    
    .project-item {
        padding: 20px 15px;
    }
    
    .quote {
        font-size: 1.2rem;
    }
}