﻿:root {
      --primary: #1D7BFF;
      --bg-dark: #0B0F19;
      --bg-card: #151D30;
      --text-light: #F3F4F6;
      --text-muted: #9CA3AF;
      --border-color: rgba(255, 255, 255, 0.08);
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg-dark);
      color: var(--text-light);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
    
    
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(11, 15, 25, 0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }
    .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;
      flex-shrink: 0;
    }
    .logo span {
      display: inline-block;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: 1px;
      background: linear-gradient(135deg, #FFF, var(--primary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .nav-list {
      display: flex;
      gap: 30px;
      align-items: center;
    }
    .nav-list a {
      font-weight: 500;
      font-size: 15px;
      color: var(--text-muted);
    }
    .nav-list a:hover {
      color: var(--primary);
    }
    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 24px;
      cursor: pointer;
    }

    
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      z-index: 998;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    .drawer-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    .drawer {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: var(--bg-card);
      z-index: 999;
      transition: all 0.3s ease;
      box-shadow: 5px 0 15px rgba(0,0,0,0.5);
      display: flex;
      flex-direction: column;
      padding: 24px;
    }
    .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-light);
      font-size: 24px;
      cursor: pointer;
    }
    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .drawer-nav a {
      font-size: 16px;
      color: var(--text-muted);
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .drawer-nav a:hover {
      color: var(--primary);
    }

    
    .container {
      max-width: 1200px;
      margin: 40px auto;
      padding: 0 20px;
      display: grid;
      grid-template-columns: 8fr 4fr;
      gap: 30px;
    }
    .breadcrumbs {
      grid-column: span 2;
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 10px;
    }
    .breadcrumbs a {
      color: var(--primary);
    }
    .breadcrumbs span {
      margin: 0 8px;
    }

    
    .article-list {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .list-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      transition: all 0.3s ease;
    }
    .list-card:hover {
      border-color: var(--primary);
      transform: translateY(-3px);
    }
    .list-card-image {
      width: 250px;
      height: 180px;
      object-fit: cover;
      flex-shrink: 0;
      background: #1f2a45;
    }
    .list-card-content {
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      flex-grow: 1;
    }
    .list-card-meta {
      font-size: 12px;
      color: var(--text-muted);
      display: flex;
      gap: 15px;
    }
    .list-card h3 {
      font-size: 18px;
      font-weight: 700;
      margin-top: 10px;
      color: #fff;
    }
    .list-card p {
      font-size: 14px;
      color: var(--text-muted);
      margin-top: 10px;
    }
    .list-card-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 15px;
    }
    .list-card-tags {
      font-size: 12px;
      color: var(--primary);
    }
    .read-btn {
      font-size: 14px;
      color: var(--primary);
      font-weight: 600;
    }

    
    .pagination {
      margin-top: 40px;
      display: flex;
      gap: 10px;
      justify-content: center;
    }
    .pagination a, .pagination span {
      padding: 8px 16px;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      font-size: 14px;
    }
    .pagination a:hover, .pagination .current {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
    }

    
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .sidebar-widget {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      padding: 24px;
    }
    .widget-title {
      font-size: 16px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 20px;
      border-left: 3px solid var(--primary);
      padding-left: 10px;
    }
    .hot-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .hot-item {
      display: flex;
      gap: 12px;
    }
    .hot-rank {
      width: 24px;
      height: 24px;
      background: rgba(255,255,255,0.05);
      color: var(--text-muted);
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 12px;
    }
    .hot-item:nth-child(1) .hot-rank { background: #FF4757; color: #fff; }
    .hot-item:nth-child(2) .hot-rank { background: #FFA502; color: #fff; }
    .hot-item:nth-child(3) .hot-rank { background: #2ED573; color: #fff; }
    .hot-title {
      font-size: 14px;
      color: var(--text-light);
    }
    .hot-title:hover {
      color: var(--primary);
    }

    
    .tags-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .tag-link {
      font-size: 12px;
      background: rgba(29, 123, 255, 0.08);
      border: 1px solid rgba(29, 123, 255, 0.2);
      color: var(--primary);
      padding: 6px 12px;
      border-radius: 50px;
    }
    .tag-link:hover {
      background: var(--primary);
      color: #fff;
    }

    @media (max-width: 992px) {
      .container { grid-template-columns: 1fr; }
      .breadcrumbs { grid-column: span 1; }
    }
    @media (max-width: 768px) {
      .nav-list { display: none; }
      .mobile-toggle { display: block; }
      .list-card { flex-direction: column; }
      .list-card-image { width: 100%; height: 200px; }
    }