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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    gap: 50px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
}

/* 柿子logo动画 */
.persimmon-logo {
    width: 40px;
    height: 40px;
    animation: bounce 2s infinite;
    display: inline-block;
    vertical-align: middle;
}

.persimmon-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 导航链接 */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item {
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    background-color: #ff6b35;
    color: #fff;
}

.nav-item:hover {
    background-color: rgba(255, 107, 53, 0.8);
    color: #fff;
    transform: translateY(-2px);
}

.nav-item.active {
    background-color: #ff6b35;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* 内容区域 */
.content {
    margin-top: 100px;
    min-height: calc(100vh - 160px);
}

.tab-content {
    display: none;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* 首页顶部内容 */
.hero-content-top {
    text-align: center;
    padding: 60px 40px 40px;
    background-color: #fff;
    border-radius: 10px;
    margin: 0 auto 40px;
    max-width: 800px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.hero-content-top h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #ff6b35;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ff6b35;
    border-radius: 2px;
    animation: underline 2s ease infinite;
}

.hero-content-top p {
    font-size: 20px;
    margin-bottom: 0;
    color: #666;
}

/* 首页顶部操作区域 */
.hero-content-actions {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* 小柿子角色 */
.small-persimmon {
    width: 60px;
    height: 60px;
    animation: bounce 2s infinite;
    display: inline-block;
}

.small-persimmon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 小了解更多按钮 */
.small-cta {
    padding: 6px 12px;
    background-color: #ff6b35;
    color: #fff;
    border-radius: 15px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.small-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* 掉落的柿子效果 */
.falling-persimmon {
    position: fixed;
    background-color: #ff6b35;
    border-radius: 50% 50% 40% 40%;
    border: 2px solid #000;
    z-index: 9999;
    pointer-events: none;
}

.falling-persimmon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 12px;
    background-color: #4caf50;
    clip-path: polygon(30% 0, 70% 0, 90% 40%, 70% 80%, 50% 40%, 30% 80%, 10% 40%);
    border: 2px solid #000;
}

.falling-persimmon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 6px;
    width: 3px;
    height: 3px;
    background-color: #000;
    border-radius: 50%;
    box-shadow: 10px 0 0 #000;
}

.falling-persimmon .mouth {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 4px;
    border: 2px solid #000;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.falling-persimmon .cheeks {
    position: absolute;
    bottom: 8px;
    width: 4px;
    height: 2px;
    background-color: #ff9a8b;
    border-radius: 50%;
    border: 1px solid #000;
}

.falling-persimmon .cheeks.left {
    left: 4px;
}

.falling-persimmon .cheeks.right {
    right: 4px;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff6b35;
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.persimmon-character {
    width: 200px;
    height: 200px;
    background-color: #ff6b35;
    border-radius: 50% 50% 40% 40%;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.persimmon-character::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 40px;
    background-color: #4caf50;
    border-radius: 50% 50% 0 0;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
}

.persimmon-character::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background-color: #388e3c;
    border-radius: 50% 50% 0 0;
}

.persimmon-character .eyes {
    position: absolute;
    top: 60px;
    width: 30px;
    height: 30px;
    background-color: #000;
    border-radius: 50%;
}

.persimmon-character .eyes.left {
    left: 40px;
}

.persimmon-character .eyes.right {
    right: 40px;
}

.persimmon-character .mouth {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    border: 3px solid #000;
    border-top: none;
    border-radius: 0 0 20px 20px;
}

.persimmon-character .cheeks {
    position: absolute;
    bottom: 60px;
    width: 20px;
    height: 10px;
    background-color: #ff9a8b;
    border-radius: 50%;
}

.persimmon-character .cheeks.left {
    left: 30px;
}

.persimmon-character .cheeks.right {
    right: 30px;
}

/* 关于我页面 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #ff6b35;
}

.about-content p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.skill-item {
    padding: 10px 20px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 20px;
    color: #ff6b35;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background-color: #ff6b35;
    color: #fff;
    transform: translateY(-3px);
}

/* 关于我页面布局 */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-info,
.about-skills,
.about-experience,
.about-contact {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.about-info h3,
.about-skills h3,
.about-experience h3,
.about-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.about-info p,
.about-experience p,
.about-contact p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

/* 项目经验页面 */
#projects h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #ff6b35;
}

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

.project-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff6b35, #ff8e61);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.project-item:hover .project-image::after {
    opacity: 0.6;
}

.project-image-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 250px;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-image.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.project-item h3 {
    padding: 20px;
    font-size: 20px;
    margin-bottom: 10px;
}

.project-item p {
    padding: 0 20px 10px;
    color: #666;
}

/* 项目链接样式 */
.project-links {
    padding: 0 20px 20px;
}

.project-links h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li {
    margin-bottom: 8px;
}

.link-list a {
    color: #ff6b35;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.link-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6b35;
    transition: width 0.3s ease;
}

.link-list a:hover {
    color: #ff8e61;
}

.link-list a:hover::after {
    width: 100%;
}

/* 查看更多链接样式 */
.view-more-link {
    margin-top: 20px;
    text-align: right;
}

.view-more-link a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.view-more-link a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6b35;
    transition: width 0.3s ease;
}

