﻿:root {
      --primary: #10B981;
      --aux: #22C55E;
      --bg-dark: #07120F;
      --bg-dark-card: #0c1f19;
      --bg-light: #EAFBF3;
      --text-light: #ECFDF5;
      --text-dark: #0B1F19;
      --accent: #A7F3D0;
      --fallback: rgb(35,39,47);
      --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font); background-color: var(--bg-dark); color: var(--text-light); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: all 0.3s; }

    
    .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: 0.5px; }

    
    .site-header { background: rgba(7, 18, 15, 0.95); border-bottom: 1px solid rgba(16, 185, 129, 0.15); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); }
    .header-container { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; }
    .desktop-nav { display: flex; align-items: center; gap: 24px; }
    .desktop-nav a { font-size: 15px; font-weight: 500; color: #94a3b8; padding: 6px 0; border-bottom: 2px solid transparent; }
    .desktop-nav a:hover, .desktop-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
    
    
    .mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; width: 30px; }
    .mobile-menu-toggle span { display: block; width: 100%; height: 2px; background-color: var(--text-light); transition: 0.3s; }

    
    .mobile-drawer { position: fixed; top: 0; left: -100%; width: 100%; height: 100%; z-index: 2000; transition: left 0.4s ease; }
    .mobile-drawer.active { left: 0; }
    .drawer-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
    .drawer-content { position: absolute; top: 0; left: 0; width: 80%; max-width: 320px; height: 100%; background: var(--bg-dark); border-right: 1px solid rgba(16, 185, 129, 0.2); padding: 25px; display: flex; flex-direction: column; gap: 30px; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; font-size: 32px; color: var(--primary); cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 18px; font-weight: 600; color: #cbd5e1; }
    .drawer-nav a:hover { color: var(--primary); padding-left: 8px; }

    
    .tags-wrap { max-width: 1000px; margin: 60px auto; padding: 0 20px; }
    .tags-header { text-align: center; margin-bottom: 50px; }
    .tags-header h1 { font-size: 40px; color: #fff; margin-bottom: 15px; }
    .tags-header h1 span { color: var(--primary); }
    .tags-header p { font-size: 18px; color: #94a3b8; }

    .tags-box { background: var(--bg-dark-card); border: 1px solid rgba(16, 185, 129, 0.1); border-radius: 16px; padding: 40px; }
    .tag-cloud { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
    .tag-cloud-item { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--bg-dark); border: 1px solid rgba(16, 185, 129, 0.15); border-radius: 30px; font-size: 15px; color: #cbd5e1; font-weight: 500; transition: 0.3s; }
    .tag-cloud-item:hover { border-color: var(--primary); background: rgba(16, 185, 129, 0.1); color: var(--accent); transform: translateY(-2px); }
    .tag-count { font-size: 11px; font-weight: 700; color: var(--primary); background: rgba(16,185,129,0.15); padding: 2px 8px; border-radius: 10px; }

    
    .site-footer { background: #030806; border-top: 1px solid rgba(16, 185, 129, 0.15); padding: 60px 20px 30px 20px; font-size: 14px; color: #94a3b8; }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
    .footer-brand .footer-desc { margin-top: 20px; line-height: 1.6; }
    .footer-links h4, .footer-meta h4 { color: #fff; margin-bottom: 20px; font-size: 16px; }
    .footer-links ul, .footer-meta ul { list-style: none; }
    .footer-links li, .footer-meta li { margin-bottom: 12px; }
    .footer-links a:hover, .footer-meta a:hover { color: var(--primary); }
    .footer-bottom { border-top: 1px solid rgba(16, 185, 129, 0.08); padding-top: 25px; max-width: 1200px; margin: 0 auto; text-align: center; font-size: 13px; color: #64748b; }

    @media (max-width: 768px) {
      .desktop-nav { display: none; }
      .mobile-menu-toggle { display: flex; }
      .tags-box { padding: 25px; }
    }