* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 隐藏滚动条 */
::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    color: #e8e8e8;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* 导航栏 */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

nav a {
    color: #c9d1d9;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #ff6b6b;
}

nav a::after,
nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b6b;
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* 英雄区 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, rgba(10, 15, 40, 0.85) 0%, rgba(20, 30, 60, 0.8) 50%, rgba(10, 15, 40, 0.9) 100%);
    overflow: hidden;
}

/* 背景飞机尾迹效果 */
.hero::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 800 600"><defs><linearGradient id="sky" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%231a1a2e"/><stop offset="50%" style="stop-color:%2316213e"/><stop offset="100%" style="stop-color:%230f0f23"/></linearGradient></defs><rect fill="url(%23sky)" width="800" height="600"/><g fill="%23ffffff" opacity="0.03"><path d="M100 450 L350 400 L400 380 L380 420 L100 450"/><circle cx="120" cy="440" r="15"/><circle cx="180" cy="430" r="12"/><path d="M350 400 L600 350 L650 340 L630 380 L350 400"/><circle cx="380" cy="385" r="18"/><circle cx="480" cy="365" r="14"/><path d="M200 200 L450 150 L500 130 L480 170 L200 200"/><circle cx="230" cy="190" r="16"/><circle cx="320" cy="170" r="13"/></g></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

/* 海洋波纹效果 */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(0deg, rgba(15, 30, 60, 0.9) 0%, transparent 100%);
    pointer-events: none;
}

/* 动态光线效果 */
.hero-light {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse 60% 40% at 30% 60%, rgba(100, 149, 237, 0.1) 0%, transparent 40%),
                radial-gradient(ellipse 60% 40% at 70% 70%, rgba(100, 149, 237, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

/* 云层效果 */
.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    filter: blur(40px);
}
.cloud:nth-child(1) { width: 400px; height: 200px; top: 15%; left: -10%; animation: floatCloud 60s linear infinite; }
.cloud:nth-child(2) { width: 300px; height: 150px; top: 35%; right: -5%; animation: floatCloud 45s linear infinite reverse; }
.cloud:nth-child(3) { width: 500px; height: 250px; top: 55%; left: 20%; animation: floatCloud 70s linear infinite; }
@keyframes floatCloud {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

/* 星空效果 */
.stars {
    position: absolute;
    width: 100%;
    height: 60%;
    top: 0;
    left: 0;
    pointer-events: none;
}
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
    animation: twinkle 3s ease-in-out infinite;
}
.star:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 8%; left: 45%; animation-delay: 1s; }
.star:nth-child(4) { top: 25%; left: 30%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 15%; left: 65%; animation-delay: 2s; }
.star:nth-child(6) { top: 30%; left: 10%; animation-delay: 0.3s; }
.star:nth-child(7) { top: 5%; left: 90%; animation-delay: 0.8s; }
.star:nth-child(8) { top: 35%; left: 55%; animation-delay: 1.3s; }
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-number {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 50%, #cc4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(255, 107, 107, 0.5);
    animation: pulse 3s ease-in-out infinite;
    letter-spacing: 0.1em;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.hero h1 {
    font-size: 3rem;
    margin: 1rem 0;
    color: #ffffff;
    letter-spacing: 0.3em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #8b949e;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
}

.hero-return {
    font-size: 1.5rem;
    color: #ff6b6b;
    margin: 2rem 0;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.hero-dates {
    font-size: 1.2rem;
    color: #6e7681;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

/* 章节标题 */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
    letter-spacing: 0.2em;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
}

/* 人物简介 */
.profile-section {
    background: linear-gradient(180deg, rgba(22, 33, 62, 0.8) 0%, rgba(15, 15, 35, 0.9) 100%);
    border-radius: 20px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.profile-image {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(255, 107, 107, 0.1) 100%);
}

.profile-image svg {
    width: 120px;
    height: 120px;
    fill: #4a5568;
    margin-bottom: 1.5rem;
}

.profile-image span {
    color: #718096;
    font-size: 0.9rem;
    z-index: 1;
}

.profile-info h3 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.profile-info .subtitle {
    color: #ff6b6b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.profile-info p {
    color: #c9d1d9;
    line-height: 2;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 10px;
    border-left: 3px solid #ff6b6b;
}

.info-item .label {
    color: #6e7681;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.info-item .value {
    color: #ffffff;
    font-size: 1.1rem;
}

/* 时间线 */
.timeline-section {
    position: relative;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #ff6b6b 0%, rgba(255, 107, 107, 0.1) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(22, 33, 62, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -42px;
    top: 2rem;
    width: 14px;
    height: 14px;
    background: #ff6b6b;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.timeline-date {
    color: #ff6b6b;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    letter-spacing: 0.1em;
}

.timeline-title {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.timeline-content {
    color: #c9d1d9;
    line-height: 1.9;
}

/* 事件详情 */
.event-detail {
    background: rgba(22, 33, 62, 0.6);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

.event-detail h3 {
    color: #ff6b6b;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.event-detail h3 svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.event-detail p {
    color: #c9d1d9;
    line-height: 2;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 107, 107, 0.05) 100%);
    border-left: 4px solid #ff6b6b;
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
}

.highlight-box p {
    color: #ffffff;
    font-style: italic;
    margin: 0;
}

/* 精神传承 */
.spirit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.spirit-card {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.8) 0%, rgba(15, 15, 35, 0.9) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.spirit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.15);
}

.spirit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b 0%, #cc4444 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.spirit-icon svg {
    width: 40px;
    height: 40px;
    fill: #ffffff;
}

.spirit-card h4 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.spirit-card p {
    color: #8b949e;
    line-height: 1.8;
}

/* 缅怀区 */
.memorial-section {
    text-align: center;
    padding: 8rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 107, 0.05) 50%, transparent 100%);
}

.memorial-quote {
    font-size: 2rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

.memorial-author {
    color: #ff6b6b;
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.memorial-flowers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.flower {
    width: 60px;
    height: 60px;
    position: relative;
}

.flower svg {
    width: 100%;
    height: 100%;
    fill: #ff6b6b;
    opacity: 0.8;
    animation: flowerSway 3s ease-in-out infinite;
}

.flower:nth-child(2) svg {
    animation-delay: 0.5s;
    fill: #ff8e8e;
}

.flower:nth-child(3) svg {
    animation-delay: 1s;
    fill: #ffb3b3;
}

@keyframes flowerSway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* 页脚 */
footer {
    background: rgba(10, 10, 30, 0.95);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: #6e7681;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

footer .warning-text {
    color: #8b949e;
    font-size: 0.85rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 响应式 */
@media (max-width: 968px) {
    .profile-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-image {
        margin: 0 auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .spirit-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .spirit-card {
        padding: 2rem;
    }

    .hero-number {
        font-size: 5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 7px;
    }

    .timeline-item::before {
        left: -30px;
    }
}

/* 加载动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
