﻿:root {
            --bg-dark: rgb(32,33,36);
            --bg-card: #2c2d32;
            --primary: #d4af37;
            --text-main: #ffffff;
            --text-desc: #a1a3a8;
            --border-color: rgba(255,255,255,0.08);
            --radius-md: 12px;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: 'PingFang SC', sans-serif; background-color: var(--bg-dark); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .header { position: sticky; top: 0; z-index: 100; background: rgba(32,33,36,0.95); border-bottom: 1px solid var(--border-color); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { height: 38px; width: auto; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 20px; font-weight: 800; }
        .desktop-nav { display: flex; gap: 30px; }
        .desktop-nav a:hover { color: var(--primary); }
        .mobile-btn { display: none; font-size: 24px; cursor: pointer; }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; z-index: 1000; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--bg-card); z-index: 1001; transition: transform 0.3s; display: flex; flex-direction: column; }
        body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
        body.drawer-open .drawer { transform: translateX(300px); }
        .drawer-header { padding: 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
        .drawer-menu a { display: block; padding: 15px 25px; border-bottom: 1px solid rgba(255,255,255,0.03); }

        .tag-info { padding: 60px 0; background: var(--bg-card); border-bottom: 1px solid var(--border-color); text-align: center; }
        .tag-info h1 { font-size: 32px; margin-bottom: 10px; }
        .tag-info h1 span { color: var(--primary); }
        .tag-info p { color: var(--text-desc); }

        .article-grid { padding: 60px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .art-card { background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); display: flex; flex-direction: column; }
        .art-img { display: block; aspect-ratio: 16/9; overflow: hidden; }
        .art-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .art-card:hover .art-img img { transform: scale(1.05); }
        .art-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .art-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-desc); margin-bottom: 10px; }
        .art-title { font-size: 16px; margin-bottom: 10px; }
        .art-title a:hover { color: var(--primary); }
        .art-summary { font-size: 13px; color: var(--text-desc); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; margin-bottom: 15px;}
        .art-tags a { font-size: 12px; background: rgba(255,255,255,0.05); padding: 2px 8px; border-radius: 4px; color: var(--text-desc); margin-right: 5px; }

        .pagination { margin-bottom: 60px; display: flex; justify-content: center; gap: 8px; }
        .pagination a, .pagination span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 6px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-main); }
        .pagination a:hover, .pagination .current { background: var(--primary); color: #000; border-color: var(--primary); }

        .footer { background: #1a1a1c; border-top: 1px solid var(--border-color); padding: 60px 0 20px; }
        .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
        .foot-title { font-size: 16px; margin-bottom: 20px; }
        .foot-links li { margin-bottom: 12px; }
        .foot-links a { color: var(--text-desc); font-size: 14px; }
        .foot-links a:hover { color: var(--primary); }
        .foot-bottom { border-top: 1px solid var(--border-color); padding-top: 20px; text-align: center; color: var(--text-desc); font-size: 13px; display: flex; justify-content: space-between; }
        .foot-bottom-links a { margin-left: 15px; color: var(--text-desc); }

        @media (max-width: 992px) {
            .article-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .mobile-btn { display: block; }
            .article-grid { grid-template-columns: 1fr; }
            .foot-grid { grid-template-columns: 1fr 1fr; }
            .foot-bottom { flex-direction: column; gap: 15px; }
        }