﻿:root {
            --primary: rgb(139,233,253);
            --primary-dark: #5ee0fa;
            --text-main: #1a1a1a;
            --text-sub: #666;
            --bg-light: #f4f6f8;
            --bg-white: #ffffff;
            --border: #e2e8f0;
        }
        * { box-sizing: border-box; }
        body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--text-main); background: var(--bg-light); line-height: 1.6; margin: 0; padding: 0; }
        a { color: inherit; text-decoration: none; transition: 0.3s; }
        a:hover { color: var(--primary-dark); }
        img { max-width: 100%; height: auto; display: block; }
        
        .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: var(--text-main); white-space: nowrap; }

        .header { background: var(--bg-white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
        .header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; height: 70px; padding: 0 20px; }
        .desktop-nav { display: flex; gap: 24px; align-items: center; }
        .desktop-nav a { font-weight: 500; font-size: 16px; }
        .desktop-nav a:hover { color: var(--primary-dark); }
        .menu-btn { display: none; font-size: 28px; cursor: pointer; color: var(--text-main); }

        .mobile-drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: var(--bg-white); z-index: 999; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 2px 0 15px rgba(0,0,0,0.1); overflow-y: auto; padding: 20px; }
        .mobile-drawer.active { left: 0; }
        .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
        .drawer-close { font-size: 28px; cursor: pointer; color: var(--text-sub); }
        .drawer-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 500; }
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 998; display: none; opacity: 0; transition: 0.3s; }
        .drawer-overlay.active { display: block; opacity: 1; }

        .page-header { background: var(--bg-white); padding: 60px 0; border-bottom: 1px solid var(--border); text-align: center; }
        .page-header h1 { font-size: 36px; margin-bottom: 15px; font-weight: 800; }
        .page-header p { font-size: 16px; color: var(--text-sub); max-width: 600px; margin: 0 auto; }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .tag-cloud-wrap { background: var(--bg-white); padding: 50px; border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.02); margin: 60px auto; min-height: 400px; }
        .tag-cloud { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
        .tag-cloud a { display: inline-flex; align-items: center; padding: 12px 24px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 30px; font-size: 15px; font-weight: 500; color: var(--text-main); transition: 0.3s; }
        .tag-cloud a span { display: inline-block; background: #e0e0e0; color: #666; font-size: 12px; padding: 2px 8px; border-radius: 10px; margin-left: 8px; }
        .tag-cloud a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(139,233,253,0.4); color: #111; }
        .tag-cloud a:hover span { background: rgba(255,255,255,0.5); color: #111; }

        .footer { background: #1a1a1a; color: #aaa; padding: 60px 20px 20px; border-top: 5px solid #222; }
        .footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-logo .logo span { color: #fff; }
        .footer-desc { margin-top: 20px; font-size: 14px; line-height: 1.8; max-width: 400px; }
        .footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; font-weight: bold; }
        .footer-nav { list-style: none; padding: 0; margin: 0; }
        .footer-nav li { margin-bottom: 12px; }
        .footer-nav a { color: #aaa; }
        .footer-nav a:hover { color: var(--primary); padding-left: 5px; }
        .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid #333; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; flex-wrap: wrap; gap: 15px; }
        .footer-links a { color: #aaa; margin-left: 15px; }
        .footer-links a:hover { color: var(--primary); }

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