﻿:root {
      --primary-color: #1D7BFF;
      --accent-color: rgb(0,184,148);
      --bg-dark: #070B19;
      --bg-card: #10162D;
      --text-light: #F3F4F6;
      --text-muted: #9CA3AF;
      --border-color: rgba(255, 255, 255, 0.08);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background-color: var(--bg-dark); color: var(--text-light); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

    
    header { background: rgba(7, 11, 25, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; height: 70px; }
    .header-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
    .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; color: #FFF; }
    .nav-menu { display: flex; align-items: center; gap: 30px; }
    .nav-menu a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .nav-menu a:hover { color: var(--primary-color); }
    .nav-btn { background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); padding: 8px 20px; border-radius: 20px; color: #fff !important; font-weight: 600; }
    .menu-toggle { display: none; background: none; border: none; color: var(--text-light); font-size: 24px; cursor: pointer; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); z-index: 1001; opacity: 0; visibility: hidden; transition: all 0.3s; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--bg-card); z-index: 1002; transition: all 0.3s; display: flex; flex-direction: column; padding: 24px; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
    .drawer-close { background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }

    
    .breadcrumbs { background: rgba(16, 22, 45, 0.4); border-bottom: 1px solid var(--border-color); padding: 15px 20px; }
    .breadcrumbs-container { max-width: 1200px; margin: 0 auto; font-size: 14px; color: var(--text-muted); }
    .breadcrumbs a { color: var(--primary-color); }

    
    .art-container { max-width: 1200px; margin: 50px auto 100px; padding: 0 20px; display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; }
    .art-main { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 40px; }
    
    .art-header { margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 25px; }
    .art-title { font-size: 32px; font-weight: 700; color: #FFF; line-height: 1.3; margin-bottom: 15px; }
    .art-meta-line { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); }
    .art-meta-line span strong { color: var(--accent-color); }

    .art-body { font-size: 16px; color: var(--text-light); line-height: 1.8; margin-bottom: 40px; }
    .art-body p { margin-bottom: 20px; }
    .art-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }

    .art-tags-row { border-top: 1px solid var(--border-color); padding-top: 20px; margin-bottom: 40px; font-size: 14px; color: var(--text-muted); }
    .art-tags-row a { background: rgba(255, 255, 255, 0.05); padding: 4px 10px; border-radius: 4px; color: var(--accent-color); margin-left: 8px; }

    
    .art-prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--border-color); padding-top: 30px; margin-bottom: 40px; }
    .nav-box { display: flex; flex-direction: column; }
    .nav-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
    .nav-link-text { font-size: 14px; font-weight: 500; color: var(--primary-color); }

    
    .sidebar { display: flex; flex-direction: column; gap: 40px; }
    .widget { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
    .widget-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
    .widget-posts { display: flex; flex-direction: column; gap: 15px; }
    .widget-post-item { display: flex; gap: 12px; }
    .widget-post-img { width: 60px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
    .widget-post-img img { width: 100%; height: 100%; object-fit: cover; }
    .widget-post-info { display: flex; flex-direction: column; justify-content: center; }
    .widget-post-title { font-size: 14px; line-height: 1.3; font-weight: 500; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .widget-post-meta { font-size: 11px; color: var(--text-muted); }

    
    .related-section { margin-top: 50px; }
    .related-title { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .related-item { background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
    .related-img { height: 120px; overflow: hidden; }
    .related-img img { width: 100%; height: 100%; object-fit: cover; }
    .related-body { padding: 15px; }
    .related-name { font-size: 14px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    
    footer { background: #040712; border-top: 1px solid var(--border-color); padding: 80px 20px 40px; }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-brand { display: flex; flex-direction: column; gap: 20px; }
    .footer-desc { font-size: 14px; color: var(--text-muted); max-width: 320px; }
    .footer-links h4 { font-size: 16px; font-weight: 600; color: #FFFFFF; margin-bottom: 25px; }
    .footer-links ul { list-style: none; }
    .footer-links ul li { margin-bottom: 15px; }
    .footer-links ul li a { font-size: 14px; color: var(--text-muted); }
    .footer-links ul li a:hover { color: var(--primary-color); }
    .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 30px; border-top: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
    .footer-info { font-size: 13px; color: var(--text-muted); }

    @media (max-width: 1024px) {
      .art-container { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .menu-toggle { display: block; }
      .related-grid { grid-template-columns: 1fr; }
    }