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

/* 根变量定义 */
:root {
    --primary-color: #ffffff;
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --transition: all 0.3s ease;
}

/* 英文小字样式 */
.en-small {
    font-size: 0.75em;
    font-weight: 400;
    color: rgba(51, 51, 51, 0.7);
    margin-left: 0.5em;
    display: inline-block;
}

/* 基础样式 */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    overscroll-behavior: none;
    position: relative;
    z-index: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/书东坡.jpg') center/cover fixed no-repeat;
    filter: blur(2px);
    z-index: -1;
    opacity: 0.7;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
}

/* 背景气泡动画 */
.bubble-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bubbles::before,
.bubbles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    animation: bubbleMove 20s ease-in-out infinite;
}

.bubbles::before {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.bubbles::after {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
    background: rgba(236, 72, 153, 0.1);
}

@keyframes bubbleMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, 100px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(200px, 50px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(100px, 200px) scale(1.2);
        opacity: 0.6;
    }
}

/* 生成多个气泡 */
.bubbles span {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.05);
    animation: bubbleFloat 15s ease-in-out infinite;
}

.bubbles span:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubbles span:nth-child(2) {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 20%;
    animation-delay: 2s;
    background: rgba(236, 72, 153, 0.05);
}

.bubbles span:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 15%;
    animation-delay: 4s;
}

.bubbles span:nth-child(4) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 30%;
    animation-delay: 6s;
    background: rgba(236, 72, 153, 0.05);
}

.bubbles span:nth-child(5) {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 30%;
    animation-delay: 8s;
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-50px) translateX(50px);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-100px) translateX(0);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-50px) translateX(-50px);
        opacity: 0.5;
    }
}

/* 玻璃质感覆盖层 */
.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
}

/* 果冻滚动效果 */
.jelly-scroll {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center top;
}

/* 容器样式 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: glassShimmer 8s ease-in-out infinite;
}

@keyframes glassShimmer {
    0% {
        transform: translateX(-5%) translateY(-5%);
    }
    50% {
        transform: translateX(5%) translateY(5%);
    }
    100% {
        transform: translateX(-5%) translateY(-5%);
    }
}

.nav-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    flex-wrap: nowrap;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.nav-logo .nav-text {
    margin-bottom: 0.25rem;
}

.nav-logo .en-small {
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.nav-text {
    display: block;
    margin-bottom: 0.25rem;
    text-align: center;
}

.en-small {
    text-align: center;
}

.dot-accent {
    color: var(--accent-pink);
    font-size: 1.2em;
    margin: 0 0.3em;
    animation: pulse 2s infinite;
}

.end-accent {
    font-size: 0.8em;
    margin: 0 0.5em;
    animation: pulse 2s infinite;
}

.end-accent.left {
    color: var(--accent-blue);
}

.end-accent.right {
    color: var(--accent-pink);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-blue);
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/fNO2gmpL7.jpeg') center/cover no-repeat;
    margin-top: 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.hero::after {
    content: 'Hello!\A Welcome!';
    white-space: pre;
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(51, 51, 51, 0.1);
    text-align: left;
    line-height: 1.2;
    z-index: 2;
    animation: fadeIn 3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-color);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle.en-small {
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-top: 0.1rem;
    opacity: 0.8;
    text-transform: uppercase;
}

/* Hero内容布局 */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
}

