﻿:root { --primary: rgb(68, 71, 90); --primary-dark: rgb(48, 51, 65); --accent: #e63946; --bg-body: #f4f5f7; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: sans-serif; background: var(--bg-body); color: #333; line-height: 1.6; }
        a { text-decoration: none; color: inherit; }
        
        .site-header { background-color: var(--primary); color: #fff; position: sticky; top: 0; z-index: 100; }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 20px; max-width: 1200px; margin: 0 auto; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { height: 40px; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 22px; font-weight: 800; color: #fff; }
        .desktop-nav { display: flex; gap: 30px; }
        .desktop-nav a:hover { opacity: 0.8; }
        .header-actions .btn { padding: 8px 20px; border: 2px solid #fff; border-radius: 6px; }
        .mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; flex-direction: column; gap: 5px; }
        .mobile-toggle span { display: block; width: 24px; height: 2px; background: #fff; }
        
        .drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
        .drawer.active { visibility: visible; pointer-events: auto; }
        .drawer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: 0.3s; }
        .drawer.active .drawer-overlay { opacity: 1; }
        .drawer-content { position: absolute; top: 0; bottom: 0; left: 0; width: 280px; background: #fff; transform: translateX(-100%); transition: 0.3s; display: flex; flex-direction: column; }
        .drawer.active .drawer-content { transform: translateX(0); }
        .drawer-header { padding: 20px; background: var(--primary); display: flex; justify-content: space-between; }
        .drawer-header .logo span { color: #fff; font-size: 18px; }
        .drawer-close { background: none; border: none; font-size: 28px; color: #fff; }
        .drawer-nav { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
        .drawer-nav a { border-bottom: 1px dashed #eee; padding-bottom: 5px; }

        .tag-hero { background: var(--primary-dark); color: #fff; padding: 60px 20px; text-align: center; border-bottom: 4px solid var(--accent); }
        .tag-hero h1 { font-size: 36px; margin-bottom: 15px; }
        .tag-hero p { font-size: 16px; opacity: 0.8; max-width: 600px; margin: 0 auto; }

        .tag-container { max-width: 1000px; margin: 50px auto; padding: 0 20px; min-height: 40vh; }
        .tag-cloud { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
        
        .tag-item { display: inline-flex; align-items: center; padding: 8px 16px; background: var(--bg-body); border: 1px solid #e2e8f0; border-radius: 20px; transition: all 0.3s; }
        .tag-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
        .tag-name { font-weight: bold; margin-right: 8px; }
        .tag-count { background: rgba(0,0,0,0.1); padding: 2px 8px; border-radius: 10px; font-size: 12px; }
        
        .site-footer { background-color: var(--primary-dark); color: #d1d5db; padding: 60px 0 20px 0; margin-top: auto; }
        .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 0 20px 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; }
        .footer-links ul { display: flex; flex-direction: column; gap: 10px; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding-top: 20px; font-size: 14px; }

        @media (max-width: 768px) {
            .desktop-nav, .header-actions .btn { display: none; }
            .mobile-toggle { display: flex; }
            .footer-grid { grid-template-columns: 1fr; }
        }