body {
    background-color: #f3efe6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.changelog-layout {
    display: flex;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding-top: 80px; /* Header height */
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.changelog-sidebar {
    width: 320px;
    background: rgba(243, 239, 230, 0.5);
    border-right: 1px solid rgba(25, 25, 25, 0.08);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
}

.sidebar-header {
    padding: 32px 24px;
    border-bottom: 1px solid rgba(25, 25, 25, 0.08);
}

.sidebar-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 8px;
    color: var(--ink);
}

.sidebar-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.update-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.update-item {
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    border: 1px solid transparent;
}

.update-item:hover {
    background: rgba(255, 255, 255, 0.5);
}

.update-item.active {
    background: #fff;
    border-color: rgba(25, 25, 25, 0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.update-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.version-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
}

.version-badge.small {
    padding: 4px 10px;
    font-size: 0.75rem;
}

.update-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--muted);
}

.update-title {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.95rem;
}

/* Content Area */
.changelog-content {
    flex: 1;
    overflow-y: auto;
    padding: 60px 80px;
    background: rgba(255, 255, 255, 0.4);
}

.update-detail {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-date {
    font-family: 'JetBrains Mono', monospace;
    color: var(--muted);
}

.update-detail h1 {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    margin: 0 0 40px;
    color: var(--ink);
    line-height: 1.1;
}

/* Markdown Styles */
.markdown-content {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.markdown-content h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    color: var(--ink);
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(25, 25, 25, 0.1);
}

.markdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.markdown-content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
}

.markdown-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.markdown-content strong {
    color: var(--ink);
    font-weight: 600;
}

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--muted);
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .changelog-layout {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .changelog-sidebar {
        width: 100%;
        height: 300px;
        border-right: none;
        border-bottom: 1px solid rgba(25, 25, 25, 0.08);
    }

    .changelog-content {
        padding: 40px 24px;
        overflow: visible;
    }
}