﻿: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); }

    
    .page-header {
      padding: 140px 0 60px;
      background: radial-gradient(circle at 50% 10%, rgba(29, 123, 255, 0.1) 0%, transparent 50%), var(--bg-deep);
      border-bottom: 1px solid var(--border-color);
      text-align: center;
    }

    .page-title {
      font-size: 38px;
      font-weight: 800;
      color: var(--text-main);
    }

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

    .article-list {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .article-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      gap: 20px;
      padding: 20px;
      transition: all 0.3s ease;
    }

    .article-card:hover {
      border-color: var(--primary-color);
      transform: translateY(-2px);
    }

    .article-image {
      width: 220px;
      height: 140px;
      border-radius: 8px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .article-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .article-info {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .article-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 10px;
      line-height: 1.4;
    }

    .article-title a {
      color: var(--text-main);
    }

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

    .article-summary {
      color: var(--text-muted);
      font-size: 14px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .article-meta {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 16px;
    }

    .meta-tag {
      background: rgba(29, 123, 255, 0.1);
      color: var(--primary-color);
      padding: 2px 10px;
      border-radius: 4px;
      font-weight: 600;
    }

    
    .pagination {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 50px;
    }

    .pagination a, .pagination span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 14px;
      border-radius: 6px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border-color);
      color: var(--text-muted);
      font-size: 14px;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .pagination a:hover {
      border-color: var(--primary-color);
      color: #fff;
    }

    .pagination .active {
      background: var(--primary-color);
      color: #fff;
      border-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-hot-list { list-style: none; }
    .widget-hot-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .widget-hot-item:last-child { border-bottom: none; }
    .widget-hot-rank { 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: bold; }
    .widget-hot-item:nth-child(-n+3) .widget-hot-rank { background: var(--primary-color); color: #fff; }
    .widget-hot-text h5 { font-size: 14px; font-weight: 600; }
    .widget-hot-text 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; }
      .list-container { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 576px) {
      .page-title { font-size: 28px; }
      .article-card { flex-direction: column; }
      .article-image { width: 100%; height: 160px; }
      .footer-container { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    }