﻿:root {
      --primary-color: rgb(147, 51, 234);
      --primary-hover: rgb(126, 34, 206);
      --deep-sea-ink: #0B1120;
      --text-dark: #0F172A;
      --text-muted: #64748B;
      --border-color: #E2E8F0;
      --transition: all 0.3s ease;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text-dark); background-color: #F8FAFC; line-height: 1.6; }
    a { text-decoration: none; color: inherit; transition: var(--transition); }
    
    
    header { background: #FFFFFF; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
    .header-container { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
    .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: 20px; font-weight: 800; color: var(--text-dark); }
    .nav-menu { display: flex; gap: 24px; align-items: center; }
    .nav-menu a { font-size: 15px; font-weight: 600; color: var(--text-dark); padding: 8px 12px; border-radius: 6px; }
    .nav-menu a:hover { color: var(--primary-color); background: rgba(147,51,234,0.05); }
    .nav-btn { background: var(--primary-color); color: #FFF !important; padding: 8px 18px !important; border-radius: 8px; font-weight: 600; }
    .hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; pointer-events: none; transition: var(--transition); backdrop-filter: blur(4px); }
    .drawer { position: fixed; top: 0; left: -320px; width: 320px; height: 100%; background: #FFF; z-index: 1001; transition: var(--transition); padding: 30px 24px; display: flex; flex-direction: column; gap: 30px; }
    .drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
    .drawer-open .drawer { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; }
    .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
    .drawer-nav a { font-size: 16px; font-weight: 600; color: var(--text-dark); padding: 12px; border-radius: 8px; border-bottom: 1px solid var(--border-color); }

    
    .tag-banner { background: linear-gradient(135deg, var(--deep-sea-ink) 0%, #1E1B4B 100%); color: #FFF; text-align: center; padding: 60px 20px; }
    .tag-banner h1 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
    .tag-banner p { font-size: 16px; opacity: 0.8; max-width: 600px; margin: 0 auto; }

    
    .tag-index-container { max-width: 1000px; margin: 60px auto; padding: 0 20px; }
    .tag-intro-block { background: #FFFFFF; border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; margin-bottom: 40px; text-align: center; }
    .tag-intro-block p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

    .cloud-wrap { background: #FFFFFF; border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
    .cloud-item { display: inline-flex; align-items: center; gap: 8px; background: #F1F5F9; border: 1px solid #E2E8F0; padding: 10px 20px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--text-dark); transition: var(--transition); }
    .cloud-item:hover { background: var(--primary-color); color: #FFF; border-color: var(--primary-color); transform: translateY(-2px); }
    .cloud-count { font-size: 11px; background: rgba(0,0,0,0.06); padding: 2px 6px; border-radius: 10px; color: var(--text-muted); }
    .cloud-item:hover .cloud-count { background: rgba(255,255,255,0.2); color: #FFF; }

    
    footer { background: #0F172A; color: #94A3B8; padding: 70px 20px 30px; border-top: 1px solid rgba(255,255,255,0.05); }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
    .footer-brand { display: flex; flex-direction: column; gap: 20px; }
    .footer-brand .logo span { color: #FFFFFF; }
    .footer-brand p { font-size: 14px; }
    .footer-links h4 { color: #FFFFFF; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
    .footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-links ul a { font-size: 14px; }
    .footer-links ul a:hover { color: #FFFFFF; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 13px; }

    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .hamburger { display: block; }
      .footer-container { grid-template-columns: 1fr; }
    }