﻿:root {
      --primary: rgb(202,138,4);
      --primary-hover: rgb(161,110,3);
      --bg: #f8fafc;
      --card-bg: #ffffff;
      --text: #1e293b;
      --text-muted: #64748b;
      --border: #e2e8f0;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
    a { color: inherit; text-decoration: none; }

    .header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
    .header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 70px; 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: 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); white-space: nowrap; }
    .nav-desktop { display: flex; gap: 24px; align-items: center; }
    .nav-desktop a { font-weight: 500; font-size: 15px; }
    .nav-desktop a:hover { color: var(--primary); }
    .menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

    .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: #fff; z-index: 999; transition: 0.3s; padding: 20px; display: flex; flex-direction: column; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
    .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 15px; overflow-y: auto; }
    .drawer-nav a { font-size: 16px; font-weight: 500; }

    .tag-hero { background: #fff; border-bottom: 1px solid var(--border); padding: 40px 20px; text-align: center; }
    .tag-hero h1 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
    .tag-hero p { color: var(--text-muted); font-size: 15px; }

    .tag-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
    .tag-grid { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
    .tag-item { background: var(--bg); border: 1px solid var(--border); padding: 8px 16px; border-radius: 20px; font-size: 14px; color: var(--text); transition: all 0.2s; }
    .tag-item:hover { border-color: var(--primary); color: var(--primary); background: rgba(202,138,4,0.05); }

    .footer { background: #0f172a; color: #94a3b8; margin-top: 50px; padding: 50px 0 20px; }
    .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
    .footer-brand .logo span { color: #fff; }
    .footer-brand p { margin-top: 15px; font-size: 14px; line-height: 1.6; }
    .footer-nav h4 { color: #fff; font-size: 16px; margin-bottom: 15px; }
    .footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
    .footer-nav a:hover { color: #fff; }
    
    .friend-links { max-width: 1200px; margin: 30px auto 0; padding: 20px 20px 0; border-top: 1px solid #1e293b; }
    .friend-title { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
    .friend-content { display: flex; flex-wrap: wrap; gap: 15px; font-size: 13px; }
    .friend-content a { color: #94a3b8; }
    .friend-content a:hover { color: #fff; }

    .copyright { max-width: 1200px; margin: 30px auto 0; padding: 20px 20px 0; border-top: 1px solid #1e293b; text-align: center; font-size: 13px; }

    @media (max-width: 768px) {
      .nav-desktop { display: none; }
      .menu-btn { display: block; }
      .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    }