﻿:root { --primary-color: rgb(40,42,54); --primary-dark: #1f212a; --accent-color: #f39c12; --bg-color: #f4f6f9; --text-main: #333333; --border-color: #e5e7eb; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, sans-serif; background: var(--bg-color); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
        img { max-width: 100%; height: auto; display: block; }
        .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

        .header { background: var(--primary-color); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .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: #ffffff; white-space: nowrap; }
        .desktop-nav { display: flex; gap: 28px; align-items: center; }
        .desktop-nav a { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.85); }
        .desktop-nav a:hover { color: var(--accent-color); }
        .mobile-menu-btn { display: none; background: none; border: none; color: #fff; cursor: pointer; }

        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 998; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -320px; width: 280px; height: 100vh; background: #fff; z-index: 999; transition: all 0.3s; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer .logo span { color: var(--primary-color); font-size: 18px; }
        .drawer .close-btn { background: none; border: none; cursor: pointer; }
        .drawer-nav { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
        .drawer-nav a { display: block; font-size: 16px; font-weight: 500; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }

        .tag-hero { background: var(--primary-dark); color: #fff; padding: 60px 0; text-align: center; }
        .tag-hero h1 { font-size: 36px; margin-bottom: 16px; }
        .tag-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }

        .tag-content { padding: 60px 0; background: #fff; margin: 40px auto; border-radius: 12px; max-width: 1200px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
        .tag-cloud { display: flex; flex-wrap: wrap; gap: 16px; padding: 0 40px; justify-content: center; }
        .tag-item { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 30px; font-size: 15px; color: var(--text-main); transition: all 0.3s; }
        .tag-item:hover { background: var(--accent-color); color: #fff; border-color: var(--accent-color); transform: translateY(-2px); }
        .tag-count { font-size: 12px; background: rgba(0,0,0,0.05); padding: 2px 8px; border-radius: 10px; }
        .tag-item:hover .tag-count { background: rgba(255,255,255,0.2); }

        
        .footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding-top: 60px; }
        .footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .footer-brand .logo span { color: #fff; }
        .footer h3 { color: #fff; font-size: 16px; margin-bottom: 20px; }
        .footer ul li { margin-bottom: 12px; }
        .footer ul li a:hover { color: var(--accent-color); }
        .footer-bottom { padding: 24px 0; text-align: center; font-size: 13px; }

        @media (max-width: 768px) { .desktop-nav { display: none; } .mobile-menu-btn { display: block; } .tag-cloud { padding: 0 20px; } .footer-inner { grid-template-columns: 1fr; } }