* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    padding: 40px 20px;
}
.container {
    max-width: 900px;
    margin: 0 auto;
}
.header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}
.header h1 {
    font-size: 2.5em;
    font-weight: 700;
    color: #16213e;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}
.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
}
.lang-trigger {
    background: none;
    border: none;
    color: #7f8c8d;
    font-size: 0.85em;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.lang-trigger:hover {
    background: rgba(0,0,0,0.05);
    color: #0f3460;
}
.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 6px;
    z-index: 100;
    min-width: 100px;
}
.language-switch:hover .lang-dropdown {
    display: block;
}
.lang-btn {
    display: block;
    width: 100%;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    background: none;
    color: #666;
    font-size: 0.85em;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}
.lang-btn:hover {
    background: #f5f7fa;
    color: #0f3460;
}
.lang-btn.active {
    background: #0f3460;
    color: #fff;
}
.lang-btn.active:hover {
    background: #1a4a7a;
    color: #fff;
}
.header .meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.header .date {
    display: inline-block;
    background: #0f3460;
    color: #fff;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 500;
}
.header .stats {
    color: #7f8c8d;
    font-size: 0.85em;
}
.header .author {
    color: #0f3460;
    font-size: 0.9em;
    font-weight: 500;
}
.section {
    margin-bottom: 50px;
}
.section-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #0f3460;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #e94560;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-icon {
    font-size: 1.2em;
}
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.card-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #16213e;
    margin-bottom: 14px;
    line-height: 1.4;
}
.card-title .title-zh {
    display: block;
}
.card-title .title-en {
    display: block;
    font-size: 0.85em;
    font-weight: 400;
    color: #7f8c8d;
    margin-top: 4px;
}
.card-author {
    color: #0f3460;
    font-size: 0.8em;
    font-weight: 500;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}
.card-content, .content-zh, .content-en {
    color: #4a4a6a;
    font-size: 0.92em;
    flex-grow: 1;
    margin-bottom: 16px;
}
.content-zh {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #ddd;
}
.content-en {
    font-style: italic;
    color: #6a6a8a;
}
.card-link {
    display: inline-flex;
    align-items: center;
    color: #e94560;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 500;
    transition: color 0.2s ease;
}
.card-link:hover {
    color: #c73e54;
}
.footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    color: #7f8c8d;
    font-size: 0.9em;
}
.footer a {
    color: #0f3460;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
@media (max-width: 640px) {
    body {
        padding: 20px 16px;
    }
    .header h1 {
        font-size: 1.8em;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .header .header-content {
        flex-direction: column;
        gap: 15px;
    }
}
