﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #0b61d4;
      --accent: rgb(96,165,250);
      --bg-dark: #0a0f1d;
      --bg-light: #f4f7fc;
      --card-dark: rgba(16, 24, 48, 0.85);
      --card-border: rgba(255, 255, 255, 0.08);
      --text-light: #ffffff;
      --text-dark: #1e293b;
      --text-muted: #64748b;
      --max-width: 1200px;
      --nav-height: 70px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.6;
      color: var(--text-dark);
      background-color: var(--bg-light);
    }
    a { color: inherit; text-decoration: none; transition: all 0.3s; }
    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }

    
    header {
      background: rgba(10, 15, 29, 0.95);
      backdrop-filter: blur(10px);
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 1px solid var(--card-border);
      height: var(--nav-height);
    }
    .header-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }
    .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: 18px;
      font-weight: 800;
      line-height: 1;
      color: var(--text-light);
      white-space: nowrap;
    }
    .nav-menu {
      display: flex;
      gap: 24px;
      align-items: center;
    }
    .nav-menu a {
      color: rgba(255,255,255,0.8);
      font-size: 15px;
      font-weight: 500;
    }
    .nav-menu a:hover {
      color: var(--accent);
    }
    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 24px;
      cursor: pointer;
    }

    
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      z-index: 2000;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    .drawer-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }
    .mobile-drawer {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: var(--bg-dark);
      z-index: 2001;
      transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      padding: 24px;
      box-shadow: 4px 0 20px rgba(0,0,0,0.3);
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .mobile-drawer.active {
      left: 0;
    }
    .drawer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--card-border);
      padding-bottom: 15px;
    }
    .drawer-close {
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 24px;
      cursor: pointer;
    }
    .drawer-menu {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    .drawer-menu a {
      color: var(--text-light);
      font-size: 16px;
      font-weight: 500;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .drawer-menu a:hover {
      color: var(--accent);
    }

    
    .tag-hero {
      background: radial-gradient(circle at 50% 30%, #152445, var(--bg-dark));
      padding: 70px 0;
      color: var(--text-light);
      text-align: center;
    }
    .tag-hero h1 {
      font-size: 32px;
      font-weight: 800;
      margin-bottom: 15px;
    }
    .tag-hero p {
      font-size: 15px;
      color: rgba(255,255,255,0.7);
      max-width: 600px;
      margin: 0 auto;
    }

    
    .tag-cloud-wrap {
      padding: 60px 0;
    }
    .tag-cloud-box {
      background: #ffffff;
      border-radius: 16px;
      padding: 40px;
      border: 1px solid rgba(0,0,0,0.04);
      box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    }
    .tag-title-sub {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 30px;
      color: var(--text-dark);
      text-align: center;
    }
    .tag-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      justify-content: center;
    }
    .tag-badge-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #f1f5f9;
      color: var(--text-dark);
      padding: 10px 20px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 14px;
      border: 1px solid rgba(0,0,0,0.02);
    }
    .tag-badge-item:hover {
      background: var(--primary);
      color: #fff;
      transform: translateY(-2px);
    }
    .tag-count {
      background: rgba(0,0,0,0.06);
      color: var(--text-muted);
      font-size: 11px;
      font-weight: 700;
      border-radius: 20px;
      padding: 2px 8px;
    }
    .tag-badge-item:hover .tag-count {
      background: rgba(255,255,255,0.25);
      color: #fff;
    }

    
    footer {
      background: #070b14;
      color: rgba(255,255,255,0.6);
      padding: 60px 0 30px 0;
      border-top: 1px solid var(--card-border);
      font-size: 14px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .footer-brand .logo span {
      color: #fff;
    }
    .footer-col h4 {
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .footer-links {
      list-style: none;
    }
    .footer-links li {
      margin-bottom: 12px;
    }
    .footer-links a:hover {
      color: var(--accent);
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.05);
      padding-top: 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 15px;
    }

    @media (max-width: 992px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .mobile-menu-btn { display: block; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }