﻿:root {
      --primary: #1D7BFF;
      --bg-dark: #0B0F19;
      --bg-card: #151D30;
      --text-light: #F3F4F6;
      --text-muted: #9CA3AF;
      --border-color: rgba(255, 255, 255, 0.08);
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg-dark);
      color: var(--text-light);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
    
    
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(11, 15, 25, 0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }
    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      height: 70px;
      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;
      flex-shrink: 0;
    }
    .logo span {
      display: inline-block;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: 1px;
      background: linear-gradient(135deg, #FFF, var(--primary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .nav-list {
      display: flex;
      gap: 30px;
      align-items: center;
    }
    .nav-list a {
      font-weight: 500;
      font-size: 15px;
      color: var(--text-muted);
    }
    .nav-list a:hover {
      color: var(--primary);
    }
    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 24px;
      cursor: pointer;
    }

    
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      z-index: 998;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    .drawer-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    .drawer {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: var(--bg-card);
      z-index: 999;
      transition: all 0.3s ease;
      box-shadow: 5px 0 15px rgba(0,0,0,0.5);
      display: flex;
      flex-direction: column;
      padding: 24px;
    }
    .drawer.active {
      left: 0;
    }
    .drawer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;
    }
    .drawer-close {
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 24px;
      cursor: pointer;
    }
    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .drawer-nav a {
      font-size: 16px;
      color: var(--text-muted);
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .drawer-nav a:hover {
      color: var(--primary);
    }

    
    .container {
      max-width: 1200px;
      margin: 40px auto;
      padding: 0 20px;
    }
    .tag-header {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 40px;
      margin-bottom: 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .tag-header h1 {
      font-size: 28px;
      color: #fff;
    }
    .tag-header h1 span {
      color: var(--primary);
    }
    .tag-count {
      font-size: 14px;
      color: var(--text-muted);
    }

    
    .article-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }
    .article-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: all 0.3s ease;
    }
    .article-card:hover {
      transform: translateY(-5px);
      border-color: var(--primary);
    }
    .article-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      background: #1f2a45;
    }
    .article-content {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .article-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 12px;
    }
    .article-card h3 {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 12px;
      line-height: 1.4;
    }
    .article-summary {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 20px;
      flex-grow: 1;
    }
    .article-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid rgba(255,255,255,0.05);
      padding-top: 15px;
    }
    .read-more {
      font-size: 14px;
      color: var(--primary);
      font-weight: 600;
    }

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

    @media (max-width: 992px) {
      .article-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .nav-list { display: none; }
      .mobile-toggle { display: block; }
      .article-grid { grid-template-columns: 1fr; }
      .tag-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    }