﻿:root {
            --primary: rgb(22,163,74);
            --primary-hover: rgb(21,128,61);
            --primary-light: rgba(22,163,74,0.1);
            --dark: #1e293b;
            --text-main: #334155;
            --text-muted: #64748b;
            --bg-light: #f8fafc;
            --white: #ffffff;
            --border: #e2e8f0;
            --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
            --max-width: 1200px;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text-main); background: var(--bg-light); line-height: 1.6; -webkit-tap-highlight-color: transparent; }
        a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
        li { list-style: none; }
        img { max-width: 100%; height: auto; }

        
        .header { background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; height: 72px; display: flex; align-items: center; }
        .header-container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 42px; 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: var(--dark); white-space: nowrap; letter-spacing: -0.5px; }
        .nav-desktop { display: flex; align-items: center; gap: 28px; }
        .nav-desktop a { font-size: 15px; font-weight: 500; color: var(--dark); padding: 6px 0; border-bottom: 2px solid transparent; }
        .nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); border-bottom-color: var(--primary); }
        .header-btn { background: var(--primary); color: var(--white); padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; box-shadow: 0 4px 12px rgba(22,163,74,0.2); }
        .header-btn:hover { background: var(--primary-hover); transform: translateY(-1px); color: var(--white); }
        
        
        .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; z-index: 110; }
        .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; transition: all 0.3s ease; }
        
        
        .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: var(--white); z-index: 150; box-shadow: var(--shadow-lg); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); padding: 24px; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(15,23,42,0.6); z-index: 140; display: none; opacity: 0; transition: opacity 0.3s ease; }
        .drawer-overlay.active { display: block; opacity: 1; }
        .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
        .drawer-close { background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
        .drawer-nav { display: flex; flex-direction: column; gap: 18px; overflow-y: auto; flex: 1; }
        .drawer-nav a { font-size: 16px; font-weight: 600; color: var(--dark); padding: 8px 12px; border-radius: 6px; }
        .drawer-nav a:hover { background: var(--primary-light); color: var(--primary); }

        
        .tag-banner { background: linear-gradient(135deg, rgba(22,163,74,0.1) 0%, rgba(22,163,74,0.02) 100%), var(--white); border-bottom: 1px solid var(--border); padding: 50px 20px; text-align: center; }
        .tag-banner h1 { font-size: 30px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
        .tag-banner p { font-size: 15px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

        
        .tag-container { max-width: 900px; margin: 50px auto; padding: 0 20px; }
        .tag-card { background: var(--white); border-radius: 16px; border: 1px solid var(--border); padding: 40px; box-shadow: var(--shadow-sm); }
        .tag-card h2 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
        .tag-card h2::before { content: ""; display: inline-block; width: 4px; height: 18px; background: var(--primary); border-radius: 2px; }
        
        .tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
        .tag-item { display: flex; flex-direction: column; gap: 6px; background: var(--bg-light); border: 1px solid var(--border); padding: 16px; border-radius: 10px; transition: all 0.3s ease; text-align: center; }
        .tag-item:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-sm); }
        .tag-name { font-size: 15px; font-weight: 700; color: var(--dark); }
        .tag-count { font-size: 12px; color: var(--text-muted); }

        
        .footer { background: #0f172a; color: #94a3b8; padding: 70px 20px 30px; border-top: 1px solid #1e293b; }
        .footer-container { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
        .footer-brand { display: flex; flex-direction: column; gap: 16px; }
        .footer-brand .logo span { color: var(--white); }
        .footer-brand p { font-size: 14px; line-height: 1.7; }
        .footer-title { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 8px; }
        .footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
        .footer-links { display: flex; flex-direction: column; gap: 12px; }
        .footer-links a { font-size: 14px; color: #94a3b8; }
        .footer-links a:hover { color: var(--primary); padding-left: 4px; }
        .footer-bottom { max-width: var(--max-width); margin: 0 auto; padding-top: 30px; border-top: 1px solid #1e293b; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; }
        .footer-nav { display: flex; gap: 20px; }
        .footer-nav a { color: #94a3b8; }
        .footer-nav a:hover { color: var(--white); }

        
        @media (max-width: 768px) {
            .nav-desktop, .header-btn { display: none; }
            .nav-toggle { display: block; }
            .tag-card { padding: 24px; }
            .tag-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-container { grid-template-columns: 1fr; gap: 30px; }
            .footer-bottom { flex-direction: column; text-align: center; }
        }