﻿:root { --primary: rgb(101,163,13); --primary-hover: rgb(85,138,11); --primary-light: rgba(101,163,13,0.08); --text-main: #1f2937; --text-sub: #4b5563; --text-light: #9ca3af; --bg-main: #ffffff; --bg-gray: #f9fafb; --border-color: #e5e7eb; --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1); --radius: 8px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: var(--text-main); line-height: 1.6; background: var(--bg-gray); }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }


.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
.logo span { display: inline-block; font-size: 20px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }
.site-header { background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.desktop-nav { display: flex; gap: 30px; }
.desktop-nav a { font-weight: 500; font-size: 16px; color: var(--text-main); }
.desktop-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 8px 20px; background: var(--primary); color: #fff !important; font-weight: 600; border-radius: var(--radius); transition: all 0.3s; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text-main); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 200; }
.drawer-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: #fff; z-index: 210; transition: left 0.3s ease; display: flex; flex-direction: column; box-shadow: 2px 0 8px rgba(0,0,0,0.1); }
.mobile-drawer.active { left: 0; }
.drawer-header { padding: 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
.drawer-close { background: none; border: none; font-size: 28px; color: var(--text-main); cursor: pointer; }
.drawer-nav { padding: 20px; display: flex; flex-direction: column; gap: 15px; overflow-y: auto; }
.drawer-nav a { font-size: 16px; font-weight: 500; color: var(--text-main); padding: 8px 0; border-bottom: 1px solid var(--border-color); }
.drawer-nav .drawer-btn { background: var(--primary); color: #fff; text-align: center; border-radius: var(--radius); padding: 12px; border: none; margin-top: 10px; }


.page-header { background: var(--bg-main); border-bottom: 1px solid var(--border-color); padding: 50px 0; text-align: center; margin-bottom: 40px; }
.page-title { font-size: 32px; color: var(--text-main); margin-bottom: 15px; }
.page-desc { font-size: 16px; color: var(--text-sub); max-width: 600px; margin: 0 auto; }

.tag-cloud-container { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 60px; display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.tag-item { display: inline-flex; align-items: center; border: 1px solid var(--border-color); border-radius: 50px; padding: 8px 20px; transition: all 0.3s; background: var(--bg-gray); }
.tag-item:hover { border-color: var(--primary); background: var(--primary); color: #fff !important; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tag-name { font-size: 16px; font-weight: 500; margin-right: 8px; }
.tag-count { font-size: 12px; background: rgba(0,0,0,0.1); padding: 2px 8px; border-radius: 10px; }
.tag-item:hover .tag-count { background: rgba(255,255,255,0.3); }


.site-footer { background: #111827; color: #d1d5db; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .footer-logo span { color: #fff; }
.footer-desc { margin-top: 20px; font-size: 14px; line-height: 1.8; color: #9ca3af; max-width: 300px; }
.link-group h4 { color: #fff; font-size: 16px; margin-bottom: 20px; font-weight: 600; }
.link-group ul { display: flex; flex-direction: column; gap: 10px; }
.link-group a { font-size: 14px; color: #9ca3af; }
.link-group a:hover { color: var(--primary); }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 14px; color: #6b7280; background: #0b0f19; }

@media (max-width: 992px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 768px) {
  .desktop-nav, .header-actions .btn-primary { display: none; }
  .menu-toggle { display: block; width: 24px; height: 24px; }
  .tag-cloud-container { padding: 20px; }
}