﻿:root {
      --primary: #1D7BFF;
      --primary-dark: #155EC2;
      --bg-dark: #0B132B;
      --bg-mid: #1C2541;
      --bg-light: #F4F7FC;
      --text-dark: #1C2541;
      --text-muted: #5C677D;
      --white: rgb(255,255,255);
      --border-color: rgba(29, 123, 255, 0.12);
      --radius: 12px;
      --shadow-sm: 0 4px 6px rgba(11, 19, 43, 0.05);
      --shadow-md: 0 10px 20px rgba(11, 19, 43, 0.08);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --max-width: 1200px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      color: var(--text-dark);
      background-color: var(--bg-light);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: var(--transition); }
    img { max-width: 100%; height: auto; }
    
    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    
    .header {
      background-color: rgba(11, 19, 43, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 100;
      color: var(--white);
      height: 70px;
      display: flex;
      align-items: center;
    }
    .header-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 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(--white);
      white-space: nowrap;
    }
    .nav-menu {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    .nav-menu a {
      font-size: 15px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.8);
    }
    .nav-menu a:hover {
      color: var(--primary);
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 20px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      border: none;
    }
    .btn-primary {
      background-color: var(--primary);
      color: var(--white);
    }
    .btn-primary:hover {
      background-color: var(--primary-dark);
    }
    .menu-btn {
      display: none;
      background: none;
      border: none;
      color: var(--white);
      font-size: 24px;
      cursor: pointer;
    }

    
    .mobile-drawer {
      position: fixed;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      z-index: 1000;
      transition: var(--transition);
      display: flex;
    }
    .mobile-drawer.active {
      left: 0;
    }
    .drawer-overlay {
      background-color: rgba(11, 19, 43, 0.8);
      flex-grow: 1;
    }
    .drawer-content {
      width: 300px;
      background-color: var(--bg-dark);
      height: 100%;
      display: flex;
      flex-direction: column;
      padding: 30px 24px;
      box-shadow: 5px 0 25px rgba(0,0,0,0.5);
    }
    .drawer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;
    }
    .drawer-close {
      background: none;
      border: none;
      color: var(--white);
      font-size: 28px;
      cursor: pointer;
    }
    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .drawer-nav a {
      font-size: 18px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.8);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      padding-bottom: 12px;
    }
    .drawer-nav a:hover {
      color: var(--primary);
    }

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

    .tag-grid-container {
      padding: 60px 0;
    }
    .tag-index-card {
      background-color: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 40px;
      box-shadow: var(--shadow-sm);
    }
    .tag-index-card h2 { font-size: 20px; font-weight: 700; color: var(--bg-dark); margin-bottom: 30px; border-bottom: 1px solid #ECEFF5; padding-bottom: 14px; }
    
    .tags-flex-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .tag-btn {
      font-size: 14px;
      background-color: var(--bg-light);
      border: 1px solid var(--border-color);
      color: var(--text-dark);
      padding: 10px 18px;
      border-radius: 6px;
      font-weight: 500;
    }
    .tag-btn:hover {
      background-color: var(--primary);
      color: var(--white);
      border-color: var(--primary);
      transform: translateY(-1px);
    }
    .tag-btn span { font-size: 11px; background-color: rgba(11, 19, 43, 0.1); color: var(--text-muted); padding: 2px 6px; border-radius: 4px; margin-left: 6px; }
    .tag-btn:hover span { background-color: rgba(255,255,255,0.2); color: var(--white); }

    
    .footer {
      background-color: var(--bg-dark);
      color: rgba(255, 255, 255, 0.7);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 80px 0 40px 0;
      font-size: 14px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr repeat(3, 1fr);
      gap: 40px;
      margin-bottom: 60px;
    }
    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .footer-brand .logo span { color: var(--white); }
    .footer-col h4 {
      color: var(--white);
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 24px;
    }
    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-links a:hover {
      color: var(--primary);
    }
    .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: 20px;
    }
    .footer-meta-links {
      display: flex;
      gap: 24px;
    }

    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .nav-actions { display: none; }
      .menu-btn { display: block; }
    }