﻿:root {
      --primary: rgb(79,70,229);
      --primary-hover: #4338ca;
      --glacier-blue: #1D7BFF;
      --silver-white: #f8fafc;
      --deep-sea: #0B0F19;
      --dark-card: #151D30;
      --border-color: rgba(255, 255, 255, 0.08);
      --text-main: #f3f4f6;
      --text-muted: #9ca3af;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background-color: var(--deep-sea);
      color: var(--text-main);
      line-height: 1.6;
      overflow-x: hidden;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }
    ul, li {
      list-style: none;
    }
    img {
      max-width: 100%;
      height: auto;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    
    .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);
      transition: var(--transition);
    }
    .header-nav {
      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: 20px;
      font-weight: 800;
      line-height: 1;
      color: #fff;
      white-space: nowrap;
      letter-spacing: 0.5px;
    }
    .nav-list {
      display: flex;
      gap: 32px;
    }
    .nav-list a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-muted);
    }
    .nav-list a:hover {
      color: var(--glacier-blue);
    }
    .nav-btn {
      background: var(--glacier-blue);
      color: #fff;
      padding: 8px 18px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 600;
    }
    .nav-btn:hover {
      background: #1462d4;
    }

    
    .nav-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
      padding: 5px;
    }
    .nav-toggle span {
      display: block;
      width: 24px;
      height: 2px;
      background-color: #fff;
      transition: var(--transition);
    }

    
    .drawer {
      position: fixed;
      top: 0;
      left: -100%;
      width: 300px;
      height: 100vh;
      background: var(--deep-sea);
      z-index: 1000;
      box-shadow: 4px 0 24px rgba(0,0,0,0.5);
      transition: var(--transition);
      padding: 30px 20px;
      display: flex;
      flex-direction: column;
      gap: 40px;
      border-right: 1px solid var(--border-color);
    }
    .drawer.active {
      left: 0;
    }
    .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: 999;
      display: none;
    }
    .drawer-overlay.active {
      display: block;
    }
    .drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .drawer-close {
      font-size: 28px;
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
    }
    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .drawer-nav a {
      font-size: 16px;
      font-weight: 500;
      color: var(--text-muted);
      padding: 8px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .drawer-nav a:hover {
      color: var(--glacier-blue);
      padding-left: 8px;
    }

    
    .inner-hero {
      padding-top: 130px;
      padding-bottom: 40px;
      background: #0d1322;
      border-bottom: 1px solid var(--border-color);
    }
    .breadcrumbs {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 16px;
    }
    .breadcrumbs a {
      color: var(--text-muted);
    }
    .breadcrumbs a:hover {
      color: var(--glacier-blue);
    }
    .breadcrumbs span {
      margin: 0 8px;
    }

    
    .article-layout {
      padding: 60px 0;
      display: grid;
      grid-template-columns: 2.5fr 1fr;
      gap: 40px;
    }
    .article-post {
      background: var(--dark-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 40px;
    }
    .post-header {
      border-bottom: 1px solid rgba(255,255,255,0.06);
      padding-bottom: 30px;
      margin-bottom: 30px;
    }
    .post-title {
      font-size: 32px;
      font-weight: 800;
      color: #fff;
      line-height: 1.35;
      margin-bottom: 20px;
    }
    .post-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      font-size: 13px;
      color: var(--text-muted);
    }
    .post-meta span {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    
    .post-body {
      color: var(--text-main);
      font-size: 16px;
      line-height: 1.8;
    }
    .post-body p {
      margin-bottom: 24px;
    }
    .post-body h2 {
      font-size: 24px;
      color: #fff;
      margin-top: 40px;
      margin-bottom: 20px;
    }
    .post-body h3 {
      font-size: 20px;
      color: #fff;
      margin-top: 30px;
      margin-bottom: 16px;
    }
    .post-body blockquote {
      border-left: 4px solid var(--glacier-blue);
      background: rgba(29,123,255,0.04);
      padding: 20px;
      border-radius: 4px;
      margin-bottom: 24px;
      font-style: italic;
    }
    .post-body img {
      border-radius: 8px;
      margin: 20px 0;
    }

    
    .post-navigation {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid rgba(255,255,255,0.06);
      padding-top: 30px;
      margin-top: 50px;
      gap: 20px;
    }
    .prev-link, .next-link {
      flex: 1;
      background: rgba(255,255,255,0.01);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 16px;
      transition: var(--transition);
    }
    .prev-link:hover, .next-link:hover {
      border-color: var(--glacier-blue);
    }
    .post-nav-label {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 6px;
    }
    .post-nav-title {
      font-size: 14px;
      font-weight: 700;
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    
    .related-section {
      margin-top: 50px;
    }
    .related-title {
      font-size: 20px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 24px;
    }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }
    .related-card {
      background: var(--dark-card);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      overflow: hidden;
      transition: var(--transition);
    }
    .related-card:hover {
      border-color: var(--glacier-blue);
    }
    .related-img {
      height: 120px;
      overflow: hidden;
    }
    .related-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .related-content {
      padding: 16px;
    }
    .related-post-title {
      font-size: 14px;
      font-weight: 700;
      color: #fff;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
    .widget {
      background: var(--dark-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 24px;
    }
    .widget-title {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 20px;
      border-left: 3px solid var(--glacier-blue);
      padding-left: 12px;
    }
    .widget-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .widget-item a {
      font-size: 14px;
      color: var(--text-muted);
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .widget-item a:hover {
      color: var(--glacier-blue);
    }

    
    .footer {
      background: #060911;
      border-top: 1px solid var(--border-color);
      padding: 80px 0 40px;
      color: var(--text-muted);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr repeat(3, 1fr);
      gap: 40px;
      margin-bottom: 60px;
    }
    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .footer-brand p {
      font-size: 14px;
      max-width: 320px;
    }
    .footer-title {
      font-size: 16px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 20px;
    }
    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-links a {
      font-size: 14px;
    }
    .footer-links a:hover {
      color: var(--glacier-blue);
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.05);
      padding-top: 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
    }

    @media (max-width: 1024px) {
      .article-layout {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 768px) {
      .nav-list, .nav-btn { display: none; }
      .nav-toggle { display: flex; }
      .article-post {
        padding: 24px;
      }
      .post-title {
        font-size: 24px;
      }
      .post-navigation {
        flex-direction: column;
      }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    }