﻿:root { --primary-bg: #0d0e15; --surface: rgb(40,42,54); --surface-hover: #363948; --accent: #d4af37; --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', sans-serif; background-color: var(--primary-bg); color: var(--text-main); line-height: 1.8; }
        a { color: var(--text-main); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--accent); }
        img { max-width: 100%; height: auto; border-radius: var(--radius); }
        .container { max-width: 1000px; 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; }
        .logo span { display: inline-block; font-size: 20px; font-weight: 800; color: var(--accent); }
        .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; 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 { 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; }
        .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); 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; }
        .drawer-nav { padding: 20px; overflow-y: auto; }
        .drawer-nav a { display: block; padding: 15px 0; border-bottom: 1px solid var(--border); }

        
        .breadcrumb { padding: 30px 0; font-size: 14px; color: var(--text-muted); }
        .breadcrumb a { color: var(--text-main); }
        .breadcrumb a:hover { color: var(--accent); }
        
        .article-main { background: var(--surface); border-radius: var(--radius); padding: 50px; margin-bottom: 50px; border: 1px solid var(--border); }
        .article-header { border-bottom: 1px solid var(--border); padding-bottom: 30px; margin-bottom: 30px; }
        .article-title { font-size: 32px; color: var(--accent); margin-bottom: 20px; line-height: 1.4; }
        .article-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--text-muted); font-size: 14px; }
        .article-meta span { display: inline-flex; align-items: center; gap: 5px; }
        
        .article-content { font-size: 16px; color: #ddd; line-height: 1.9; }
        .article-content p { margin-bottom: 20px; }
        .article-content h2, .article-content h3 { color: #fff; margin: 30px 0 15px; }
        .article-content blockquote { border-left: 4px solid var(--accent); padding-left: 20px; background: rgba(0,0,0,0.2); padding: 15px 20px; margin-bottom: 20px; }
        
        .article-tags { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
        .article-tags a { display: inline-block; padding: 5px 15px; background: rgba(212, 175, 55, 0.1); border: 1px solid var(--accent); color: var(--accent); border-radius: 20px; font-size: 12px; margin-right: 10px; margin-bottom: 10px; }
        .article-tags a:hover { background: var(--accent); color: #111; }
        
        .article-nav { display: flex; justify-content: space-between; margin-top: 40px; }
        .article-nav a { display: block; max-width: 48%; padding: 15px; background: rgba(0,0,0,0.2); border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; }
        .article-nav a:hover { border-color: var(--accent); color: var(--accent); }
        .nav-label { display: block; color: var(--text-muted); font-size: 12px; margin-bottom: 5px; }

        .related-articles { margin-bottom: 60px; }
        .related-title { font-size: 24px; margin-bottom: 20px; padding-left: 15px; border-left: 4px solid var(--accent); }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .rel-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: var(--transition); }
        .rel-card:hover { border-color: var(--accent); transform: translateY(-5px); }
        .rel-card h4 { font-size: 16px; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .rel-card p { font-size: 12px; color: var(--text-muted); }

        .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-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: #fff; border-bottom: 2px solid var(--accent); padding-bottom: 10px; display: inline-block;}
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: var(--text-muted); font-size: 14px; }
        .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;}

        @media (max-width: 768px) {
            .desktop-nav, .header-actions .btn { display: none; }
            .menu-toggle { display: block; }
            .article-main { padding: 20px; }
            .article-title { font-size: 24px; }
            .article-nav { flex-direction: column; gap: 15px; }
            .article-nav a { max-width: 100%; }
            .related-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
        }