﻿:root {
      --primary: #1D7BFF;
      --accent: rgb(225,29,72);
      --bg-dark: #0B0F19;
      --bg-card: rgba(17, 24, 39, 0.7);
      --border-color: rgba(29, 123, 255, 0.15);
      --text-main: #E2E8F0;
      --text-muted: #94A3B8;
      --glacier-white: #F8FAFC;
      --max-width: 1200px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { background-color: var(--bg-dark); color: var(--text-main); font-family: -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: 0.3s; }
    header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
    .nav-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { font-size: 20px; font-weight: 800; color: var(--glacier-white); }
    .nav-menu { display: flex; align-items: center; gap: 28px; }
    .nav-menu a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .btn-download { background: linear-gradient(135deg, var(--primary), #0052D4); color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; }
    
    .menu-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
    .menu-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-main); }
    .drawer-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 199; opacity: 0; pointer-events: none; transition: 0.3s; }
    .drawer-backdrop.active { opacity: 1; pointer-events: auto; }
    .mobile-drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: var(--bg-dark); border-right: 1px solid var(--border-color); z-index: 200; padding: 24px; display: flex; flex-direction: column; gap: 32px; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; color: var(--text-muted); font-size: 24px; }

    
    .tag-index-hero { padding: 160px 20px 60px 20px; text-align: center; background: radial-gradient(ellipse at bottom, rgba(29, 123, 255, 0.12), transparent 60%); }
    .tag-index-hero h1 { font-size: 40px; color: var(--glacier-white); margin-bottom: 16px; }
    .tag-index-hero p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

    .tag-container-main { max-width: 900px; margin: 0 auto 100px auto; padding: 40px 20px; background: rgba(17, 24, 39, 0.4); border: 1px solid var(--border-color); border-radius: 16px; }
    .tag-grid-large { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
    .tag-card-lg { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 10px 24px; border-radius: 30px; font-size: 15px; color: var(--text-main); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
    .tag-card-lg:hover { border-color: var(--primary); color: var(--primary); background: rgba(29,123,255,0.1); transform: translateY(-2px); }
    .tag-count-bubble { font-size: 11px; background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 10px; color: var(--text-muted); }

    
    footer { background: #06090F; border-top: 1px solid var(--border-color); padding: 80px 0 40px 0; color: var(--text-muted); }
    .footer-grid { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-brand p { margin-top: 16px; font-size: 14px; max-width: 280px; }
    .footer-links h4 { color: var(--glacier-white); font-size: 16px; margin-bottom: 20px; }
    .footer-links ul { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { font-size: 14px; }
    .footer-links a:hover { color: var(--primary); }
    .footer-bottom { max-width: var(--max-width); margin: 0 auto; padding: 40px 20px 0 20px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; }

    @media (max-width: 768px) {
      .nav-menu, .nav-actions { display: none; }
      .menu-toggle { display: flex; }
      .footer-grid { grid-template-columns: 1fr; }
    }