﻿:root { --primary: rgb(66,70,81); --accent: #d4af37; --bg-body: #f5f7fa; --text-main: #2c3e50; --border: #eaedf1; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif; color: var(--text-main); background: var(--bg-body); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul, li { list-style: none; }
        .container { 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: 22px; font-weight: 800; line-height: 1; color: var(--primary); white-space: nowrap; }
        .header { background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
        .desktop-nav { display: flex; gap: 24px; align-items: center; }
        .desktop-nav a { font-weight: 600; font-size: 16px; color: var(--primary); padding: 8px 0; }
        .desktop-nav a:hover { color: var(--accent); }
        .menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px; }
        .menu-toggle span { display: block; width: 26px; height: 3px; background: var(--primary); }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 999; opacity: 0; visibility: hidden; transition: 0.3s; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-nav { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: #fff; z-index: 1000; transition: 0.4s; overflow-y: auto; }
        .drawer-nav.active { left: 0; }
        .drawer-header { padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
        .drawer-close { background: none; border: none; font-size: 32px; cursor: pointer; color: var(--primary); }
        .drawer-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
        .drawer-body a { font-size: 16px; font-weight: 600; padding: 12px 15px; border-radius: 6px; background: #f8f9fc; color: var(--primary); }

        .tag-banner { background: var(--primary); color: #fff; padding: 60px 0; text-align: center; }
        .tag-banner h1 { font-size: 32px; margin-bottom: 10px; }
        .tag-banner p { font-size: 16px; color: #aab2bd; max-width: 600px; margin: 0 auto; }

        .tag-container { padding: 80px 0; background: #fff; min-height: 50vh; }
        .tag-cloud { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
        .tag-item { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 30px; overflow: hidden; font-size: 15px; color: var(--primary); background: var(--bg-body); transition: 0.3s; }
        .tag-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-color: var(--primary); }
        .tag-name { padding: 10px 18px; font-weight: 600; }
        .tag-count { padding: 10px 15px; background: rgba(0,0,0,0.05); color: #666; font-size: 13px; border-left: 1px solid var(--border); }
        
        .footer { background: #1a1c23; color: #aab2bd; padding: 80px 0 30px; border-top: 4px solid var(--primary); }
        .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
        .footer-brand .logo span { color: #fff; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: #aab2bd; font-size: 14px; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; text-align: center; font-size: 13px; }

        @media(max-width: 768px) {
            .desktop-nav { display: none; }
            .menu-toggle { display: flex; }
            .footer-top { grid-template-columns: 1fr; }
        }