body {
    background-color: #17191E;
    color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 30px;
}

h1 {
    color: #2F937B;
    font-size: 38px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

/* 左侧日期导航 */
.date-sidebar {
    width: 180px;
    flex-shrink: 0;
}

.date-nav {
    position: sticky;
    top: 100px;
    background: #1E2128;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* 美化滚动条 */
.date-nav::-webkit-scrollbar {
    width: 6px;
}

.date-nav::-webkit-scrollbar-track {
    background: #1E2128;
    border-radius: 3px;
}

.date-nav::-webkit-scrollbar-thumb {
    background: #2F937B;
    border-radius: 3px;
}

.date-nav::-webkit-scrollbar-thumb:hover {
    background: #26766a;
}

.date-nav h3 {
    color: #2F937B;
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2a2d35;
}

.date-item {
    padding: 7px 10px;
    margin-bottom: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.date-item:hover {
    background: #252830;
    border-left-color: #2F937B;
}

.date-item.active {
    background: #252830;
    border-left-color: #2F937B;
}

.date-item .version {
    color: #2F937B;
    font-weight: bold;
    font-size: 14px;
}

.date-item .date {
    color: #888;
    font-size: 11px;
    margin-top: 2px;
}

/* 右侧内容区 */
.changelog-content {
    flex: 1;
    min-width: 0;
}

.version-card {
    background: #1E2128;
    border-left: 4px solid #2F937B;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    scroll-margin-top: 90px;
}

.version-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 147, 123, 0.2);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2a2d35;
}

.version-number {
    font-size: 28px;
    font-weight: bold;
    color: #2F937B;
}

.version-date {
    color: #888;
    font-size: 14px;
    margin-left: 12px;
}

.version-tag {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
    font-weight: 600;
}

.tag-major {
    background: linear-gradient(135deg, #d9534f 0%, #c9302c 100%);
    color: white;
}

.tag-feature {
    background: linear-gradient(135deg, #2F937B 0%, #26766a 100%);
    color: white;
}

.changelog-section {
    margin-bottom: 20px;
}

.changelog-title {
    color: #2F937B;
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.changelog-title:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 17px;
    background: #2F937B;
    margin-right: 10px;
    border-radius: 2px;
}

.changelog-list {
    list-style: none;
    padding-left: 0;
}

.changelog-list li {
    padding: 7px 0 7px 25px;
    position: relative;
    color: #d0d0d0;
    line-height: 1.6;
    font-size: 14px;
}

.changelog-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #2F937B;
    font-size: 16px;
}

.changelog-list li strong {
    color: #fff;
}

.important-note {
    background: #2a1415;
    border-left: 4px solid #dc3545;
    padding: 15px;
    margin: 20px 0;
    border-radius: 6px;
    color: #f0a0a0;
    font-size: 14px;
}

.important-note strong {
    color: #ff6b7a;
}

/* 响应式 */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .date-sidebar {
        width: 100%;
    }

    .date-nav {
        position: static;
        display: flex;
        overflow-x: auto;
        padding: 12px;
        max-height: none;
    }

    .date-nav h3 {
        display: none;
    }

    .date-item {
        flex-shrink: 0;
        margin-right: 8px;
        margin-bottom: 0;
    }
}