.hero-photo {
    max-width: 280px;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
    transform: perspective(1000px) rotateY(5deg) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 4px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-photo:hover img {
    transform: scale(1.15);
}

.hero-text {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.4s both;
    max-width: 500px;
}

@media (min-width: 768px) {
    .hero-content {
        flex-wrap: nowrap;
        gap: 4rem;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .education-main {
        align-items: flex-start;
        text-align: left;
    }
    
    .education-line {
        justify-content: flex-start;
    }
    
    .education-en {
        align-items: flex-start;
        text-align: left;
    }
}

/* 教育经历样式 */
.hero-education {
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(51, 51, 51, 0.1);
}

.education-main {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

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

.education-line:nth-child(1) {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.education-line:nth-child(2) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-blue);
    letter-spacing: 0.3px;
}

.education-en {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.education-en p {
    font-size: 0.85rem;
    color: rgba(51, 51, 51, 0.7);
    line-height: 1.5;
    font-style: italic;
    letter-spacing: 0.5px;
    margin: 0;
}

@media (min-width: 768px) {
    .education-main {
        align-items: center;
        text-align: center;
    }
    
    .education-line {
        justify-content: center;
    }
    
    .education-en {
        align-items: center;
        text-align: center;
    }
}

/* 主内容区域布局 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 关于区域样式 */
.about {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    position: relative;
}

.section-subtitle {
    font-size: 0.6rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-subtitle::after {
    display: none;
}

.section-subtitle:nth-of-type(2) {
    font-size: 2rem;
    text-transform: none;
    letter-spacing: normal;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* 确保所有h3标签使用相同的字体大小 */
h3.section-subtitle {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.work-description {
    font-size: 0.9rem;
    color: rgba(51, 51, 51, 0.8);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    position: relative;
    padding: 0 30px;
}

.work-description::before,
.work-description::after {
    content: '✦';
    position: absolute;
    color: var(--accent-pink);
    font-size: 1.2rem;
    opacity: 0.7;
}

.work-description::before {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.work-description::after {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .work-description {
        padding: 0 20px;
    }
    
    .work-description::before,
    .work-description::after {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        text-align: center;
    }
    
    .section-subtitle {
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-content {
        text-align: center;
        margin: 0 auto;
    }
}

.about-text-en {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(51, 51, 51, 0.7);
    margin-top: 1.5rem;
    font-style: italic;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
}

@media (min-width: 1024px) {
    .section-title::after {
        left: 0;
        transform: none;
    }
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-photo {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    width: 250px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.9);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.about-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: scale(1.05) rotate(2deg) translateY(0px);
    }
    50% {
        transform: scale(1.05) rotate(-1deg) translateY(-10px);
    }
    100% {
        transform: scale(1.05) rotate(2deg) translateY(0px);
    }
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 2rem 0;
    align-items: flex-start;
    justify-content: center;
    align-content: flex-start;
}

.about-photo {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.about-image {
    width: 250px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.9);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.about-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: scale(1.05) rotate(2deg) translateY(0px);
    }
    50% {
        transform: scale(1.05) rotate(-1deg) translateY(-10px);
    }
    100% {
        transform: scale(1.05) rotate(2deg) translateY(0px);
    }
}

.contact-info {
    text-align: left;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.contact-info p {
    margin: 0;
    color: rgba(51, 51, 51, 0.8);
    display: flex;
    align-items: center;
}

.contact-info strong {
    color: var(--text-color);
    min-width: 60px;
    display: inline-block;
}

.about-details {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.info-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.info-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 80px;
    font-size: 0.9rem;
}

.info-value {
    color: rgba(51, 51, 51, 0.8);
    flex: 1;
    font-size: 0.9rem;
}

.skill-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
}

.skill-image {
    max-width: 66.67%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 时间轴样式 */
.timeline {
    margin-top: 6rem;
    margin-bottom: 6rem;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

/* 背景装饰元素 */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.timeline-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    border-radius: 2px;
    animation: expand 1.5s ease-out 0.5s both;
}

@keyframes expand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 1;
}

/* 新的时间轴设计 */
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: flex-start;
    animation: slideIn 1s ease-out;
    animation-fill-mode: both;
}

/* 为每个时间轴项添加延迟动画 */
.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

.timeline-item:nth-child(5) {
    animation-delay: 1s;
}

.timeline-item:nth-child(6) {
    animation-delay: 1.2s;
}

.timeline-item:nth-child(7) {
    animation-delay: 1.4s;
}

.timeline-item:nth-child(8) {
    animation-delay: 1.6s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 左侧年份 */
.timeline-year {
    flex: 0 0 120px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink));
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.timeline-year:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* 连接线 */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 60px;
    bottom: -20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-pink));
    transform: translateX(-50%);
    z-index: 0;
    animation: drawLine 1s ease-out 1s both;
}

@keyframes drawLine {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: calc(100% + 20px);
        opacity: 1;
    }
}

.timeline-item:last-child::before {
    display: none;
}

/* 右侧内容 */
.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

/* 内容卡片装饰 */
.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 25px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(255, 255, 255, 0.9);
}

/* 内容卡片背景装饰 */
.timeline-content::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    z-index: 0;
}

.timeline-content:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.timeline-content:hover {
    transform: translateY(-8px) translateX(10px) rotate(1deg);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

/* 内容标题 */
.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
    padding-left: 1rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-content:hover h4 {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.timeline-content h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 1.2rem;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-pink));
    border-radius: 2px;
    transition: all 0.3s ease;
}

.timeline-content:hover h4::before {
    height: 1.5rem;
    width: 6px;
}

