﻿:root {
      --primary-purple: rgb(147, 51, 234);
      --primary-blue: #1D7BFF;
      --bg-dark: #0B192C;
      --bg-light: #F8FAFC;
      --text-dark: #0F172A;
      --text-light: #64748B;
      --border-color: rgba(226, 232, 240, 0.8);
      --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--text-dark);
      background-color: var(--bg-light);
      line-height: 1.6;
    }
    a { text-decoration: none; color: inherit; transition: all 0.3s; }

    
    header {
      position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
      background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }
    .nav-container {
      max-width: 1200px; margin: 0 auto; padding: 15px 20px;
      display: flex; justify-content: space-between; align-items: center;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { font-size: 20px; font-weight: 800; background: linear-gradient(135deg, var(--text-dark), var(--primary-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .nav-menu { display: flex; align-items: center; gap: 30px; }
    .nav-menu a { font-size: 15px; font-weight: 500; }
    .nav-menu a:hover { color: var(--primary-purple); }
    .nav-btn { background: linear-gradient(135deg, var(--primary-purple), #7e22ce); color: white !important; padding: 8px 20px; border-radius: 50px; font-weight: 600 !important; }
    .menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

    
    .list-hero {
      background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
      color: white; padding: 140px 20px 60px; text-align: center;
    }
    .list-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
    .list-hero p { color: #94a3b8; font-size: 16px; }

    
    .container {
      max-width: 1200px; margin: 50px auto; padding: 0 20px;
      display: grid; grid-template-columns: 2fr 1fr; gap: 40px;
    }

    .breadcrumbs {
      grid-column: 1 / -1; margin-bottom: -20px; font-size: 14px; color: var(--text-light);
    }
    .breadcrumbs a:hover { color: var(--primary-purple); }

    
    .article-list { display: flex; flex-direction: column; gap: 30px; }
    .article-item {
      background: white; border-radius: 12px; overflow: hidden;
      border: 1px solid var(--border-color); box-shadow: var(--card-shadow);
      display: flex; gap: 20px; padding: 20px;
    }
    .article-item-img {
      width: 200px; height: 150px; border-radius: 8px; background-size: cover; background-position: center; flex-shrink: 0; background-color: #cbd5e1;
    }
    .article-item-body {
      display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1;
    }
    .item-tags { display: flex; gap: 8px; }
    .item-tag { font-size: 11px; background: rgba(147, 51, 234, 0.08); color: var(--primary-purple); padding: 2px 8px; border-radius: 50px; font-weight: 600; }
    .item-title { font-size: 20px; font-weight: 700; margin: 10px 0; }
    .item-title a:hover { color: var(--primary-purple); }
    .item-summary { font-size: 14px; color: var(--text-light); line-height: 1.5; margin-bottom: 15px; }
    .item-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light); }

    
    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .widget { background: white; border-radius: 12px; padding: 24px; border: 1px solid var(--border-color); box-shadow: var(--card-shadow); }
    .widget-title { font-size: 16px; font-weight: 700; border-left: 4px solid var(--primary-purple); padding-left: 12px; margin-bottom: 20px; }
    
    .hot-posts { display: flex; flex-direction: column; gap: 15px; }
    .hot-item { display: flex; gap: 12px; align-items: center; }
    .hot-item-img { width: 60px; height: 60px; border-radius: 6px; background-size: cover; flex-shrink: 0; background-color: #cbd5e1; }
    .hot-item-info h5 { font-size: 13px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hot-item-info span { font-size: 11px; color: var(--text-light); }

    .tag-cloud { display: flex; gap: 8px; flex-wrap: wrap; }
    .tag-cloud-item { font-size: 12px; background: #f1f5f9; color: var(--text-dark); padding: 6px 12px; border-radius: 6px; }
    .tag-cloud-item:hover { background: var(--primary-purple); color: white; }

    
    .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
    .pagination a, .pagination span { padding: 8px 16px; border-radius: 6px; background: white; border: 1px solid var(--border-color); font-size: 14px; }
    .pagination .current { background: var(--primary-purple); color: white; border-color: var(--primary-purple); }

    
    footer { background: #0f172a; color: #94a3b8; padding: 80px 20px 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-brand p { margin: 20px 0; font-size: 15px; }
    .footer-links h4 { color: white; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
    .footer-links ul { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a:hover { color: white; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; font-size: 14px; flex-wrap: wrap; gap: 20px; }

    
    .mobile-drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background: white; z-index: 1001; box-shadow: 10px 0 30px rgba(0,0,0,0.1); transition: left 0.3s ease; display: flex; flex-direction: column; padding: 30px 20px; }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
    .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
    .drawer-menu { display: flex; flex-direction: column; gap: 20px; }
    .drawer-menu a { font-size: 18px; font-weight: 600; }
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1000; display: none; }
    .drawer-overlay.active { display: block; }

    @media (max-width: 992px) {
      .container { grid-template-columns: 1fr; }
      .nav-menu { display: none; }
      .menu-toggle { display: block; }
      .article-item { flex-direction: column; }
      .article-item-img { width: 100%; height: 200px; }
    }