﻿:root {
      --primary: #D9A441;
      --primary-hover: #F2C15D;
      --bg-dark: #121212;
      --text-light: #F5F5F7;
      --text-muted: #A0A0A5;
      --text-dark: rgb(47,54,64);
      --bg-light: #FAFAFA;
      --border-color: rgba(217, 164, 65, 0.15);
      --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      --transition: all 0.3s ease;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font-stack); background: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: var(--transition); }

    .site-header { background: var(--bg-dark); color: var(--text-light); border-bottom: 1px solid var(--border-color); }
    .header-inner { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
    .logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: var(--primary); }
    .logo img { height: 40px; }
    .desktop-nav { display: flex; gap: 2rem; }
    .desktop-nav a { color: var(--text-muted); font-weight: 500; }
    .desktop-nav a:hover { color: var(--primary); }

    .mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
    .mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-light); }
    .mobile-nav-mask { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 998; }
    .mobile-drawer { position: fixed; top: 0; right: -300px; width: 300px; height: 100%; background: var(--bg-dark); z-index: 999; transition: var(--transition); padding: 1.5rem; display: flex; flex-direction: column; color: var(--text-light); }
    .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
    .drawer-close { background: none; border: none; color: var(--text-light); font-size: 2rem; cursor: pointer; }
    .drawer-body .drawer-nav { display: flex; flex-direction: column; gap: 1.5rem; }
    .drawer-body .drawer-nav a { color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.5rem; }

    
    .page-hero { background: linear-gradient(135deg, #121212 0%, #201b10 100%); color: var(--text-light); padding: 5rem 1.5rem; text-align: center; border-bottom: 3px solid var(--primary); }
    .page-hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
    .page-hero p { max-width: 600px; margin: 0 auto; color: var(--text-muted); }

    
    .tag-index-container { max-width: 900px; margin: 4rem auto; padding: 0 1.5rem; text-align: center; }
    .tag-cloud-wrapper { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; background: white; padding: 3rem; border-radius: 8px; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
    .tag-index-item { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--bg-light); border: 1px solid #ddd; padding: 0.6rem 1.2rem; border-radius: 30px; font-size: 1rem; color: var(--text-dark); transition: var(--transition); }
    .tag-index-item:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary); background: rgba(217, 164, 65, 0.05); }
    .tag-count-badge { font-size: 0.8rem; background: var(--bg-dark); color: var(--text-light); padding: 0.1rem 0.4rem; border-radius: 50%; }

    
    .site-footer { background-color: var(--bg-dark); color: var(--text-light); border-top: 3px solid var(--primary); padding: 4rem 1.5rem 2rem 1.5rem; }
    .footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
    .footer-brand p { margin-top: 1rem; color: var(--text-muted); font-size: 0.95rem; }
    .footer-column h3 { font-size: 1.1rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; text-transform: uppercase; }
    .footer-column ul { list-style: none; }
    .footer-column ul li { margin-bottom: 0.75rem; }
    .footer-column ul li a { color: var(--text-muted); font-size: 0.95rem; }
    .footer-column ul li a:hover { color: var(--primary); padding-left: 5px; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; color: var(--text-muted); }

    @media (max-width: 768px) {
      .desktop-nav { display: none; }
      .mobile-menu-btn { display: flex; }
      .tag-cloud-wrapper { padding: 1.5rem; }
      .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    }