﻿:root {
      --primary: rgb(245, 158, 11);
      --glacier-blue: #1D7BFF;
      --deep-sea: #0B132B;
      --silver-white: #F4F6FC;
      --dark-bg: #060B18;
      --card-bg: rgba(255, 255, 255, 0.05);
      --text-main: #FFFFFF;
      --text-muted: #8E9AAF;
      --border-color: rgba(255, 255, 255, 0.1);
    }
    * { 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(--dark-bg); color: var(--text-main); line-height: 1.6; }
    a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
    
    header { background-color: rgba(6, 11, 24, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); position: fixed; top: 0; width: 100%; z-index: 1000; height: 72px; }
    .header-container { max-width: 1200px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { display: inline-block; font-size: 20px; font-weight: 800; color: var(--text-main); }
    .nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-menu a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .nav-menu a:hover { color: var(--primary); }
    .menu-btn { display: none; background: none; border: none; color: var(--text-main); font-size: 24px; cursor: pointer; }

    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: var(--deep-sea); border-right: 1px solid var(--border-color); z-index: 1100; transition: left 0.4s; padding: 24px; display: flex; flex-direction: column; gap: 32px; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; color: var(--text-main); font-size: 28px; cursor: pointer; }
    .overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); z-index: 1050; display: none; }
    .overlay.active { display: block; }

    .tag-banner { padding: 140px 20px 80px; text-align: center; background: linear-gradient(180deg, var(--deep-sea) 0%, var(--dark-bg) 100%); border-bottom: 1px solid var(--border-color); }
    .tag-banner h1 { font-size: 36px; font-weight: 800; color: var(--silver-white); margin-bottom: 12px; }
    .tag-banner h1 span { color: var(--primary); }
    .tag-banner p { font-size: 16px; color: var(--text-muted); }

    .tag-content { max-width: 900px; margin: 60px auto 100px; padding: 0 20px; display: flex; flex-direction: column; gap: 30px; }
    .tag-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; display: flex; overflow: hidden; transition: all 0.3s; }
    .tag-card:hover { border-color: var(--primary); transform: translateY(-3px); }
    .tag-card-img { width: 260px; height: 180px; overflow: hidden; flex-shrink: 0; background: #131A26; }
    .tag-card-img img { width: 100%; height: 100%; object-fit: cover; }
    .tag-card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .tag-card-title { font-size: 18px; font-weight: 700; color: var(--silver-white); margin-bottom: 10px; }
    .tag-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .tag-card-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); margin-top: 10px; }

    .pagination-wrap { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
    .pagination-wrap a, .pagination-wrap span { padding: 8px 16px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 6px; font-size: 14px; }
    .pagination-wrap a:hover, .pagination-wrap .current { background: var(--primary); color: #000; border-color: var(--primary); }

    footer { background-color: #03060C; border-top: 1px solid var(--border-color); padding: 80px 20px 40px; color: var(--text-muted); font-size: 14px; }
    .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-brand .logo { margin-bottom: 20px; }
    .footer-col h4 { font-size: 16px; font-weight: 600; color: var(--silver-white); margin-bottom: 24px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border-color); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 12px; }

    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .menu-btn { display: block; }
      .tag-card { flex-direction: column; }
      .tag-card-img { width: 100%; height: 180px; }
    }