/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a1a1a;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.nav-logo .logo-text:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* 个人照片 */
.profile-photo {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.profile-photo:hover {
    transform: scale(1.1);
    border-color: #667eea;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-photo:hover .upload-overlay {
    opacity: 1;
}

.upload-overlay i {
    color: white;
    font-size: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

/* Hero背景图片轮播 */
.hero-background-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-carousel .image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-background-carousel .image-slide.active {
    opacity: 1;
}

.hero-background-carousel .image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 半透明黑色遮罩层 - 位于图片上方，文字下方 */
.hero-background-carousel .image-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 1;
}

/* Hero轮播控制按钮 */
.hero-carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10;
}

.hero-carousel-controls .carousel-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.hero-carousel-controls .carousel-btn:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.hero-carousel-controls .carousel-btn i {
    font-size: 1.2rem;
}

/* Hero轮播指示器 */
.hero-carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

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

.hero-carousel-indicators .indicator.active {
    background: #667eea;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.6);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #e0e0e0;
    border: 2px solid #333;
}

.btn-secondary:hover {
    background: #333;
    transform: translateY(-2px);
}

/* 浮动元素 */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

/* AI视频轮播 */
.ai-video-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.video-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

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

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    gap: 1rem;
}

.video-placeholder i {
    font-size: 3rem;
    color: #667eea;
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-description {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-controls:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 1rem;
}

.next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

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

.indicator.active {
    background: #667eea;
    transform: scale(1.2);
}

.play-pause-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.play-pause-btn:hover {
    background: rgba(102, 126, 234, 0.8);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    z-index: 2;
}

.floating-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.floating-card i {
    font-size: 1.2rem;
    color: #667eea;
}

.floating-card span {
    font-size: 0.9rem;
    font-weight: 500;
}

.card-1 {
    top: 20%;
    left: 8%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 8%;
    animation-delay: 1.2s;
}

.card-3 {
    top: 60%;
    left: 8%;
    animation-delay: 2.4s;
}

.card-4 {
    top: 80%;
    right: 8%;
    animation-delay: 3.6s;
}

.card-5 {
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4.8s;
    animation: floatCenter 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px);
    }
    25% { 
        transform: translateY(-15px);
    }
    50% { 
        transform: translateY(-30px);
    }
    75% { 
        transform: translateY(-15px);
    }
}

/* 为card-5单独定义动画，保持水平居中 */

@keyframes floatCenter {
    0%, 100% { 
        transform: translateX(-50%) translateY(0px);
    }
    25% { 
        transform: translateX(-50%) translateY(-15px);
    }
    50% { 
        transform: translateX(-50%) translateY(-30px);
    }
    75% { 
        transform: translateX(-50%) translateY(-15px);
    }
}

/* 通用Section样式 */
.section {
    padding: 6rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: #111;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: #667eea;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
}

/* 项目网格 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #667eea;
}

.project-image {
    width: 100%;
    height: 200px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #a0a0a0;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* 占位符样式 */
.project-placeholder {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.project-placeholder:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.placeholder-content i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    color: #a0a0a0;
}

/* 关于我部分 */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.about-section {
    width: 100%;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-2px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: rgba(102, 126, 234, 0.1);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header i {
    font-size: 1.5rem;
    color: #667eea;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.card-content {
    padding: 2rem;
}

.highlight-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* 教育背景样式 */
.education-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.education-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.education-degree {
    min-width: 120px;
    text-align: right;
}

.education-degree h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #667eea;
}

.education-time {
    font-size: 0.9rem;
    color: #a0a0a0;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    display: inline-block;
}

.education-details {
    flex: 1;
}

.education-school {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
}

.education-desc {
    color: #a0a0a0;
    margin: 0;
    line-height: 1.5;
}

/* 实习经历样式 */
.experience-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

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

.experience-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #667eea;
}

.experience-time {
    font-size: 0.9rem;
    color: #a0a0a0;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.experience-company {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-weight: 500;
}

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

.experience-tasks li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #a0a0a0;
    line-height: 1.5;
}

.experience-tasks li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 技能图谱样式 */
.skills-category {
    margin-bottom: 2rem;
}

.skills-category:last-child {
    margin-bottom: 0;
}

.skills-category h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
}

.skill-item i {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    display: block;
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.skill-level {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: width 0.8s ease;
}

/* 简历下载样式 */
.resume-download-section {
    text-align: center;
    padding: 2rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.about-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.about-info p {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #a0a0a0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-item i {
    color: #667eea;
    font-size: 1.2rem;
}

/* 获奖证书区域 */
.achievements {
    margin: 2rem 0;
}

.achievements h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.achievement-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
    border-color: rgba(102, 126, 234, 0.3);
}

.achievement-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.achievement-info h4 {
    color: #e0e0e0;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.achievement-info p {
    color: #a0a0a0;
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.8;
}

/* 前台获奖图片显示 */
.award-display-container {
    grid-column: 1 / -1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* 单张图片显示 */
.award-single-display {
    text-align: center;
}

.award-single-display img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    filter: brightness(0.9);
}

.award-single-display img:hover {
    transform: scale(1.05) translateY(-10px);
    filter: brightness(1);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.5);
}

/* 双张图片显示 */
.award-dual-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.award-dual-display .award-item {
    text-align: center;
}

.award-dual-display .award-item img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    filter: brightness(0.9);
}

.award-dual-display .award-item img:hover {
    transform: scale(1.08) translateY(-8px);
    filter: brightness(1);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.4);
}

/* 高级三张图片轮播 */
.award-premium-carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.award-carousel-wrapper {
    position: relative;
    height: 400px;
    perspective: 1200px;
    overflow: visible;
}

.award-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-carousel-item {
    position: absolute;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.award-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.award-carousel-item.center {
    width: 350px;
    height: 280px;
    z-index: 3;
    transform: translateX(0) scale(1);
    filter: brightness(1) saturate(1.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.award-carousel-item.left {
    width: 280px;
    height: 220px;
    z-index: 2;
    transform: translateX(-200px) scale(0.85) rotateY(25deg);
    filter: brightness(0.7) saturate(0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.award-carousel-item.right {
    width: 280px;
    height: 220px;
    z-index: 2;
    transform: translateX(200px) scale(0.85) rotateY(-25deg);
    filter: brightness(0.7) saturate(0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.award-carousel-item.hidden {
    width: 200px;
    height: 160px;
    z-index: 1;
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
}

.award-carousel-item:hover {
    transform: translateX(0) scale(1.05) !important;
    filter: brightness(1.1) saturate(1.2) !important;
    z-index: 4 !important;
}

.award-carousel-item.center:hover {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.award-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    border-radius: 25px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(15px);
}

.award-carousel-item.center .award-glow {
    opacity: 0.3;
}

.award-carousel-item:hover .award-glow {
    opacity: 0.6;
}

.award-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.award-nav-btn:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 1), rgba(118, 75, 162, 1));
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.award-nav-btn.prev {
    left: -400px;
}

.award-nav-btn.next {
    right: -400px;
}

.award-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 3rem;
}

.award-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.award-indicator.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.award-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* 成功消息动画 */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.success-message {
    animation: slideInRight 0.3s ease-out;
}

.success-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .award-carousel-wrapper {
        height: 300px;
    }
    
    .award-carousel-item.center {
        width: 280px;
        height: 220px;
    }
    
    .award-carousel-item.left,
    .award-carousel-item.right {
        width: 200px;
        height: 160px;
        transform: translateX(-120px) scale(0.8);
    }
    
    .award-carousel-item.right {
        transform: translateX(120px) scale(0.8);
    }
    
    .award-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .award-nav-btn.prev {
        left: -400px;
    }
    
    .award-nav-btn.next {
        right: -400px;
    }
    
    .award-dual-display {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.resume-download {
    text-align: center;
    margin-top: 2rem;
}

/* 联系我部分 */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.contact-icon {
    margin-bottom: 1rem;
}

.contact-icon i {
    font-size: 2.5rem;
    color: #667eea;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: #a0a0a0;
    margin-bottom: 1rem;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 0.5rem;
}

.qr-placeholder i {
    font-size: 2rem;
    color: #667eea;
}

.qr-placeholder span {
    font-size: 0.8rem;
    color: #a0a0a0;
}

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

.modal-content {
    background: #1a1a1a;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1;
    cursor: pointer;
}

.close:hover {
    color: #fff;
}

.modal-body {
    padding: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .education-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .education-degree {
        text-align: left;
        min-width: auto;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .card-header {
        padding: 1rem 1.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .video-container {
        height: 300px;
    }
    
    .video-controls {
        gap: 0.5rem;
    }
    
    .video-nav {
        width: 35px;
        height: 35px;
    }
    
    .profile-photo {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .about-card {
        padding: 2rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 状态指示器 */
.status-indicator {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-coming-soon {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-completed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-in-progress {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

/* AI视频展示区域 */
.ai-video-showcase {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.video-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

#video-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

#video-description {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.5;
}

.video-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.video-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-nav:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: scale(1.1);
}

.video-indicators {
    display: flex;
    gap: 0.5rem;
}

.video-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-indicator.active {
    background: #667eea;
    transform: scale(1.2);
}

/* 证书查看模态框 */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.certificate-modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideIn 0.3s ease;
}

.certificate-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #a0a0a0;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.certificate-close:hover {
    color: #ffffff;
}

.certificate-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.certificate-info {
    text-align: center;
}

.certificate-title {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.certificate-description {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 图片轮播展示区域样式 */
.image-carousel-showcase {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.image-carousel-section {
    margin-top: 2rem;
    padding: 2rem 0;
}

.image-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.image-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    position: relative;
}

/* 半透明黑色遮罩层 - 位于图片上方，文字下方 */
.image-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 1;
    border-radius: 12px;
}

/* 图片底部渐隐效果 */
.image-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    pointer-events: none;
    z-index: 2;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    z-index: 3;
}

.image-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.image-description {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.5;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.carousel-btn i {
    font-size: 1.2rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

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

.indicator.active {
    background: #667eea;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.6);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-carousel-section {
        margin-top: 2rem;
        padding: 1rem;
    }
    
    .video-carousel-container {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .video-carousel {
        height: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* 邀请码模态框样式 */
.invite-code-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.invite-code-modal-content {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.invite-code-modal-content h3 {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.invite-code-modal-content input {
    width: 100%;
    padding: 12px 16px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.invite-code-modal-content input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.invite-code-modal-content input::placeholder {
    color: #666;
}

.invite-code-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.invite-code-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

#invite-code-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#invite-code-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

#invite-code-cancel {
    background: #333;
    color: #e0e0e0;
    border: 1px solid #555;
}

#invite-code-cancel:hover {
    background: #444;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .invite-code-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .invite-code-buttons {
        flex-direction: column;
    }
    
    .invite-code-buttons button {
        width: 100%;
    }
}

/* 隐私保护遮罩样式 */
.privacy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
    border-radius: 12px;
}

.privacy-content {
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 300px;
}

.privacy-content i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    display: block;
}

.privacy-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.privacy-content p {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.unlock-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}