        .project-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 30px;
            position: relative;
            z-index: 1;
        }
        
        .nav-button.back-resume {
            background: linear-gradient(135deg, #764ba2, #667eea);
        }
        
        /* 项目详情页专用卡片样式（避免与简历页的 .project-card 冲突） */
        .project-detail-card {
            /* 使用 common.css 中的基础样式 */
        }
        
        .project-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .project-title {
            font-size: 2.5em;
            font-weight: 700;
            color: #2c3e50;
            margin: 0 0 20px 0;
            font-family: "Old English Text MT", "Times New Roman", serif;
        }
        
        .project-description {
            margin-bottom: 40px;
        }
        
        .description-paragraph {
            font-size: 1.1em;
            color: #34495e;
            line-height: 1.8;
            margin: 0 0 16px 0;
            text-align: justify;
        }
        
        .description-paragraph:last-child {
            margin-bottom: 0;
        }
        
        .description-paragraph:first-child {
            font-weight: 500;
            color: #2c3e50;
            font-size: 1.15em;
        }
        
        .media-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }
        
        .media-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .media-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        
        .media-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
        }
        
        .media-item video {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
            background: #000; /* 确保有黑色背景 */
        }
        
        /* 移动端视频优化 */
        @media (max-width: 768px) {
            .media-item video {
                background: #000;
                /* 确保移动端视频能显示第一帧 */
                -webkit-playsinline: true;
                -webkit-appearance: none;
            }
        }
        
        .media-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: white;
            padding: 20px;
            font-size: 0.9em;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }
        
        .media-item:hover .media-caption {
            transform: translateY(0);
        }
        
        .project-nav {
            text-align: center;
            margin-top: 40px;
        }
        
        .nav-link {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 15px 30px;
            border-radius: 25px;
            text-decoration: none;
            font-size: 1.1em;
            font-weight: 500;
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
            display: inline-block;
        }
        
        .nav-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
        }
        
        @media (max-width: 768px) {
            .project-container {
                padding: 15px;
                gap: 20px;
            }
            
            .project-detail-card {
                padding: 25px;
            }
            
            .project-title {
                font-size: 2em;
            }
            
            .media-gallery {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .media-item img,
            .media-item video {
                height: 200px;
            }
        }
