﻿:root {
      --primary: #1D7BFF;
      --secondary: rgb(37,99,235);
      --bg-dark: #0B132B;
      --bg-deep: #060B18;
      --bg-light: #F4F7FA;
      --text-dark: #1E293B;
      --text-light: #F8FAFC;
      --text-muted: #64748B;
      --border-color: rgba(226, 232, 240, 0.1);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background-color: var(--bg-light);
      color: var(--text-dark);
      line-height: 1.8;
    }
    a { color: inherit; text-decoration: none; }
    
    
    header {
      background-color: var(--bg-dark);
      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: 0 20px;
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { display: inline-block; font-size: 18px; font-weight: 800; color: var(--text-light); }
    nav.desktop-nav { display: flex; align-items: center; gap: 24px; }
    nav.desktop-nav a { color: #94A3B8; font-size: 15px; font-weight: 500; transition: color 0.3s; }
    nav.desktop-nav a:hover { color: var(--primary); }
    .nav-btn {
      background-color: var(--primary);
      color: white;
      padding: 8px 18px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 600;
      transition: background 0.3s;
    }
    .nav-btn:hover { background-color: var(--secondary); }
    .hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
    .hamburger span { display: block; width: 24px; height: 2px; background-color: var(--text-light); }
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
    }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background-color: var(--bg-dark);
      z-index: 1001;
      transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
      padding: 24px;
    }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
    .drawer-close { background: none; border: none; color: var(--text-light); font-size: 24px; cursor: pointer; }
    .drawer-menu { display: flex; flex-direction: column; gap: 20px; }
    .drawer-menu a {
      color: #94A3B8;
      font-size: 16px;
      font-weight: 500;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--border-color);
    }

    
    .article-container {
      max-width: 800px;
      margin: 40px auto;
      padding: 0 20px;
    }
    .breadcrumb-box {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 20px;
    }
    .breadcrumb-box a:hover { color: var(--primary); }
    .article-header {
      border-bottom: 1px solid #E2E8F0;
      padding-bottom: 20px;
      margin-bottom: 30px;
    }
    .article-header h1 {
      font-size: 32px;
      line-height: 1.3;
      margin-bottom: 15px;
      color: var(--text-dark);
    }
    .article-info-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      font-size: 13px;
      color: var(--text-muted);
    }
    .article-info-bar span a {
      color: var(--primary);
    }
    .article-body {
      font-size: 16px;
      color: #334155;
      margin-bottom: 40px;
    }
    .article-body p { margin-bottom: 20px; }
    .article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 15px 0; }

    
    .article-tags-wrap {
      margin-top: 30px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .tag-link-btn {
      background: rgba(29, 123, 255, 0.08);
      color: var(--primary);
      padding: 4px 12px;
      border-radius: 4px;
      font-size: 13px;
    }

    
    .prev-next-box {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      border-top: 1px solid #E2E8F0;
      border-bottom: 1px solid #E2E8F0;
      padding: 20px 0;
      margin: 40px 0;
    }
    .nav-link { font-size: 14px; color: var(--text-muted); }
    .nav-link a { display: block; font-size: 16px; color: var(--text-dark); font-weight: 500; margin-top: 5px; }
    .nav-link a:hover { color: var(--primary); }

    
    .related-section h3 { font-size: 20px; margin-bottom: 20px; color: var(--text-dark); }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 60px;
    }
    .related-card {
      background: #fff;
      border: 1px solid #E2E8F0;
      border-radius: 8px;
      overflow: hidden;
      font-size: 14px;
    }
    .related-card img { width: 100%; height: 120px; object-fit: cover; }
    .related-card-content { padding: 15px; }
    .related-card h4 { margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; }
    .related-card h4 a { color: var(--text-dark); }
    .related-card h4 a:hover { color: var(--primary); }

    
    footer {
      background-color: #0B132B;
      color: #94A3B8;
      padding: 60px 20px 30px 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr repeat(3, 1fr);
      gap: 40px;
      margin-bottom: 50px;
    }
    .footer-brand .logo { margin-bottom: 20px; }
    .footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 12px; }
    .footer-col ul li a { font-size: 14px; transition: color 0.3s; }
    .footer-col ul li a:hover { color: var(--primary); }
    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 30px;
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      flex-wrap: wrap;
      gap: 15px;
    }

    @media (max-width: 768px) {
      .hamburger { display: flex; }
      .desktop-nav { display: none; }
      .related-grid { grid-template-columns: 1fr; }
      .prev-next-box { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr; }
    }