/* ==================== 基础样式 ==================== */
:root {
    --primary-color: #9CC0D0;
    --secondary-color: #E8F0F5;
    --accent-color: #9CC0D0;
    --accent-secondary: #9CC0D0;
    --text-light: #1a1a1a;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --bg-light: #E8F0F5;
    --bg-dark: #E8F0F5;
    --transition: all 0.3s ease;
    --sidebar-width: 280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== 左侧导航栏 ==================== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-light);
}

.logo-en {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 55px;
}

.logo a:hover {
    color: var(--accent-color);
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 25px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    font-size: 1.15rem;
    color: var(--text-gray);
    padding: 12px 0;
    border-left: 2px solid transparent;
    padding-left: 15px;
    transition: var(--transition);
}

.nav-item span {
    font-size: 0.85rem;
    margin-top: 6px;
    opacity: 0.7;
}

.nav-item:hover,
.nav-item.active {
    color: var(--text-light);
    border-left-color: var(--accent-color);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.tagline-en {
    font-size: 0.975rem;
    color: var(--text-gray);
    opacity: 0.7;
    font-style: italic;
    font-weight: bold;
    white-space: normal;
    line-height: 1.5;
}

.tagline-en br {
    display: block;
}

/* ==================== 主内容区 ==================== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* ==================== 首页 - 2x2网格 ==================== */
.home-page .main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: var(--bg-dark);
    padding: 0;
    margin: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3px;
    width: calc(100% - var(--sidebar-width));
    height: 100vh;
    max-width: none;
    max-height: none;
    position: absolute;
    right: 0;
    top: 0;
}

.grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--secondary-color);
}

.grid-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.grid-item:hover .grid-item-bg {
    transform: scale(1.1);
}

.grid-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.grid-item:hover .grid-item-overlay {
    background: rgba(0, 0, 0, 0.25);
}

.grid-item-content {
    position: absolute;
    z-index: 2;
    padding: 25px;
}

.grid-item:nth-child(1) .grid-item-content {
    bottom: 0;
    right: 0;
    text-align: right;
}

.grid-item:nth-child(2) .grid-item-content {
    bottom: 0;
    left: 0;
    text-align: left;
}

.grid-item:nth-child(3) .grid-item-content {
    top: 0;
    right: 0;
    text-align: right;
}

.grid-item:nth-child(4) .grid-item-content {
    top: 0;
    left: 0;
    text-align: left;
}

