/* ==========================================================================
   CSS Design System (Creative HUD & 3D Parallax 2.0)
   ========================================================================== */

/* 核心变量与配色 */
:root {
    --bg-dark: #070913;
    --card-bg: rgba(10, 16, 30, 0.5);
    --border-color: rgba(0, 242, 254, 0.15);
    --border-color-hover: rgba(0, 242, 254, 0.4);
    --text-primary: #f1f5f9;
    --text-secondary: #64748b;
    --accent-blue: #00f2fe;
    --accent-purple: #9d4edd;
    --neon-blue: 0 0 15px rgba(0, 242, 254, 0.4);
    --neon-purple: 0 0 15px rgba(157, 78, 221, 0.4);
    --font-sans: 'Outfit', -apple-system, sans-serif;
    --font-mono: 'Fira Code', 'Share Tech Mono', monospace;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 全局基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* WebGL 背景画布 - 全屏置底 */
#fluid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

/* ==========================================================================
   科幻 HUD 叠加层 (z-index: 2, pointer-events: none)
   ========================================================================== */
.hud-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    pointer-events: none; /* 允许点击事件向下穿透 */
    overflow: hidden;
}

/* 电子科技格栅网格 */
.hud-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
}

/* 动态扫描线特效 */
.hud-scanlines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0, 242, 254, 0.02) 50%,
        rgba(0, 242, 254, 0.02)
    );
    background-size: 100% 4px;
    opacity: 0.8;
}

/* HUD 四角边框框线 */
.hud-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: rgba(0, 242, 254, 0.3);
    border-style: solid;
    border-width: 0;
}
.hud-corner.top-left { top: 30px; left: 30px; border-top-width: 2px; border-left-width: 2px; }
.hud-corner.top-right { top: 30px; right: 30px; border-top-width: 2px; border-right-width: 2px; }
.hud-corner.bottom-left { bottom: 30px; left: 30px; border-bottom-width: 2px; border-left-width: 2px; }
.hud-corner.bottom-right { bottom: 30px; right: 30px; border-bottom-width: 2px; border-right-width: 2px; }

/* HUD 系统指示文字 */
.hud-sys-text {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(0, 242, 254, 0.45);
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.2);
}
.hud-sys-text.top-center {
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
}
.hud-sys-text.bottom-left {
    bottom: 34px;
    left: 70px;
}

/* ==========================================================================
   贴合滑动容器 (z-index: 3, pointer-events: auto 修复滚动)
   ========================================================================== */
.scroll-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    z-index: 3;
    pointer-events: auto; /* 保证容器响应用户滚动、滑动手势 */
}

/* 隐藏滚动条 */
.scroll-container::-webkit-scrollbar {
    display: none;
}

/* 屏幕区块设定 - 开启 3D 透视视域 */
.section {
    width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
    perspective: 1200px; /* 激活 3D 空间感 */
    overflow: hidden;
}

/* ==========================================================================
   3D 悬浮视差容器 & 玻璃面板基底
   ========================================================================== */
.tilt-container {
    width: 100%;
    max-width: 600px;
    transform-style: preserve-3d; /* 内部元素可以进行 Z 轴偏移，产生视差 */
    transition: transform 0.1s ease-out;
}

#main-content .tilt-container {
    max-width: 900px;
}

/* 玻璃基底通用面板 */
.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 242, 254, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), var(--neon-blue);
}

/* 扫描线光波动效 */
.panel-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0,242,254,0.15), transparent);
    animation: scan 6s linear infinite;
    pointer-events: none;
}

/* ==========================================================================
   第一屏：极简 3D 名片
   ========================================================================== */
.intro-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* 圆形发光头像 - Z 轴浮起 */
.avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), var(--neon-blue);
    transform: translateZ(50px); /* 突出浮现在最前方 */
    transition: var(--transition-smooth);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #121824;
}

.status-indicator {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #10b981;
    border: 3px solid #0d1222;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

/* 名字标题 - Z 轴浮起 */
.glow-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #ffffff, #cbd5e1, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    transform: translateZ(35px);
}

