﻿:root {
            --theme-color: rgb(168,85,247);
            --theme-color-dark: rgb(147, 51, 234);
            --theme-color-light: rgba(168,85,247, 0.1);
            --text-color: #333;
            --text-color-light: #666;
            --bg-color: #ffffff;
            --bg-color-alt: #f8f9fa;
            --border-color: #e9ecef;
            --container-width: 1200px;
        }
        body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text-color); background-color: var(--bg-color); -webkit-font-smoothing: antialiased; }
        *, *::before, *::after { box-sizing: border-box; }
        a { color: var(--theme-color); text-decoration: none; transition: color 0.3s; }
        a:hover { color: var(--theme-color-dark); }
        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 15px; }
        header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 15px 0; transition: all 0.3s ease; background-color: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
        .header-container { display: flex; justify-content: space-between; align-items: center; }
        .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: 20px; font-weight: 700; line-height: 1; color: #111; white-space: nowrap; }
        .main-nav { display: none; }
        .nav-toggle { display: block; width: 24px; height: 24px; cursor: pointer; z-index: 1002; position: relative; }
        .nav-toggle span { display: block; background-color: #333; height: 2px; width: 100%; border-radius: 2px; transition: all 0.3s; position: absolute; }
        .nav-toggle span:nth-child(1) { top: 5px; }
        .nav-toggle span:nth-child(2) { top: 11px; }
        .nav-toggle span:nth-child(3) { top: 17px; }
        .mobile-nav-open .nav-toggle span:nth-child(1) { top: 11px; transform: rotate(45deg); }
        .mobile-nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
        .mobile-nav-open .nav-toggle span:nth-child(3) { top: 11px; transform: rotate(-45deg); }
        .drawer-nav { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background-color: #fff; box-shadow: 0 0 20px rgba(0,0,0,0.1); transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 1001; display: flex; flex-direction: column; }
        .drawer-nav-header { padding: 20px; border-bottom: 1px solid var(--border-color); }
        .drawer-nav-header .logo span { color: #111; }
        .drawer-nav-body { flex-grow: 1; overflow-y: auto; padding: 20px 0; }
        .drawer-nav-body a { display: block; padding: 12px 20px; font-size: 16px; color: var(--text-color); font-weight: 500; }
        .drawer-nav-body a:hover { background-color: var(--theme-color-light); color: var(--theme-color); }
        .nav-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; z-index: 1000; }
        .mobile-nav-open .drawer-nav { left: 0; }
        .mobile-nav-open .nav-mask { opacity: 1; visibility: visible; }
        .article-wrapper { padding-top: 100px; }
        .article-container { max-width: 800px; margin: 0 auto; }
        .article-header { text-align: center; margin: 40px 0; }
        .article-header h1 { font-size: 40px; margin: 0 0 20px; line-height: 1.3; }
        .article-meta { display: flex; justify-content: center; align-items: center; gap: 20px; color: var(--text-color-light); font-size: 14px; }
        .article-featured-image { margin-bottom: 40px; }
        .article-featured-image img { width: 100%; border-radius: 12px; }
        .article-content { font-size: 18px; line-height: 1.8; }
        .article-content h2 { font-size: 28px; margin-top: 40px; margin-bottom: 20px; }
        .article-content p { margin-bottom: 20px; }
        .article-content img { max-width: 100%; height: auto; border-radius: 8px; }
        .article-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); }
        .article-tags a { display: inline-block; background-color: var(--theme-color-light); color: var(--theme-color); padding: 5px 12px; border-radius: 5px; font-size: 14px; margin-right: 10px; margin-bottom: 10px; }
        .article-pagination { display: flex; justify-content: space-between; margin-top: 40px; }
        .related-articles { padding: 80px 0; background-color: var(--bg-color-alt); }
        .section-header { text-align: center; margin-bottom: 60px; }
        .section-header h2 { font-size: 36px; margin: 0 0 10px; font-weight: 700; color: #111; }
        .articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .article-card { background-color: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s; }
        .article-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
        .article-card-image { height: 200px; }
        .article-card-image img { width: 100%; height: 100%; object-fit: cover; }
        .article-card-content { padding: 25px; }
        .article-card-content h3 { font-size: 20px; margin: 0 0 10px; line-height: 1.4; }
        .article-card-content h3 a { color: var(--text-color); }
        .article-card-content h3 a:hover { color: var(--theme-color); }
        footer { background-color: #1f2937; color: #d1d5db; padding: 60px 0 30px; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
        .footer-col h4 { font-size: 18px; color: #fff; margin-bottom: 20px; }
        .footer-col p { margin-bottom: 20px; }
        .footer-col ul { list-style: none; padding: 0; margin: 0; }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col ul a { color: #d1d5db; transition: color 0.3s; }
        .footer-col ul a:hover { color: #fff; }
        .footer-col .logo span { color: #fff; }
        .footer-bottom { border-top: 1px solid #374151; padding-top: 30px; text-align: center; font-size: 14px; color: #9ca3af; }
        @media (min-width: 992px) {
            .main-nav { display: flex; align-items: center; gap: 30px; }
            .main-nav a { color: #333; font-weight: 500; position: relative; padding: 5px 0; }
            .main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--theme-color); transition: width 0.3s; }
            .main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
            .nav-toggle { display: none; }
        }
        @media (max-width: 768px) {
            .article-header h1 { font-size: 32px; }
            .article-content { font-size: 16px; }
        }