﻿:root {
      --primary: rgb(245,158,11);
      --primary-hover: rgb(220,135,5);
      --glacier-blue: #1D7BFF;
      --deep-sea: #0B1120;
      --silver: #F1F5F9;
      --text-dark: #0F172A;
      --text-light: #64748B;
      --border-color: #E2E8F0;
      --card-bg: #FFFFFF;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
      --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08);
      --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, sans-serif;
      color: var(--text-dark);
      background-color: #F8FAFC;
      line-height: 1.6;
    }
    a { text-decoration: none; color: inherit; transition: var(--transition); }
    
    
    .header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0, 0, 0, 0.05); box-shadow: var(--shadow-sm); }
    .header-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { font-size: 20px; font-weight: 800; color: var(--text-dark); background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .nav-desktop { display: flex; align-items: center; gap: 32px; }
    .nav-desktop a { font-size: 15px; font-weight: 600; color: var(--text-light); padding: 6px 0; position: relative; }
    .nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); }
    .nav-actions { display: flex; align-items: center; gap: 16px; }
    .btn-header { padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; background-color: var(--primary); color: #FFFFFF; box-shadow: 0 4px 10px rgba(245,158,11, 0.3); }
    .menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
    .menu-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-dark); margin: 5px 0; }

    
    .drawer-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); z-index: 1999; opacity: 0; visibility: hidden; transition: var(--transition); }
    .drawer-mask.active { opacity: 1; visibility: visible; }
    .drawer-content { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: #FFFFFF; box-shadow: var(--shadow-sm); z-index: 2000; display: flex; flex-direction: column; padding: 24px; transition: var(--transition); }
    .drawer-content.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
    .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-light); }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }

    
    .tags-hero { background: radial-gradient(circle at 50% 30%, #152238 0%, var(--deep-sea) 100%); color: #FFFFFF; padding: 80px 24px; text-align: center; }
    .tags-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
    .tags-hero p { font-size: 16px; color: #94A3B8; max-width: 650px; margin: 0 auto; }

    .tags-main { max-width: 1000px; margin: 60px auto; padding: 0 24px; }
    .tags-box { background: #FFFFFF; border: 1px solid var(--border-color); border-radius: 20px; padding: 48px; box-shadow: var(--shadow-sm); }
    .tags-cloud-container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
    .tag-cloud-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background-color: var(--silver); color: var(--text-dark); border-radius: 50px; font-size: 14px; font-weight: 600; transition: var(--transition); border: 1px solid transparent; }
    .tag-cloud-item:hover { background-color: #FFFFFF; border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
    .tag-count { background: rgba(245,158,11, 0.1); color: var(--primary); padding: 2px 8px; border-radius: 10px; font-size: 11px; }

    
    .footer { background-color: var(--deep-sea); color: #94A3B8; border-top: 1px solid #1E293B; }
    .footer-top { max-width: 1200px; margin: 0 auto; padding: 80px 24px 48px 24px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 48px; }
    .footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.7; }
    .footer-col h4 { color: #FFFFFF; font-size: 16px; font-weight: 700; margin-bottom: 24px; }
    .footer-col ul { display: flex; flex-direction: column; gap: 12px; }
    .footer-col a { font-size: 14px; }
    .footer-col a:hover { color: var(--primary); padding-left: 4px; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; padding: 32px 24px; border-top: 1px solid #1E293B; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; }
    .footer-bottom-links { display: flex; gap: 24px; }
    .footer-bottom-links a:hover { color: var(--primary); }

    @media (max-width: 768px) {
      .nav-desktop, .nav-actions { display: none; }
      .menu-toggle { display: block; }
      .tags-box { padding: 24px; }
      .footer-top { grid-template-columns: 1fr; gap: 32px; }
    }