/* 党员徽章 */
.party-badge {
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    background: rgba(239, 68, 68, 0.08);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.8rem;
    border-radius: 12px;
    transform: translateZ(30px);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.1);
    letter-spacing: 1px;
}

/* 终端命令行签名 - Z 轴浮起 */
.signature {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-secondary);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 242, 254, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateZ(25px);
}

.terminal-prompt {
    color: var(--accent-blue);
    font-weight: bold;
}

.cursor {
    color: var(--accent-blue);
    animation: blink 0.8s infinite;
}

/* 社交图标栏 - Z 轴浮起 */
.social-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.5rem;
    transform: translateZ(40px);
}

.social-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 242, 254, 0.03);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: var(--text-primary);
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-item:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background-color: rgba(0, 242, 254, 0.08);
    transform: scale(1.1);
    box-shadow: var(--neon-blue);
}

/* 向下滚动箭头 */
.scroll-down {
    position: absolute;
    bottom: 40px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
    transition: var(--transition-smooth);
}

.scroll-down-text {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 3px;
}

.scroll-down i {
    font-size: 1.3rem;
}

.scroll-down:hover {
    color: var(--accent-blue);
    text-shadow: var(--neon-blue);
}

/* ==========================================================================
   第二屏：3D 详情卡片与横向幻灯页切换
   ========================================================================== */
.glass-card {
    display: flex;
    flex-direction: column;
    height: 78vh;
    min-height: 550px;
    padding: 0 !important; /* 让 header 与 body 贴边 */
}

/* 卡片导航头部 */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
    background-color: rgba(255, 255, 255, 0.01);
    transform: translateZ(20px); /* 让头部浮起 */
}

.profile-summary {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.mini-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-blue);
}

.meta-info {
    display: flex;
    flex-direction: column;
}

.meta-info .name {
    font-weight: 700;
    font-size: 1.05rem;
}

.meta-info .status {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* 导航按钮 */
.tab-nav {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(0, 242, 254, 0.08);
}

.tab-btn {
    border: none;
    background: none;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(157, 78, 221, 0.15));
    border: 1px solid rgba(0, 242, 254, 0.25);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

/* 核心滑动视窗 - 固定高度防抖 */
.card-body-viewport {
    flex: 1;
    overflow: hidden; /* 截断横向溢出 */
    position: relative;
    border-radius: 0 0 24px 24px;
}

/* 横向滑动轨道 */
.tab-slides-track {
    display: flex;
    width: 400%; /* 四个标签页 = 400% 宽度 */
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); /* 贝塞尔缓动，极为顺滑 */
}

/* 单个标签页面 */
.tab-slide {
    width: 25%; /* 均匀占 1/4 */
    height: 100%;
    overflow-y: auto; /* 纵向超长时允许内部滚动 */
    padding: 2.25rem 2.5rem;
}

/* 自定义幻灯片内滚动条 */
.tab-slide::-webkit-scrollbar {
    width: 6px;
}
.tab-slide::-webkit-scrollbar-track {
    background: transparent;
}
.tab-slide::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.15);
    border-radius: 3px;
}
.tab-slide::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.4);
}

/* ==========================================================================
   Slide 0: 项目卡片 (Projects)
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    transform: translateZ(15px); /* 项目卡片微微浮起 */
}

.project-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 242, 254, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-6px);
    background: rgba(0, 242, 254, 0.03);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), var(--neon-blue);
}

/* 霓虹发光线条 */
.project-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
    transition: height 0.4s ease;
}

.project-card:hover::after {
    height: 100%;
}

.project-icon {
    font-size: 1.6rem;
    color: var(--accent-blue);
    background: rgba(0, 242, 254, 0.06);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 242, 254, 0.15);
}

.project-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.project-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
}

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

.project-tags span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background-color: rgba(0, 242, 254, 0.05);
    color: var(--accent-blue);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 0.5px solid rgba(0, 242, 254, 0.15);
}

.project-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    transition: var(--transition-smooth);
}

.project-link i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.project-link:hover {
    color: #ffffff;
    text-shadow: var(--neon-blue);
}

