﻿:root {
      --primary: #1D7BFF;
      --primary-glow: rgba(29, 123, 255, 0.35);
      --bg-dark: rgb(32,33,36);
      --bg-deep: #141517;
      --bg-card: rgba(255, 255, 255, 0.03);
      --bg-card-hover: rgba(255, 255, 255, 0.06);
      --text-light: #f5f5f7;
      --text-gray: #a1a1a6;
      --text-muted: #6e6e73;
      --border-color: rgba(255,255,255,0.08);
      --glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    
    .site-header {
      background: rgba(32, 33, 36, 0.85);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border-color);
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
    }
    .header-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    .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: 18px;
      font-weight: 800;
      line-height: 1;
      color: var(--text-light);
      white-space: nowrap;
      letter-spacing: 0.5px;
    }
    .desktop-nav {
      display: flex;
      gap: 24px;
    }
    .nav-item {
      color: var(--text-gray);
      font-size: 15px;
      font-weight: 500;
    }
    .nav-item:hover {
      color: var(--primary);
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 20px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
    }
    .btn-primary {
      background: var(--primary);
      color: #fff;
    }
    .btn-primary:hover {
      background: #1062d4;
      box-shadow: 0 0 15px var(--primary-glow);
    }
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      gap: 6px;
    }
    .menu-toggle span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--text-light);
      transition: 0.3s;
    }

    
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(5px);
      z-index: 1100;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    .drawer-nav {
      position: fixed;
      top: 0;
      left: -300px;
      width: 300px;
      height: 100%;
      background: var(--bg-deep);
      z-index: 1200;
      box-shadow: var(--glow);
      transition: all 0.3s ease;
      padding: 24px;
      display: flex;
      flex-direction: column;
    }
    .drawer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;
    }
    .drawer-close {
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 28px;
      cursor: pointer;
    }
    .mobile-nav {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .mobile-nav a {
      font-size: 18px;
      color: var(--text-gray);
      font-weight: 500;
    }
    .mobile-nav a:hover {
      color: var(--primary);
    }
    body.drawer-active .drawer-overlay {
      opacity: 1;
      visibility: visible;
    }
    body.drawer-active .drawer-nav {
      left: 0;
    }

    
    .breadcrumb-section {
      padding: 100px 0 20px;
      background: var(--bg-deep);
      border-bottom: 1px solid var(--border-color);
    }
    .breadcrumbs {
      font-size: 14px;
      color: var(--text-gray);
    }
    .breadcrumbs a {
      color: var(--text-muted);
    }
    .breadcrumbs a:hover {
      color: var(--primary);
    }

    
    .article-wrapper {
      padding: 60px 0 100px;
    }
    .article-container {
      display: grid;
      grid-template-columns: 2.5fr 1fr;
      gap: 40px;
    }
    .article-detail-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 40px;
    }
    .detail-header {
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 24px;
      margin-bottom: 30px;
    }
    .detail-title {
      font-size: 30px;
      font-weight: 700;
      line-height: 1.4;
      margin-bottom: 20px;
      color: var(--text-light);
    }
    .detail-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      font-size: 13px;
      color: var(--text-muted);
    }
    .detail-body {
      font-size: 16px;
      color: var(--text-gray);
      line-height: 1.8;
    }
    .detail-body p {
      margin-bottom: 20px;
    }
    .detail-body img {
      max-width: 100%;
      border-radius: 8px;
      margin: 20px 0;
    }

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

    
    .prev-next-box {
      margin-top: 40px;
      padding: 24px;
      background: rgba(255,255,255,0.01);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .prev-next-item {
      font-size: 14px;
      color: var(--text-gray);
    }
    .prev-next-item a {
      color: var(--primary);
    }

    
    .related-section {
      margin-top: 60px;
    }
    .related-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 24px;
    }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }
    .related-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 20px;
      display: flex;
      flex-direction: column;
    }
    .related-card h4 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 10px;
      color: var(--text-light);
    }
    .related-card p {
      font-size: 13px;
      color: var(--text-gray);
      flex-grow: 1;
      margin-bottom: 12px;
    }

    
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }
    .widget {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 24px;
    }
    .widget-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 10px;
      color: var(--text-light);
    }
    .hot-list {
      list-style: none;
    }
    .hot-item {
      display: flex;
      gap: 12px;
      margin-bottom: 16px;
      align-items: center;
    }
    .hot-num {
      width: 24px;
      height: 24px;
      background: rgba(255,255,255,0.05);
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-gray);
    }
    .hot-item:nth-child(1) .hot-num { background: var(--primary); color: #fff; }
    .hot-item:nth-child(2) .hot-num { background: rgba(29, 123, 255, 0.6); color: #fff; }
    .hot-item:nth-child(3) .hot-num { background: rgba(29, 123, 255, 0.3); color: #fff; }
    .hot-link {
      font-size: 14px;
      color: var(--text-gray);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex-grow: 1;
    }
    .hot-link:hover { color: var(--primary); }

    
    .site-footer {
      background: var(--bg-deep);
      border-top: 1px solid var(--border-color);
      padding: 80px 0 30px;
    }
    .footer-container {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 60px;
    }
    .footer-info .logo {
      margin-bottom: 20px;
    }
    .footer-desc {
      color: var(--text-gray);
      font-size: 14px;
      line-height: 1.8;
    }
    .site-footer h4 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 24px;
      color: var(--text-light);
    }
    .site-footer ul {
      list-style: none;
    }
    .site-footer ul li {
      margin-bottom: 12px;
    }
    .site-footer ul li a {
      color: var(--text-gray);
      font-size: 14px;
    }
    .site-footer ul li a:hover {
      color: var(--primary);
    }
    .footer-tag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .footer-tag-item {
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border-color);
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 12px;
      color: var(--text-gray);
    }
    .footer-tag-item:hover {
      border-color: var(--primary);
      color: var(--primary);
    }
    .footer-contact p {
      font-size: 14px;
      color: var(--text-gray);
      margin-bottom: 10px;
    }
    .social-links {
      margin-top: 20px;
    }
    .social-icon {
      display: inline-flex;
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border-color);
      padding: 8px 16px;
      border-radius: 6px;
      font-size: 13px;
      color: var(--text-light);
    }
    .social-icon:hover {
      background: var(--primary);
      border-color: var(--primary);
    }
    .footer-bottom {
      border-top: 1px solid var(--border-color);
      padding-top: 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
      font-size: 13px;
      color: var(--text-muted);
    }

    @media (max-width: 991px) {
      .article-container { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .desktop-nav, .header-actions .btn { display: none; }
      .menu-toggle { display: flex; }
      .article-detail-card { padding: 20px; }
      .footer-container { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }