﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #0056C6;
      --secondary: rgb(107,114,128);
      --dark-deep: #0A1128;
      --dark-card: #111B3D;
      --light-bg: #F4F8FD;
      --white: #FFFFFF;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --border-color: #E2E8F0;
      --max-width: 1200px;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      color: var(--text-main);
      background-color: var(--white);
      line-height: 1.6;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }

    .header-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .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(--dark-deep);
      white-space: nowrap;
    }

    .nav-desktop {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-desktop a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-main);
    }

    .nav-desktop a:hover {
      color: var(--primary);
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      flex-direction: column;
      justify-content: space-between;
      width: 24px;
      height: 18px;
      cursor: pointer;
    }

    .menu-toggle span {
      display: block;
      width: 100%;
      height: 2px;
      background-color: var(--dark-deep);
      border-radius: 2px;
    }

    
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(10, 17, 40, 0.4);
      backdrop-filter: blur(4px);
      z-index: 998;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
    }

    .drawer-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .drawer {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: var(--white);
      z-index: 999;
      box-shadow: 4px 0 24px rgba(10, 17, 40, 0.15);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      padding: 24px;
    }

    .drawer.active {
      left: 0;
    }

    .drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 40px;
    }

    .drawer-close {
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--text-muted);
    }

    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .drawer-nav a {
      font-size: 16px;
      font-weight: 500;
      padding: 8px 0;
      border-bottom: 1px solid var(--border-color);
    }

    
    .page-header {
      background-color: var(--dark-deep);
      color: var(--white);
      padding: 60px 0;
      text-align: center;
    }

    .page-header h1 {
      font-size: 32px;
      font-weight: 800;
    }

    
    .tags-section {
      padding: 80px 0;
    }

    .tags-index-card {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 48px;
    }

    .tags-desc {
      font-size: 16px;
      color: var(--text-muted);
      text-align: center;
      max-width: 600px;
      margin: 0 auto 40px auto;
      line-height: 1.8;
    }

    .tag-large-cloud {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 16px;
    }

    .tag-large-item {
      font-size: 15px;
      color: var(--dark-deep);
      background: var(--light-bg);
      border: 1px solid var(--border-color);
      padding: 10px 24px;
      border-radius: 50px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: var(--transition);
    }

    .tag-large-item:hover {
      background: var(--primary);
      color: var(--white);
      border-color: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(29, 123, 255, 0.2);
    }

    .tag-large-count {
      font-size: 12px;
      background: rgba(10, 17, 40, 0.08);
      color: var(--text-muted);
      padding: 2px 8px;
      border-radius: 20px;
    }

    .tag-large-item:hover .tag-large-count {
      background: rgba(255, 255, 255, 0.25);
      color: var(--white);
    }

    
    .footer {
      background: var(--dark-deep);
      color: rgba(255, 255, 255, 0.7);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-brand .logo span {
      color: var(--white);
    }

    .footer-brand p {
      font-size: 14px;
      margin-top: 16px;
    }

    .footer-title {
      color: var(--white);
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a {
      font-size: 14px;
    }

    .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;
      font-size: 14px;
    }

    @media (max-width: 768px) {
      .nav-desktop {
        display: none;
      }
      .menu-toggle {
        display: flex;
      }
      .tags-index-card {
        padding: 24px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
      }
    }