.project-link:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   Slide 1: 技能进度 (Skills)
   ========================================================================== */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    transform: translateZ(15px);
}

.skills-category h4 {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-left: 3px solid var(--accent-blue);
    padding-left: 0.75rem;
    letter-spacing: 1px;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
}

.skill-percent {
    color: var(--accent-blue);
    font-family: var(--font-mono);
}

.skill-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
    width: 0; /* 默认 0 */
    transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 徽章墙 */
.skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.badge {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: var(--text-primary);
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.badge:hover {
    border-color: var(--accent-purple);
    box-shadow: var(--neon-purple);
    transform: translateY(-3px) scale(1.03);
    background: rgba(157, 78, 221, 0.05);
}

/* ==========================================================================
   Slide 2: 联系表单 (Contact)
   ========================================================================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 650px;
    margin: 0 auto;
    transform: translateZ(15px);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
    background: rgba(0, 0, 0, 0.45);
}

.form-group label {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    pointer-events: none;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.msg-group label {
    top: 1.3rem;
    transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 0.75rem;
    font-size: 0.72rem;
    color: var(--accent-blue);
    background-color: #0b0f1a;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.submit-btn {
    border: none;
    padding: 0.9rem 2.25rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    align-self: flex-start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), var(--neon-blue);
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), var(--neon-blue), var(--neon-purple);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* ==========================================================================
   Toast 通知与微动效
   ========================================================================== */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(7, 9, 19, 0.95);
    border: 1px solid var(--accent-blue);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), var(--neon-blue);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    backdrop-filter: blur(10px);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   动画定义 (Keyframe Animations)
   ========================================================================== */

/* pulse 呼吸动画 */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* 扫描线上下扫动 */
@keyframes scan {
    0% { top: -10px; }
    50% { top: 100%; }
    100% { top: -10px; }
}

@keyframes blink {
    50% { opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ==========================================================================
   响应式断点适配 (Media Queries)
   ========================================================================== */
@media (max-width: 768px) {
    .glow-title {
        font-size: 2.5rem;
    }
    
    .signature {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
    
    .glass-card {
        height: 82vh;
        min-height: 500px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
        align-items: flex-start;
    }
    
    .tab-nav {
        width: 100%;
        justify-content: space-between;
    }
    
    .tab-btn {
        flex: 1;
        justify-content: center;
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .tab-slide {
        padding: 1.5rem 1.25rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.75rem;
    }
    
    .hud-sys-text.bottom-left {
        left: 30px;
    }
}

/* ==========================================================================
   经历与荣誉时间轴样式 (Timeline & Experience Tab)
   ========================================================================== */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transform: translateZ(15px);
    text-align: left;
}

.timeline-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.timeline-sec-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-left: 3px solid var(--accent-purple);
    padding-left: 0.75rem;
    letter-spacing: 1px;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
    padding-left: 0.5rem;
}

/* 时间点竖线 */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 95px;
    top: 6px;
    bottom: -20px;
    width: 1px;
    background: rgba(0, 242, 254, 0.15);
}

.timeline-item:last-child::before {
    display: none; /* 最后一个节点不画延长线 */
}

/* 时间点圆圈 */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 92px;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: var(--neon-blue);
}

.timeline-item .time {
    width: 80px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-align: right;
    padding-top: 2px;
    flex-shrink: 0;
}

.timeline-item .detail {
    flex: 1;
    padding-left: 1.5rem;
}

.timeline-item .detail h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-item .detail p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
    line-height: 1.5;
}

.timeline-bullet-list {
    margin-top: 0.5rem;
    margin-left: 1.1rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.timeline-bullet-list strong {
    color: var(--accent-blue);
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        gap: 0.35rem;
        padding-left: 1.25rem;
        border-left: 1px solid rgba(0, 242, 254, 0.15);
    }
    
    .timeline-item::before,
    .timeline-item::after {
        display: none; /* 移动端精简时间线 */
    }
    
    .timeline-item .time {
        width: auto;
        text-align: left;
    }
    
    .timeline-item .detail {
        padding-left: 0;
    }
}
