﻿: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.6; }
        a { color: var(--text-main); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--accent); }
        img { max-width: 100%; display: block; }
        .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; }
        .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; }
        .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); }

        
        .tag-hero { text-align: center; padding: 80px 0; background: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=1920&q=80') center/cover; position: relative; }
        .tag-hero::before { content: ''; position: absolute; top:0;left:0;right:0;bottom:0; background: rgba(13,14,21,0.85); }
        .tag-hero .container { position: relative; z-index: 1; }
        .tag-hero h1 { font-size: 36px; color: var(--accent); margin-bottom: 20px; }
        .tag-hero p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

        .tag-cloud-section { padding: 80px 0; min-height: 50vh; }
        .tag-cloud-container { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
        .tag-item { display: inline-flex; align-items: center; padding: 12px 25px; background: var(--surface); border: 1px solid var(--border); border-radius: 30px; font-size: 16px; transition: var(--transition); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
        .tag-item:hover { background: var(--accent); color: #111; border-color: var(--accent); transform: translateY(-3px); }
        .tag-count { margin-left: 8px; font-size: 12px; opacity: 0.7; background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 10px; }
        .tag-item:hover .tag-count { background: rgba(0,0,0,0.2); }

        .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; }
            .footer-grid { grid-template-columns: 1fr; }
        }