﻿:root {
      --bg-dark: #070B19;
      --bg-card: #0F172A;
      --bg-card-hover: #1E293B;
      --primary: #1D7BFF;
      --secondary: rgb(108,92,231);
      --accent: #00F2FE;
      --text-main: #F8FAFC;
      --text-muted: #94A3B8;
      --border: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(255, 255, 255, 0.2);
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-sans); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

    
    .header { border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; background: rgba(7, 11, 25, 0.85); backdrop-filter: blur(12px); }
    .header-nav { display: flex; justify-content: space-between; align-items: center; height: 80px; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 38px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
    .logo span { display: inline-block; font-size: 20px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }
    .nav-menu { display: flex; align-items: center; gap: 32px; }
    .nav-menu a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .nav-menu a: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 22px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: none; }
    .btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
    .btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-main); border: 1px solid var(--border); }
    .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--border-hover); }
    .menu-toggle { display: none; background: none; border: none; color: var(--text-main); font-size: 24px; cursor: pointer; }

    
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: var(--bg-card); z-index: 200; transition: left 0.3s ease; padding: 30px 24px; box-shadow: 10px 0 30px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 40px; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; }
    .drawer-close { background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 16px; font-weight: 500; color: var(--text-muted); }
    .drawer-nav a:hover { color: var(--primary); }
    .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: 150; display: none; }
    .drawer-overlay.active { display: block; }

    
    .breadcrumbs-bar { background: rgba(15, 23, 42, 0.3); border-bottom: 1px solid var(--border); padding: 14px 0; font-size: 13px; color: var(--text-muted); }
    .breadcrumbs-bar a:hover { color: var(--primary); }

    
    .article-wrap { padding: 60px 0 100px; }
    .article-grid { display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; }

    .article-header { border-bottom: 1px solid var(--border); padding-bottom: 30px; margin-bottom: 40px; }
    .article-main-title { font-size: 34px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; }
    .meta-meta { display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--text-muted); }

    .article-rich-text { font-size: 16px; line-height: 1.8; color: #E2E8F0; }
    .article-rich-text p { margin-bottom: 24px; }
    .article-rich-text h2, .article-rich-text h3 { margin: 40px 0 20px; color: #fff; font-weight: 700; }
    .article-rich-text img { max-width: 100%; height: auto; border-radius: 12px; margin: 30px 0; display: block; border: 1px solid var(--border); }

    .article-tags { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    .article-tags span { color: var(--text-muted); font-size: 14px; }
    .tag-link-btn { font-size: 12px; background: rgba(29, 123, 255, 0.1); border: 1px solid rgba(29, 123, 255, 0.2); color: var(--accent); padding: 4px 12px; border-radius: 6px; }

    
    .prev-next-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border); }
    .pn-link { background: var(--bg-card); border: 1px solid var(--border); padding: 20px; border-radius: 10px; display: flex; flex-direction: column; gap: 8px; }
    .pn-link:hover { border-color: var(--primary); }
    .pn-lbl { font-size: 11px; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; }
    .pn-title { font-size: 14px; font-weight: 700; color: var(--text-main); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

    
    .like-section { margin-top: 80px; }
    .like-title { font-size: 22px; font-weight: 800; margin-bottom: 30px; }
    .like-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .like-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
    .like-card img { width: 100%; height: 140px; object-fit: cover; }
    .like-body { padding: 18px; }
    .like-ctitle { font-size: 15px; font-weight: 700; line-height: 1.4; }
    .like-ctitle a:hover { color: var(--primary); }

    
    .sidebar { display: flex; flex-direction: column; gap: 40px; }
    .widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
    .widget-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; border-left: 3px solid var(--primary); padding-left: 12px; }
    .hot-list { display: flex; flex-direction: column; gap: 16px; }
    .hot-item { display: flex; align-items: center; gap: 12px; }
    .hot-num { font-size: 14px; font-weight: 800; color: var(--accent); width: 24px; height: 24px; background: rgba(0, 242, 254, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
    .hot-link { font-size: 14px; font-weight: 600; color: var(--text-main); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hot-link:hover { color: var(--primary); }

    
    .footer { background: #0B0F19; border-top: 1px solid var(--border); padding: 80px 0 30px; }
    .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-desc { color: var(--text-muted); margin-top: 20px; font-size: 14px; max-width: 300px; }
    .footer-col h4 { font-size: 15px; font-weight: 700; color: var(--text-main); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 14px; }
    .footer-links a { font-size: 14px; color: var(--text-muted); }
    .footer-links a:hover { color: var(--primary); }
    .footer-bottom { border-top: 1px solid var(--border); 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: 1024px) {
      .article-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .nav-menu, .header-actions .btn-secondary { display: none; }
      .menu-toggle { display: block; }
      .like-grid { grid-template-columns: 1fr; }
      .prev-next-box { grid-template-columns: 1fr; }
    }