.keyword {
    display: block;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ability {
    display: block;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(-20px);
    transition: var(--transition);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.grid-item:hover .ability {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== Portfolio页面 ==================== */
.portfolio-page .main-content {
    padding: 60px 80px;
}

.portfolio-header {
    margin-bottom: 50px;
}

.portfolio-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
}

.portfolio-header .highlight {
    color: var(--accent-color);
    font-weight: 500;
}

.portfolio-body {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

.intro-text {
    margin-bottom: 40px;
}

.intro-paragraph {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 25px;
}

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

.stat-item {
    background: #9CC0D0;
    padding: 30px 25px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 140px;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: #7BA3B3;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 12px;
    white-space: nowrap;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    white-space: nowrap;
}

.stat-item.language-item {
    flex-direction: column;
    gap: 8px;
}

.stat-item.language-item .stat-number.highlight {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0;
}

.portfolio-photo {
    position: sticky;
    top: 40px;
}

.photo-frame {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 3/4;
    background: #9CC0D0;
    border-radius: 8px;
    overflow: hidden;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== 教育背景样式 ==================== */
.education-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.education-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.education-item {
    display: grid;
    grid-template-columns: 200px 250px 250px 1fr;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.education-date {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.education-school {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.education-major {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.education-grade {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* ==================== Internships页面 - 时间线设计 ==================== */
.internships-page .main-content {
    margin-left: var(--sidebar-width);
    padding: 60px 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 60px;
    text-align: center;
}

.timeline-container {
    position: relative;
}

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

.timeline-center-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-curve {
    width: 4px;
    height: 100%;
    overflow: visible;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    margin-bottom: 80px;
    padding: 40px 0;
}

.timeline-item.item-right {
    grid-template-columns: auto 1fr 1fr;
}

.timeline-item.item-left {
    grid-template-columns: 1fr 1fr auto;
}

.timeline-node {
    position: relative;
    z-index: 2;
}

.node-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #9CC0D0;
    border: 4px solid #E8F0F5;
    box-shadow: 0 0 20px rgba(156, 192, 208, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.node-dot:hover {
    transform: scale(1.3);
    box-shadow: 0 0 30px rgba(156, 192, 208, 0.8);
}

.node-hint {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-gray);
    white-space: nowrap;
    opacity: 0.8;
    transition: var(--transition);
}

.timeline-node:hover .node-hint {
    color: var(--accent-color);
    opacity: 1;
}

.timeline-content {
    background: #9CC0D0;
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-subtitle {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-skills span {
    background: #E8F0F5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.timeline-images {
    display: flex;
    gap: 15px;
    overflow: hidden;
}

.timeline-images img {
    width: 50%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.timeline-images img:hover {
    transform: scale(1.05);
}

.view-detail-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--bg-dark);
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

.view-detail-btn:hover {
    background: var(--text-light);
    transform: translateX(5px);
}

/* ==================== Works页面 ==================== */
.works-page .main-content {
    padding: 60px 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 50px;
}

.works-section {
    margin-bottom: 80px;
}

.works-category {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2c3e50;
}

.works-grid {
    display: grid;
    gap: 20px;
}

.posters-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

.photos-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* ==================== 穹顶画廊样式 ==================== */
.dome-gallery-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.dome-gallery {
    position: relative;
    height: 500px;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dome-item {
    position: absolute;
    width: 200px;
    height: 267px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}

.dome-item.active {
    opacity: 1;
    pointer-events: auto;
}

.dome-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.dome-item:hover img {
    transform: scale(1.05);
}

/* 穹顶布局 - 中心大图 */
.dome-item.center {
    width: 320px;
    height: 427px;
    transform: translateZ(0);
    z-index: 10;
}

/* 左侧图片 */
.dome-item.left-1 {
    transform: translateZ(-80px) translateX(-280px) rotateY(15deg);
    width: 180px;
    height: 240px;
    opacity: 0.85;
    z-index: 8;
}

.dome-item.left-2 {
    transform: translateZ(-160px) translateX(-450px) rotateY(20deg);
    width: 150px;
    height: 200px;
    opacity: 0.7;
    z-index: 6;
}

.dome-item.left-3 {
    transform: translateZ(-220px) translateX(-580px) rotateY(25deg);
    width: 120px;
    height: 160px;
    opacity: 0.55;
    z-index: 4;
}

/* 右侧图片 */
.dome-item.right-1 {
    transform: translateZ(-80px) translateX(280px) rotateY(-15deg);
    width: 180px;
    height: 240px;
    opacity: 0.85;
    z-index: 8;
}

.dome-item.right-2 {
    transform: translateZ(-160px) translateX(450px) rotateY(-20deg);
    width: 150px;
    height: 200px;
    opacity: 0.7;
    z-index: 6;
}

.dome-item.right-3 {
    transform: translateZ(-220px) translateX(580px) rotateY(-25deg);
    width: 120px;
    height: 160px;
    opacity: 0.55;
    z-index: 4;
}

/* 顶部图片 */
.dome-item.top-1 {
    transform: translateZ(-100px) translateY(-180px) rotateX(20deg);
    width: 160px;
    height: 213px;
    opacity: 0.8;
    z-index: 7;
}

.dome-item.top-2 {
    transform: translateZ(-180px) translateY(-280px) rotateX(25deg);
    width: 130px;
    height: 173px;
    opacity: 0.65;
    z-index: 5;
}

/* 底部图片 */
.dome-item.bottom-1 {
    transform: translateZ(-100px) translateY(180px) rotateX(-20deg);
    width: 160px;
    height: 213px;
    opacity: 0.8;
    z-index: 7;
}

.dome-item.bottom-2 {
    transform: translateZ(-180px) translateY(280px) rotateX(-25deg);
    width: 130px;
    height: 173px;
    opacity: 0.65;
    z-index: 5;
}

/* 控制按钮 */
.dome-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.dome-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #9CC0D0;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dome-btn:hover {
    background: #7BA3B3;
    transform: scale(1.1);
}

.dome-indicator {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 500;
}

.dome-indicator span {
    color: var(--accent-color);
    font-weight: bold;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #9CC0D0;
}

.posters-grid .work-item,
.photos-grid .work-item {
    aspect-ratio: 3/4;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover img {
    transform: scale(1.05);
}

.video-item {
    aspect-ratio: auto;
}

.video-bilibili {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-bilibili iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-cover {
    position: relative;
    aspect-ratio: 16/9;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-dark);
    transition: var(--transition);
}

.video-item:hover .play-button {
    background: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.video-info p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.video-link {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.video-link:hover {
    text-decoration: underline;
}

.load-more-btn {
    display: block;
    margin: 40px auto 0;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--text-gray);
    color: var(--text-gray);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* ==================== Contact页面 ==================== */
.contact-page .main-content {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    filter: brightness(0.4);
}

.contact-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
}

.stamp-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 3rem;
    opacity: 0.8;
}

.contact-title {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 3px;
}

.contact-card {
    position: relative;
    background: #9CC0D0;
    padding: 40px 60px;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-greeting {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 15px;
    font-weight: bold;
}

.contact-name {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 30px;
    background: var(--bg-light);
    border-radius: 6px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--secondary-color);
}

.contact-item:hover .contact-value,
.contact-item:hover .contact-label,
.contact-item:hover .copy-hint {
    color: var(--text-light);
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.copy-hint {
    font-size: 0.75rem;
    color: var(--text-gray);
    transition: var(--transition);
}

/* ==================== 模态框 ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

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

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

/* 视频模态框样式 */
.modal-video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    max-height: 90%;
}

.modal-video-container h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.modal-video-container video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .portfolio-body {
        grid-template-columns: 1fr;
    }
    
    .portfolio-photo {
        order: -1;
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto 40px;
    }
    
    .project-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: 200px;
        padding: 30px 20px;
    }
    
    .main-content {
        margin-left: 200px;
    }
    
    .internships-page .main-content {
        margin-left: 200px;
    }
    
    .project-nav {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .posters-grid,
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px;
    }
    
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-menu li {
        margin-bottom: 0;
    }
    
    .nav-item {
        padding: 8px 15px;
        border-left: none;
        border-bottom: 2px solid transparent;
    }
    
    .nav-item:hover,
    .nav-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--accent-color);
    }
    
    .sidebar-footer {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .internships-page .main-content {
        margin-left: 0;
    }
    
    .portfolio-page .main-content,
    .works-page .main-content {
        padding: 40px 30px;
    }
    
    .grid-container {
        width: 90vmin;
        height: 90vmin;
    }
    
    .contact-card {
        padding: 40px 30px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    /* ===== 全局优化 ===== */
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-en {
        font-size: 0.9rem;
    }
    
    .sidebar-content {
        padding-bottom: 10px;
    }
    
    .sidebar-footer {
        font-size: 0.75rem;
        padding: 10px;
    }
    
    /* ===== 首页优化 ===== */
    .home-page .main-content {
        height: auto;
        min-height: 100vh;
        padding: 15px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    
    .home-intro {
        font-size: 1rem;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .grid-container {
        position: static;
        width: 100%;
        height: auto;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 180px);
        gap: 12px;
        margin-top: 10px;
        padding: 10px;
    }
    
    .grid-item {
        min-height: 180px;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .grid-item .overlay {
        padding: 15px 10px;
    }
    
    .keyword {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 8px;
    }
    
    .ability {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* ===== 个人简介优化 ===== */
    .portfolio-page .main-content {
        padding: 25px 15px;
    }
    
    .portfolio-header {
        margin-bottom: 25px;
    }
    
    .portfolio-header h1 {
        font-size: 1.6rem;
    }
    
    .portfolio-header p {
        font-size: 0.9rem;
    }
    
    .portfolio-photo {
        max-width: 200px;
        margin: 0 auto 20px;
    }
    
    .portfolio-photo img {
        border-radius: 12px;
    }
    
    .portfolio-intro {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 15px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 20px;
    }
    
    .stat-item {
        padding: 15px 10px;
        min-height: 80px;
        border-radius: 10px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .education-section {
        margin-top: 25px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
    }
    
    .education-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .education-item {
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .education-item:last-child {
        border-bottom: none;
    }
    
    .education-date {
        font-size: 0.8rem;
    }
    
    .education-school {
        font-size: 0.95rem;
    }
    
    .education-major {
        font-size: 0.85rem;
    }
    
    .education-grade {
        font-size: 0.8rem;
    }
    
    /* ===== 实习与项目优化 ===== */
    .internships-page .main-content {
        padding: 20px 15px;
    }
    
    .timeline-container {
        padding: 10px 0;
    }
    
    .timeline-svg {
        width: 100%;
        height: 600px;
    }
    
    .timeline-item {
        width: 85%;
        max-width: 300px;
        padding: 15px;
        border-radius: 10px;
    }
    
    .timeline-item.item-left {
        left: 5%;
    }
    
    .timeline-item.item-right {
        left: 10%;
    }
    
    .timeline-dot {
        width: 16px;
        height: 16px;
        left: -8px;
    }
    
    .timeline-date {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .timeline-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .timeline-company {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .timeline-desc {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .timeline-hint {
        font-size: 0.75rem;
        margin-top: 10px;
        padding: 6px 10px;
        background: rgba(156, 192, 208, 0.3);
        border-radius: 6px;
    }
    
    /* ===== 个人作品优化 ===== */
    .works-page .main-content {
        padding: 20px 15px;
    }
    
    .works-category {
        font-size: 1.3rem;
        margin-bottom: 15px;
        margin-top: 25px;
        padding-bottom: 8px;
    }
    
    /* 海报设计 */
    .posters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .work-item {
        border-radius: 8px;
        overflow: hidden;
    }
    
    .work-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
        object-fit: cover;
    }
    
    /* 视频作品 */
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-item {
        padding: 10px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .video-bilibili {
        border-radius: 8px;
    }
    
    .video-info {
        padding: 10px 5px 0;
    }
    
    .video-info h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .video-info p {
        font-size: 0.85rem;
    }
    
    /* 摄影作品 - 穹顶画廊 */
    .dome-gallery-container {
        padding: 10px 0;
        margin-top: 15px;
    }
    
    .dome-gallery {
        height: 280px;
        perspective: 500px;
    }
    
    .dome-item.center {
        width: 160px;
        height: 213px;
    }
    
    .dome-item.left-1,
    .dome-item.right-1 {
        width: 90px;
        height: 120px;
        transform: translateZ(-30px) translateX(-120px) rotateY(15deg);
        opacity: 0.7;
    }
    
    .dome-item.right-1 {
        transform: translateZ(-30px) translateX(120px) rotateY(-15deg);
    }
    
    .dome-item.left-2,
    .dome-item.right-2,
    .dome-item.left-3,
    .dome-item.right-3,
    .dome-item.top-1,
    .dome-item.top-2,
    .dome-item.bottom-1,
    .dome-item.bottom-2 {
        display: none;
    }
    
    .dome-controls {
        gap: 15px;
        margin-top: 15px;
    }
    
    .dome-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .dome-indicator {
        font-size: 0.85rem;
    }
    
    /* ===== 联系方式优化 ===== */
    .contact-page .main-content {
        padding: 20px 15px;
        min-height: 100vh;
    }
    
    .contact-card-wrapper {
        padding: 15px;
    }
    
    .contact-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        letter-spacing: 2px;
    }
    
    .contact-card {
        padding: 25px 20px;
        margin: 0;
        border-radius: 12px;
    }
    
    .stamp-icon {
        font-size: 2rem;
        top: 10px;
        right: 10px;
    }
    
    .contact-greeting {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .contact-name {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .contact-item {
        padding: 12px 15px;
        margin-bottom: 10px;
        border-radius: 8px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .contact-icon {
        font-size: 1.2rem;
    }
    
    .contact-label {
        font-size: 0.85rem;
    }
    
    .contact-value {
        font-size: 0.9rem;
        word-break: break-all;
    }
    
    .social-links {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
    }
    
    .social-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}