﻿:root {
      --primary-color: #1D7BFF;
      --secondary-color: rgb(191,90,242);
      --bg-deep: #0a1128;
      --bg-dark: #0f172a;
      --bg-card: rgba(30, 41, 59, 0.7);
      --border-color: rgba(255, 255, 255, 0.1);
      --text-main: #f8f9fa;
      --text-muted: #94a3b8;
      --max-width: 1200px;
    }

    * { 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, Arial, sans-serif;
      line-height: 1.6;
    }

    
    .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 70px;
      background: rgba(15, 23, 42, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      z-index: 1000;
      display: flex;
      align-items: center;
    }

    .header-container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .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;
      background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .nav-desktop { display: flex; gap: 32px; align-items: center; }
    .nav-desktop a { font-size: 15px; color: var(--text-muted); }
    .nav-desktop a:hover { color: var(--primary-color); }
    .nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
    .nav-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-main); }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1100; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
    .drawer-overlay.active { opacity: 1; pointer-events: auto; }
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: var(--bg-dark); border-right: 1px solid var(--border-color); z-index: 1200; padding: 24px; display: flex; flex-direction: column; gap: 32px; transition: left 0.3s ease; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; }
    .drawer-close { font-size: 28px; background: none; border: none; color: var(--text-muted); }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 16px; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

    
    .article-wrap {
      max-width: var(--max-width);
      margin: 120px auto 80px;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 40px;
    }

    .article-main {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 40px;
    }

    .breadcrumbs {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }

    .breadcrumbs a {
      color: var(--text-muted);
    }

    .breadcrumbs a:hover {
      color: var(--primary-color);
    }

    .article-title-section h1 {
      font-size: 32px;
      font-weight: 800;
      line-height: 1.3;
      margin-bottom: 20px;
      color: var(--text-main);
    }

    .article-meta-info {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 20px;
      font-size: 13px;
      color: var(--text-muted);
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 24px;
      margin-bottom: 30px;
    }

    .article-meta-info span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .article-body {
      font-size: 16px;
      line-height: 1.8;
      color: #e2e8f0;
    }

    .article-body p {
      margin-bottom: 24px;
    }

    .article-body img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      margin: 20px 0;
    }

    
    .inner-tags {
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid var(--border-color);
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .inner-tags span, .inner-tags a {
      background: rgba(29, 123, 255, 0.1);
      color: var(--primary-color);
      padding: 4px 12px;
      border-radius: 4px;
      font-size: 13px;
    }

    
    .post-nav {
      margin-top: 40px;
      padding-top: 30px;
      border-top: 1px solid var(--border-color);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .post-nav-item h4 {
      font-size: 12px;
      color: var(--text-muted);
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .post-nav-item p {
      font-size: 14px;
      font-weight: 600;
    }

    .post-nav-item p a:hover {
      color: var(--primary-color);
    }

    
    .sidebar-widget {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 24px;
      margin-bottom: 30px;
    }

    .sidebar-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 20px;
      border-left: 3px solid var(--primary-color);
      padding-left: 10px;
    }

    .widget-related-list {
      list-style: none;
    }

    .widget-related-item {
      padding: 12px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .widget-related-item:last-child {
      border-bottom: none;
    }

    .widget-related-item h5 {
      font-size: 14px;
      font-weight: 600;
      line-height: 1.4;
      margin-bottom: 6px;
    }

    .widget-related-item h5 a:hover {
      color: var(--primary-color);
    }

    .widget-related-item p {
      font-size: 11px;
      color: var(--text-muted);
    }

    
    .footer {
      background: var(--bg-deep);
      border-top: 1px solid var(--border-color);
      padding: 80px 0 30px;
    }

    .footer-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 2fr;
      gap: 40px;
      margin-bottom: 60px;
    }

    .footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 16px; max-width: 280px; }
    .footer-links h4, .footer-meta h4, .footer-contact h4 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
    .footer-links ul, .footer-meta ul { list-style: none; }
    .footer-links li, .footer-meta li { margin-bottom: 12px; }
    .footer-links a, .footer-meta a { color: var(--text-muted); font-size: 14px; }
    .footer-links a:hover, .footer-meta a:hover { color: var(--primary-color); }
    .footer-contact p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
    .footer-bottom {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 30px 24px 0;
      border-top: 1px solid var(--border-color);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: var(--text-muted);
    }

    @media (max-width: 991px) {
      .nav-desktop { display: none; }
      .nav-toggle { display: flex; }
      .article-wrap { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 576px) {
      .article-main { padding: 24px; }
      .article-title-section h1 { font-size: 24px; }
      .post-nav { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    }