/* css/module2_about.css */

.about-section {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(0, 170, 255, 0.05) 0%, transparent 70%);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.cyan-heading {
    font-family: 'Courier New', Courier, monospace;
    color: #00f3ff;
    font-size: 1rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.main-title {
    font-size: 2.5rem;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.heading-line {
    width: 60px;
    height: 3px;
    background: #00f3ff;
    margin: 0 auto;
    box-shadow: 0 0 15px #00f3ff;
}

/* 时间轴容器 */
.story-timeline {
    position: relative;
    padding-left: 40px; /* 给左侧连接线留出空间 */
}

/* 左侧发光连线 */
.story-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px; /* 线条位置 */
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #00f3ff, #0066ff, transparent);
    opacity: 0.5;
}

/* 故事块布局 */
.story-block {
    position: relative;
    margin-bottom: 60px;
    padding-left: 30px;
}

.story-block:last-child {
    margin-bottom: 0;
}

/* 图标（时间轴节点） */
.story-icon {
    position: absolute;
    left: -40px;
    top: 0;
    width: 40px;
    height: 40px;
    background: #0a0f1e;
    border: 2px solid #00f3ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    z-index: 2;
}

/* 玻璃拟态内容卡片 */
.glass-panel {
    background: rgba(15, 20, 35, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-left: 3px solid #00f3ff;
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.glass-panel:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.4);
}

.block-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: bold;
}

.story-content p {
    color: #a9b1d6;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
    text-align: justify;
}

/* ==========================================
   滚动动画核心 CSS
   ========================================== */
.scroll-reveal {
    opacity: 0;
    /* 初始状态：向下偏移 50px */
    transform: translateY(50px); 
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 当 JS 添加 active 类时，恢复原位并显示 */
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .main-title { font-size: 1.8rem; }
    .story-timeline { padding-left: 20px; }
    .story-timeline::before { left: -5px; }
    .story-icon { left: -25px; width: 30px; height: 30px; font-size: 1rem; }
    .story-block { padding-left: 15px; }
    .glass-panel { padding: 20px; }
}