﻿:root {
      --primary-color: #1D7BFF;
      --accent-color: rgb(139,92,246);
      --accent-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
      --bg-dark: #0A0F1D;
      --bg-card-dark: #121826;
      --text-light: #F3F4F6;
      --text-muted: #9CA3AF;
      --border-dark: rgba(255, 255, 255, 0.08);
      --bg-light: #F8FAFC;
      --text-dark: #0F172A;
      --border-light: #E2E8F0;
      --card-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
      --container-width: 1200px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: var(--bg-light);
      color: var(--text-dark);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: all 0.3s; }
    .container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

    
    .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: rgba(10, 15, 29, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-dark); color: var(--text-light); }
    .header-container { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 36px; 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; }
    .desktop-nav { display: flex; align-items: center; gap: 32px; }
    .desktop-nav a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .desktop-nav a:hover { color: var(--primary-color); }
    .header-actions { display: flex; align-items: center; gap: 16px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s; border: none; }
    .btn-primary { background: var(--accent-gradient); color: #fff; }
    .mobile-menu-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
    .mobile-menu-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-light); }
    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); z-index: 199; opacity: 0; visibility: hidden; transition: all 0.3s; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer-navigation { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: var(--bg-dark); border-right: 1px solid var(--border-dark); z-index: 200; display: flex; flex-direction: column; transition: all 0.3s; }
    .drawer-navigation.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border-dark); color: var(--text-light); }
    .drawer-close { background: none; border: none; color: var(--text-light); font-size: 28px; cursor: pointer; }
    .drawer-body { flex: 1; overflow-y: auto; padding: 30px 20px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 16px; font-weight: 500; color: var(--text-muted); padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.03); }
    .drawer-footer { padding: 20px; border-top: 1px solid var(--border-dark); text-align: center; }

    
    .single-tag-header {
      background: radial-gradient(circle at 50% 50%, rgba(29, 123, 255, 0.1) 0%, var(--bg-dark) 100%);
      color: var(--text-light);
      padding: 140px 0 80px;
      text-align: center;
    }
    .single-tag-header h1 { font-size: 36px; margin-bottom: 16px; }
    .single-tag-header p { color: var(--text-muted); font-size: 14px; }

    
    .tag-content { padding: 80px 0; }
    .tag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

    .tag-article-card {
      background: #fff;
      border: 1px solid var(--border-light);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .tag-article-img { width: 100%; height: 200px; object-fit: cover; }
    .tag-article-body { padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .tag-article-meta { display: flex; gap: 15px; font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
    .tag-article-body h3 { font-size: 18px; margin-bottom: 12px; line-height: 1.4; }
    .tag-article-body h3 a:hover { color: var(--primary-color); }
    .tag-article-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

    .pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
    .pagination a, .pagination span { border: 1px solid var(--border-light); padding: 10px 16px; border-radius: 6px; font-size: 14px; background: #fff; }
    .pagination .active { background: var(--accent-gradient); color: #fff; border-color: transparent; }

    
    .site-footer { background-color: #070B14; color: var(--text-muted); border-top: 1px solid var(--border-dark); padding: 80px 0 30px; }
    .footer-container { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
    .footer-brand .logo { margin-bottom: 20px; }
    .brand-desc { font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
    .social-links { display: flex; flex-direction: column; gap: 10px; }
    .social-icon { font-size: 13px; color: var(--text-light); display: flex; align-items: center; gap: 8px; }
    .footer-links-group h4 { color: var(--text-light); font-size: 16px; margin-bottom: 24px; }
    .footer-links-group ul { list-style: none; }
    .footer-links-group ul li { margin-bottom: 12px; }
    .footer-links-group ul li a { font-size: 14px; }
    .footer-links-group ul li a:hover { color: var(--primary-color); }
    .compliance-text { font-size: 12px; line-height: 1.8; color: #52617a; }
    .footer-bottom { border-top: 1px solid var(--border-dark); padding-top: 30px; margin-top: 60px; text-align: center; font-size: 12px; }

    @media (max-width: 992px) {
      .desktop-nav { display: none; }
      .mobile-menu-toggle { display: flex; }
      .tag-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-container { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .tag-grid { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr; }
    }