﻿* { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --primary: #1D7BFF;
      --primary-glow: rgba(29, 123, 255, 0.35);
      --accent: #00f5ff;
      --dark-bg: #070b19;
      --card-bg: rgba(15, 23, 42, 0.7);
      --border: rgba(29, 123, 255, 0.2);
      --text: #f8fafc;
      --text-muted: #94a3b8;
      --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }
    body { background-color: var(--dark-bg); color: var(--text); font-family: var(--font); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: all 0.3s; }

    
    .header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(7, 11, 25, 0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      height: 70px;
    }
    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { font-size: 18px; font-weight: 800; color: var(--text); }
    .desktop-nav { display: flex; gap: 28px; }
    .desktop-nav a { font-size: 15px; color: var(--text-muted); font-weight: 500; }
    .desktop-nav a:hover { color: var(--accent); }
    .nav-actions { display: flex; align-items: center; gap: 16px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; border: none; }
    .btn-primary { background: linear-gradient(135deg, var(--primary), #0056b3); color: #fff; box-shadow: 0 4px 15px var(--primary-glow); }
    .menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; }
    .menu-toggle span { display: block; width: 25px; height: 2px; background-color: var(--text); }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1001; opacity: 0; pointer-events: none; transition: 0.3s; }
    .drawer-overlay.active { opacity: 1; pointer-events: auto; }
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: var(--dark-bg); border-right: 1px solid var(--border); z-index: 1002; padding: 24px; display: flex; flex-direction: column; gap: 32px; transition: 0.3s; }
    .drawer.active { left: 0; }
    .drawer-close { background: none; border: none; color: var(--text); font-size: 28px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 16px; }
    .drawer-nav a { font-size: 16px; color: var(--text-muted); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

    
    .tag-header { padding: 60px 20px; text-align: center; border-bottom: 1px solid var(--border); }
    .tag-header h1 { font-size: 32px; font-weight: 800; color: #fff; }
    .tag-header h1 span { color: var(--accent); }
    .tag-header p { font-size: 14px; color: var(--text-muted); margin-top: 10px; }

    
    .main-grid { max-width: 1200px; margin: 60px auto; padding: 0 20px; display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; }

    
    .articles-list { display: flex; flex-direction: column; gap: 30px; }
    .list-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.8fr; min-height: 220px; transition: all 0.3s; }
    .list-card:hover { border-color: var(--accent); transform: translateY(-3px); }
    .list-card-img { background-size: cover; background-position: center; background-color: rgba(29,123,255,0.1); }
    .list-card-body { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
    .list-card-meta { display: flex; gap: 15px; font-size: 12px; color: var(--text-muted); }
    .list-card-title { font-size: 18px; font-weight: 700; color: #fff; margin: 10px 0; }
    .list-card-desc { font-size: 14px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    
    .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
    .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }
    .pagination .is-current { background: var(--primary); color: #fff; border-color: var(--primary); }
    .pagination a:hover { border-color: var(--accent); color: var(--accent); }

    
    .sidebar { display: flex; flex-direction: column; gap: 40px; }
    .widget { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
    .widget-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: #fff; border-bottom: 2px solid var(--primary); padding-bottom: 8px; }
    .hot-link { display: flex; align-items: center; justify-content: space-between; font-size: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .hot-link:hover { color: var(--accent); }

    
    .footer { background: #03060f; border-top: 1px solid var(--border); padding: 80px 20px 30px; margin-top: 100px; }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px; }
    .footer-brand .footer-desc { color: var(--text-muted); font-size: 14px; margin-top: 20px; line-height: 1.8; }
    .footer-links h4, .footer-contact h4 { font-size: 16px; font-weight: 700; margin-bottom: 24px; color: #fff; }
    .footer-links ul { list-style: none; }
    .footer-links ul li { margin-bottom: 14px; }
    .footer-links ul li a { color: var(--text-muted); font-size: 14px; }
    .footer-links ul li a:hover { color: var(--accent); }
    .footer-contact p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 30px; }
    .footer-bottom-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; color: var(--text-muted); font-size: 13px; }

    @media (max-width: 992px) {
      .main-grid { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .desktop-nav { display: none; }
      .menu-toggle { display: flex; }
      .list-card { grid-template-columns: 1fr; }
      .list-card-img { height: 180px; }
      .footer-container { grid-template-columns: 1fr; }
    }