* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    font-size: 14px;
}

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

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

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

.section {
    padding: 60px 0;
    min-height: auto;
}

.intro-section {
    background: #ffffff;
    color: #333;
    min-height: 100vh;
    position: relative;
}

.intro-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.intro-text {
    text-align: center;
    max-width: 800px;
}

.intro-text h1 {
    font-size: 64px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    letter-spacing: 4px;
}

.intro-title {
    font-size: 22px;
    color: #e8a87c;
    margin-bottom: 35px;
    font-weight: 500;
    letter-spacing: 3px;
}

.intro-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 2;
    text-align: justify;
}

.intro-contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 15px;
    color: #888;
}

.intro-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.intro-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.tag {
    background: rgba(232, 168, 124, 0.1);
    border: 1px solid rgba(232, 168, 124, 0.3);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    color: #e8a87c;
    transition: all 0.4s;
}

.tag:hover {
    background: rgba(232, 168, 124, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(232, 168, 124, 0.2);
}

.intro-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.skill-tag {
    background: rgba(168, 216, 234, 0.15);
    border: 1px solid rgba(168, 216, 234, 0.3);
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 13px;
    color: #5a9bb8;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #999;
    font-size: 14px;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid #999;
    border-radius: 10px;
    margin-top: 10px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #666;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 20px;
        opacity: 0;
    }
}

.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e8a87c, #c38d9e);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    color: #999;
    margin-bottom: 50px;
}

.education-section {
    background: #fafafa;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #e8a87c, #c38d9e);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #e8a87c;
    border: 2px solid #e8a87c;
    z-index: 1;
    top: -20px;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: calc(50% + 30px);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: calc(50% + 30px);
}

.timeline-content h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-content .degree {
    font-size: 15px;
    color: #e8a87c;
    margin-bottom: 15px;
    font-weight: 500;
}

.education-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.edu-tag {
    background: rgba(136, 216, 176, 0.15);
    border: 1px solid rgba(136, 216, 176, 0.3);
    padding: 5px 14px;
    border-radius: 12px;
    font-size: 12px;
    color: #68b090;
}

.education-list {
    list-style: none;
    padding: 0;
}

.education-list li {
    font-size: 14px;
    color: #666;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.education-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e8a87c;
    font-weight: 600;
}

.experience-section {
    background: #ffffff;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
}

.experience-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(232, 168, 124, 0.2);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.experience-header h3 {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
}

.experience-date {
    font-size: 12px;
    color: #999;
    background: rgba(168, 216, 234, 0.15);
    padding: 4px 12px;
    border-radius: 10px;
}

.experience-position {
    font-size: 14px;
    color: #e8a87c;
    font-weight: 500;
    margin-bottom: 18px;
}

.experience-list {
    list-style: none;
    padding: 0;
}

.experience-list li {
    font-size: 14px;
    color: #666;
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.8;
}

.experience-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e8a87c;
    font-size: 16px;
}

.projects-section {
    background: #fafafa;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.6;
}

.project-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    background: rgba(236, 112, 99, 0.1);
    padding: 4px 14px;
    border-radius: 10px;
    display: inline-block;
}

.project-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.project-list li {
    font-size: 14px;
    color: #666;
    padding-left: 20px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.7;
}

.project-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #c38d9e;
}

.social-section {
    background: #ffffff;
    padding: 60px 0;
}

.social-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    width: 300px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 168, 124, 0.05), transparent);
    transition: left 0.5s;
}

.social-card:hover::before {
    left: 100%;
}

.social-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.social-card.wechat:hover {
    border-color: rgba(136, 216, 176, 0.4);
    box-shadow: 0 20px 40px rgba(136, 216, 176, 0.15);
}

.social-card.video:hover {
    border-color: rgba(168, 216, 234, 0.4);
    box-shadow: 0 20px 40px rgba(168, 216, 234, 0.15);
}

.social-card.weibo:hover {
    border-color: rgba(236, 112, 99, 0.4);
    box-shadow: 0 20px 40px rgba(236, 112, 99, 0.15);
}

.qr-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    background: white;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.qr-container canvas,
.qr-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 8px;
}

.social-info h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.social-card.wechat .social-info h3 {
    color: #88d8b0;
}

.social-card.video .social-info h3 {
    color: #a8d8ea;
}

.social-card.weibo .social-info h3 {
    color: #ec7063;
}

.social-info p {
    font-size: 14px;
    color: #999;
    line-height: 1.8;
}

.aigc-section {
    background: white;
}

.video-section {
    background: #ffffff;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.work-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.work-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.5s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.work-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.work-image-container {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.work-item:hover .work-image {
    transform: scale(1.1);
}

.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
}

.work-item:hover .pdf-overlay {
    opacity: 1;
}

.pdf-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.pdf-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.clickable {
    cursor: pointer;
}

.click-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.work-item:hover .click-hint {
    opacity: 1;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.8);
    transition: transform 0.3s;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #e8a87c;
}

.grid-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 40px 0 20px 0;
    padding-left: 10px;
    border-left: 4px solid #e8a87c;
}

.video-grid {
    grid-template-columns: repeat(2, 1fr);
}

.work-video-container {
    position: relative;
    height: 380px;
    overflow: hidden;
    background: #f5f5f5;
}

.work-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s;
    z-index: 10;
}

.play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #e8a87c;
    transform: translateX(3px);
    transition: all 0.3s;
    box-shadow: 0 0 25px rgba(232, 168, 124, 0.5);
}

.play-overlay:hover .play-icon {
    transform: translateX(3px) scale(1.1);
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 20;
}

.work-video-container:hover .video-controls {
    opacity: 1;
}

.progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 8px;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e8a87c, #c38d9e);
    border-radius: 2px;
    width: 0;
    transition: width 0.1s;
}

.control-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.control-btn {
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s;
}

.control-btn:hover {
    color: #e8a87c;
}

.work-info {
    padding: 20px;
}

.work-info h4 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.work-type {
    font-size: 12px;
    color: #e8a87c;
    background: rgba(232, 168, 124, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 50px 0;
}

.footer p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.footer p:last-child {
    margin-bottom: 0;
}

.contact-info {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .intro-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .intro-text h1 {
        font-size: 48px;
    }
    .intro-contact {
        flex-direction: column;
        gap: 10px;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-date {
        left: 20px;
        transform: translateX(0);
        top: -15px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
        margin-right: 0 !important;
    }
    .experience-grid {
        grid-template-columns: 1fr;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .social-cards {
        flex-direction: column;
        align-items: center;
    }
    .social-card {
        width: 100%;
        max-width: 320px;
    }
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
    .intro-text h1 {
        font-size: 36px;
    }
}