/* 内容描述 */
.timeline-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(51, 51, 51, 0.85);
    margin: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-content:hover p {
    color: rgba(51, 51, 51, 0.95);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline-container {
        padding: 0 1rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-year {
        flex: none;
        margin-bottom: 1rem;
        width: 100px;
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .timeline-item::before {
        left: 50px;
        top: 50px;
        bottom: -15px;
    }
    
    .timeline-content {
        margin-left: 0;
        margin-top: 1rem;
        padding: 1.5rem;
    }
    
    .timeline-content::before {
        left: 20px;
        top: -10px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid rgba(255, 255, 255, 0.9);
        border-top: none;
    }
    
    .timeline-title {
        font-size: 1.5rem;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
}

/* 作品区域样式 */
.works {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 2rem 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

/* 书法练习特殊布局 - 两列展示 */
.works-grid.calligraphy-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
}

.works-grid.calligraphy-grid .work-card {
    max-width: 100%;
    width: 100%;
}

.works-grid.calligraphy-grid .work-image {
    height: 250px;
}

/* 宽幅作品单独一排布局 */
.works-grid.single-row-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.works-grid.single-row-grid .work-image {
    height: 300px;
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .works-grid.calligraphy-grid .work-image {
        height: 200px;
    }
    
    .works-grid.single-row-grid .work-image {
        height: 250px;
    }
}

.work-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.work-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.work-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    border-radius: 16px 16px 0 0;
    flex: 1;
}

@media (max-width: 768px) {
    .work-image {
        height: 350px;
    }
}

.work-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
    pointer-events: none;
    z-index: 1;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.work-card:hover .work-image img {
    transform: scale(1.15);
}

.work-info {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.work-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    z-index: 1;
}

.work-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text-color);
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.work-title-en {
    font-size: 0.7rem;
    color: rgba(51, 51, 51, 0.6);
    font-weight: 500;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.work-category {
    font-size: 0.8rem;
    color: rgba(51, 51, 51, 0.7);
    font-weight: 400;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    font-style: italic;
}

/* 作品卡片装饰元素 */
.work-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    z-index: 0;
    opacity: 0;
}

.work-card:hover::before {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

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

/* 底部样式 */
.footer {
    padding: 6rem 0;
    background: url('../images/DJI_0728.jpg') center/cover no-repeat;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: -1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    color: rgba(51, 51, 51, 0.6);
    letter-spacing: 12px;
    text-align: center;
}

.footer-subtitle-en {
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0.5rem 0 0;
    color: rgba(51, 51, 51, 0.6);
    letter-spacing: 1px;
    text-align: center;
}

.footer-divider {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    margin: 0.5rem 0;
    border-radius: 1px;
}

.footer-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.footer-contact-en {
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
    color: rgba(51, 51, 51, 0.7);
    letter-spacing: 1px;
}

.footer-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin: 0.75rem 0;
}

.footer-name p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.footer-name .en-small {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(51, 51, 51, 0.7);
    letter-spacing: 1px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-contact-info p {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }
    
    .footer-title {
        font-size: 3rem;
    }
    
    .footer-divider {
        width: 250px;
    }
}

/* 作品详情页样式 - 已移除 */

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

.modal-content {
    position: relative;
    margin: 10% auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
}

.close:hover {
    color: var(--accent-blue);
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flyIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8) skewX(-5deg);
        filter: blur(5px);
    }
    25% {
        opacity: 0.3;
        transform: translateY(-15px) scale(0.9) skewX(3deg);
        filter: blur(3px);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-5px) scale(1.05) skewX(-1deg);
        filter: blur(1px);
    }
    75% {
        opacity: 0.8;
        transform: translateY(2px) scale(0.98) skewX(0.5deg);
        filter: blur(0.5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) skewX(0);
        filter: blur(0);
    }
}

/* 滚动渐显效果 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

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

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 滚动时导航栏效果 */
.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

/* 滚动时元素动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 滚动时背景视差效果 */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        gap: 2rem;
        padding: 1rem;
        margin-top: 60px;
    }

    .hero-photo {
        max-width: 120px;
        height: 160px;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .nav-content {
        padding: 0.5rem 0;
    }

    .nav-logo {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .nav-logo .en-small {
        font-size: 0.5rem;
    }

    .nav-links {
        gap: 0.3rem;
    }

    .nav-link {
        font-size: 0.6rem;
        min-width: 60px;
        padding: 0.2rem 0.3rem;
    }

    .nav-link .nav-text {
        font-size: 0.6rem;
    }

    .nav-link .en-small {
        font-size: 0.4rem;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .work-image {
        height: 250px;
    }

    .about,
    .works {
        margin: 1rem 0.5rem;
        padding: 4rem 0;
    }

    .about-container {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        width: 150px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .about-text-en {
        font-size: 0.75rem;
        padding: 0 1rem;
    }

    .detail-title {
        font-size: 2rem;
    }

    .detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .work-info {
        padding: 0.4rem;
    }

    .work-title {
        font-size: 0.8rem;
    }

    .work-title-en {
        font-size: 0.6rem;
    }

    .work-category {
        font-size: 0.7rem;
    }
}

/* 按压动效 */
.nav-link,
.work-card,
.nav-logo {
    position: relative;
    overflow: hidden;
}

.nav-link:active,
.work-card:active,
.nav-logo:active {
    transform: scale(0.95);
}

/* 点击波纹效果 */
.nav-link::before,
.work-card::before,
.nav-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-link:active::before,
.work-card:active::before,
.nav-logo:active::before {
    width: 300px;
    height: 300px;
}

/* 导航栏滚动效果 */
.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}