﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #1565C0;
      --bg-dark: #0b0f19;
      --bg-light: #f8fafc;
      --text-dark: #0f172a;
      --text-light: #f1f5f9;
      --text-muted: #64748b;
      --border-color: rgba(29, 123, 255, 0.15);
      --theme-color: rgb(31,41,55);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
    a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    
    
    .site-header { background: var(--bg-dark); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
    .header-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .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-light); white-space: nowrap; }
    .nav-desktop { display: flex; gap: 24px; align-items: center; }
    .nav-desktop a { color: var(--text-muted); font-size: 15px; font-weight: 500; }
    .nav-desktop a:hover { color: var(--primary); }
    .header-actions { display: flex; align-items: center; gap: 16px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.3s ease; border: none; }
    .btn-primary { background: var(--primary); color: #fff; }
    .btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
    .btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
    .drawer-toggle { display: none; background: transparent; border: none; flex-direction: column; gap: 5px; cursor: pointer; }
    .drawer-toggle span { display: block; width: 25px; height: 2px; background: var(--text-light); }

    .mobile-drawer-mask { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1001; }
    .mobile-drawer-mask.active { display: block; }
    .mobile-drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: var(--bg-dark); z-index: 1002; display: flex; flex-direction: column; padding: 24px; transition: left 0.3s ease; border-right: 1px solid var(--border-color); }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
    .drawer-close { background: transparent; border: none; color: var(--text-light); font-size: 28px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { color: var(--text-light); font-size: 16px; font-weight: 500; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .drawer-footer { margin-top: auto; border-top: 1px solid var(--border-color); padding-top: 20px; }
    .drawer-footer p { font-size: 12px; color: var(--text-muted); }

    
    .tag-index-header { background: linear-gradient(135deg, var(--bg-dark) 0%, #111e35 100%); color: var(--text-light); padding: 80px 0; text-align: center; }
    .tag-index-header h1 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
    .tag-index-header p { font-size: 16px; color: #94a3b8; max-width: 600px; margin: 0 auto; }

    .tag-cloud-panel { padding: 90px 0; background: #fff; }
    .tag-cloud-wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; max-width: 900px; margin: 0 auto 60px; }
    
    
    .cloud-tag-item { background: #f1f5f9; border: 1px solid #e2e8f0; padding: 10px 20px; border-radius: 8px; color: #334155; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
    .cloud-tag-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(29, 123, 255, 0.2); }
    .tag-badge { background: rgba(29, 123, 255, 0.1); color: var(--primary); font-size: 11px; padding: 2px 6px; border-radius: 12px; font-weight: 700; }
    .cloud-tag-item:hover .tag-badge { background: rgba(255,255,255,0.2); color: #fff; }

    
    .site-footer { background: #070a12; color: #94a3b8; padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
    .footer-container { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; margin-bottom: 60px; }
    .footer-brand { display: flex; flex-direction: column; gap: 20px; }
    .footer-brand p { font-size: 14px; line-height: 1.7; }
    .footer-group h4 { font-size: 16px; font-weight: 600; color: var(--text-light); margin-bottom: 24px; }
    .footer-group ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
    .footer-group ul a { font-size: 14px; }
    .footer-group ul a:hover { color: var(--primary); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; display: flex; flex-direction: column; gap: 20px; font-size: 12px; }
    .risk-warning { border-left: 3px solid #ef4444; padding-left: 15px; line-height: 1.6; color: #64748b; }

    @media (max-width: 768px) {
      .nav-desktop, .header-actions .btn { display: none; }
      .drawer-toggle { display: flex; }
      .footer-container { grid-template-columns: 1fr; }
    }