﻿:root {
      --primary: #D4AF37;
      --accent: #FACC15;
      --bg-dark: #080807;
      --bg-card: #14100A;
      --text-light: #FFF7ED;
      --text-muted: #A3A3A3;
      --highlight: #FDE68A;
      --font-family: 'Playfair Display', 'Noto Serif SC', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { background-color: var(--bg-dark); color: var(--text-light); font-family: var(--font-family); line-height: 1.6; }

    
    .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: 20px; font-weight: 800; line-height: 1; color: var(--primary); white-space: nowrap; letter-spacing: 1px; }

    
    .site-header { border-bottom: 1px solid rgba(212, 175, 55, 0.15); background: rgba(8, 8, 7, 0.95); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); }
    .header-container { max-width: 1400px; margin: 0 auto; padding: 15px 24px; display: flex; justify-content: space-between; align-items: center; }
    .desktop-nav { display: flex; gap: 32px; }
    .desktop-nav a { color: var(--text-light); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.3s; }
    .desktop-nav a:hover { color: var(--primary); }
    .header-actions { display: flex; align-items: center; gap: 16px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 4px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; }
    .btn-primary { background-color: var(--primary); color: var(--bg-dark); }
    .btn-primary:hover { background-color: var(--accent); box-shadow: 0 0 15px rgba(250, 204, 21, 0.4); }
    .btn-primary-outline { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
    .btn-primary-outline:hover { background: var(--primary); color: var(--bg-dark); }
    .drawer-trigger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
    .drawer-trigger span { display: block; width: 24px; height: 2px; background-color: var(--primary); }

    
    .mobile-drawer-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
    .mobile-drawer-mask.active { opacity: 1; visibility: visible; }
    .mobile-drawer { position: fixed; top: 0; left: -320px; width: 320px; height: 100%; background: var(--bg-card); border-right: 1px solid rgba(212, 175, 55, 0.2); z-index: 2001; display: flex; flex-direction: column; padding: 24px; transition: all 0.3s ease; }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid rgba(212, 175, 55, 0.1); }
    .drawer-close { background: none; border: none; color: var(--primary); font-size: 32px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { color: var(--text-light); text-decoration: none; font-size: 18px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .drawer-footer { margin-top: auto; color: var(--text-muted); font-size: 12px; }

    
    .page-banner {
      background: radial-gradient(circle at top, rgba(30, 24, 15, 0.8) 0%, rgba(8, 8, 7, 1) 100%);
      border-bottom: 1px solid rgba(212, 175, 55, 0.15);
      padding: 60px 24px;
      text-align: center;
    }
    .page-banner h1 {
      font-size: 36px;
      font-weight: 800;
      color: var(--highlight);
      margin-bottom: 12px;
    }

    
    .tag-index-wrap {
      max-width: 1000px;
      margin: 0 auto;
      padding: 80px 24px;
    }
    .tag-index-intro {
      text-align: center;
      margin-bottom: 48px;
      font-size: 16px;
      color: var(--text-muted);
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .tag-cloud-box {
      background: var(--bg-card);
      border: 1px solid rgba(212, 175, 55, 0.12);
      border-radius: 4px;
      padding: 40px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 16px;
    }
    .tag-item-link {
      display: inline-flex;
      align-items: center;
      background: rgba(212, 175, 55, 0.05);
      border: 1px solid rgba(212, 175, 55, 0.15);
      padding: 8px 18px;
      border-radius: 30px;
      color: var(--text-light);
      text-decoration: none;
      font-size: 14px;
      transition: all 0.3s;
    }
    .tag-item-link:hover {
      background: var(--primary);
      color: var(--bg-dark);
      border-color: var(--primary);
      transform: translateY(-2px);
    }
    .tag-count-span {
      display: inline-block;
      margin-left: 6px;
      font-size: 11px;
      background: rgba(255,255,255,0.1);
      padding: 2px 6px;
      border-radius: 10px;
      color: var(--highlight);
    }
    .tag-item-link:hover .tag-count-span {
      background: rgba(0,0,0,0.2);
      color: var(--bg-dark);
    }

    
    .site-footer { background: #050504; border-top: 1px solid rgba(212, 175, 55, 0.15); color: var(--text-muted); font-size: 14px; }
    .footer-container { max-width: 1400px; margin: 0 auto; padding: 80px 24px 40px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
    .footer-brand .brand-desc { margin-top: 20px; line-height: 1.7; color: var(--text-muted); max-width: 320px; }
    .footer-col h4 { font-size: 16px; font-weight: 700; color: var(--text-light); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 12px; }
    .footer-col ul li a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
    .footer-col ul li a:hover { color: var(--primary); }
    .footer-bottom { max-width: 1400px; margin: 0 auto; padding: 30px 24px; border-top: 1px solid rgba(212, 175, 55, 0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; }

    
    @media (max-width: 991px) {
      .desktop-nav { display: none; }
      .drawer-trigger { display: flex; }
      .footer-container { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 575px) {
      .footer-container { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }