/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --primary: #7C3AED;
  --primary-light: #8B5CF6;
  --primary-dark: #6D28D9;
  --secondary: #14B8A6;
  --secondary-light: #2DD4BF;
  --accent: #F59E0B;
  --accent-hover: #FBBF24;
  --bg-deep: #0A0A14;
  --bg-card: #1A1A2E;
  --bg-card-hover: #22223A;
  --bg-section: #12121E;
  --bg-input: rgba(255,255,255,0.06);
  --bg-input-hover: rgba(255,255,255,0.10);
  --text-primary: #EAEAEA;
  --text-secondary: #9CA3AF;
  --text-heading: #FFFFFF;
  --text-muted: #6B7280;
  --border-light: rgba(255,255,255,0.08);
  --border-primary: rgba(124,58,237,0.25);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-card-hover: 0 8px 40px rgba(124,58,237,0.25);
  --shadow-btn: 0 4px 14px rgba(124,58,237,0.35);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-cn: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 64px;
  --container-max: 1200px;
  --padding-section: 80px 0;
  --transition: 0.2s ease;
}
/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-cn); font-size: 16px; line-height: 1.8; color: var(--text-primary); background: var(--bg-deep); overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
button, input, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; transition: var(--transition); }
button { cursor: pointer; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--text-heading); }
/* ===== 容器 ===== */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
/* ===== 导航 ===== */
.header { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height); z-index: 1000; background: rgba(10,10,20,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-light); }
.header .container { display: flex; align-items: center; height: 100%; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; font-weight: 700; font-size: 20px; color: var(--text-heading); font-family: var(--font-en); }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: #fff; }
.logo span { background: linear-gradient(135deg, var(--primary-light), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-search { flex: 1; max-width: 440px; position: relative; margin: 0 8px; }
.nav-search .search-wrap { display: flex; align-items: center; background: var(--bg-input); border-radius: var(--radius-xl); border: 1px solid transparent; padding: 0 16px; height: 40px; transition: var(--transition); }
.nav-search .search-wrap:hover, .nav-search .search-wrap:focus-within { background: var(--bg-input-hover); border-color: var(--primary); }
.nav-search .search-wrap i { color: var(--text-secondary); font-size: 14px; margin-right: 10px; flex-shrink: 0; }
.nav-search input { flex: 1; background: transparent; color: var(--text-heading); height: 100%; font-size: 14px; }
.nav-search input::placeholder { color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.nav-links a { display: block; padding: 6px 14px; font-size: 14px; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); transition: var(--transition); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text-heading); background: rgba(124,58,237,0.12); }
.nav-links a.active { color: var(--primary-light); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-actions .btn-login { font-size: 14px; font-weight: 500; color: var(--text-secondary); padding: 6px 12px; border-radius: var(--radius-sm); }
.nav-actions .btn-login:hover { color: var(--text-heading); background: rgba(255,255,255,0.06); }
.nav-actions .btn-register { font-size: 14px; font-weight: 600; color: #fff; background: var(--primary); padding: 8px 18px; border-radius: var(--radius-md); box-shadow: var(--shadow-btn); }
.nav-actions .btn-register:hover { background: var(--primary-light); transform: translateY(-1px); }
.nav-toggle { display: none; font-size: 22px; color: var(--text-heading); padding: 4px; flex-shrink: 0; }
.mobile-drawer { display: none; }
/* ===== Hero ===== */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 100px 20px 60px; background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,10,20,0.2) 0%, rgba(10,10,20,0.85) 80%); z-index: 1; }
.hero-particles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-particles span { position: absolute; width: 6px; height: 6px; background: var(--primary-light); border-radius: 50%; opacity: 0.25; animation: float 12s infinite ease-in-out; }
.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; width: 8px; height: 8px; }
.hero-particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 2s; background: var(--secondary); }
.hero-particles span:nth-child(3) { left: 45%; top: 10%; animation-delay: 4s; width: 10px; height: 10px; }
.hero-particles span:nth-child(4) { left: 65%; top: 70%; animation-delay: 6s; background: var(--secondary); }
.hero-particles span:nth-child(5) { left: 80%; top: 30%; animation-delay: 8s; width: 5px; height: 5px; }
.hero-particles span:nth-child(6) { left: 90%; top: 50%; animation-delay: 10s; background: var(--accent); opacity: 0.15; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-40px) scale(1.3); } }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-title { font-size: 48px; font-weight: 800; color: #fff; margin-bottom: 16px; text-shadow: 0 2px 30px rgba(124,58,237,0.3); letter-spacing: -0.5px; }
.hero-title .highlight { background: linear-gradient(135deg, var(--primary-light), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 20px; color: #D1D5DB; margin-bottom: 36px; font-weight: 400; letter-spacing: 0.3px; }
.hero-search { max-width: 600px; margin: 0 auto; position: relative; }
.hero-search .search-wrap { display: flex; align-items: center; background: rgba(255,255,255,0.10); border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,0.12); padding: 0 20px; height: 56px; backdrop-filter: blur(8px); transition: var(--transition); }
.hero-search .search-wrap:hover, .hero-search .search-wrap:focus-within { background: rgba(255,255,255,0.15); border-color: var(--primary); }
.hero-search .search-wrap i { color: var(--text-secondary); font-size: 18px; margin-right: 12px; }
.hero-search input { flex: 1; background: transparent; color: #fff; height: 100%; font-size: 16px; }
.hero-search input::placeholder { color: rgba(255,255,255,0.4); }
.hero-search .search-btn { background: var(--primary); color: #fff; padding: 10px 28px; border-radius: var(--radius-xl); font-weight: 600; font-size: 15px; flex-shrink: 0; box-shadow: var(--shadow-btn); }
.hero-search .search-btn:hover { background: var(--primary-light); transform: scale(1.02); }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--text-secondary); font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; animation: bounce 2s infinite; }
.hero-scroll i { font-size: 20px; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
/* ===== 板块通用 ===== */
.section { padding: var(--padding-section); }
.section-bg { background: var(--bg-section); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); font-size: 16px; max-width: 600px; margin: 0 auto; }
/* ===== 爆款片段卡 ===== */
.featured-scroll { overflow-x: auto; scroll-snap-type: x mandatory; display: flex; gap: 24px; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--primary) transparent; }
.featured-scroll::-webkit-scrollbar { height: 6px; }
.featured-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
.featured-card { flex: 0 0 280px; scroll-snap-align: start; background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); transition: var(--transition); box-shadow: var(--shadow-card); }
.featured-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); border-color: var(--border-primary); }
.featured-card .card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.featured-card .card-img img { width: 100%; height: 100%; transition: transform 0.4s ease; }
.featured-card:hover .card-img img { transform: scale(1.05); }
.featured-card .card-body { padding: 16px; }
.featured-card .card-title { font-size: 16px; font-weight: 600; color: var(--text-heading); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured-card .card-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.featured-card .badge { font-size: 12px; padding: 2px 10px; border-radius: var(--radius-sm); font-weight: 500; }
.badge-hot { background: rgba(245,158,11,0.2); color: var(--accent); }
.badge-new { background: rgba(20,184,166,0.2); color: var(--secondary); }
.badge-trend { background: rgba(124,58,237,0.2); color: var(--primary-light); }
.card-heat { font-size: 13px; color: var(--text-secondary); margin-left: auto; }
.card-heat i { color: var(--accent); margin-right: 4px; }
/* ===== 种草清单 ===== */
.pick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pick-item { display: flex; align-items: center; gap: 16px; background: var(--bg-card); border-radius: var(--radius-md); padding: 16px; border: 1px solid var(--border-light); transition: var(--transition); }
.pick-item:hover { background: var(--bg-card-hover); border-color: var(--border-primary); transform: translateX(4px); }
.pick-item .pick-img { width: 120px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.pick-item .pick-img img { width: 100%; height: 100%; }
.pick-item .pick-info { flex: 1; min-width: 0; }
.pick-item .pick-title { font-size: 16px; font-weight: 600; color: var(--text-heading); margin-bottom: 4px; }
.pick-item .pick-desc { font-size: 14px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.pick-item .pick-meta { display: flex; align-items: center; gap: 8px; }
.pick-item .pick-meta .badge { font-size: 11px; padding: 1px 8px; border-radius: 4px; background: rgba(124,58,237,0.15); color: var(--primary-light); }
.pick-item .pick-action { flex-shrink: 0; }
.pick-item .pick-action .btn-text { font-size: 14px; font-weight: 600; color: var(--primary-light); padding: 6px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-primary); transition: var(--transition); }
.pick-item .pick-action .btn-text:hover { background: rgba(124,58,237,0.15); color: var(--text-heading); }
/* ===== 评论口碑条 ===== */
.review-bar { overflow: hidden; position: relative; padding: 16px 0; }
.review-track { display: flex; gap: 16px; width: max-content; animation: scrollReviews 30s linear infinite; }
.review-track:hover { animation-play-state: paused; }
@keyframes scrollReviews { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.review-card { flex: 0 0 300px; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.04); border-radius: var(--radius-md); padding: 14px 18px; border: 1px solid var(--border-light); }
.review-card .avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; font-weight: 700; }
.review-card .review-body { flex: 1; min-width: 0; }
.review-card .review-user { font-size: 14px; font-weight: 600; color: var(--text-heading); margin-bottom: 2px; }
.review-card .review-stars { color: var(--accent); font-size: 13px; margin-bottom: 4px; }
.review-card .review-text { font-size: 13px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
/* ===== CMS资讯列表 ===== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; }
.news-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); transition: var(--transition); box-shadow: var(--shadow-card); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--border-primary); }
.news-card .news-img { width: 100%; height: 180px; overflow: hidden; }
.news-card .news-img img { width: 100%; height: 100%; transition: transform 0.4s ease; }
.news-card:hover .news-img img { transform: scale(1.03); }
.news-card .news-body { padding: 18px; }
.news-card .news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; color: var(--text-muted); }
.news-card .news-meta .badge { font-size: 11px; padding: 2px 10px; border-radius: 4px; background: rgba(124,58,237,0.15); color: var(--primary-light); }
.news-card .news-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .news-title a { color: var(--text-heading); }
.news-card .news-title a:hover { color: var(--primary-light); }
.news-card .news-excerpt { font-size: 14px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; line-height: 1.6; }
.news-card .news-foot { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.news-card .news-foot a { color: var(--primary-light); font-weight: 500; }
.news-card .news-foot a:hover { text-decoration: underline; }
.news-empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; color: var(--text-secondary); font-size: 16px; background: var(--bg-card); border-radius: var(--radius-lg); border: 1px dashed var(--border-light); }
/* ===== CTA区块 ===== */
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--bg-deep) 80%); padding: 72px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: url('/assets/images/backpic/back-2.webp') center center / cover no-repeat; opacity: 0.08; }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: 36px; margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); font-size: 18px; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .btn-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #0A0A14; font-weight: 700; font-size: 18px; padding: 16px 48px; border-radius: var(--radius-md); box-shadow: 0 4px 30px rgba(245,158,11,0.35); transition: var(--transition); }
.cta-section .btn-cta:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 8px 40px rgba(245,158,11,0.45); }
/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: rgba(124,58,237,0.06); border-radius: var(--radius-md); border: 1px solid var(--border-light); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--border-primary); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; font-size: 16px; font-weight: 600; color: var(--text-heading); cursor: pointer; transition: var(--transition); }
.faq-question:hover { color: var(--primary-light); }
.faq-question i { font-size: 18px; color: var(--primary-light); transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 20px; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 20px 18px; }
.faq-answer p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
/* ===== 页脚 ===== */
.footer { background: #07070F; padding: 56px 0 24px; border-top: 1px solid var(--border-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: 15px; font-weight: 600; color: var(--text-heading); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-secondary); padding: 4px 0; }
.footer-col a:hover { color: var(--primary-light); }
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.06); color: var(--text-secondary); font-size: 18px; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--border-light); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-muted); }
/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 18px; }
  .section-header h2 { font-size: 28px; }
  .news-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .pick-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-drawer { display: none; position: fixed; top: var(--nav-height); left: 0; width: 100%; background: rgba(10,10,20,0.98); backdrop-filter: blur(16px); padding: 20px; border-bottom: 1px solid var(--border-light); z-index: 999; }
  .mobile-drawer.open { display: block; }
  .mobile-drawer a { display: block; padding: 12px 0; font-size: 16px; color: var(--text-secondary); border-bottom: 1px solid var(--border-light); }
  .mobile-drawer a:last-child { border-bottom: none; }
  .mobile-drawer a.active { color: var(--primary-light); }
  .nav-search { max-width: 200px; }
}
@media (max-width: 768px) {
  :root { --padding-section: 48px 0; }
  .hero { min-height: 92vh; padding: 80px 16px 40px; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-search .search-wrap { height: 48px; padding: 0 14px; }
  .hero-search input { font-size: 14px; }
  .hero-search .search-btn { padding: 8px 20px; font-size: 14px; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 14px; }
  .featured-card { flex: 0 0 220px; }
  .news-grid { grid-template-columns: 1fr; }
  .pick-item { flex-direction: column; align-items: flex-start; }
  .pick-item .pick-img { width: 100%; height: 140px; }
  .pick-item .pick-action { align-self: flex-end; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-section h2 { font-size: 28px; }
  .cta-section .btn-cta { padding: 14px 32px; font-size: 16px; }
  .nav-search { max-width: 140px; }
  .nav-search .search-wrap { padding: 0 10px; }
  .nav-search .search-wrap i { margin-right: 6px; }
}
@media (max-width: 576px) {
  .hero-title { font-size: 26px; }
  .hero-sub { font-size: 14px; }
  .hero-search .search-wrap { height: 44px; }
  .featured-card { flex: 0 0 180px; }
  .nav-search { max-width: 100px; }
  .nav-search input { font-size: 13px; }
  .nav-actions .btn-login { display: none; }
  .nav-actions .btn-register { padding: 6px 14px; font-size: 13px; }
}

/* roulang page: category1 */
:root {
            --primary: #7C3AED;
            --primary-light: #8B5CF6;
            --primary-dark: #6D28D9;
            --secondary: #14B8A6;
            --secondary-light: #2DD4BF;
            --accent: #F59E0B;
            --bg-dark: #0A0A14;
            --bg-card: #1A1A2E;
            --bg-section: #12121F;
            --text-white: #FFFFFF;
            --text-main: #EAEAEA;
            --text-muted: #9CA3AF;
            --text-dark: #1F2937;
            --border-light: rgba(124, 58, 237, 0.2);
            --radius-card: 16px;
            --radius-btn: 12px;
            --radius-search: 24px;
            --radius-badge: 6px;
            --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
            --shadow-hover: 0 8px 40px rgba(124, 58, 237, 0.25);
            --transition: 0.2s ease;
            --max-width: 1200px;
            --header-height: 64px;
            --font-cn: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
            --font-en: 'Inter', 'SF Pro Display', sans-serif;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-cn);
            background: var(--bg-dark);
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        a {
            color: var(--primary-light);
            text-decoration: none;
            transition: color var(--transition);
        }
        a:hover {
            color: var(--secondary);
        }
        a:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
        }

        button {
            cursor: pointer;
        }

        ul,
        ol {
            list-style: none;
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ===== Header & Nav ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--header-height);
            background: rgba(10, 10, 20, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .header .container {
            display: flex;
            align-items: center;
            height: 100%;
            gap: 20px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            font-size: 20px;
            color: var(--text-white);
            flex-shrink: 0;
            text-decoration: none;
        }
        .logo:hover {
            color: var(--text-white);
        }
        .logo-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 10px;
            font-size: 20px;
            font-weight: 800;
            color: #fff;
        }

        /* Search */
        .search-wrap {
            flex: 1;
            max-width: 420px;
            margin: 0 auto;
            position: relative;
        }
        .search-wrap .search-input {
            width: 100%;
            height: 40px;
            padding: 0 16px 0 44px;
            border-radius: var(--radius-search);
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid transparent;
            color: var(--text-white);
            font-size: 14px;
            transition: border var(--transition), background var(--transition);
        }
        .search-wrap .search-input::placeholder {
            color: var(--text-muted);
        }
        .search-wrap .search-input:focus {
            border-color: var(--primary);
            background: rgba(255, 255, 255, 0.12);
        }
        .search-wrap .search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 16px;
            pointer-events: none;
        }

        /* Nav links */
        .nav-links {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }
        .nav-links a {
            display: block;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-muted);
            transition: background var(--transition), color var(--transition);
            white-space: nowrap;
        }
        .nav-links a:hover {
            background: rgba(124, 58, 237, 0.15);
            color: var(--text-white);
        }
        .nav-links a.active {
            background: rgba(124, 58, 237, 0.2);
            color: var(--primary-light);
        }

        /* Header right */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }
        .btn-login {
            padding: 8px 20px;
            border-radius: var(--radius-btn);
            background: transparent;
            border: 1px solid var(--border-light);
            color: var(--text-main);
            font-size: 14px;
            font-weight: 500;
            transition: background var(--transition), border var(--transition);
        }
        .btn-login:hover {
            background: rgba(124, 58, 237, 0.15);
            border-color: var(--primary);
        }
        .btn-register {
            padding: 8px 20px;
            border-radius: var(--radius-btn);
            background: var(--primary);
            color: #fff;
            font-size: 14px;
            font-weight: 600;
            transition: background var(--transition), transform var(--transition);
        }
        .btn-register:hover {
            background: var(--primary-light);
            transform: translateY(-1px);
        }
        .btn-register:active {
            transform: scale(0.97);
        }

        /* Hamburger */
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            padding: 6px;
            border-radius: 8px;
        }
        .hamburger span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--text-main);
            border-radius: 2px;
            transition: transform var(--transition), opacity var(--transition);
        }

        /* Mobile drawer */
        .mobile-drawer {
            display: none;
            position: fixed;
            top: var(--header-height);
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(10, 10, 20, 0.98);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            padding: 32px 24px;
            flex-direction: column;
            gap: 12px;
            z-index: 999;
            overflow-y: auto;
        }
        .mobile-drawer.open {
            display: flex;
        }
        .mobile-drawer a {
            display: block;
            padding: 14px 20px;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 500;
            color: var(--text-muted);
            background: rgba(255, 255, 255, 0.03);
            transition: background var(--transition), color var(--transition);
        }
        .mobile-drawer a:hover {
            background: rgba(124, 58, 237, 0.15);
            color: var(--text-white);
        }
        .mobile-drawer a.active {
            background: rgba(124, 58, 237, 0.2);
            color: var(--primary-light);
        }
        .mobile-drawer .drawer-actions {
            margin-top: 20px;
            display: flex;
            gap: 12px;
        }
        .mobile-drawer .drawer-actions .btn-login,
        .mobile-drawer .drawer-actions .btn-register {
            flex: 1;
            text-align: center;
            padding: 14px;
            font-size: 16px;
        }

        /* ===== Hero ===== */
        .category-hero {
            padding: calc(var(--header-height) + 60px) 0 60px;
            background: var(--bg-dark);
            position: relative;
            overflow: hidden;
            min-height: 420px;
            display: flex;
            align-items: center;
        }
        .category-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.25;
            z-index: 0;
        }
        .category-hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at center, transparent 0%, var(--bg-dark) 80%);
            z-index: 1;
        }
        .category-hero .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        .category-hero h1 {
            font-size: 42px;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 16px;
            letter-spacing: 1px;
            text-shadow: 0 2px 20px rgba(124, 58, 237, 0.3);
        }
        .category-hero h1 span {
            background: linear-gradient(135deg, var(--primary-light), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .category-hero .hero-desc {
            max-width: 700px;
            margin: 0 auto 28px;
            font-size: 18px;
            color: var(--text-muted);
            line-height: 1.8;
        }
        .category-hero .hero-badge {
            display: inline-block;
            padding: 6px 18px;
            border-radius: var(--radius-badge);
            background: rgba(124, 58, 237, 0.15);
            border: 1px solid var(--border-light);
            color: var(--primary-light);
            font-size: 13px;
            font-weight: 500;
            margin-bottom: 20px;
        }

        /* ===== Breadcrumb ===== */
        .breadcrumb {
            padding: 16px 0;
            background: var(--bg-section);
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        }
        .breadcrumb .container {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text-muted);
        }
        .breadcrumb a {
            color: var(--text-muted);
        }
        .breadcrumb a:hover {
            color: var(--primary-light);
        }
        .breadcrumb .sep {
            color: rgba(255, 255, 255, 0.15);
        }
        .breadcrumb .current {
            color: var(--text-main);
            font-weight: 500;
        }

        /* ===== Section common ===== */
        .section {
            padding: 80px 0;
        }
        .section-alt {
            background: var(--bg-section);
        }
        .section-title {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-title h2 {
            font-size: 32px;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 12px;
        }
        .section-title p {
            font-size: 16px;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.8;
        }

        /* ===== Game Grid ===== */
        .game-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .game-card {
            background: var(--bg-card);
            border-radius: var(--radius-card);
            overflow: hidden;
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-card);
            transition: transform var(--transition), box-shadow var(--transition);
        }
        .game-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
        }
        .game-card .card-img {
            width: 100%;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }
        .game-card:hover .card-img {
            transform: scale(1.03);
        }
        .game-card .card-body {
            padding: 18px 20px 20px;
        }
        .game-card .card-body h3 {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-white);
            margin-bottom: 8px;
        }
        .game-card .card-body .card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 10px;
        }
        .game-card .card-body .card-tags span {
            display: inline-block;
            padding: 2px 10px;
            border-radius: var(--radius-badge);
            font-size: 12px;
            font-weight: 500;
            background: rgba(20, 184, 166, 0.12);
            color: var(--secondary);
        }
        .game-card .card-body .card-tags .tag-hot {
            background: rgba(245, 158, 11, 0.15);
            color: var(--accent);
        }
        .game-card .card-body .card-tags .tag-new {
            background: rgba(124, 58, 237, 0.15);
            color: var(--primary-light);
        }
        .game-card .card-body p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .game-card .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 20px 18px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }
        .game-card .card-footer .hotness {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: var(--accent);
        }
        .game-card .card-footer .hotness i {
            font-size: 14px;
        }
        .game-card .card-footer .btn-sm {
            padding: 6px 18px;
            border-radius: var(--radius-btn);
            background: var(--primary);
            color: #fff;
            font-size: 13px;
            font-weight: 500;
            transition: background var(--transition), transform var(--transition);
        }
        .game-card .card-footer .btn-sm:hover {
            background: var(--primary-light);
            transform: translateY(-1px);
        }

        /* ===== Features ===== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .feature-item {
            background: var(--bg-card);
            border-radius: var(--radius-card);
            padding: 32px 28px;
            border: 1px solid rgba(255, 255, 255, 0.04);
            transition: border var(--transition), transform var(--transition);
            text-align: center;
        }
        .feature-item:hover {
            border-color: var(--border-light);
            transform: translateY(-4px);
        }
        .feature-item .feat-icon {
            width: 56px;
            height: 56px;
            margin: 0 auto 18px;
            border-radius: 16px;
            background: rgba(124, 58, 237, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            color: var(--primary-light);
        }
        .feature-item h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-white);
            margin-bottom: 10px;
        }
        .feature-item p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.8;
        }

        /* ===== Reviews ===== */
        .reviews-scroll {
            overflow: hidden;
            position: relative;
            padding: 12px 0;
        }
        .reviews-track {
            display: flex;
            gap: 20px;
            animation: scrollReviews 28s linear infinite;
            width: max-content;
        }
        .reviews-track:hover {
            animation-play-state: paused;
        }
        @keyframes scrollReviews {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }
        .review-card {
            flex-shrink: 0;
            width: 300px;
            height: 80px;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 12px;
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            border: 1px solid rgba(255, 255, 255, 0.04);
        }
        .review-card .avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 600;
            color: #fff;
        }
        .review-card .review-content {
            flex: 1;
            min-width: 0;
        }
        .review-card .review-content .review-name {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-white);
            margin-bottom: 2px;
        }
        .review-card .review-content .review-stars {
            color: var(--accent);
            font-size: 12px;
            letter-spacing: 1px;
            margin-bottom: 4px;
        }
        .review-card .review-content .review-text {
            font-size: 12px;
            color: var(--text-muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: rgba(124, 58, 237, 0.06);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.04);
            overflow: hidden;
            transition: border var(--transition);
        }
        .faq-item:hover {
            border-color: var(--border-light);
        }
        .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 24px;
            font-size: 16px;
            font-weight: 500;
            color: var(--text-white);
            cursor: pointer;
            background: none;
            width: 100%;
            text-align: left;
            transition: background var(--transition);
        }
        .faq-question:hover {
            background: rgba(124, 58, 237, 0.08);
        }
        .faq-question .faq-toggle {
            font-size: 18px;
            color: var(--primary-light);
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }
        .faq-item.open .faq-question .faq-toggle {
            transform: rotate(45deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s ease;
            padding: 0 24px;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 24px 20px;
        }
        .faq-answer p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.8;
        }

        /* ===== CTA ===== */
        .cta-section {
            padding: 80px 0;
            background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(124, 58, 237, 0.08));
            border-top: 1px solid var(--border-light);
            border-bottom: 1px solid var(--border-light);
            text-align: center;
        }
        .cta-section h2 {
            font-size: 34px;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 16px;
        }
        .cta-section p {
            font-size: 16px;
            color: var(--text-muted);
            max-width: 560px;
            margin: 0 auto 28px;
            line-height: 1.8;
        }
        .cta-section .btn-cta {
            display: inline-block;
            padding: 16px 48px;
            border-radius: var(--radius-btn);
            background: var(--primary);
            color: #fff;
            font-size: 18px;
            font-weight: 600;
            transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
            box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
        }
        .cta-section .btn-cta:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 40px rgba(124, 58, 237, 0.35);
        }
        .cta-section .btn-cta:active {
            transform: scale(0.97);
        }

        /* ===== Footer ===== */
        .footer {
            background: #0A0A14;
            padding: 56px 0 0;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        .footer-brand .logo {
            margin-bottom: 14px;
        }
        .footer-brand p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.8;
            max-width: 360px;
            margin-bottom: 18px;
        }
        .footer-social {
            display: flex;
            gap: 12px;
        }
        .footer-social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            font-size: 16px;
            transition: background var(--transition), color var(--transition);
        }
        .footer-social a:hover {
            background: rgba(124, 58, 237, 0.2);
            color: var(--primary-light);
        }
        .footer-col h4 {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-white);
            margin-bottom: 16px;
        }
        .footer-col a {
            display: block;
            font-size: 14px;
            color: var(--text-muted);
            padding: 4px 0;
            transition: color var(--transition);
        }
        .footer-col a:hover {
            color: var(--primary-light);
        }
        .footer-bottom {
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.2);
        }
        .footer-bottom span {
            opacity: 0.7;
        }

        /* ===== Responsive ===== */
        @media (max-width: 992px) {
            .game-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
            .category-hero h1 {
                font-size: 32px;
            }
            .category-hero .hero-desc {
                font-size: 16px;
            }
            .section-title h2 {
                font-size: 28px;
            }
            .cta-section h2 {
                font-size: 28px;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            .header-actions .btn-login,
            .header-actions .btn-register {
                display: none;
            }
            .hamburger {
                display: flex;
            }
            .search-wrap {
                max-width: 200px;
            }
            .category-hero {
                min-height: 320px;
                padding: calc(var(--header-height) + 40px) 0 40px;
            }
            .category-hero h1 {
                font-size: 28px;
            }
            .category-hero .hero-desc {
                font-size: 15px;
            }
            .section {
                padding: 48px 0;
            }
            .section-title {
                margin-bottom: 32px;
            }
            .section-title h2 {
                font-size: 24px;
            }
            .game-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .features-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .cta-section h2 {
                font-size: 24px;
            }
            .cta-section .btn-cta {
                padding: 14px 32px;
                font-size: 16px;
            }
            .review-card {
                width: 240px;
                height: 72px;
            }
            .review-card .avatar {
                width: 40px;
                height: 40px;
                font-size: 15px;
            }
            .review-card .review-content .review-text {
                font-size: 11px;
            }
        }

        @media (max-width: 576px) {
            .search-wrap {
                max-width: 140px;
            }
            .search-wrap .search-input {
                padding: 0 12px 0 36px;
                font-size: 13px;
            }
            .search-wrap .search-icon {
                left: 10px;
                font-size: 14px;
            }
            .category-hero h1 {
                font-size: 24px;
            }
            .category-hero .hero-desc {
                font-size: 14px;
            }
            .game-card .card-body {
                padding: 14px 16px 16px;
            }
            .game-card .card-body h3 {
                font-size: 16px;
            }
            .game-card .card-footer {
                padding: 10px 16px 14px;
            }
            .feature-item {
                padding: 24px 20px;
            }
            .feature-item h3 {
                font-size: 18px;
            }
            .faq-question {
                padding: 14px 18px;
                font-size: 14px;
            }
            .faq-answer p {
                font-size: 13px;
            }
        }

/* roulang page: article */
/* ===== 设计变量 ===== */
        :root {
            --primary: #7C3AED;
            --primary-hover: #8B5CF6;
            --primary-light: rgba(124, 58, 237, 0.12);
            --primary-border: rgba(124, 58, 237, 0.25);
            --secondary: #14B8A6;
            --secondary-hover: #2DD4BF;
            --accent: #F59E0B;
            --accent-hover: #FBBF24;
            --bg-deep: #0A0A14;
            --bg-card: #111122;
            --bg-section: #1A1A2E;
            --bg-elevated: rgba(255, 255, 255, 0.04);
            --text-white: #FFFFFF;
            --text-primary: #EAEAEA;
            --text-secondary: #9CA3AF;
            --text-muted: #6B7280;
            --border-light: rgba(255, 255, 255, 0.08);
            --border-medium: rgba(255, 255, 255, 0.12);
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
            --shadow-hover: 0 8px 40px rgba(124, 58, 237, 0.25);
            --transition: 0.2s ease;
            --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            --max-width: 1200px;
            --nav-height: 64px;
            --content-max-width: 720px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--bg-deep);
            color: var(--text-primary);
            font-size: 16px;
            line-height: 1.8;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
            min-height: 100vh;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-hover);
        }
        a:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
            border-radius: 4px;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            transition: var(--transition);
        }

        button {
            cursor: pointer;
        }

        ul,
        ol {
            list-style: none;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-weight: 700;
            line-height: 1.3;
            color: var(--text-white);
        }

        /* ===== Container ===== */
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ===== Navigation ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--nav-height);
            background: rgba(10, 10, 20, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-light);
        }

        .header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            gap: 16px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-white);
            font-weight: 700;
            font-size: 20px;
            flex-shrink: 0;
            text-decoration: none;
        }
        .logo:hover {
            color: var(--text-white);
        }
        .logo-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;
            font-weight: 800;
            font-size: 18px;
        }
        .logo span:last-child {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-search {
            flex: 1;
            max-width: 460px;
            position: relative;
            margin: 0 16px;
        }
        .nav-search .search-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-secondary);
            font-size: 14px;
            pointer-events: none;
        }
        .nav-search input {
            width: 100%;
            height: 40px;
            padding: 0 16px 0 42px;
            border-radius: var(--radius-xl);
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-white);
            font-size: 14px;
            border: 1px solid transparent;
            transition: var(--transition);
        }
        .nav-search input::placeholder {
            color: var(--text-muted);
        }
        .nav-search input:hover {
            background: rgba(255, 255, 255, 0.12);
        }
        .nav-search input:focus {
            background: rgba(255, 255, 255, 0.06);
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        .nav-links a {
            padding: 8px 16px;
            border-radius: var(--radius-sm);
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 500;
            transition: var(--transition);
            text-decoration: none;
            white-space: nowrap;
            position: relative;
        }
        .nav-links a:hover {
            color: var(--text-white);
            background: var(--bg-elevated);
        }
        .nav-links a.active {
            color: var(--primary);
            background: var(--primary-light);
        }
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 2px;
            border-radius: 1px;
            background: var(--primary);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }
        .nav-actions .btn-login {
            padding: 8px 20px;
            border-radius: var(--radius-md);
            background: var(--primary);
            color: var(--text-white);
            font-size: 14px;
            font-weight: 600;
            transition: var(--transition);
            border: none;
        }
        .nav-actions .btn-login:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
        }
        .nav-actions .btn-login:active {
            transform: scale(0.97);
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-white);
            font-size: 22px;
            padding: 6px;
            cursor: pointer;
            border-radius: var(--radius-sm);
        }
        .menu-toggle:hover {
            background: var(--bg-elevated);
        }

        /* ===== Breadcrumb ===== */
        .breadcrumb {
            padding: 96px 0 20px;
            font-size: 14px;
            color: var(--text-secondary);
        }
        .breadcrumb a {
            color: var(--text-secondary);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .breadcrumb .sep {
            margin: 0 8px;
            color: var(--text-muted);
        }
        .breadcrumb .current {
            color: var(--text-primary);
        }

        /* ===== Article Main ===== */
        .article-main {
            padding: 0 0 60px;
        }
        .article-header {
            max-width: var(--content-max-width);
            margin: 0 auto 32px;
            text-align: center;
        }
        .article-header h1 {
            font-size: 32px;
            font-weight: 800;
            line-height: 1.35;
            color: var(--text-white);
            margin-bottom: 16px;
        }
        .article-meta {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            font-size: 14px;
            color: var(--text-secondary);
        }
        .article-meta .meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .article-meta .meta-item i {
            font-size: 13px;
            color: var(--text-muted);
        }
        .article-meta .category-badge {
            padding: 2px 12px;
            border-radius: var(--radius-sm);
            background: var(--primary-light);
            color: var(--primary);
            font-size: 12px;
            font-weight: 600;
        }

        .article-body {
            max-width: var(--content-max-width);
            margin: 0 auto;
            font-size: 16px;
            line-height: 1.9;
            color: var(--text-primary);
        }
        .article-body h2 {
            font-size: 24px;
            margin: 40px 0 16px;
            color: var(--text-white);
        }
        .article-body h3 {
            font-size: 20px;
            margin: 32px 0 12px;
            color: var(--text-white);
        }
        .article-body p {
            margin-bottom: 20px;
        }
        .article-body blockquote {
            margin: 24px 0;
            padding: 16px 20px 16px 24px;
            border-left: 4px solid var(--primary);
            background: var(--bg-elevated);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-secondary);
            font-style: italic;
        }
        .article-body pre {
            margin: 24px 0;
            padding: 20px;
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow-x: auto;
            font-size: 14px;
            line-height: 1.6;
            border: 1px solid var(--border-light);
            color: var(--text-primary);
        }
        .article-body code {
            font-family: 'SF Mono', 'Fira Code', monospace;
            font-size: 14px;
            background: var(--bg-elevated);
            padding: 2px 8px;
            border-radius: 4px;
        }
        .article-body pre code {
            background: none;
            padding: 0;
        }
        .article-body img {
            margin: 24px 0;
            border-radius: var(--radius-md);
            width: 100%;
            box-shadow: var(--shadow-card);
        }
        .article-body ul,
        .article-body ol {
            margin: 16px 0 20px;
            padding-left: 24px;
        }
        .article-body ul {
            list-style: disc;
        }
        .article-body ol {
            list-style: decimal;
        }
        .article-body li {
            margin-bottom: 8px;
        }
        .article-body a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .article-body a:hover {
            color: var(--primary-hover);
        }

        .article-not-found {
            max-width: var(--content-max-width);
            margin: 40px auto;
            padding: 60px 32px;
            text-align: center;
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
        }
        .article-not-found i {
            font-size: 48px;
            color: var(--text-muted);
            margin-bottom: 20px;
        }
        .article-not-found h2 {
            font-size: 24px;
            color: var(--text-white);
            margin-bottom: 12px;
        }
        .article-not-found p {
            color: var(--text-secondary);
            margin-bottom: 24px;
        }
        .article-not-found .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: var(--radius-md);
            background: var(--primary);
            color: var(--text-white);
            font-weight: 600;
            font-size: 15px;
            transition: var(--transition);
            text-decoration: none;
        }
        .article-not-found .btn-back:hover {
            background: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 24px rgba(124, 58, 237, 0.3);
            color: var(--text-white);
        }

        /* ===== Related Posts ===== */
        .related-section {
            padding: 48px 0 60px;
            border-top: 1px solid var(--border-light);
        }
        .related-section .section-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 28px;
            text-align: center;
        }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .related-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--border-light);
            transition: var(--transition);
            text-decoration: none;
            display: block;
        }
        .related-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary-border);
        }
        .related-card .card-img {
            width: 100%;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            display: block;
        }
        .related-card .card-body {
            padding: 14px 16px 18px;
        }
        .related-card .card-body h3 {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-white);
            margin-bottom: 6px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .related-card .card-body .card-meta {
            font-size: 13px;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .related-card .card-body .card-meta .tag {
            padding: 1px 10px;
            border-radius: 4px;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 11px;
            font-weight: 600;
        }

        /* ===== Back Link ===== */
        .back-link-wrap {
            text-align: center;
            padding: 20px 0 40px;
        }
        .back-link-wrap a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--text-secondary);
            font-size: 15px;
            text-decoration: none;
            transition: var(--transition);
            padding: 10px 24px;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
        }
        .back-link-wrap a:hover {
            color: var(--primary);
            border-color: var(--primary-border);
            background: var(--primary-light);
        }

        /* ===== Footer ===== */
        .footer {
            background: var(--bg-deep);
            padding: 48px 0 24px;
            border-top: 1px solid var(--border-light);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 32px;
        }
        .footer-brand .logo {
            margin-bottom: 16px;
        }
        .footer-brand p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 18px;
            max-width: 360px;
        }
        .footer-social {
            display: flex;
            gap: 14px;
        }
        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--bg-elevated);
            color: var(--text-secondary);
            font-size: 16px;
            transition: var(--transition);
            text-decoration: none;
        }
        .footer-social a:hover {
            background: var(--primary);
            color: var(--text-white);
            transform: translateY(-2px);
        }
        .footer-col h4 {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-white);
            margin-bottom: 16px;
        }
        .footer-col a {
            display: block;
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 10px;
            text-decoration: none;
            transition: var(--transition);
        }
        .footer-col a:hover {
            color: var(--primary);
            padding-left: 4px;
        }
        .footer-bottom {
            padding-top: 20px;
            border-top: 1px solid var(--border-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 12px;
            color: var(--text-muted);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .related-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .nav-search {
                max-width: 300px;
            }
        }

        @media (max-width: 768px) {
            .nav-search {
                max-width: 200px;
                margin: 0 8px;
            }
            .nav-search input {
                height: 36px;
                font-size: 13px;
                padding: 0 12px 0 36px;
            }
            .nav-search .search-icon {
                left: 12px;
                font-size: 13px;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: var(--nav-height);
                left: 0;
                right: 0;
                background: rgba(10, 10, 20, 0.98);
                backdrop-filter: blur(12px);
                flex-direction: column;
                padding: 16px 20px;
                gap: 4px;
                border-bottom: 1px solid var(--border-light);
            }
            .nav-links.open {
                display: flex;
            }
            .nav-links a {
                padding: 12px 16px;
                width: 100%;
                border-radius: var(--radius-sm);
            }
            .nav-links a.active::after {
                display: none;
            }
            .menu-toggle {
                display: block;
            }

            .article-header h1 {
                font-size: 26px;
            }
            .article-meta {
                gap: 12px;
                font-size: 13px;
            }

            .related-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 14px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 520px) {
            .header .container {
                gap: 8px;
            }
            .nav-search {
                max-width: 120px;
                margin: 0 4px;
            }
            .nav-search input {
                height: 34px;
                font-size: 12px;
                padding: 0 8px 0 32px;
                border-radius: 20px;
            }
            .nav-search .search-icon {
                left: 10px;
                font-size: 12px;
            }
            .nav-actions .btn-login {
                padding: 6px 14px;
                font-size: 12px;
            }
            .logo {
                font-size: 16px;
            }
            .logo-icon {
                width: 30px;
                height: 30px;
                font-size: 14px;
            }

            .article-header h1 {
                font-size: 22px;
            }
            .article-body {
                font-size: 15px;
            }
            .article-body h2 {
                font-size: 20px;
            }
            .article-body h3 {
                font-size: 17px;
            }

            .related-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .breadcrumb {
                font-size: 12px;
                padding: 80px 0 16px;
            }
            .article-not-found {
                padding: 40px 20px;
            }
            .article-not-found i {
                font-size: 36px;
            }
            .article-not-found h2 {
                font-size: 20px;
            }
        }

        @media (max-width: 400px) {
            .nav-search {
                max-width: 80px;
            }
            .nav-search input {
                padding: 0 6px 0 28px;
                font-size: 11px;
            }
            .nav-search .search-icon {
                left: 8px;
                font-size: 10px;
            }
        }

        /* ===== Utility ===== */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border-width: 0;
        }
