﻿:root {
      --primary-color: #1D7BFF;
      --secondary-color: rgb(168,85,247);
      --bg-dark: #070B14;
      --bg-card: #0F1626;
      --text-main: #E2E8F0;
      --text-muted: #94A3B8;
      --border-color: #1E293B;
      --glacier-white: #F8FAFC;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      background-color: var(--bg-dark);
      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 {
      background: rgba(15, 22, 38, 0.95);
      border-bottom: 1px solid var(--border-color);
      position: sticky; top: 0; z-index: 100;
      backdrop-filter: blur(8px);
    }
    .header-container {
      max-width: 1200px; margin: 0 auto; padding: 15px 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; object-fit: contain; flex-shrink: 0; }
    .logo span {
      display: inline-block; font-size: 20px; font-weight: 800;
      line-height: 1; color: var(--glacier-white); white-space: nowrap;
      background: linear-gradient(135deg, #1D7BFF, rgb(168,85,247));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    nav.nav-desktop { display: flex; align-items: center; gap: 24px; }
    nav.nav-desktop a { color: var(--text-muted); font-weight: 500; font-size: 15px; }
    nav.nav-desktop a:hover { color: var(--primary-color); }
    .menu-toggle { display: none; background: none; border: none; color: var(--text-main); font-size: 24px; cursor: pointer; }

    
    .breadcrumb-wrap { background: rgba(15,22,38,0.5); border-bottom: 1px solid var(--border-color); padding: 15px 20px; }
    .breadcrumbs { max-width: 1200px; margin: 0 auto; font-size: 14px; color: var(--text-muted); }
    .breadcrumbs a { margin: 0 5px; }
    .breadcrumbs a:hover { color: var(--primary-color); }

    
    .article-wrap { max-width: 1200px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 2.5fr 1fr; gap: 30px; }
    
    .article-body { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; }
    .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 24px; margin-bottom: 30px; }
    .article-header h1 { font-size: 32px; color: var(--glacier-white); font-weight: 800; margin-bottom: 20px; line-height: 1.3; }
    .article-meta-info { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); }
    .meta-tag-link a { color: var(--primary-color); background: rgba(29, 123, 255, 0.1); padding: 4px 10px; border-radius: 4px; }

    .article-content { color: #E2E8F0; font-size: 16px; line-height: 1.8; }
    .article-content p { margin-bottom: 24px; }
    .article-content h2, .article-content h3 { color: var(--glacier-white); margin-top: 40px; margin-bottom: 20px; }
    .article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; border: 1px solid var(--border-color); }

    
    .prev-next-box { display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); margin-top: 50px; padding-top: 30px; gap: 20px; }
    .prev-next-link { flex: 1; padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; background: rgba(255,255,255,0.02); }
    .prev-next-link:hover { border-color: var(--primary-color); }
    .prev-next-label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
    .prev-next-title { font-size: 14px; color: var(--glacier-white); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    
    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .sidebar-widget { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
    .widget-title { font-size: 18px; color: var(--glacier-white); font-weight: 700; margin-bottom: 18px; border-left: 3px solid var(--primary-color); padding-left: 10px; }
    
    .related-list { display: flex; flex-direction: column; gap: 16px; }
    .related-item { display: flex; gap: 12px; }
    .related-img { width: 80px; height: 60px; border-radius: 6px; object-fit: cover; background: #161F30; flex-shrink: 0; }
    .related-info { display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
    .related-title { font-size: 14px; color: var(--glacier-white); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .related-meta { font-size: 11px; color: var(--text-muted); }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 999; display: none; backdrop-filter: blur(4px); }
    .drawer-overlay.active { display: block; }
    .drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: var(--bg-card); border-right: 1px solid var(--border-color); z-index: 1000; transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); padding: 30px 20px; display: flex; flex-direction: column; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
    .drawer-close { background: none; border: none; color: var(--text-main); font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 18px; color: var(--text-muted); font-weight: 500; }
    .drawer-nav a:hover, .drawer-nav a.active { color: var(--primary-color); }

    
    footer { background: #070B14; border-top: 1px solid var(--border-color); padding: 60px 20px 30px; margin-top: 60px; }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
    .footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 15px; line-height: 1.6; }
    .footer-title { font-size: 16px; color: var(--glacier-white); font-weight: 600; margin-bottom: 20px; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 10px; }
    .footer-links a { color: var(--text-muted); font-size: 14px; }
    .footer-links a:hover { color: var(--primary-color); }
    .footer-info { color: var(--text-muted); font-size: 14px; }
    .footer-info p { margin-bottom: 10px; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border-color); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); }

    @media (max-width: 992px) {
      .article-wrap { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      nav.nav-desktop { display: none; }
      .menu-toggle { display: block; }
      .footer-container { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    }