﻿:root { --primary: rgb(79,70,229); --bg-dark: #0a0e17; --bg-card: #151b2b; --text-main: #f8fafc; --text-muted: #94a3b8; --border-color: rgba(255,255,255,0.08); --gradient-primary: linear-gradient(90deg, rgb(79,70,229) 0%, rgb(129, 140, 248) 100%); }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, sans-serif; background-color: var(--bg-dark); color: var(--text-main); line-height: 1.8; }
        a { color: inherit; text-decoration: none; transition: 0.3s; }
        img { max-width: 100%; height: auto; border-radius: 8px; }
        .container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
        
        .header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10, 14, 23, 0.95); border-bottom: 1px solid var(--border-color); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; max-width: 1280px; margin: 0 auto; padding: 0 20px;}
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 20px; font-weight: 800; }
        .desktop-nav { display: flex; gap: 30px; }
        .desktop-nav a { color: var(--text-muted); }
        .desktop-nav a:hover { color: var(--text-main); }
        .header-actions { display: flex; gap: 20px; align-items: center; }
        .btn { padding: 10px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; }
        .btn-primary { background: var(--gradient-primary); color: #fff; }
        .menu-toggle { display: none; background: transparent; border: none; flex-direction: column; gap: 6px; padding: 10px;}
        .menu-toggle span { width: 24px; height: 2px; background: #fff; }

        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1000; opacity: 0; visibility: hidden; transition: 0.3s; }
        .drawer { position: fixed; top: 0; left: -320px; bottom: 0; width: 320px; background: var(--bg-card); z-index: 1001; transition: 0.4s; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; }
        .drawer-close { background: none; border: none; font-size: 28px; color: #fff; }
        .drawer-body { padding: 20px; overflow-y: auto; }
        .mobile-nav a { display: block; padding: 12px 15px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.05); }

        .article-wrap { padding: 120px 0 60px; }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; }
        .breadcrumb a:hover { color: var(--primary); }
        
        .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 30px; margin-bottom: 30px; }
        .article-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 20px; line-height: 1.4; }
        .article-meta-info { display: flex; flex-wrap: wrap; gap: 20px; color: var(--text-muted); font-size: 14px; align-items: center; }
        .article-meta-info span { display: inline-flex; align-items: center; gap: 5px; }
        .article-tags-link { display: inline-flex; gap: 10px; }
        .article-tags-link a { background: rgba(79,70,229,0.1); color: var(--primary); padding: 4px 10px; border-radius: 4px; font-size: 12px; }

        .article-content { font-size: 16px; color: #cbd5e1; }
        .article-content p { margin-bottom: 20px; }
        .article-content h2, .article-content h3 { color: #fff; margin: 30px 0 15px; }
        .article-content blockquote { border-left: 4px solid var(--primary); padding-left: 20px; margin: 20px 0; background: var(--bg-card); padding: 15px 20px; border-radius: 0 8px 8px 0; }

        .article-nav { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); }
        .article-nav a { flex: 1; padding: 20px; background: var(--bg-card); border-radius: 8px; border: 1px solid transparent; }
        .article-nav a:hover { border-color: var(--primary); }
        .nav-label { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 5px; }
        .nav-title { font-weight: 600; font-size: 16px; display: block; }
        .nav-prev { margin-right: 15px; text-align: left; }
        .nav-next { margin-left: 15px; text-align: right; }

        .related-section { margin-top: 80px; }
        .related-section h3 { font-size: 24px; margin-bottom: 30px; border-left: 4px solid var(--primary); padding-left: 10px; }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .related-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); }
        .related-card img { width: 100%; height: 160px; object-fit: cover; }
        .related-card-body { padding: 15px; }
        .related-card h4 { font-size: 16px; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

        .footer { background: #070a11; padding: 60px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 80px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; max-width: 1280px; margin-left: auto; margin-right: auto; padding: 0 20px;}
        .footer-brand p { color: var(--text-muted); margin-top: 20px; font-size: 14px; }
        .footer-links h3 { font-size: 16px; margin-bottom: 24px; }
        .footer-links ul { display: flex; flex-direction: column; gap: 12px; }
        .footer-links a { color: var(--text-muted); font-size: 14px; }
        .footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border-color); color: #64748b; font-size: 14px; }

        @media (max-width: 992px) {
            .desktop-nav, .header-actions .btn { display: none; }
            .menu-toggle { display: flex; }
            .related-grid { grid-template-columns: 1fr 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .article-nav { flex-direction: column; gap: 20px; }
            .nav-prev, .nav-next { margin: 0; text-align: left; }
            .related-grid { grid-template-columns: 1fr; }
            .article-header h1 { font-size: 28px; }
        }