/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #353a44;
    background: #eee url('../images/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 - 仿00cs.com顶部设计 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: #1c2e61;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.container {
    margin-top: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 120px;
    border-radius: 6px;
    object-fit: contain;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
}

.logo h1 {
    font-size: 20px;
    color: white;
    font-weight: 600;
    margin: 0;
}

.logo h1 {
    font-size: 24px;
    color: #ffffff;
    font-weight: 600;
}

/* 导航样式 */
.navigation ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navigation a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.navigation a:hover,
.navigation a.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 主要内容区域 */
.main-content {
    margin: 30px 0;
}

.timeline-container {
    background: #445e75d1;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.timeline-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
    font-size: 28px;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3498db;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 25px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3498db;
    border: 3px solid white;
}

.update-date {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.update-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.update-content {
    line-height: 1.8;
    margin-bottom: 15px;
}

.update-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.update-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.update-images img:hover {
    transform: scale(1.05);
}

.version-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        flex-direction: row;
        height: 90px;
        padding: 10px 15px;
        gap: 10px;
        align-items: center;
    }
    
    .logo {
        flex: 1;
        justify-content: flex-start;
        text-align: left;
    }
    
    .logo h1 {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .navigation {
        flex: 1;
    }
    
    .navigation ul {
        flex-direction: row;
        justify-content: flex-end;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .navigation a {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .nav-dropdown-content {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        background: #3E4454;
        min-width: 140px;
    }
    
    .nav-dropdown.active .nav-dropdown-content {
        display: block;
    }
    
    .timeline-container {
        padding: 15px;
    }
    
    .timeline {
        padding-left: 15px;
    }
    
    .timeline::before {
        left: 7px;
    }
    
    .timeline-item::before {
        left: -23px;
    }
    
    .container {
        margin-top: 110px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .header {
        height: 80px;
        padding: 8px 10px;
    }
    
    .logo h1 {
        font-size: 16px;
    }
    
    .navigation ul {
        gap: 5px;
    }
    
    .navigation a {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .container {
        margin-top: 100px;
    }
}