/* 基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c3e50;
    --secondary: #1E90FF;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --spacing: 16px;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* 导航样式 */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    padding: var(--spacing) 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-brand i {
    margin-right: 10px;
    color: var(--secondary);
}

.nav-links {
    display: none;
    list-style: none;
    flex-direction: column; 
    width: 100%; 
}

.nav-links li a {
    display: block;
    padding: var(--spacing);
    text-decoration: none;
    color: var(--dark);
    transition: color 0.3s;
    text-align: center;
}

.nav-links li a:hover {
    color: var(--secondary);
}

.menuBtn {
    position: fixed;
    right: 18px;
    top: 15px
    align-items: center;
    width: 10%;
    height: 40px;
    background-color: white;
    border-radius: 15%;
    border: 0;
}

.menuBtn p {
    font-size: 200%;
}

/* 头部区域 */
.main-header {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
}

.main-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing);
    line-height: 1.2;
}

.highlight {
    color: var(--secondary);
    font-style: italic;
}

.title-main {
    display: inline-block;
    padding: 0 10px;
    border-bottom: 3px solid var(--secondary);
    font-size:24px
}

.subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
}

/* 内容区域 */
.content-section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.content-section h2 i {
    margin-right: 10px;
    color: var(--secondary);
}

.feature-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 时间线 */
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing);
    margin-top: 40px;
}

.evidence-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.evidence-item:hover {
    transform: translateY(-5px);
}

.evidence-item h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* 页脚 */
footer {
    background-color: var(--primary);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2.2rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
}

/* 网友评论 */
.comments-section {
    padding: 80px 0;
    background-color: white;
}

.comment-card {
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    background: #f8f9fa;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    background: #ddd;
}

.comment-header h3 {
    color: #1d3557;
}

.comment-header p {
    color: #666;
    font-size: 0.9rem;
}

.comment-content {
    padding-left: 65px;
}

.comment-content p {
    font-style: italic;
    position: relative;
}

.comment-content p::before {
    content: """;
    font-size: 3rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: rgba(230, 57, 70, 0.2);
    font-family: Georgia, serif;
}


/* 行动号召 */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: #ffd166;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.cta-button {
    padding: 15px 30px;
    background: #1d3557;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.mascot {
    max-width: 40px;
    margin: 30px auto 0;
}

/* 进化史*/
.evolution-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    overflow: hidden;
}

.evolution-timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.evolution-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, #1E90FF, #1d3557);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-left: 50%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 0;
    padding-right: 50%;
    transform: translateX(-50px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-year {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 60px;
    height: 60px;
    background: #1d3557;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 2;
    transform: translateX(-50%);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: calc(50% - 80px);
    position: relative;
}

.timeline-content h3 {
    color: #e63946;
    margin-bottom: 10px;
}

.timeline-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
    display: block;
}

.image-placeholder.small {
    height: 120px;
    margin: 15px 0;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .evolution-timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 70px;
        padding-right: 20px;
        justify-content: flex-start;
        transform: translateX(20px);
    }
    
    .timeline-item.visible {
        transform: translateX(0);
    }
    
    .timeline-year {
        left: 30px;
        transform: translateX(0);
    }
    
    .timeline-content {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .container p {
        text-align: center;
    }
    .feature-image {
        width: 50%;
        height: 50%;
    }
    .timeline-content {
        background: white;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        width: calc(90% - 80px);
        position: relative;
    }
    .image-placeholder.small {
        height: auto;
        margin: 0;
        background: #f0f0f0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        overflow: hidden;
    }
    .comment-card {
        max-width: 400px;
        margin: 30px auto;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        background: #f8f9fa;
    }
    .cta-section {
        padding: 30px 0;
        text-align: center;
        background: #ffd166;
        color: white;
    }
}
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    text-align: center;
    transform: translateX(-100vw);
    animation: slideIn 0.8s ease-out forwards;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.music-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border: 1px solid #333;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-btn:hover {
    background: #f5f5f5;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    to {
        transform: translateX(-100vw);
    }
}
.footer-links { text-align: center; }
.footer-links a {
  margin: 0 15px;
  color: white;
  text-decoration: none;
}
.footer-links a:hover { color: #007bff; }

.contact-section {
  text-align: center; /* 内容居中 */
  padding: 4rem 1rem; /* 上下内边距大一些，左右适应小屏幕 */
  max-width: 600px; /* 限制最大宽度，阅读舒适 */
  margin: 0 auto; /* 水平居中 */
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50; /* 深蓝色，显专业 */
}

.contact-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #555; /* 灰色文字，不刺眼 */
}

.email-address {
  font-size: 1.3rem;
  margin-top: 2rem; /* 在邮箱上方增加更多空间 */
}

.email-address a {
  color: #3498db; /* 经典的链接蓝色 */
  text-decoration: none; /* 移除默认下划线 */
  font-weight: bold;
  padding: 0.5rem; /* 增加一点内边距，让可点击区域更舒适 */
}

/* 鼠标悬停和点击时的效果 */
.email-address a:hover {
  color: #2980b9; /* 悬停时颜色变深 */
  text-decoration: underline; /* 悬停时显示下划线 */
}

.email-address a:active {
  color: #1c6ea4; /* 点击时颜色更深 */
}
.contact-section {
  background-color: #f8f9fa; /* 非常浅的灰色背景 */
  border-radius: 8px; /* 圆角 */
  border: 1px solid #e9ecef; /* 细边框 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04); /* 微妙的阴影，增加深度 */
}

/* 音乐播放器 */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.play-btn:hover {
    transform: scale(1.05);
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 12px solid #333;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 2px;
}

.play-icon.pause {
    width: 12px;
    height: 16px;
    border-left: 4px solid #333;
    border-right: 4px solid #333;
    background: none;
}
/* 星空晶体 & ZestonCMK */