﻿:root {
      --bg-dark: #070B19;
      --bg-card: #0F172A;
      --bg-card-hover: #1E293B;
      --primary: #1D7BFF;
      --secondary: rgb(108,92,231);
      --accent: #00F2FE;
      --text-main: #F8FAFC;
      --text-muted: #94A3B8;
      --border: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(255, 255, 255, 0.2);
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-sans); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

    
    .header { border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; background: rgba(7, 11, 25, 0.85); backdrop-filter: blur(12px); }
    .header-nav { display: flex; justify-content: space-between; align-items: center; height: 80px; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 38px; 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(--text-main); white-space: nowrap; }
    .nav-menu { display: flex; align-items: center; gap: 32px; }
    .nav-menu a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .nav-menu 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 22px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: none; }
    .btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
    .btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-main); border: 1px solid var(--border); }
    .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--border-hover); }
    .menu-toggle { 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(--bg-card); z-index: 200; transition: left 0.3s ease; padding: 30px 24px; box-shadow: 10px 0 30px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 40px; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; }
    .drawer-close { background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 16px; font-weight: 500; color: var(--text-muted); }
    .drawer-nav a:hover { color: var(--primary); }
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 150; display: none; }
    .drawer-overlay.active { display: block; }

    
    .tag-header { padding: 80px 0; text-align: center; background: linear-gradient(180deg, rgba(29, 123, 255, 0.05) 0%, transparent 100%); }
    .tag-header h1 { font-size: 42px; font-weight: 800; margin-bottom: 20px; }
    .tag-header p { color: var(--text-muted); font-size: 18px; max-width: 700px; margin: 0 auto; }

    
    .tag-section { padding: 60px 0 100px; }
    .tag-cloud-big { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 50px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
    .big-tag-item { font-size: 15px; color: var(--text-muted); background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 10px 22px; border-radius: 50px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; }
    .big-tag-item:hover { border-color: var(--primary); color: var(--primary); transform: scale(1.05); }
    .big-tag-count { font-size: 11px; background: rgba(29, 123, 255, 0.15); color: var(--accent); border-radius: 50%; padding: 2px 8px; font-weight: 700; }

    
    .footer { background: #0B0F19; border-top: 1px solid var(--border); padding: 80px 0 30px; }
    .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-desc { color: var(--text-muted); margin-top: 20px; font-size: 14px; max-width: 300px; }
    .footer-col h4 { font-size: 15px; font-weight: 700; color: var(--text-main); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 14px; }
    .footer-links a { font-size: 14px; color: var(--text-muted); }
    .footer-links a:hover { color: var(--primary); }
    .footer-bottom { border-top: 1px solid var(--border); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); }

    @media (max-width: 768px) {
      .nav-menu, .header-actions .btn-secondary { display: none; }
      .menu-toggle { display: block; }
      .tag-cloud-big { padding: 24px; }
    }