﻿:root {
            --primary-bg: #0d0e15;
            --surface: rgb(40,42,54);
            --surface-hover: #363948;
            --accent: #d4af37;
            --accent-hover: #f1c40f;
            --text-main: #ffffff;
            --text-muted: #9aa0a6;
            --border: rgba(255, 255, 255, 0.1);
            --radius: 8px;
            --transition: all 0.3s ease;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; background-color: var(--primary-bg); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
        a { color: var(--text-main); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--accent); }
        img { max-width: 100%; height: auto; display: block; }
        ul { list-style: none; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        .header { background-color: var(--surface); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
        .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(--accent); white-space: nowrap; letter-spacing: 1px; }
        .desktop-nav { display: flex; gap: 30px; }
        .desktop-nav a { font-size: 16px; font-weight: 500; position: relative; }
        .desktop-nav a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
        .desktop-nav a:hover::after { width: 100%; }
        .header-actions { display: flex; align-items: center; gap: 15px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 4px; font-weight: 600; cursor: pointer; transition: var(--transition); border: none; }
        .btn-primary { background: linear-gradient(135deg, #d4af37, #f1c40f); color: #111; }
        .btn-primary:hover { background: linear-gradient(135deg, #f1c40f, #d4af37); transform: translateY(-2px); color: #000; }
        .menu-toggle { display: none; background: transparent; border: none; color: var(--text-main); font-size: 28px; cursor: pointer; }

        
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1001; opacity: 0; visibility: hidden; transition: var(--transition); }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background-color: var(--surface); z-index: 1002; transition: var(--transition); box-shadow: 4px 0 20px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
        .mobile-drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { background: transparent; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; }
        .drawer-nav { padding: 20px; overflow-y: auto; flex-grow: 1; }
        .drawer-nav a { display: block; padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--border); color: var(--text-main); }

        
        .page-banner { padding: 60px 0; background: linear-gradient(rgba(13,14,21,0.8), rgba(40,42,54,0.9)), url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1920&q=80') center/cover; text-align: center; border-bottom: 1px solid var(--border); }
        .page-banner h1 { font-size: 36px; color: var(--accent); margin-bottom: 15px; }
        .breadcrumb { font-size: 14px; color: var(--text-muted); }
        .breadcrumb a { color: var(--text-main); }
        .breadcrumb a:hover { color: var(--accent); }

        
        .list-layout { display: flex; gap: 40px; padding: 60px 0; }
        .main-content { flex: 1; }
        .sidebar { width: 320px; flex-shrink: 0; }
        
        
        .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .article-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; transition: var(--transition); }
        .article-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }
        .card-img-wrap { position: relative; padding-top: 60%; overflow: hidden; }
        .card-img-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .article-card:hover .card-img-wrap img { transform: scale(1.1); }
        .card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
        .card-tags { font-size: 12px; color: var(--accent); margin-bottom: 10px; }
        .card-title { font-size: 18px; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .card-summary { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .card-meta { display: flex; justify-content: space-between; font-size: 12px; color: #777; border-top: 1px solid var(--border); padding-top: 15px; }

        
        .pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; color: var(--text-main); font-weight: 500; transition: var(--transition); }
        .pagination a:hover { border-color: var(--accent); color: var(--accent); }
        .pagination .active { background: var(--accent); color: #111; border-color: var(--accent); }

        
        .widget { background: var(--surface); border-radius: var(--radius); padding: 25px; margin-bottom: 30px; border: 1px solid var(--border); }
        .widget-title { font-size: 18px; color: var(--accent); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
        .widget-content p { color: var(--text-muted); font-size: 14px; line-height: 1.8; }

        
        .footer { background-color: #08090d; padding: 60px 0 20px; border-top: 1px solid var(--border); }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo { margin-bottom: 20px; }
        .footer-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; max-width: 300px; }
        .footer-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: #fff; position: relative; padding-bottom: 10px; }
        .footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: var(--text-muted); font-size: 14px; }
        .footer-links a:hover { color: var(--accent); }
        .footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; color: var(--text-muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; }

        @media (max-width: 1024px) {
            .list-layout { flex-direction: column; }
            .sidebar { width: 100%; }
            .article-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .desktop-nav, .header-actions .btn { display: none; }
            .menu-toggle { display: block; }
            .article-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
        }