﻿:root {
      --primary: rgb(255, 121, 198);
      --primary-hover: rgb(255, 80, 170);
      --primary-rgb: 255, 121, 198;
      --accent: #6D5CFF;
      --accent-hover: #5240f5;
      --dark-bg: #090615;
      --dark-card: #120e2e;
      --dark-border: rgba(255, 255, 255, 0.08);
      --text-main: #f1f5f9;
      --text-muted: #94a3b8;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, sans-serif;
      background-color: var(--dark-bg);
      color: var(--text-main);
      line-height: 1.6;
    }

    
    .site-header {
      position: sticky;
      top: 0;
      z-index: 900;
      width: 100%;
      background: rgba(9, 6, 21, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--dark-border);
    }
    .header-inner {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .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;
    }
    .logo span {
      display: inline-block;
      font-size: 18px;
      font-weight: 800;
      color: #ffffff;
      white-space: nowrap;
    }
    .desktop-nav {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      flex: 1;
    }
    .desktop-nav a {
      display: inline-flex;
      align-items: center;
      min-height: 40px;
      padding: 0 16px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-muted);
      text-decoration: none;
    }
    .desktop-nav a:hover {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.05);
    }
    .mobile-menu-btn {
      display: none;
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.08);
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }
    .mobile-menu-btn span {
      display: block;
      width: 20px;
      height: 2px;
      background: #ffffff;
    }

    
    .mobile-nav-mask {
      position: fixed;
      inset: 0;
      z-index: 998;
      background: rgba(9, 6, 21, 0.8);
      opacity: 0;
      visibility: hidden;
    }
    .mobile-drawer {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 999;
      width: min(86vw, 360px);
      height: 100vh;
      background: #0f0b24;
      transform: translateX(-105%);
      transition: transform .28s ease;
      display: flex;
      flex-direction: column;
    }
    .drawer-head {
      min-height: 76px;
      padding: 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--dark-border);
    }
    .drawer-logo img { height: 36px; }
    .drawer-logo span { font-size: 17px; color: #ffffff; }
    .drawer-close {
      width: 40px;
      height: 40px;
      border: 0;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
      font-size: 26px;
    }
    .drawer-body { padding: 14px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 8px; }
    .drawer-nav a {
      display: flex;
      align-items: center;
      min-height: 48px;
      padding: 13px 14px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-main);
      text-decoration: none;
    }
    body.drawer-open .mobile-nav-mask { opacity: 1; visibility: visible; pointer-events: auto; }
    body.drawer-open .mobile-drawer { transform: translateX(0); }

    
    .container { width: min(1200px, calc(100% - 32px)); margin: 40px auto; }
    .breadcrumb {
      margin-bottom: 24px;
      font-size: 14px;
      color: var(--text-muted);
    }
    .breadcrumb a {
      color: var(--primary);
      text-decoration: none;
    }
    .list-title-area {
      margin-bottom: 40px;
    }
    .list-title-area h1 {
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 800;
      color: #ffffff;
    }

    .main-grid {
      display: grid;
      grid-template-columns: 2.2fr 1fr;
      gap: 36px;
    }

    
    .article-card {
      background: var(--dark-card);
      border: 1px solid var(--dark-border);
      border-radius: 16px;
      padding: 24px;
      display: flex;
      gap: 20px;
      margin-bottom: 20px;
    }
    .article-img {
      width: 180px;
      height: 120px;
      border-radius: 8px;
      overflow: hidden;
      flex-shrink: 0;
    }
    .article-img img { width: 100%; height: 100%; object-fit: cover; }
    .article-content { display: flex; flex-direction: column; justify-content: space-between; }
    .article-content h2 { font-size: 18px; margin-bottom: 8px; }
    .article-content h2 a { color: #ffffff; text-decoration: none; }
    .article-content h2 a:hover { color: var(--primary); }
    .article-summary { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
    .article-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 16px; }

    
    .sidebar { display: flex; flex-direction: column; gap: 32px; }
    .sidebar-widget {
      background: var(--dark-card);
      border: 1px solid var(--dark-border);
      border-radius: 16px;
      padding: 24px;
    }
    .widget-title { font-size: 16px; font-weight: 800; color: #ffffff; margin-bottom: 18px; }

    
    .pagination-bar {
      margin-top: 40px;
      display: flex;
      justify-content: center;
      gap: 8px;
    }
    .page-item {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 14px;
      border-radius: 8px;
      background: var(--dark-card);
      border: 1px solid var(--dark-border);
      color: var(--text-main);
      text-decoration: none;
      font-size: 14px;
    }
    .page-item.active {
      background: var(--primary);
      color: #000000;
      border-color: var(--primary);
    }

    
    .site-footer {
      width: 100%;
      background: #060410;
      color: var(--text-muted);
      border-top: 1px solid var(--dark-border);
      margin-top: 80px;
    }
    .footer-inner {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      padding: 54px 0 34px;
      display: grid;
      grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, .8fr));
      gap: 28px;
    }
    .footer-logo span { color: #ffffff; }
    .footer-column h3 { color: #ffffff; font-size: 15px; margin-bottom: 14px; }
    .footer-column ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-column a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
    .footer-bottom {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      padding: 18px 0 24px;
      border-top: 1px solid var(--dark-border);
      display: flex;
      justify-content: space-between;
      font-size: 13px;
    }

    @media (max-width: 900px) {
      .desktop-nav { display: none !important; }
      .mobile-menu-btn { display: inline-flex !important; }
      .main-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .footer-brand { grid-column: 1 / -1; }
      .article-card { flex-direction: column; }
      .article-img { width: 100%; height: 160px; }
    }