﻿:root { --primary: rgb(234,179,8); --primary-hover: #ca8a04; --text-main: #18181b; --text-muted: #52525b; --bg-body: #f8fafc; --bg-card: #ffffff; --dark-bg: #0f172a; --border-color: #e2e8f0; --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'PingFang SC', sans-serif; }
        body { background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul, li { list-style: none; }
        img { max-width: 100%; display: block; }

        
        .header { background: var(--dark-bg); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
        .header-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; height: 72px; }
        .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: #ffffff; white-space: nowrap; }
        .nav-desktop { display: none; }
        .nav-desktop ul { display: flex; gap: 30px; align-items: center; }
        .nav-desktop a { color: #cbd5e1; font-weight: 500; font-size: 15px; }
        .nav-desktop a:hover { color: var(--primary); }
        .menu-btn { display: block; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 999; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: #fff; box-shadow: var(--shadow); transition: 0.3s; z-index: 1000; }
        .drawer-active .drawer-overlay { opacity: 1; visibility: visible; }
        .drawer-active .mobile-drawer { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-header .logo span { color: var(--text-main); }
        .close-drawer { background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
        .drawer-nav { padding: 20px; }
        .drawer-nav li { margin-bottom: 15px; }
        .drawer-nav a { display: block; font-size: 16px; font-weight: 500; }
        @media(min-width: 768px) { .nav-desktop { display: block; } .menu-btn { display: none; } }

        
        .tag-hero { background: var(--dark-bg); padding: 60px 20px; text-align: center; color: #fff; border-top: 1px solid rgba(255,255,255,0.05); }
        .tag-hero h1 { font-size: 32px; margin-bottom: 15px; color: var(--primary); }
        .tag-hero p { color: #94a3b8; max-width: 600px; margin: 0 auto; font-size: 15px; }

        .tag-container { max-width: 1000px; margin: 50px auto; padding: 0 20px; }
        .tag-info-box { background: #fff; padding: 25px; border-radius: 12px; margin-bottom: 40px; box-shadow: var(--shadow); border-left: 4px solid var(--primary); display: flex; align-items: center; gap: 20px; }
        .tag-info-box p { color: var(--text-muted); font-size: 15px; }

        .tag-cloud { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
        .tag-item { background: var(--bg-card); border: 1px solid var(--border-color); padding: 12px 24px; border-radius: 30px; font-size: 15px; color: var(--text-main); transition: 0.3s; box-shadow: 0 2px 4px rgba(0,0,0,0.02); display: flex; align-items: center; gap: 8px; }
        .tag-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
        .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(--dark-bg); color: #cbd5e1; padding: 60px 20px 20px; margin-top: 60px; }
        .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-links h4 { color: #fff; margin-bottom: 20px; font-size: 16px; }
        .footer-links ul li { margin-bottom: 10px; }
        .footer-links a:hover { color: var(--primary); }
        .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; color: #64748b; }
        .footer-bottom a { color: #64748b; margin: 0 10px; }
        @media(min-width: 768px) { .footer-container { grid-template-columns: 2fr 1fr 1fr; } }