/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a0a2a, #1a1a4a, #0a0a2a);
    color: #fff;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 粒子容器 */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* 主容器 */
.container {
    max-width: 1200px;
    padding: 40px 20px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 标题样式 */
.header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 0;
    position: relative;
}

.main-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffd700, #ff4500, #c70000);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    animation: glow 3s ease-in-out infinite alternate;
}

.main-title::after {
    content: "";
    display: block;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffd700, #ff4500, transparent);
    margin: 20px auto;
    border-radius: 2px;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    to { text-shadow: 0 0 20px rgba(255, 69, 0, 0.8), 0 0 30px rgba(199, 0, 0, 0.6); }
}

.subtitle {
    font-size: 1.8rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 3px;
}

/* 内容卡片 */
.content-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.content-card {
    background: rgba(10, 20, 40, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ffd700, #ff4500, #c70000);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 69, 0, 0.2);
}

.card-content {
    padding: 20px;
}

.slogan {
    font-size: 1.5rem;
    line-height: 2.2;
    margin-bottom: 15px;
    color: #e6e6ff;
    text-shadow: 0 0 5px rgba(230, 230, 255, 0.3);
    position: relative;
    padding-left: 30px;
}

.slogan::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd700;
}

.slogan.highlight {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.8rem;
    text-align: center;
    padding: 15px;
    background: rgba(199, 0, 0, 0.2);
    border-radius: 8px;
    margin: 25px 0;
}

.quote {
    font-style: italic;
    color: #ffd700;
    margin: 30px 0;
    padding: 25px;
    border-left: 3px solid #ff4500;
    background: rgba(199, 0, 0, 0.1);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    border-radius: 0 10px 10px 0;
    position: relative;
}

.quote::after {
    content: """;
    position: absolute;
    top: -20px;
    left: -15px;
    font-size: 5rem;
    color: rgba(255, 215, 0, 0.1);
    font-family: Georgia, serif;
}

/* 时间线部分 */
.timeline-section {
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(10, 20, 40, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, #ff4500, transparent);
    margin: 15px auto;
    border-radius: 2px;
}

.timeline {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 70px;
    left: 5%;
    width: 90%;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff4500);
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: 180px;
    margin: 20px;
    z-index: 2;
    text-align: center;
}

.timeline-year {
    background: linear-gradient(135deg, #ffd700, #ff4500);
    color: #0a0a2a;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 1.8rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-year:hover {
    transform: scale(1.1) rotate(5deg);
}

.timeline-desc {
    color: #ffd700;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    background: rgba(10, 20, 40, 0.8);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 30px;
    font-size: 1rem;
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    background: rgba(10, 20, 40, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(5px);
}

.footer p {
    margin: 10px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-section {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .slogan {
        font-size: 1.2rem;
    }
    
    .slogan.highlight {
        font-size: 1.4rem;
    }
    
    .timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .content-card {
        padding: 20px 15px;
    }
    
    .timeline-item {
        width: 100%;
        max-width: 250px;
    }
}