.view-more-link a:hover {
    color: #ff8e61;
}

.view-more-link a:hover::after {
    width: 100%;
}

/* 首页联系方式部分样式 */
.contact-info-home {
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 作品集页面 */
#portfolio h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #ff6b35;
}

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

.portfolio-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff6b35, #ff8e61);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-image::after {
    opacity: 0.6;
}

/* 视频入口样式 */
.video-entry .portfolio-image {
    background: linear-gradient(45deg, #333, #555);
}

.video-entry .portfolio-image::after {
    background: linear-gradient(45deg, #ff6b35, #ff8e61);
    opacity: 0.7;
}

.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: #fff;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-entry:hover .video-icon {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}

.portfolio-item h3 {
    padding: 20px;
    font-size: 20px;
    margin-bottom: 10px;
}

.portfolio-item p {
    padding: 0 20px 20px;
    color: #666;
}

/* PDF信息展示区域 */
.pdf-info {
    background-color: #fff;
    padding: 60px 40px;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
}

.pdf-info h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: #ff6b35;
}



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

.info-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #ff6b35;
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.info-item p {
    color: #666;
    line-height: 1.6;
}

/* PDF信息展示区域操作按钮 */
.pdf-info {
    position: relative;
}

.pdf-info-actions {
    position: absolute;
    bottom: 30px;
    right: 40px;
}

.pdf-info-actions .small-cta {
    padding: 8px 16px;
    font-size: 16px;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

/* 动画效果 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

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

@keyframes underline {
    0%, 100% {
        width: 0;
        left: 50%;
    }
    50% {
        width: 100%;
        left: 0;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-illustration {
        margin-top: 40px;
    }

    .persimmon-character {
        width: 150px;
        height: 150px;
    }

    .tab-content {
        padding: 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .pdf-info {
        padding: 40px 20px;
    }

    .pdf-info h2 {
        font-size: 28px;
    }

    .info-item {
        padding: 20px;
    }

    .about-info,
    .about-skills,
    .about-experience,
    .about-contact {
        padding: 20px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff8e61;
}

/* 图片放大模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* 模态框导航按钮 */
.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.modal-nav-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 40px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 图片点击效果 */
.slider-image {
    cursor: pointer;
}

/* 作品集项目样式 */
.portfolio-item {
    cursor: pointer;
}

.portfolio-item .portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-item .portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 0.7;
}

.portfolio-item .view-project-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ff6b35;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    cursor: pointer;
}

.portfolio-item:hover .view-project-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* 项目详情模态框样式 */
.modal-content-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 10;
}

.modal-content-container h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ff6b35;
    text-align: center;
}

/* 作品网格样式 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.work-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.work-item-image {
    width: 100%;
    height: 150px;
    background-color: #e9ecef;
    position: relative;
    overflow: hidden;
}

.work-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.work-item-content {
    padding: 15px;
}

.work-item-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.work-item-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 视频图标样式 */
.work-item-video .work-item-image::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* 返回按钮样式 */
.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6b35;
    color: white;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.back-btn:hover {
    background-color: #ff8e61;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* 文件网格样式 */
.files-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    min-height: 200px;
}

/* 文件项样式 */
.file-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    padding: 15px;
}

.file-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.file-item-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.file-item-video {
    width: 100%;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.file-item-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-item-video .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-item-video .play-icon:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.file-item-video {
    position: relative;
    overflow: hidden;
}

.file-item p {
    font-size: 14px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

/* 作品预览模态框样式 */
#previewModalVideo {
    display: none;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    width: 100%;
    height: auto;
}

#previewModalImage {
    display: none;
}

#previewModalImage.show,
#previewModalVideo.show {
    display: block;
}

/* 动画效果 */
.modal-content,
.caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0.1)}
    to {transform: scale(1)}
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
    
    .modal-content-container {
        padding: 20px;
        margin: 20px;
    }
    
    .works-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
}

/* 个人信息部分样式 */
.personal-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.personal-basic {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.personal-basic:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #ff6b35;
}

.info-row {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.info-label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
    margin-right: 10px;
}

.info-value {
    color: #666;
    flex: 1;
    line-height: 1.5;
}

/* 技能部分样式 */
.skills-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.skills-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #ff6b35;
}

.skill-category {
    margin-bottom: 20px;
}

.skill-category h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    padding-bottom: 5px;
}

.skill-category p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.personal-description {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.personal-description h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.personal-description p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* 工作经历部分样式 */
.experience-section {
    margin-bottom: 40px;
}

.experience-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

.experience-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #ff6b35;
}

.experience-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.experience-date {
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 5px;
    font-size: 14px;
}

.experience-company {
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
    font-size: 16px;
}

.experience-position {
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.experience-details p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

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

/* 项目经验部分样式 */
.projects-section {
    margin-bottom: 20px;
}

.projects-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.projects-grid .project-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.projects-grid .project-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #ff6b35;
}

.projects-grid .project-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.projects-grid .project-item p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

.projects-grid .project-item p:last-child {
    margin-bottom: 0;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .personal-info-section {
        grid-template-columns: 1fr;
    }
    
    .info-row {
        flex-direction: column;
    }
    
    .info-label {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}