﻿:root {
      --primary: #1D7BFF;
      --primary-grad: linear-gradient(135deg, #1D7BFF 0%, #00C2FF 100%);
      --bg-dark: rgb(35,39,47);
      --bg-deep: #0F1115;
      --text-light: #F5F7FA;
      --text-muted: #8E9AA8;
      --glass: rgba(255, 255, 255, 0.03);
      --glass-border: rgba(255, 255, 255, 0.08);
      --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      background-color: var(--bg-deep);
      color: var(--text-light);
      font-family: var(--font);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: 0.3s; }
    img { max-width: 100%; height: auto; }
    
    
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: rgba(15, 17, 21, 0.75);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--glass-border);
    }
    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 16px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { height: 38px; width: auto; max-width: 140px; object-fit: contain; flex-shrink: 0; }
    .logo span { font-size: 18px; font-weight: 800; color: var(--text-light); }
    .nav-desk { display: flex; align-items: center; gap: 28px; }
    .nav-desk a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .nav-desk a:hover { color: var(--primary); }
    .nav-btn { background: var(--primary-grad); color: #fff; padding: 8px 18px; border-radius: 20px; font-size: 14px; font-weight: 600; }
    .menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
    .menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text-light); }

    
    .drawer { position: fixed; top: 0; left: -100%; width: 280px; height: 100%; background: var(--bg-dark); z-index: 1010; padding: 30px 24px; display: flex; flex-direction: column; gap: 30px; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); border-right: 1px solid var(--glass-border); }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; }
    .drawer-close { font-size: 24px; color: var(--text-muted); background: none; border: none; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 16px; color: var(--text-muted); padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .drawer-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1005; display: none; }
    .drawer-mask.active { display: block; }

    
    .tag-hero {
      padding: 150px 20px 60px;
      text-align: center;
      background: radial-gradient(circle at 50% 15%, rgba(29, 123, 255, 0.12) 0%, transparent 60%);
    }
    .tag-badge {
      display: inline-block;
      padding: 6px 16px;
      background: rgba(29, 123, 255, 0.1);
      border: 1px solid var(--glass-border-active);
      color: var(--primary);
      border-radius: 20px;
      font-weight: 600;
      margin-bottom: 16px;
    }
    .tag-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
    .tag-hero p { color: var(--text-muted); }

    
    .tag-list-wrap {
      max-width: 900px;
      margin: 0 auto;
      padding: 0 20px 100px;
    }
    .tag-list-grid {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .tag-article-card {
      background: var(--bg-dark);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      overflow: hidden;
      display: grid;
      grid-template-columns: 200px 1fr;
    }
    .tac-img { height: 100%; min-height: 150px; background: #1e222b; }
    .tac-img img { width: 100%; height: 100%; object-fit: cover; }
    .tac-info {
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .tac-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
    .tac-title:hover { color: var(--primary); }
    .tac-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; }
    .tac-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }

    .pagination {
      margin-top: 50px;
      display: flex;
      justify-content: center;
      gap: 10px;
    }
    .pagination a, .pagination span {
      padding: 8px 16px;
      border-radius: 8px;
      background: var(--glass);
      border: 1px solid var(--glass-border);
      font-size: 14px;
    }
    .pagination .active {
      background: var(--primary);
      border-color: var(--primary);
      color: #fff;
    }

    
    .footer {
      background: var(--bg-deep);
      border-top: 1px solid var(--glass-border);
      padding: 80px 20px 40px;
    }
    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 60px;
    }
    .footer-desc { color: var(--text-muted); font-size: 14px; margin-top: 20px; max-width: 320px; }
    .footer-title { font-size: 16px; font-weight: 700; color: var(--text-light); margin-bottom: 20px; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { color: var(--text-muted); font-size: 14px; }
    .footer-links a:hover { color: var(--primary); }
    .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); }

    @media (max-width: 1024px) {
      .footer-container { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .nav-desk { display: none; }
      .menu-toggle { display: flex; }
      .tag-article-card { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr; }
    }