﻿: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.6; }
        a { color: inherit; text-decoration: none; transition: 0.3s; }
        img { max-width: 100%; display: block; }
        .container { max-width: 1280px; 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; }
        .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); }

        .tag-detail-hero { padding: 140px 0 60px; background: rgba(79,70,229,0.05); text-align: center; border-bottom: 1px solid var(--border-color); }
        .tag-detail-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
        .tag-detail-hero h1 span { color: var(--primary); }
        .tag-detail-hero p { color: var(--text-muted); font-size: 16px; }

        .main-content { padding: 80px 0; }
        .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
        .article-card { background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); transition: 0.3s; display: flex; flex-direction: column; }
        .article-card:hover { transform: translateY(-5px); border-color: var(--primary); }
        .article-img { height: 220px; overflow: hidden; position: relative; }
        .article-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .article-card:hover .article-img img { transform: scale(1.05); }
        .article-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
        .article-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
        .article-title a:hover { color: var(--primary); }
        .article-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; flex: 1; }
        .article-meta { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border-color); font-size: 13px; color: #64748b; }

        .pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 15px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-main); font-weight: 500; }
        .pagination a:hover { border-color: var(--primary); color: var(--primary); }
        .pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

        .footer { background: #070a11; padding: 60px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .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; }
            .article-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .article-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
        }