﻿:root {
      --primary-color: #1D7BFF;
      --primary-hover: #0056cc;
      --bg-dark: #0B0F19;
      --bg-light: #F8FAFC;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --text-white: #FFFFFF;
      --text-gray-light: #E2E8F0;
      --border-dark: rgba(255, 255, 255, 0.08);
      --border-light: #E2E8F0;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      color: var(--text-main);
      background-color: var(--bg-light);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

    
    .site-header {
      position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
      background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-dark);
    }
    .header-container {
      max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 72px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { font-size: 18px; font-weight: 800; color: var(--text-white); }
    .nav-menu { display: flex; align-items: center; gap: 28px; }
    .nav-menu a { color: var(--text-gray-light); font-size: 15px; font-weight: 500; padding: 6px 0; position: relative;}
    .nav-menu a:hover, .nav-menu a.active { color: var(--primary-color); }
    .nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
    .nav-menu a:hover::after { width: 100%; }
    .nav-actions { display: flex; align-items: center; gap: 16px; }
    .btn-nav { background: var(--primary-color); color: var(--text-white); padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; }
    .btn-nav:hover { background: var(--primary-hover); }
    .menu-toggle { display: none; background: none; border: none; cursor: pointer; }
    .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-white); margin: 6px 0; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); z-index: 1999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer-menu { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--bg-dark); z-index: 2000; padding: 24px; display: flex; flex-direction: column; box-shadow: 4px 0 24px rgba(0,0,0,0.5); transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
    .drawer-menu.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--border-dark); }
    .drawer-close { background: none; border: none; color: var(--text-white); font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { color: var(--text-gray-light); font-size: 16px; font-weight: 500; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.03); }

    
    .tag-hero {
      background: linear-gradient(135deg, #0f1c3f 0%, var(--bg-dark) 100%);
      color: var(--text-white); padding: 130px 20px 60px 20px; text-align: center;
    }
    .tag-hero-title { font-size: 36px; font-weight: 700; margin-bottom: 12px; }

    
    .tag-index-container { max-width: 1000px; margin: 60px auto; padding: 0 20px; }
    .tag-intro-text { text-align: center; font-size: 16px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.7; }
    
    .tags-index-grid {
      display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
      background: var(--text-white); border: 1px solid var(--border-light);
      border-radius: 16px; padding: 48px; box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    }
    .tag-index-badge {
      font-size: 15px; font-weight: 500; padding: 10px 20px; border-radius: 8px;
      background: #F1F5F9; color: var(--text-main); display: inline-flex; align-items: center; gap: 8px;
    }
    .tag-index-badge:hover {
      background: var(--primary-color); color: var(--text-white);
      transform: translateY(-2px); box-shadow: 0 6px 12px rgba(29, 123, 255, 0.2);
    }
    .tag-count-indicator {
      font-size: 12px; opacity: 0.8; background: rgba(0,0,0,0.08); padding: 2px 6px; border-radius: 4px;
    }
    .tag-index-badge:hover .tag-count-indicator {
      background: rgba(255,255,255,0.25);
    }

    
    .site-footer { background: var(--bg-dark); color: var(--text-gray-light); border-top: 1px solid var(--border-dark); padding: 70px 0 30px 0; }
    .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
    .footer-brand { display: flex; flex-direction: column; gap: 20px; }
    .footer-brand-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
    .footer-group-title { font-size: 16px; font-weight: 600; color: var(--text-white); margin-bottom: 20px; }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-contact-info { font-size: 14px; color: var(--text-gray-light); display: flex; flex-direction: column; gap: 12px; }
    .footer-bottom { max-width: 1200px; margin: 40px auto 0 auto; padding: 30px 20px 0 20px; border-top: 1px solid var(--border-dark); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); }

    @media (max-width: 768px) {
      .nav-menu, .nav-actions { display: none; }
      .menu-toggle { display: block; }
      .tags-index-grid { padding: 24px; }
      .footer-container { grid-template-columns: 1fr; }
    }