﻿: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; }

    
    .breadcrumbs-bar { background: #FFF; border-bottom: 1px solid var(--border-color); padding: 16px 0; font-size: 14px; }
    .breadcrumbs-content { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
    .breadcrumbs-content a { color: var(--primary); text-decoration: none; }
    .breadcrumbs-content span.divider { color: #CBD5E1; }

    
    .article-layout { display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; margin-top: 40px; margin-bottom: 80px; }
    .article-main { background: #FFF; border: 1px solid var(--border-color); border-radius: 12px; padding: 40px; }
    .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 24px; margin-bottom: 32px; }
    .article-header h1 { font-size: 32px; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; line-height: 1.3; }
    .article-meta-info { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); }
    
    .article-body-content { font-size: 16px; color: #334155; line-height: 1.8; }
    .article-body-content p { margin-bottom: 24px; }
    .article-body-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }

    .article-tags-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0; border-top: 1px dashed var(--border-color); padding-top: 24px; }
    .tag-link-item { background: rgba(29, 123, 255, 0.08); color: var(--primary); font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 6px; text-decoration: none; transition: 0.3s; }
    .tag-link-item:hover { background: var(--primary); color: #FFF; }

    
    .prev-next-section { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border-color); padding-top: 24px; margin-top: 40px; }
    .nav-link { max-width: 48%; text-decoration: none; }
    .nav-label { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 4px; }
    .nav-title { font-size: 15px; font-weight: 700; color: var(--text-dark); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .nav-link:hover .nav-title { color: var(--primary); }

    
    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .sidebar-widget { background: #FFF; border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
    .sidebar-widget h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
    
    .related-articles-list { display: flex; flex-direction: column; gap: 16px; }
    .related-item { display: flex; gap: 12px; text-decoration: none; }
    .related-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background-color: #E2E8F0; }
    .related-item-info h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .related-item:hover h4 { 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; }
      .article-layout { grid-template-columns: 1fr; }
    }