body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.7;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f0f2f5;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

p {
    margin-bottom: 15px;
    color: #555;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* --- 快捷链接卡片样式 --- */
.quick-link-card {
    display: flex; /* 改为flex布局以对齐箭头 */
    justify-content: center;
    align-items: center;
    background-color: #3498db;
    color: #ffffff;
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 40px; /* 建议2: 增加下方间距 */
    font-size: 1.5em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.4);
    transition: all 0.2s ease-in-out;
}

.quick-link-card:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.5);
    color: #ffffff;
}

/* --- 历史索引标题样式 --- */
.history-title {
    color: #34495e;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.8em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

/* --- 地址栏样式 --- */
.breadcrumb-nav {
    background-color: #34495e;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 1.2em;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.breadcrumb-nav a.breadcrumb-item {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumb-nav a.breadcrumb-item:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.breadcrumb-nav span { color: #bdc3c7; }
.breadcrumb-nav span.breadcrumb-current { color: #ffffff; font-weight: bold; }

/* --- 列表及项目样式 --- */
.item-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-list-container.months-view,
.item-list-container.days-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.list-item {
    display: flex; /* 使用flex布局对齐内容和箭头 */
    justify-content: space-between; /* 内容居左，箭头居右 */
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    padding: 15px 20px;
    font-weight: 700;
    border: 1px solid transparent;
}

.list-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

/* 建议2: 增加点击反馈 */
.list-item:active, .quick-link-card:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 建议2: 箭头样式 */
.arrow {
    margin-left: 15px;
    font-size: 1.2em;
    color: #bdc3c7;
    transition: color 0.2s;
}
.list-item:hover .arrow {
    color: #3498db;
}
.quick-link-card .arrow {
    color: #ffffff;
    opacity: 0.7;
}

.year-item {
    background-color: #34495e;
    color: #ffffff;
    font-size: 2.2em;
    padding: 25px 30px;
    margin-bottom: 10px;
}
.year-item:hover { background-color: #4a667b; }
.year-item .arrow { color: #bdc3c7; }
.year-item:hover .arrow { color: #ffffff; }

.month-item {
    background-color: #ecf0f1;
    color: #2c3e50;
    font-size: 1.4em;
}
.month-item:hover { background-color: #dbe4e6; border-color: #bdc3c7; }

.day-item {
    background-color: #ffffff;
    color: #333;
    font-size: 1.1em;
    border-color: #e9ecef;
}
.day-item:hover { background-color: #f8f9fa; border-color: #ced4da; }

/* --- 内容显示区域 --- */
#content-display {
    background-color: #ffffff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    margin-top: 20px;
}

/* 建议2: 优化内容页可读性 */
.markdown-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 15px;
    margin-left: 0;
    color: #555;
    font-style: italic;
}
.markdown-content pre {
    background-color: #f6f8fa;
    padding: 16px;
    border-radius: 5px;
    overflow: auto;
}
.markdown-content code {
    font-family: 'Courier New', Courier, monospace;
}

/* ... 其他样式 ... */
.loading { text-align: center; padding: 30px; font-style: italic; color: #777; font-size: 1.1em; }
.error { color: #e74c3c; padding: 15px; background-color: #fdedec; border-radius: 8px; margin: 20px 0; border: 1px solid #e74c3c; }
.markdown-content h1, .markdown-content h2, .markdown-content h3 { color: #34495e; margin-top: 25px; margin-bottom: 10px; font-weight: 600; border-bottom: 2px solid #ecf0f1; padding-bottom: 5px; }

/* --- 响应式设计 --- */
@media (max-width: 768px) {
    body { padding: 15px; }
    h1 { font-size: 2em; }
    .quick-link-card { font-size: 1.2em; padding: 15px 20px; }
    .history-title { font-size: 1.5em; }
    .breadcrumb-nav { font-size: 1em; padding: 12px 18px; }
    .year-item { font-size: 1.8em; }
    .month-item { font-size: 1.2em; }
    .item-list-container.months-view,
    .item-list-container.days-view {
        grid-template-columns: 1fr;
    }
}

/* ... a meglévő stílusok ... */

/* --- Elválasztó és Lábléc --- */
.footer-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin-top: 50px;
    margin-bottom: 30px;
}

.site-footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    color: #6c757d; /* Szürke szövegszín */
}

.site-footer p {
    margin-bottom: 10px;
}

.site-footer a {
    color: #555;
    font-weight: 600;
    text-decoration: underline;
}

.site-footer a:hover {
    color: #000;
}

.site-footer .disclaimer {
    margin-top: 20px;
    font-size: 0.85em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ... a meglévő @media lekérdezések ... */