﻿:root {
      --primary: #1D7BFF;
      --accent: rgb(124, 58, 237);
      --dark-bg: #0B0F19;
      --dark-card: rgba(17, 24, 39, 0.7);
      --dark-border: rgba(255, 255, 255, 0.08);
      --text-main: #F3F4F6;
      --text-muted: #9CA3AF;
      --glass-blur: blur(12px);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      background-color: var(--dark-bg);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

    
    header {
      position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
      background: rgba(11, 15, 25, 0.8); backdrop-filter: var(--glass-blur);
      border-bottom: 1px solid var(--dark-border);
    }
    .nav-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 { display: block; height: 40px; width: auto; max-width: 160px; }
    .logo span {
      display: inline-block; font-size: 20px; font-weight: 800; color: #fff;
      background: linear-gradient(to right, #fff, var(--primary));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .desktop-nav { display: flex; align-items: center; gap: 24px; }
    .desktop-nav a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .desktop-nav a:hover { color: var(--primary); }
    .nav-btn {
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      padding: 8px 18px; border-radius: 6px; color: #fff !important; font-weight: 600; font-size: 14px;
    }
    .menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

    
    .drawer {
      position: fixed; top: 0; left: -100%; width: 280px; height: 100%; background: var(--dark-bg);
      border-right: 1px solid var(--dark-border); z-index: 200; transition: all 0.4s ease; padding: 30px 20px;
      display: flex; flex-direction: column; gap: 30px;
    }
    .drawer.open { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; }
    .drawer-close { background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 18px; }
    .drawer-nav a { font-size: 16px; font-weight: 500; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--dark-border); }
    .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: 150; display: none; }
    .drawer-overlay.active { display: block; }

    
    .breadcrumb-section { padding: 120px 20px 20px; background: rgba(17, 24, 39, 0.4); border-bottom: 1px solid var(--dark-border); }
    .breadcrumb-container { max-width: 1200px; margin: 0 auto; font-size: 14px; color: var(--text-muted); }

    
    .tag-header { max-width: 1200px; margin: 40px auto 20px; padding: 0 20px; }
    .tag-title { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 8px; }
    .tag-title span { color: var(--primary); }
    .tag-count-text { font-size: 15px; color: var(--text-muted); }

    .tag-articles-container { max-width: 1200px; margin: 0 auto 80px; padding: 0 20px; }
    .articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .article-card {
      background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 12px;
      overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s ease;
    }
    .article-card:hover { transform: translateY(-5px); border-color: var(--primary); }
    .article-img-wrapper { position: relative; padding-top: 56.25%; background: #1f2937; overflow: hidden; }
    .article-img-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
    .article-content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
    .article-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
    .article-card-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
    .article-card-summary { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .article-footer { margin-top: auto; border-top: 1px solid var(--dark-border); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; }
    .article-more { font-size: 14px; font-weight: 600; color: var(--primary); }

    
    .pagination { display: flex; gap: 10px; justify-content: center; margin-top: 50px; }
    .pagination a {
      display: inline-block; padding: 10px 18px; background: var(--dark-card); border: 1px solid var(--dark-border);
      border-radius: 6px; font-size: 14px; transition: all 0.3s ease;
    }
    .pagination a:hover, .pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

    
    footer { background: #070a12; border-top: 1px solid var(--dark-border); padding: 80px 20px 30px; }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-brand { display: flex; flex-direction: column; gap: 20px; }
    .footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 320px; }
    .footer-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-links a { font-size: 14px; color: var(--text-muted); }
    .footer-links a:hover { color: var(--primary); }
    .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--dark-border); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); }

    @media (max-width: 900px) {
      .articles-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .desktop-nav { display: none; }
      .menu-toggle { display: block; }
      .articles-grid { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr; gap: 30px; }
    }