﻿:root {
      --primary: #1D7BFF;
      --accent: rgb(255,184,108);
      --bg-dark: #0A0F1D;
      --bg-card-dark: #121829;
      --bg-light: #F8FAFC;
      --bg-card-light: #FFFFFF;
      --text-dark: #0F172A;
      --text-light: #F8FAFC;
      --text-muted: #64748B;
      --border-color: rgba(29, 123, 255, 0.15);
      --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font); background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
    
    
    .site-header { background: var(--bg-dark); border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); }
    .header-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
    .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
    .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
    .logo span { display: inline-block; font-size: 18px; font-weight: 800; line-height: 1; color: var(--text-light); white-space: nowrap; }
    .desktop-nav { display: flex; align-items: center; gap: 24px; }
    .desktop-nav a { color: #94A3B8; text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.3s; }
    .desktop-nav a:hover { color: var(--accent); }
    .header-right { display: flex; align-items: center; gap: 16px; }
    .btn-download-top { background: var(--accent); color: #0F172A; font-weight: 600; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-size: 14px; transition: transform 0.3s, box-shadow 0.3s; }
    .btn-download-top:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,184,108,0.3); }
    .drawer-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 4px; }
    .drawer-toggle span { display: block; width: 24px; height: 2px; background: var(--text-light); transition: 0.3s; }

    
    .drawer-mask { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
    .drawer-mask.active { opacity: 1; pointer-events: auto; }
    .mobile-drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100vh; background: var(--bg-dark); z-index: 999; box-shadow: 5px 0 25px rgba(0,0,0,0.5); transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; padding: 24px; }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
    .drawer-close { background: none; border: none; font-size: 28px; color: var(--text-light); cursor: pointer; line-height: 1; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; margin-bottom: auto; }
    .drawer-nav a { color: #94A3B8; text-decoration: none; font-size: 16px; font-weight: 500; transition: color 0.3s; padding: 4px 0; }
    .drawer-nav a:hover { color: var(--accent); }
    .drawer-footer { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; font-size: 13px; color: #64748B; }
    .drawer-footer p { margin-bottom: 6px; }

    
    .tag-hero { background: linear-gradient(135deg, #0B0F19 0%, #1E293B 100%); color: var(--text-light); padding: 60px 0; margin-bottom: 50px; text-align: center; }
    .tag-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
    .tag-hero p { font-size: 15px; color: #94A3B8; max-width: 600px; margin: 0 auto; }

    
    .tag-articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 80px; }
    .tag-article-card { background: #FFF; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s; }
    .tag-article-card:hover { transform: translateY(-4px); }
    .tag-article-img { width: 100%; height: 200px; object-fit: cover; background-color: #E2E8F0; }
    .tag-article-content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
    .tag-article-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
    .tag-article-card h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; }
    .tag-article-card h3 a { text-decoration: none; color: inherit; }
    .tag-article-card h3 a:hover { color: var(--primary); }
    .tag-article-desc { 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; }

    
    .pagination-wrap { display: flex; justify-content: center; gap: 8px; margin-top: 40px; margin-bottom: 80px; }
    .pagination-wrap a, .pagination-wrap span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border-color); text-decoration: none; font-size: 14px; color: var(--text-dark); font-weight: 500; transition: 0.3s; }
    .pagination-wrap a:hover { background: var(--primary); color: #FFF; border-color: var(--primary); }
    .pagination-wrap .is-current { background: var(--primary); color: #FFF; border-color: var(--primary); }

    
    .site-footer { background: #0B0F19; color: #94A3B8; padding: 80px 0 30px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 14px; }
    .footer-container { display: grid; grid-template-columns: 1.5fr repeat(2, 1fr); gap: 60px; margin-bottom: 60px; }
    .footer-brand-section .logo { margin-bottom: 20px; }
    .footer-brand-section .logo span { color: #FFF; }
    .footer-desc { line-height: 1.7; margin-bottom: 20px; color: #64748B; }
    .footer-contact { font-weight: 500; color: var(--text-light); }
    .footer-links-grid h4 { color: var(--text-light); font-size: 16px; font-weight: 700; margin-bottom: 24px; }
    .footer-links-grid ul { list-style: none; }
    .footer-links-grid ul li { margin-bottom: 12px; }
    .footer-links-grid ul li a { color: #94A3B8; text-decoration: none; transition: color 0.3s; }
    .footer-links-grid ul li a:hover { color: var(--accent); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; }
    .footer-bottom-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
    .footer-socials a { color: var(--accent); text-decoration: none; font-weight: 600; }

    @media (max-width: 1024px) {
      .desktop-nav, .header-right .btn-download-top { display: none; }
      .drawer-toggle { display: flex; }
      .tag-articles-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 640px) {
      .tag-articles-grid { grid-template-columns: 1fr; }
    }