﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #0a62d4;
      --secondary: rgb(220,38,38);
      --bg-dark: #0A1128;
      --bg-card: #111b35;
      --bg-light: #F4F7FC;
      --text-dark: #0F172A;
      --text-light: #F8FAFC;
      --text-muted: #94A3B8;
      --border-color: rgba(255, 255, 255, 0.1);
      --border-light: #E2E8F0;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background-color: var(--bg-light);
      color: var(--text-dark);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; height: auto; }

    
    .site-header {
      background-color: var(--bg-dark);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }
    .logo img {
      display: block;
      height: 40px;
      width: auto;
      max-width: 160px;
      object-fit: contain;
    }
    .logo span {
      font-size: 18px;
      font-weight: 800;
      color: var(--text-light);
    }
    .desktop-nav {
      display: flex;
      gap: 24px;
    }
    .desktop-nav a {
      color: var(--text-muted);
      font-size: 15px;
      font-weight: 500;
      transition: color 0.3s;
    }
    .desktop-nav a:hover {
      color: var(--primary);
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .btn-download {
      background: var(--primary);
      color: #fff;
      padding: 8px 18px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 600;
    }
    .drawer-trigger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
    }
    .drawer-trigger span {
      display: block;
      width: 24px;
      height: 2px;
      background-color: var(--text-light);
    }

    
    .mobile-drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 1001;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
    }
    .mobile-drawer-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    .mobile-drawer {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: var(--bg-dark);
      z-index: 1002;
      transition: left 0.3s;
      display: flex;
      flex-direction: column;
    }
    .mobile-drawer.active {
      left: 0;
    }
    .drawer-header {
      padding: 20px;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .drawer-close {
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 28px;
    }
    .drawer-content {
      padding: 20px;
      flex: 1;
      overflow-y: auto;
    }
    .mobile-nav {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .mobile-nav a {
      color: var(--text-light);
      font-size: 16px;
      font-weight: 500;
      padding-bottom: 8px;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    
    .tag-banner {
      background: radial-gradient(circle at center, #111b35 0%, #060a17 100%);
      color: #fff;
      padding: 60px 20px;
      text-align: center;
    }
    .tag-banner h1 {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 15px;
    }
    .tag-banner p {
      color: var(--text-muted);
      max-width: 600px;
      margin: 0 auto;
    }

    
    .tagged-container {
      max-width: 1200px;
      margin: 50px auto;
      padding: 0 20px;
    }
    .tagged-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }
    .tagged-card {
      background: #fff;
      border: 1px solid var(--border-light);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .tagged-card-img {
      height: 180px;
      background-color: #e2e8f0;
    }
    .tagged-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .tagged-card-body {
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .tagged-card-meta {
      font-size: 12px;
      color: #64748b;
      margin-bottom: 10px;
      display: flex;
      gap: 15px;
    }
    .tagged-card-body h3 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 10px;
      line-height: 1.4;
    }
    .tagged-card-body h3 a:hover {
      color: var(--primary);
    }
    .tagged-card-desc {
      font-size: 14px;
      color: #64748b;
      margin-bottom: 16px;
    }
    .tagged-card-footer {
      margin-top: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid #f1f5f9;
      padding-top: 16px;
      font-size: 13px;
    }
    .tagged-card-tags {
      color: var(--primary);
      font-weight: 500;
    }

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

    
    .site-footer {
      background-color: var(--bg-dark);
      color: var(--text-muted);
      border-top: 1px solid var(--border-color);
      padding: 60px 20px 20px;
    }
    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-brand-section .logo {
      margin-bottom: 15px;
    }
    .footer-desc {
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 20px;
    }
    .footer-social {
      display: flex;
      gap: 15px;
    }
    .footer-link-group h4 {
      color: var(--text-light);
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 20px;
    }
    .footer-link-group ul {
      list-style: none;
    }
    .footer-link-group ul li {
      margin-bottom: 12px;
    }
    .footer-link-group ul li a {
      font-size: 14px;
      transition: color 0.3s;
    }
    .footer-link-group ul li a:hover {
      color: var(--primary);
    }
    .risk-warning {
      font-size: 12px;
      border-top: 1px dashed rgba(255,255,255,0.1);
      padding-top: 12px;
      margin-top: 12px;
    }
    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      border-top: 1px solid var(--border-color);
      padding-top: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
    }

    @media (max-width: 768px) {
      .desktop-nav, .header-actions .btn-download { display: none; }
      .drawer-trigger { display: flex; }
      .tagged-grid { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr; }
    }