﻿:root {
      --primary: #1D7BFF;
      --accent: rgb(80,250,123);
      --bg-dark: #070c19;
      --bg-card: #111827;
      --text-main: #f3f4f6;
      --text-muted: #9ca3af;
      --border-color: rgba(255, 255, 255, 0.08);
      --text-light-silver: #e2e8f0;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: -apple-system, sans-serif;
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: color 0.3s; }

    
    header {
      background: rgba(7, 12, 25, 0.9);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 1000;
      height: 70px;
    }
    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      height: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 38px; }
    .logo span { font-size: 18px; font-weight: 800; color: var(--text-light-silver); }
    .nav-menu { display: flex; align-items: center; gap: 24px; }
    .nav-menu a { color: var(--text-muted); font-size: 15px; }
    .nav-menu a:hover { color: var(--accent); }
    .menu-toggle-btn { display: none; background: none; border: none; color: var(--text-main); font-size: 24px; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1001; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .mobile-drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: var(--bg-card); transition: 0.3s; z-index: 1002; padding: 24px; }
    .mobile-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-muted); font-size: 24px; }
    .drawer-menu { display: flex; flex-direction: column; gap: 20px; }

    
    .tag-header-area {
      background: linear-gradient(135deg, rgba(29,123,255,0.06) 0%, rgba(7,12,25,0.8) 100%);
      padding: 60px 20px;
      border-bottom: 1px solid var(--border-color);
    }
    .tag-header-content { max-width: 1200px; margin: 0 auto; }
    .tag-title-h1 { font-size: 32px; color: var(--text-light-silver); font-weight: 800; margin-bottom: 10px; }
    .tag-title-h1 span { color: var(--accent); }
    .tag-description { color: var(--text-muted); font-size: 15px; }

    
    .tag-list-layout { max-width: 1200px; margin: 50px auto 100px; padding: 0 20px; display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; }
    .tag-main-flow { display: flex; flex-direction: column; gap: 24px; }
    
    .tag-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      transition: all 0.3s;
    }
    .tag-card:hover { transform: translateY(-3px); border-color: rgba(29, 123, 255, 0.4); }
    .tag-card-img { width: 240px; height: 160px; object-fit: cover; flex-shrink: 0; }
    .tag-card-body { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
    .tag-card-body h3 { font-size: 18px; color: var(--text-light-silver); margin-bottom: 8px; }
    .tag-card-body p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
    .tag-card-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); }

    .tag-sidebar-widget { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
    .widget-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 10px; }
    .hot-item-sidebar { margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.03); padding-bottom: 10px; }
    .hot-item-sidebar h4 { font-size: 13px; color: var(--text-light-silver); line-height: 1.4; margin-bottom: 4px; }
    .hot-item-sidebar h4:hover { color: var(--accent); }
    .hot-item-sidebar span { font-size: 11px; color: var(--text-muted); }

    .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
    .pagination a { padding: 10px 16px; border-radius: 6px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-muted); }
    .pagination .active { background: var(--primary); color: #fff; }

    
    footer {
      background: #050811;
      border-top: 1px solid var(--border-color);
      padding: 80px 20px 40px;
      color: var(--text-muted);
    }
    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr repeat(3, 1fr);
      gap: 40px;
      margin-bottom: 60px;
    }
    .footer-brand p { margin-top: 15px; font-size: 14px; }
    .footer-group h4 { color: var(--text-light-silver); font-size: 16px; margin-bottom: 20px; }
    .footer-group ul { list-style: none; }
    .footer-group ul li { margin-bottom: 10px; }
    .footer-group ul li a { font-size: 14px; }
    .footer-group ul li a:hover { color: var(--accent); }
    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      padding-top: 30px;
      border-top: 1px solid var(--border-color);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
    }

    @media (max-width: 1024px) {
      .tag-list-layout { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .menu-toggle-btn { display: block; }
      .tag-card { flex-direction: column; }
      .tag-card-img { width: 100%; height: 180px; }
      .footer-container { grid-template-columns: 1fr; gap: 30px; }
    }