﻿:root { --theme-color: rgb(241,250,140); --theme-hover: #e0e872; --text-on-theme: #0f172a; --bg-dark: #0f172a; --bg-darker: #020617; --bg-card: #1e293b; --text-main: #f8fafc; --text-muted: #94a3b8; --border-color: #334155; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: sans-serif; background: var(--bg-darker); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .btn-outline { background: transparent; color: var(--text-main); border: 1px solid var(--theme-color); padding: 8px 20px; border-radius: 6px; }
        
        .header { background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-color); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 22px; font-weight: 800; line-height: 1; color: var(--theme-color); white-space: nowrap; }
        .nav-desktop { display: flex; gap: 30px; }
        .nav-desktop a { font-size: 16px; font-weight: 500; padding: 8px 0; }
        .nav-desktop a:hover { color: var(--theme-color); }
        .header-actions { display: flex; gap: 15px; align-items: center; }
        .menu-toggle { display: none; font-size: 24px; color: var(--theme-color); cursor: pointer; background: none; border: none; }
        @media(max-width: 992px) { .nav-desktop, .header-actions .btn-outline { display: none; } .menu-toggle { display: block; } }

        .drawer-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 999; opacity: 0; visibility: hidden; }
        .drawer-mask.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--bg-dark); z-index: 1000; transition: left 0.3s ease; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; }
        .drawer-close { font-size: 24px; color: var(--text-muted); cursor: pointer; background: none; border: none; }
        .drawer-nav a { display: block; padding: 15px 25px; border-bottom: 1px solid rgba(255,255,255,0.05); }

        .tag-header { padding: 60px 0; background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-darker) 100%); text-align: center; border-bottom: 1px solid var(--border-color); }
        .tag-icon { font-size: 48px; color: var(--theme-color); margin-bottom: 15px; }
        .tag-title { font-size: 32px; font-weight: bold; margin-bottom: 10px; color: #fff; }
        .tag-title span { color: var(--theme-color); padding: 0 10px; }
        .tag-desc { color: var(--text-muted); font-size: 16px; }

        .content-area { padding: 60px 0; min-height: 50vh; }
        .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        @media(max-width: 992px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
        @media(max-width: 768px) { .grid-3 { grid-template-columns: 1fr; } }

        .article-card { background: var(--bg-card); border-radius: 10px; overflow: hidden; border: 1px solid var(--border-color); transition: all 0.3s; display: flex; flex-direction: column; }
        .article-card:hover { border-color: var(--theme-color); transform: translateY(-5px); }
        .article-img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
        .article-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .article-tags { margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
        .article-tags span { font-size: 12px; background: rgba(255,255,255,0.05); padding: 4px 8px; border-radius: 4px; color: var(--theme-color); }
        .article-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .article-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .article-meta { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; font-size: 12px; color: var(--text-muted); }

        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-main); font-weight: 500; }
        .pagination a:hover { border-color: var(--theme-color); color: var(--theme-color); }
        .pagination .current { background: var(--theme-color); color: var(--text-on-theme); border-color: var(--theme-color); }
        .pagination .disabled { opacity: 0.5; cursor: not-allowed; }

        .footer { background: #020617; padding: 60px 0 20px; border-top: 1px solid var(--border-color); }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
        .footer-col h4 { font-size: 16px; color: #fff; margin-bottom: 20px; }
        .footer-col p, .footer-links a { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; }
        .footer-links a:hover { color: var(--theme-color); }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; display: flex; justify-content: space-between; font-size: 14px; color: var(--text-muted); }
        @media(max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; gap: 10px; } }