:root { --primary: #2563eb; --primary-light: #3b82f6; --accent: #9333ea; --neutral-50: #f9fafb; --neutral-100: #f3f4f6; --neutral-200: #e5e7eb; --neutral-400: #9ca3af; --neutral-500: #6b7280; --neutral-700: #374151; --neutral-800: #1f2937; --neutral-900: #111827; --radius-md: 12px; --radius-lg: 16px; --shadow-sm: 0 1px 2px rgba(0,0,0,0.05); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif; background: var(--neutral-50); color: var(--neutral-700); -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.hero { background: linear-gradient(135deg, #1e3a8a, #7c3aed); color: white; padding: 48px 0 40px; text-align: center; }
.hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.hero p { font-size: 16px; opacity: 0.85; }
.nav { background: #fff; border-bottom: 1px solid var(--neutral-200); padding: 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; gap: 4px; justify-content: center; padding: 12px 0; }
.nav-links a { color: var(--neutral-700); text-decoration: none; font-weight: 600; padding: 10px 22px; border-radius: var(--radius-md); transition: all 0.2s; font-size: 15px; }
.nav-links a:hover { background: #eff6ff; color: var(--primary); }
.nav-links a.active { background: var(--primary); color: #fff; }
.home-layout { display: flex; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 24px 32px; }
.home-sidebar { width: 240px; flex-shrink: 0; }
.home-main { flex: 1; min-width: 0; }
.sidebar-section { background: #fff; border: 1px solid var(--neutral-200); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.sidebar-title { font-size: 14px; font-weight: 700; color: var(--neutral-900); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); }
.sidebar-cat { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-md); text-decoration: none; color: var(--neutral-700); margin-bottom: 4px; transition: all 0.2s; }
.sidebar-cat:hover { background: #eff6ff; color: var(--primary); }
.cat-emoji { font-size: 18px; }
.cat-name { flex: 1; font-size: 14px; font-weight: 500; }
.cat-count { background: var(--neutral-100); color: var(--neutral-500); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 9999px; }
.stat-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--neutral-100); }
.stat-row:last-child { border-bottom: none; }
.stat-label { font-size: 13px; color: var(--neutral-500); }
.stat-value { font-size: 14px; font-weight: 700; color: var(--primary); }
.section { padding: 0; }
.section-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--neutral-900); }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.featured-card { background: #fff; border: 1px solid var(--neutral-200); border-radius: var(--radius-md); padding: 20px; text-decoration: none; color: inherit; transition: all 0.2s; }
.featured-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.featured-card .emoji { font-size: 24px; margin-bottom: 8px; }
.featured-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--neutral-900); line-height: 1.4; }
.tag { display: inline-block; padding: 2px 8px; background: #eff6ff; color: var(--primary); border-radius: 9999px; font-size: 11px; font-weight: 600; margin-right: 4px; }
.ad-section { margin: 24px 0; padding: 20px; background: linear-gradient(135deg, #f0f9ff, #f5f3ff); border: 2px dashed #cbd5e1; border-radius: 12px; text-align: center; }
.ad-label { font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; font-weight: 600; }
.ad-banner { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; min-height: 90px; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 14px; }
.footer { background: var(--neutral-900); color: var(--neutral-400); text-align: center; padding: 40px 0; margin-top: 0; font-size: 14px; }
.footer a { color: var(--primary-light); text-decoration: none; }
.header { background: linear-gradient(135deg, #1e3a8a, #7c3aed); color: white; padding: 48px 0 40px; text-align: center; }
.header h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.header p { font-size: 16px; opacity: 0.85; }
.category-tabs { display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.tab { padding: 10px 20px; background: #fff; border: 1px solid var(--neutral-200); border-radius: 9999px; color: var(--neutral-700); text-decoration: none; font-weight: 600; font-size: 14px; }
.tab:hover { border-color: var(--primary); color: var(--primary); background: #eff6ff; }
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-item { background: #fff; border: 1px solid var(--neutral-200); border-radius: 12px; padding: 20px 24px; text-decoration: none; color: inherit; display: flex; gap: 16px; }
.article-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateX(4px); }
.article-emoji { font-size: 32px; flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--neutral-50); border-radius: 12px; }
.article-info { flex: 1; }
.article-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--neutral-900); }
.meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.date { font-size: 13px; color: var(--neutral-400); }
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .home-layout { flex-direction: column; padding: 16px; }
  .home-sidebar { width: 100%; }
  .featured-grid { grid-template-columns: 1fr; }
  .article-item { flex-direction: column; gap: 12px; }
  .nav-links { flex-wrap: wrap; gap: 0; }
  .nav-links a { padding: 8px 14px; font-size: 13px; }
}