﻿:root {
      --primary: #1D7BFF;
      --theme: rgb(139,233,253);
      --deep-sea: #050b1a;
      --dark-blue: #0b1528;
      --border-color: rgba(29, 123, 255, 0.15);
      --card-bg: rgba(11, 21, 40, 0.6);
      --text-main: #f1f5f9;
      --text-muted: #94a3b8;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: -apple-system, BlinkMacSystemFont, sans-serif; background-color: var(--deep-sea); color: var(--text-main); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: all 0.3s; }
    
    header {
      position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
      background: rgba(5, 11, 26, 0.85); backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }
    .header-container {
      max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { height: 40px; width: auto; object-fit: contain; }
    .logo span { font-size: 18px; font-weight: 800; color: #fff; }
    .nav-menu { display: flex; align-items: center; gap: 32px; }
    .nav-menu a { font-size: 15px; color: var(--text-muted); }
    .nav-menu a:hover { color: var(--theme); }
    .btn-download-top {
      padding: 8px 18px; background: linear-gradient(135deg, var(--primary), var(--theme));
      color: #050b1a; font-size: 14px; font-weight: 600; border-radius: 6px;
    }
    .menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; }

    
    .drawer-backdrop {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.6); z-index: 998; opacity: 0; visibility: hidden; transition: all 0.3s;
    }
    .drawer-backdrop.active { opacity: 1; visibility: visible; }
    .mobile-drawer {
      position: fixed; top: 0; left: -280px; width: 280px; height: 100%;
      background: var(--dark-blue); border-right: 1px solid var(--border-color);
      z-index: 999; padding: 24px; display: flex; flex-direction: column; gap: 32px; transition: all 0.3s;
    }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; color: var(--text-muted); font-size: 24px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 16px; color: var(--text-main); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

    
    .detail-wrapper {
      max-width: 1200px; margin: 110px auto 80px; padding: 0 24px;
      display: grid; grid-template-columns: 2fr 1fr; gap: 40px;
    }
    .breadcrumb-box { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
    .breadcrumb-box a:hover { color: var(--theme); }
    
    .article-header { margin-bottom: 30px; }
    .article-title { font-size: clamp(24px, 4vw, 36px); font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 16px; }
    .article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 20px; }
    .article-meta span { display: inline-flex; align-items: center; gap: 4px; }

    
    .article-body { font-size: 16px; color: #e2e8f0; line-height: 1.8; margin-bottom: 40px; }
    .article-body p { margin-bottom: 20px; }
    .article-body img { border-radius: 8px; margin: 20px 0; max-width: 100%; height: auto; border: 1px solid rgba(255,255,255,0.05); }

    
    .prev-next-links {
      border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);
      padding: 20px 0; margin-bottom: 40px; display: flex; flex-direction: column; gap: 12px; font-size: 15px;
    }
    .prev-next-links a { color: var(--theme); }
    .prev-next-links a:hover { text-decoration: underline; }

    
    .similar-box { margin-bottom: 40px; }
    .similar-title { font-size: 20px; font-weight: bold; color: #fff; margin-bottom: 20px; border-left: 4px solid var(--theme); padding-left: 12px; }
    .similar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
    .similar-card { background: var(--card-bg); border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.02); }
    .similar-card img { height: 120px; width: 100%; object-fit: cover; }
    .similar-card-body { padding: 12px; }
    .similar-card-title { font-size: 14px; font-weight: 600; line-height: 1.4; color: #fff; }
    .similar-card-title:hover { color: var(--theme); }

    
    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .widget { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.03); border-radius: 12px; padding: 24px; }
    .widget-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; border-left: 3px solid var(--theme); padding-left: 10px; }
    .hot-item { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
    .hot-idx { width: 24px; height: 24px; border-radius: 4px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 12px; }
    .hot-item:nth-child(-n+3) .hot-idx { background: var(--primary); color: #050b1a; }
    .hot-text { font-size: 14px; color: var(--text-main); }
    .hot-text:hover { color: var(--theme); }

    
    footer { background-color: #030712; border-top: 1px solid rgba(255,255,255,0.05); padding: 60px 0 30px; }
    .footer-container {
      max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px;
    }
    .footer-brand { display: flex; flex-direction: column; gap: 20px; }
    .footer-desc { color: var(--text-muted); font-size: 14px; max-width: 300px; }
    .footer-title { font-size: 16px; font-weight: 600; margin-bottom: 20px; color: #fff; }
    .footer-links { display: flex; flex-direction: column; gap: 12px; }
    .footer-links a { color: var(--text-muted); font-size: 14px; }
    .footer-links a:hover { color: var(--theme); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; max-width: 1200px; margin: 0 auto; padding: 30px 24px 0;
      display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted);
    }

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