﻿:root {
      --primary: rgb(244,63,94);
      --primary-hover: rgb(225,29,72);
      --secondary: #1D7BFF;
      --secondary-glow: rgba(29, 123, 255, 0.15);
      --dark-bg: #0A0F1D;
      --silver-white: #F1F5F9;
      --text-main: #0F172A;
      --text-muted: #475569;
      --border-color: #E2E8F0;
      --card-bg: #FFFFFF;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text-main); background: #FAFBFD; line-height: 1.6; }
    a { color: inherit; text-decoration: none; }

    
    .header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
    .header-container { max-width: 1200px; margin: 0 auto; padding: 15px 20px; 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; }
    .logo span { display: inline-block; font-size: 20px; font-weight: 800; color: var(--text-main); }
    .nav-desktop { display: flex; align-items: center; gap: 30px; }
    .nav-desktop a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .nav-desktop a:hover { color: var(--primary); }
    .nav-btn { background: var(--primary); color: #fff !important; padding: 8px 20px; border-radius: 99px; font-weight: 600 !important; }
    .menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; pointer-events: none; transition: var(--transition); }
    .drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: #fff; z-index: 999; display: flex; flex-direction: column; transition: var(--transition); }
    .drawer.active { left: 0; }
    .drawer-overlay.active { opacity: 1; pointer-events: auto; }
    .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
    .drawer-menu { padding: 20px 0; overflow-y: auto; flex: 1; }
    .drawer-menu a { display: block; padding: 12px 30px; font-size: 16px; color: var(--text-muted); }
    .drawer-menu a:hover { color: var(--primary); background: rgba(244,63,94,0.05); }

    
    .page-banner { background: #0A0F1D; color: #fff; padding: 40px 20px; text-align: center; }
    .breadcrumb { font-size: 14px; color: #94A3B8; }
    .breadcrumb a { color: #BDD6FF; }

    
    .article-wrapper { max-width: 1200px; margin: 45px auto; padding: 0 20px; display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; }
    
    
    .article-main { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; }
    .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 25px; margin-bottom: 30px; }
    .article-h1 { font-size: 28px; font-weight: 800; line-height: 1.35; color: var(--text-main); margin-bottom: 15px; }
    .article-meta-info { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); }
    
    .article-body { font-size: 16px; color: #334155; line-height: 1.8; }
    .article-body p { margin-bottom: 20px; }
    .article-body h2 { font-size: 20px; font-weight: 700; color: var(--text-main); margin: 35px 0 15px; }
    .article-body img { border-radius: 8px; margin: 20px 0; max-width: 100%; height: auto; }

    
    .article-footer-tags { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
    .tag-title { font-size: 14px; font-weight: 700; color: var(--text-main); }
    
    
    .prev-next-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; border-top: 1px solid var(--border-color); padding-top: 25px; }
    .prev-next-item span { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
    .prev-next-item a { font-size: 14px; font-weight: 600; color: var(--text-main); }
    .prev-next-item a:hover { color: var(--primary); }

    
    .related-articles { margin-top: 50px; }
    .related-title { font-size: 18px; font-weight: 800; color: var(--text-main); margin-bottom: 20px; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .rel-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
    .rel-card-img { aspect-ratio: 16/10; background: #cbd5e1; }
    .rel-card-img img { width: 100%; height: 100%; object-fit: cover; }
    .rel-card-body { padding: 15px; }
    .rel-card-title { font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    
    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .widget { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
    .widget-title { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 20px; border-left: 3px solid var(--primary); padding-left: 10px; }
    .hot-list { display: flex; flex-direction: column; gap: 15px; }
    .hot-item { display: flex; gap: 12px; }
    .hot-num { background: #E2E8F0; width: 22px; height: 22px; border-radius: 4px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .hot-item:nth-child(1) .hot-num { background: var(--primary); color: #fff; }
    .hot-title { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    
    .footer { background: #0F172A; color: #94A3B8; padding: 70px 20px 30px; border-top: 1px solid rgba(255,255,255,0.05); }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
    .footer-brand .logo span { color: #fff; }
    .footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.6; }
    .footer-col h4 { font-size: 15px; font-weight: 700; color: #F1F5F9; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 12px; }
    .footer-col ul li a { font-size: 14px; transition: var(--transition); }
    .footer-col ul li a:hover { color: #fff; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; }
    .footer-bottom-links { display: flex; gap: 20px; }

    @media (max-width: 768px) {
      .nav-desktop { display: none; }
      .menu-toggle { display: block; }
      .article-wrapper { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr; }
    }