﻿:root {
            --primary-color: rgb(191, 90, 242);
            --primary-hover: rgb(160, 50, 210);
            --primary-light: rgba(191, 90, 242, 0.1);
            --text-main: #2c3e50;
            --text-muted: #7f8c8d;
            --bg-site: #f8f9fa;
            --bg-card: #ffffff;
            --border-color: #eef2f5;
            --max-width: 1200px;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-site); color: var(--text-main); line-height: 1.6; }
        a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
        img { max-width: 100%; height: auto; display: block; }
        
        header { background: var(--bg-card); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
        .header-container { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }
        .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: 18px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }
        
        nav.desktop-nav { display: flex; align-items: center; gap: 20px; }
        nav.desktop-nav a { font-size: 15px; font-weight: 500; color: var(--text-main); padding: 5px 10px; border-radius: 4px; }
        nav.desktop-nav a:hover { color: var(--primary-color); background: var(--primary-light); }
        
        .menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-main); }
        
        .drawer-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 998; display: none; opacity: 0; transition: opacity 0.3s ease; }
        .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--bg-card); z-index: 999; box-shadow: 2px 0 10px rgba(0,0,0,0.1); transition: left 0.3s ease; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
        .drawer.active { left: 0; }
        .drawer-backdrop.active { display: block; opacity: 1; }
        .drawer-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
        .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
        .drawer-nav { display: flex; flex-direction: column; gap: 15px; overflow-y: auto; }
        .drawer-nav a { font-size: 16px; font-weight: 500; padding: 10px; border-radius: 6px; }
        .drawer-nav a:hover { background: var(--primary-light); color: var(--primary-color); }

        .tag-hero { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%); color: #fff; padding: 60px 20px; text-align: center; }
        .tag-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 15px; }
        .tag-hero p { font-size: 18px; max-width: 600px; margin: 0 auto; opacity: 0.9; }

        .tags-main-box { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
        .tags-card { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 40px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
        .tags-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 25px; border-left: 4px solid var(--primary-color); padding-left: 12px; }
        
        .all-tags-list { display: flex; flex-wrap: wrap; gap: 15px; }
        .all-tags-list a { font-size: 15px; color: var(--text-main); background: var(--bg-site); border: 1px solid var(--border-color); padding: 8px 18px; border-radius: 30px; display: inline-flex; align-items: center; gap: 6px; }
        .all-tags-list a:hover { color: #fff; background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 4px 10px var(--primary-light); }
        .all-tags-list a span { background: #fff; color: var(--primary-color); font-size: 12px; font-weight: bold; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border-color); }
        .all-tags-list a:hover span { color: var(--primary-color); border-color: #fff; }

        
        footer { background: #1a1e21; color: #abb2bf; padding: 50px 20px 20px; border-top: 3px solid var(--primary-color); font-size: 14px; }
        .footer-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .footer-brand { display: flex; flex-direction: column; gap: 15px; }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p { font-size: 13px; line-height: 1.6; color: #828a95; }
        .footer-menu, .footer-tags { display: flex; flex-direction: column; gap: 15px; }
        .footer-title { color: #fff; font-size: 15px; font-weight: 700; position: relative; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .footer-menu ul, .footer-tags ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
        .footer-menu a, .footer-tags a { color: #abb2bf; }
        .footer-menu a:hover, .footer-tags a:hover { color: #fff; padding-left: 5px; }
        
        .friend-links { max-width: var(--max-width); margin: 20px auto 0; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .friend-title { font-size: 14px; color: #fff; font-weight: bold; margin-bottom: 10px; }
        .friend-content { display: flex; flex-wrap: wrap; gap: 15px; }
        .friend-content a { color: #828a95; font-size: 13px; }
        .friend-content a:hover { color: #fff; }

        .footer-bottom { max-width: var(--max-width); margin: 20px auto 0; text-align: center; font-size: 12px; color: #828a95; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; }

        @media (max-width: 768px) {
            .menu-toggle { display: block; }
            .desktop-nav { display: none; }
            .tags-card { padding: 25px; }
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
            .footer-bottom { flex-direction: column; }
        }