﻿:root {
      --primary: rgb(255,59,48);
      --primary-hover: rgb(230,45,35);
      --accent-blue: #1D7BFF;
      --text-main: #1E293B;
      --text-muted: #64748B;
      --text-light: #F8FAFC;
      --bg-white: #FFFFFF;
      --bg-light: #F8FAFC;
      --border-color: #E2E8F0;
      --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
      --font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font-family); color: var(--text-main); background: var(--bg-white); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: all 0.3s; }

    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .section-padding { padding: 80px 0; }

    
    .header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
    .header-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { height: 40px; }
    .logo span { font-size: 18px; font-weight: 800; }
    .nav-menu { display: flex; gap: 24px; }
    .nav-menu a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .nav-menu a:hover { color: var(--primary); }
    .header-actions { display: flex; gap: 16px; align-items: center; }
    .btn { display: inline-flex; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; }
    .btn-primary { background: var(--primary); color: #fff; }
    .btn-outline { background: transparent; border: 1.5px solid var(--border-color); }
    .menu-toggle { display: none; background: none; border: none; }
    .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-main); margin: 5px 0; }

    
    .drawer-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 199; opacity: 0; pointer-events: none; }
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: #fff; z-index: 200; display: flex; flex-direction: column; padding: 24px; transition: left 0.3s; }
    .drawer.active { left: 0; }
    .drawer-backdrop.active { opacity: 1; pointer-events: auto; }
    .drawer-header { display: flex; justify-content: space-between; margin-bottom: 32px; }
    .drawer-close { background: none; border: none; font-size: 24px; }
    .drawer-menu { display: flex; flex-direction: column; gap: 16px; }

    
    .tag-hero { background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%); color: var(--text-light); padding: 80px 0; text-align: center; }
    .tag-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
    .tag-hero p { font-size: 16px; color: #94A3B8; max-width: 600px; margin: 0 auto; }

    
    .tag-index-container { max-width: 900px; margin: 50px auto 0 auto; background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; }
    .tag-index-title { font-size: 22px; font-weight: 800; margin-bottom: 30px; border-left: 4px solid var(--primary); padding-left: 12px; }
    
    .tag-index-cloud { display: flex; flex-wrap: wrap; gap: 14px; }
    .tag-index-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--bg-light); border: 1.5px solid var(--border-color); border-radius: 99px; font-size: 15px; font-weight: 600; color: var(--text-main); }
    .tag-index-item:hover { border-color: var(--primary); color: var(--primary); background: #FFF5F5; transform: scale(1.03); }
    .tag-index-count { font-size: 12px; background: rgba(0,0,0,0.06); padding: 2px 8px; border-radius: 99px; color: var(--text-muted); }

    
    .footer { background: #0F172A; color: #94A3B8; padding: 80px 0 30px 0; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 80px; }
    .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-info .logo { margin-bottom: 20px; }
    .footer-info .logo span { color: var(--text-light); }
    .footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
    .footer-title { font-size: 16px; font-weight: 700; color: var(--text-light); margin-bottom: 24px; }
    .footer-links { display: flex; flex-direction: column; gap: 12px; }
    .footer-links a { font-size: 14px; }
    .footer-links a:hover { color: var(--primary); }
    .footer-contact { font-size: 14px; display: flex; flex-direction: column; gap: 12px; }
    .footer-contact-item { display: flex; align-items: center; gap: 8px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
    .copyright { font-size: 13px; }

    @media (max-width: 991px) {
      .nav-menu, .header-actions .btn-outline { display: none; }
      .menu-toggle { display: block; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }