﻿:root {
      --primary: #1D7BFF;
      --accent: rgb(255,184,108);
      --bg-dark: #0A0F1D;
      --bg-card-dark: #121829;
      --bg-light: #F8FAFC;
      --bg-card-light: #FFFFFF;
      --text-dark: #0F172A;
      --text-light: #F8FAFC;
      --text-muted: #64748B;
      --border-color: rgba(29, 123, 255, 0.15);
      --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font); background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
    
    
    .site-header { background: var(--bg-dark); border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); }
    .header-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
    .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: 18px; font-weight: 800; line-height: 1; color: var(--text-light); white-space: nowrap; }
    .desktop-nav { display: flex; align-items: center; gap: 24px; }
    .desktop-nav a { color: #94A3B8; text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.3s; }
    .desktop-nav a:hover { color: var(--accent); }
    .header-right { display: flex; align-items: center; gap: 16px; }
    .btn-download-top { background: var(--accent); color: #0F172A; font-weight: 600; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-size: 14px; transition: transform 0.3s, box-shadow 0.3s; }
    .btn-download-top:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,184,108,0.3); }
    .drawer-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 4px; }
    .drawer-toggle span { display: block; width: 24px; height: 2px; background: var(--text-light); transition: 0.3s; }

    
    .drawer-mask { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
    .drawer-mask.active { opacity: 1; pointer-events: auto; }
    .mobile-drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100vh; background: var(--bg-dark); z-index: 999; box-shadow: 5px 0 25px rgba(0,0,0,0.5); transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; padding: 24px; }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
    .drawer-close { background: none; border: none; font-size: 28px; color: var(--text-light); cursor: pointer; line-height: 1; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; margin-bottom: auto; }
    .drawer-nav a { color: #94A3B8; text-decoration: none; font-size: 16px; font-weight: 500; transition: color 0.3s; padding: 4px 0; }
    .drawer-nav a:hover { color: var(--accent); }
    .drawer-footer { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; font-size: 13px; color: #64748B; }
    .drawer-footer p { margin-bottom: 6px; }

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

    
    .tag-cloud-box { background: #FFF; border: 1px solid var(--border-color); border-radius: 12px; padding: 40px; margin-bottom: 80px; }
    .tag-cloud-wrapper { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
    .tag-cloud-item { display: inline-flex; align-items: center; gap: 8px; background: rgba(29, 123, 255, 0.05); border: 1px solid var(--border-color); color: var(--primary); text-decoration: none; padding: 10px 20px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: 0.3s; }
    .tag-cloud-item:hover { background: var(--primary); color: #FFF; transform: translateY(-1px); }
    .tag-count { background: rgba(255, 184, 108, 0.2); color: #B45309; font-size: 11px; padding: 2px 6px; border-radius: 4px; }

    
    .site-footer { background: #0B0F19; color: #94A3B8; padding: 80px 0 30px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 14px; }
    .footer-container { display: grid; grid-template-columns: 1.5fr repeat(2, 1fr); gap: 60px; margin-bottom: 60px; }
    .footer-brand-section .logo { margin-bottom: 20px; }
    .footer-brand-section .logo span { color: #FFF; }
    .footer-desc { line-height: 1.7; margin-bottom: 20px; color: #64748B; }
    .footer-contact { font-weight: 500; color: var(--text-light); }
    .footer-links-grid h4 { color: var(--text-light); font-size: 16px; font-weight: 700; margin-bottom: 24px; }
    .footer-links-grid ul { list-style: none; }
    .footer-links-grid ul li { margin-bottom: 12px; }
    .footer-links-grid ul li a { color: #94A3B8; text-decoration: none; transition: color 0.3s; }
    .footer-links-grid ul li a:hover { color: var(--accent); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; }
    .footer-bottom-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
    .footer-socials a { color: var(--accent); text-decoration: none; font-weight: 600; }

    @media (max-width: 1024px) {
      .desktop-nav, .header-right .btn-download-top { display: none; }
      .drawer-toggle { display: flex; }
    }