﻿:root { --primary: rgb(139,92,246); --primary-dark: rgb(109, 40, 217); --primary-light: rgba(139,92,246, 0.1); --text-main: #111827; --text-muted: #6b7280; --bg-body: #f9fafb; --bg-white: #ffffff; --border-color: #e5e7eb; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; padding-top: 70px; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        img { max-width: 100%; height: auto; }
        ul { list-style: none; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: fixed; top: 0; width: 100%; z-index: 100; border-bottom: 1px solid var(--border-color); }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { height: 36px; max-width: 150px; object-fit: contain; }
        .logo span { font-size: 20px; font-weight: 800; color: var(--primary-dark); }
        .desktop-nav { display: none; }
        @media (min-width: 992px) { .desktop-nav { display: flex; align-items: center; gap: 30px; } .desktop-nav ul { display: flex; gap: 24px; } .desktop-nav a { font-weight: 500; } .desktop-nav a:hover { color: var(--primary); } .btn-primary { background: var(--primary); color: white !important; padding: 8px 20px; border-radius: 6px; font-weight: 600; } }
        .mobile-menu-btn { display: block; width: 24px; height: 24px; cursor: pointer; }
        .mobile-menu-btn span { display: block; width: 100%; height: 2px; background: var(--text-main); margin-bottom: 5px; }
        @media (min-width: 992px) { .mobile-menu-btn { display: none; } }
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: 0.3s; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--bg-white); z-index: 1001; transition: 0.3s; 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; align-items: center; }
        .drawer-close { font-size: 24px; color: var(--text-muted); cursor: pointer; }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav li { margin-bottom: 15px; }
        .drawer-nav a { display: block; font-weight: 500; padding: 10px; border-radius: 6px; }

        .tag-hero { text-align: center; padding: 80px 0 60px; background: white; border-bottom: 1px solid var(--border-color); }
        .tag-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 15px; color: var(--text-main); }
        .tag-hero p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
        .tag-hero .icon { width: 60px; height: 60px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; font-weight: bold;}

        .tag-cloud-section { padding: 60px 0 100px; }
        .tag-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; max-width: 900px; margin: 0 auto; }
        .tag-item { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-white); border: 1px solid var(--border-color); padding: 12px 20px; border-radius: 50px; font-size: 15px; color: var(--text-main); box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: 0.3s; }
        .tag-item:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }
        .tag-count { background: #f3f4f6; color: #4b5563; font-size: 12px; padding: 2px 6px; border-radius: 10px; font-weight: bold; }
        .tag-item:hover .tag-count { background: white; color: var(--primary); }

        .footer { background: #111827; color: #9ca3af; padding: 60px 0 30px; }
        .footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: white; }
        .footer-links h4 { color: white; font-weight: 600; margin-bottom: 20px; }
        .footer-links ul { display: flex; flex-direction: column; gap: 10px; }
        .footer-bottom { border-top: 1px solid #374151; padding-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 15px; font-size: 14px; }
        .footer-utils { display: flex; gap: 15px; }
        @media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } .footer-bottom { flex-direction: row; justify-content: space-between; } }