﻿:root { --primary: rgb(75,85,99); --primary-hover: rgb(55,65,79); --primary-light: rgba(75,85,99,0.08); --text-dark: #111827; --text-main: #374151; --text-muted: #6b7280; --bg-main: #f9fafb; --bg-card: #ffffff; --border-color: #e5e7eb; --radius-md: 8px; --radius-lg: 16px; --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1); --container: 1200px; }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
        body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: all 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
        
        
        .header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
        .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(--text-dark); white-space: nowrap; }
        .desktop-nav { display: flex; gap: 32px; align-items: center; }
        .desktop-nav a { font-weight: 500; color: var(--text-main); }
        .desktop-nav a:hover { color: var(--primary); }
        .mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text-dark); }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(4px); }
        .drawer { position: fixed; top: 0; left: -320px; bottom: 0; width: 280px; background: #fff; z-index: 1000; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-header { padding: 24px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
        .drawer-close { background: none; border: none; cursor: pointer; color: var(--text-muted); }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--border-color); font-size: 16px; font-weight: 500; }

        
        .tag-hero { padding: 80px 0; background: var(--bg-card); text-align: center; border-bottom: 1px solid var(--border-color); }
        .tag-hero h1 { font-size: 36px; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
        .tag-hero p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

        
        .tag-cloud-section { padding: 80px 0; min-height: 50vh; }
        .tag-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
        .tag-item { display: inline-flex; align-items: center; padding: 12px 24px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 50px; font-size: 15px; color: var(--text-main); font-weight: 500; box-shadow: var(--shadow-sm); transition: all 0.3s; }
        .tag-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
        .tag-count { margin-left: 8px; font-size: 13px; opacity: 0.8; background: rgba(0,0,0,0.1); padding: 2px 8px; border-radius: 10px; }

        
        .footer { background: #1f2937; color: #9ca3af; padding-top: 80px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
        .footer .logo span { color: #fff; }
        .footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.8; }
        .footer-links h4 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 24px; }
        .footer-links ul li { margin-bottom: 12px; }
        .footer-links ul li a:hover { color: #fff; }
        .footer-contact p { margin-bottom: 12px; font-size: 14px; }
        .footer-bottom { border-top: 1px solid #374151; padding: 24px 0; text-align: center; font-size: 14px; }

        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .mobile-toggle { display: block; }
            .tag-hero h1 { font-size: 28px; }
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
        }