﻿:root {
      --primary: rgb(94,92,230);
      --primary-glow: rgba(94,92,230, 0.15);
      --glacier-blue: #1D7BFF;
      --deep-ink: #0B1220;
      --silver-white: #F8FAFC;
      --text-dark: #1E293B;
      --text-light: #64748B;
      --border-color: #E2E8F0;
      --glass-bg: rgba(255, 255, 255, 0.85);
    }

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

    
    header { position: sticky; top: 0; z-index: 1000; background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
    .header-container { max-width: 1200px; margin: 0 auto; padding: 16px 24px; 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 { display: inline-block; font-size: 18px; font-weight: 800; color: var(--deep-ink); white-space: nowrap; }
    .nav-menu { display: flex; align-items: center; gap: 24px; }
    .nav-menu a { font-size: 15px; font-weight: 500; color: var(--text-dark); padding: 8px 12px; border-radius: 6px; }
    .nav-menu a:hover { color: var(--primary); background-color: var(--primary-glow); }
    .menu-toggle { display: none; background: none; border: none; cursor: pointer; }
    .menu-toggle svg { width: 24px; height: 24px; fill: var(--text-dark); }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 18, 32, 0.5); backdrop-filter: blur(4px); z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
    .drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: #fff; z-index: 2001; box-shadow: 4px 0 24px rgba(0,0,0,0.15); transition: all 0.3s ease; display: flex; flex-direction: column; padding: 24px; }
    .drawer.active { left: 0; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; }
    .drawer-close { background: none; border: none; cursor: pointer; }
    .drawer-close svg { width: 24px; height: 24px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 16px; }
    .drawer-nav a { font-size: 16px; font-weight: 600; padding: 12px 16px; border-radius: 8px; color: var(--text-dark); }
    .drawer-nav a:hover { background-color: var(--primary-glow); color: var(--primary); }

    
    .breadcrumbs { max-width: 900px; margin: 24px auto; padding: 0 24px; font-size: 14px; color: var(--text-light); }
    .breadcrumbs a:hover { color: var(--primary); }

    
    .article-layout { max-width: 900px; margin: 0 auto 80px; padding: 0 24px; }
    .article-wrap { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 40px; }
    @media (max-width: 576px) { .article-wrap { padding: 20px; } }

    .article-head-title { font-size: clamp(24px, 4vw, 32px); font-weight: 800; color: var(--deep-ink); line-height: 1.3; margin-bottom: 20px; }
    .article-meta-line { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-light); border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; }
    .article-meta-line span { display: inline-flex; align-items: center; gap: 6px; }

    
    .article-body-content { font-size: 16px; line-height: 1.8; color: var(--text-dark); }
    .article-body-content p { margin-bottom: 24px; }
    .article-body-content h2, .article-body-content h3 { color: var(--deep-ink); font-weight: 700; margin-top: 36px; margin-bottom: 16px; }
    .article-body-content h2 { font-size: 22px; border-left: 4px solid var(--primary); padding-left: 12px; }
    .article-body-content h3 { font-size: 18px; }
    .article-body-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }

    
    .post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--border-color); padding-top: 30px; margin-top: 40px; }
    @media (max-width: 576px) { .post-nav { grid-template-columns: 1fr; } }
    .post-nav-card { background: var(--silver-white); padding: 16px; border-radius: 8px; border: 1px solid var(--border-color); }
    .post-nav-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; margin-bottom: 6px; font-weight: bold; }
    .post-nav-link { font-size: 14px; font-weight: 600; color: var(--deep-ink); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .post-nav-link:hover { color: var(--primary); }

    
    .related-section { margin-top: 60px; }
    .related-section-title { font-size: 20px; font-weight: 700; color: var(--deep-ink); margin-bottom: 24px; }
    .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
    .related-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; transition: all 0.3s ease; }
    .related-card:hover { transform: translateY(-3px); border-color: var(--primary); }
    .related-title { font-size: 15px; font-weight: 700; color: var(--deep-ink); margin-bottom: 10px; line-height: 1.4; display: block; }
    .related-meta { font-size: 11px; color: var(--text-light); }

    
    footer { background-color: var(--deep-ink); color: #94a3b8; padding: 60px 24px 24px; border-top: 1px solid rgba(255,255,255,0.1); }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .footer-brand { grid-column: span 2; }
    @media (max-width: 768px) { .footer-brand { grid-column: span 1; } }
    .footer-brand .logo span { color: #fff; }
    .footer-desc { font-size: 14px; margin-top: 16px; max-width: 320px; }
    .footer-title { color: #f8fafc; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { font-size: 14px; }
    .footer-links a:hover { color: #fff; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; }

    @media (max-width: 991px) { .nav-menu { display: none; } .menu-toggle { display: block; } }