﻿:root {
      --primary: #1D7BFF;
      --accent: rgb(225,29,72);
      --bg-dark: #0B0F19;
      --bg-card: rgba(17, 24, 39, 0.7);
      --border-color: rgba(29, 123, 255, 0.15);
      --text-main: #E2E8F0;
      --text-muted: #94A3B8;
      --glacier-white: #F8FAFC;
      --max-width: 1200px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { background-color: var(--bg-dark); color: var(--text-main); font-family: -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.8; }
    a { color: inherit; text-decoration: none; transition: 0.3s; }
    header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
    .nav-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
    .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: 20px; font-weight: 800; color: var(--glacier-white); }
    .nav-menu { display: flex; align-items: center; gap: 28px; }
    .nav-menu a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .btn-download { background: linear-gradient(135deg, var(--primary), #0052D4); color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; }
    
    .menu-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
    .menu-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-main); }
    .drawer-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 199; opacity: 0; pointer-events: none; transition: 0.3s; }
    .drawer-backdrop.active { opacity: 1; pointer-events: auto; }
    .mobile-drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: var(--bg-dark); border-right: 1px solid var(--border-color); z-index: 200; padding: 24px; display: flex; flex-direction: column; gap: 32px; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; color: var(--text-muted); font-size: 24px; }

    
    .article-container { max-width: 900px; margin: 120px auto 60px auto; padding: 0 20px; }
    .breadcrumbs { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; display: flex; gap: 8px; }
    .breadcrumbs a:hover { color: var(--primary); }

    .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 24px; margin-bottom: 40px; }
    .article-header h1 { font-size: 36px; color: var(--glacier-white); line-height: 1.3; margin-bottom: 20px; font-weight: 800; }
    .article-meta-info { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); }
    .meta-item { display: flex; align-items: center; gap: 6px; }

    .article-body { font-size: 16px; color: #CBD5E1; }
    .article-body p { margin-bottom: 24px; text-indent: 2em; }
    .article-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 20px 0; border: 1px solid var(--border-color); }
    
    .article-tags-wrap { margin-top: 40px; display: flex; gap: 10px; flex-wrap: wrap; }
    .tag-link { background: rgba(29,123,255,0.1); color: var(--primary); padding: 4px 12px; border-radius: 6px; font-size: 13px; }
    .tag-link:hover { background: var(--primary); color: white; }

    
    .prev-next-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 24px 0; margin: 60px 0; }
    .pn-item { display: flex; flex-direction: column; gap: 6px; }
    .pn-item span { font-size: 12px; color: var(--text-muted); }
    .pn-item a { font-size: 15px; font-weight: 700; color: var(--glacier-white); }
    .pn-item a:hover { color: var(--primary); }
    .pn-item.text-right { text-align: right; }

    
    .related-section { margin-top: 60px; }
    .related-title { font-size: 20px; color: var(--glacier-white); margin-bottom: 24px; border-left: 3px solid var(--primary); padding-left: 12px; font-weight: 700; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .related-card { background: rgba(17, 24, 39, 0.4); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
    .related-thumb { position: relative; padding-top: 56.25%; }
    .related-thumb img { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; }
    .related-info { padding: 16px; }
    .related-card-title { font-size: 14px; font-weight: 700; color: var(--glacier-white); line-height: 1.4; display: block; }
    .related-card-title:hover { color: var(--primary); }

    
    footer { background: #06090F; border-top: 1px solid var(--border-color); padding: 80px 0 40px 0; color: var(--text-muted); margin-top: 100px; }
    .footer-grid { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-brand p { margin-top: 16px; font-size: 14px; max-width: 280px; }
    .footer-links h4 { color: var(--glacier-white); font-size: 16px; margin-bottom: 20px; }
    .footer-links ul { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { font-size: 14px; }
    .footer-links a:hover { color: var(--primary); }
    .footer-bottom { max-width: var(--max-width); margin: 0 auto; padding: 40px 20px 0 20px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; }

    @media (max-width: 768px) {
      .nav-menu, .nav-actions { display: none; }
      .menu-toggle { display: flex; }
      .related-grid { grid-template-columns: 1fr; }
      .prev-next-links { grid-template-columns: 1fr; gap: 24px; }
      .pn-item.text-right { text-align: left; }
    }