/* ==========================================
   1. 全局变量与基础设置
   ========================================== */
:root {
    --primary-color: #000000;
    --accent-color: #d99b00;    /* 统一品牌金色 */
    --accent-hover: #b38000;    /* 金色悬浮加深 */
    --border-color: #eeeeee;
    --bg-hover: #f9f9f9;
    --text-sub: #666666;
    --sidebar-width: 220px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
}

/* 全局去除超链接原生紫/蓝色 */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

/* ==========================================
   2. 左侧侧边栏（保持不变）
   ========================================== */
.sidebar-menu {
    width: var(--sidebar-width);
    background-color: #ffffff;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-brand .brand-icon { font-size: 22px; }
.sidebar-brand .brand-title { font-size: 18px; font-weight: 800; color: var(--primary-color); }

.menu-list { display: flex; flex-direction: column; }

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: var(--primary-color);
    border-bottom: 1px solid #f8f8f8;
}

.menu-item:hover { background-color: var(--bg-hover); }
.menu-item:hover .title { color: var(--accent-color); }
.menu-item .title { flex: 1; font-size: 15px; font-weight: 700; color: #111111; transition: color 0.2s; }
.menu-item .icon-right { font-size: 12px; color: #888888; }

/* ==========================================
   3. 右侧主内容区（保持现有的卡片布局）
   ========================================== */
.main-content {
    flex: 1;
    background-color: #ffffff;
}

.home-container {
    max-width: 900px;
    padding: 40px 30px;
    margin: 0 auto;
}

.hero-section { margin-bottom: 20px; }
.hero-title { font-size: 26px; font-weight: 800; color: #000000; margin-bottom: 6px; }
.hero-subtitle { font-size: 14px; color: var(--text-sub); }

.notice-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 28px;
}

.notice-card .badge {
    background-color: #000000;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
}

.notice-card .notice-text { font-size: 13px; color: #333333; }

.section-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: #000000; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(217, 155, 0, 0.12);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.card-icon { font-size: 20px; }
.card-title { font-size: 16px; font-weight: 700; color: #000000; }
.card-desc { font-size: 13px; color: #666666; margin-bottom: 16px; }

/* 统一金色箭头与按钮文字 */
.card-tag {
    font-size: 13px;
    font-weight: bold;
    color: var(--accent-color) !important;
}

.feature-card:hover .card-tag {
    color: var(--accent-hover) !important;
}

/* ==========================================
   4. 子页面居中与金色链接控制
   ========================================== */
.page-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.top-bar { margin-bottom: 20px; }

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #111111;
    font-size: 14px;
    font-weight: 600;
}

.back-btn:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-2px);
}

.subpage-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.subpage-title {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.date-group { margin-bottom: 24px; }
.date-title {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.item-list { list-style: none; padding-left: 4px; }
.item-list li {
    font-size: 15px;
    color: #444444;
    line-height: 2;
    position: relative;
    padding-left: 16px;
}

.item-list li::before {
    content: "•";
    color: #999999;
    position: absolute;
    left: 0;
}

/* 彻底统种子页面中所有 <a> 标签为金色 */
.item-list a, .highlight-link {
    color: var(--accent-color) !important;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-color);
    padding-bottom: 1px;
}

.item-list a:hover, .highlight-link:hover {
    color: var(--accent-hover) !important;
    border-bottom-style: solid;
    background-color: #fff9e6;
}
