/* roulang page: index */
:root {
  --bg-primary: #0B0F14;
  --bg-surface: #141A20;
  --bg-surface-hover: #1A222A;
  --bg-footer: #080C10;
  --border-color: #232C35;
  --border-light: rgba(255,255,255,0.06);
  --text-primary: #F0F2F5;
  --text-secondary: #8D9AA8;
  --text-muted: #5A6675;
  --accent-primary: #E8A33D;
  --accent-hover: #F0B04F;
  --accent-secondary: #2DD4BF;
  --success: #4ADE80;
  --warning: #F87171;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 8px rgba(0,0,0,0.18);
  --shadow-hover: 0 12px 32px rgba(0,0,0,0.35);
  --shadow-btn: 0 4px 14px rgba(232,163,61,0.25);
  --shadow-container: 0 24px 48px rgba(0,0,0,0.3);
  --transition-base: 0.25s cubic-bezier(0.4,0,0.2,1);
  --container-width: 1200px;
  --header-height: 104px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.75; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; border-radius: var(--radius-md); }
a { color: var(--text-primary); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--accent-primary); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); width: 100%; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 2rem; position: relative; display: flex; align-items: center; gap: 0.75rem; }
.section-title::after { content: ''; width: 40px; height: 3px; background: var(--accent-primary); border-radius: var(--radius-pill); display: inline-block; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.section-head .section-title { margin-bottom: 0; }
.section-more { color: var(--text-secondary); font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.375rem; transition: color 0.25s ease; }
.section-more:hover { color: var(--accent-primary); }
.section-more i { font-size: 0.75rem; transition: transform 0.25s ease; }
.section-more:hover i { transform: translateX(4px); }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(11,15,20,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.header.scrolled { border-bottom-color: rgba(255,255,255,0.06); }
.nav-brand-row { display: flex; justify-content: space-between; align-items: center; padding: 0.875rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); position: relative; }
.logo { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; line-height: 1.3; }
.logo .logo-pg { color: var(--accent-primary); font-weight: 700; }
.logo:hover { color: var(--text-primary); }
.nav-tools { display: flex; align-items: center; gap: 0.875rem; }
.search-toggle-wrap { position: relative; }
.search-toggle { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.05); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; transition: all 0.25s ease; }
.search-toggle:hover { background: var(--accent-primary); color: #0B0F14; }
.search-expand { position: absolute; right: 0; top: calc(100% + 10px); width: 220px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.3s ease; z-index: 50; }
.search-expand.active { opacity: 1; visibility: visible; transform: translateY(0); }
.search-input { width: 100%; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 0.625rem 0.875rem; color: var(--text-primary); font-size: 0.875rem; outline: none; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.search-input:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(232,163,61,0.15); }
.nav-login { font-size: 0.8125rem; color: var(--text-secondary); transition: color 0.25s ease; }
.nav-login:hover { color: var(--accent-primary); }
.nav-channel-row { padding: 0; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.04); }
.channel-nav { display: flex; gap: 0; height: 48px; align-items: stretch; }
.channel-nav a { display: inline-flex; align-items: center; padding: 0 1.375rem; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); position: relative; transition: color 0.25s ease; border-bottom: 3px solid transparent; }
.channel-nav a:hover { color: var(--text-primary); }
.channel-nav a.active { color: var(--accent-primary); border-bottom-color: var(--accent-primary); }
.channel-nav a.active::before { content: ''; width: 32px; height: 3px; background: var(--accent-primary); border-radius: var(--radius-pill); position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%); }

/* Hero */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, rgba(11,15,20,0.45) 0%, rgba(11,15,20,0.75) 60%, var(--bg-primary) 100%), url('/assets/images/backpic/back-1.png') center center / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,20,0) 0%, rgba(11,15,20,0.55) 55%, #0B0F14 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 680px; padding-left: clamp(2rem, 8vw, 6rem); padding-top: 4rem; padding-bottom: 4rem; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 1.25rem; animation: heroFadeUp 0.6s 0.1s cubic-bezier(0.4,0,0.2,1) both; }
.hero h1 .hero-pg { color: var(--accent-primary); }
.hero-sub { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.6; max-width: 36em; margin-bottom: 2rem; animation: heroFadeUp 0.6s 0.15s cubic-bezier(0.4,0,0.2,1) both; }
.hero-ctas { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; animation: heroFadeUp 0.6s 0.3s cubic-bezier(0.4,0,0.2,1) both; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent-primary); color: #0B0F14; font-size: 0.9375rem; font-weight: 600; padding: 0.875rem 1.875rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-btn); transition: all 0.25s cubic-bezier(0.4,0,0.2,1); text-decoration: none; }
.btn-primary:hover { background: var(--accent-hover); color: #0B0F14; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(240,176,79,0.3); }
.btn-primary i { font-size: 0.8125rem; transition: transform 0.25s ease; }
.btn-primary:hover i { transform: translateX(4px); }
.btn-text-link { font-size: 0.9375rem; color: var(--text-secondary); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(255,255,255,0.2); transition: all 0.25s ease; }
.btn-text-link:hover { color: var(--accent-primary); text-decoration-color: var(--accent-primary); }
.hero-scroll { position: absolute; right: clamp(1.5rem, 5vw, 3.5rem); bottom: 3rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 1rem; transition: all 0.3s ease; background: rgba(11,15,20,0.3); backdrop-filter: blur(6px); }
.hero-scroll:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.35); transform: translateY(4px); background: rgba(11,15,20,0.5); }
.marquee-line { position: absolute; bottom: 0; left: 0; height: 2px; width: 100%; overflow: hidden; z-index: 3; }
.marquee-line::after { content: ''; display: block; width: 200px; height: 100%; background: linear-gradient(90deg, transparent, var(--accent-primary), transparent); animation: marqueeAnim 3.5s linear infinite; }
@keyframes marqueeAnim { 0% { transform: translateX(-200px); } 100% { transform: translateX(100vw); } }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Horizontal Scroll Card Slider */
.section-slider { background: var(--bg-primary); }
.slider-wrapper { position: relative; overflow: hidden; padding: 0.5rem 0 1rem; }
.slider-mask { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 0.5rem; }
.slider-mask::-webkit-scrollbar { display: none; }
.slider-card { flex: 0 0 180px; scroll-snap-align: start; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); box-shadow: var(--shadow-card); }
.slider-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: rgba(232,163,61,0.3); }
.slider-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-surface-hover); }
.slider-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.slider-card:hover .slider-cover img { transform: scale(1.03); }
.slider-badge { position: absolute; top: 8px; left: 8px; background: rgba(11,15,20,0.75); backdrop-filter: blur(8px); color: white; font-size: 0.6875rem; font-weight: 500; padding: 2px 10px; border-radius: var(--radius-pill); letter-spacing: 0.04em; }
.slider-info { padding: 0.875rem 0.875rem 1rem; }
.slider-title { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0.5rem; transition: color 0.25s ease; }
.slider-card:hover .slider-title { color: var(--accent-primary); }
.slider-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.slider-tag { font-size: 0.6875rem; color: var(--accent-secondary); border: 1px solid rgba(45,212,191,0.3); padding: 1px 8px; border-radius: var(--radius-pill); letter-spacing: 0.02em; background: rgba(45,212,191,0.08); }
.slider-date { font-size: 0.6875rem; color: var(--text-muted); }
.slider-arrow { position: absolute; top: 40%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(11,15,20,0.75); border: 1px solid rgba(255,255,255,0.1); color: var(--text-primary); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; z-index: 5; transition: all 0.25s ease; backdrop-filter: blur(8px); }
.slider-arrow:hover { background: var(--accent-primary); color: #0B0F14; border-color: var(--accent-primary); }
.slider-arrow.prev { left: 8px; }
.slider-arrow.next { right: 8px; }
@media (max-width: 1024px) { .slider-arrow { opacity: 0.8; } }
@media (max-width: 767px) { .slider-arrow { opacity: 0.7; width: 36px; height: 36px; } }

/* Weekly Hot Section */
.section-weekly { background: var(--bg-primary); }
.weekly-grid { display: grid; grid-template-columns: 60% 40%; gap: 1.25rem; }
.weekly-card-large { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; border: 1px solid var(--border-color); transition: all 0.25s cubic-bezier(0.4,0,0.2,1); box-shadow: var(--shadow-card); }
.weekly-card-large:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.weekly-card-large img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.6s ease; }
.weekly-card-large:hover img { transform: scale(1.03); }
.weekly-large-content { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,20,0.2) 0%, rgba(11,15,20,0.9) 100%); padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; }
.weekly-large-content .badge-read { position: absolute; top: 1rem; right: 1rem; background: rgba(11,15,20,0.75); backdrop-filter: blur(8px); font-size: 0.75rem; color: var(--text-primary); padding: 2px 12px; border-radius: var(--radius-pill); }
.weekly-large-content .badge-hot { position: absolute; top: 1rem; left: 1rem; background: var(--accent-primary); color: #0B0F14; font-size: 0.75rem; font-weight: 600; padding: 2px 12px; border-radius: var(--radius-pill); }
.weekly-large-title { font-size: 1.375rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.625rem; color: var(--text-primary); }
.weekly-large-title:hover { color: var(--accent-primary); }
.weekly-large-meta { font-size: 0.8125rem; color: var(--text-secondary); }
.weekly-side { display: flex; flex-direction: column; gap: 1.25rem; }
.weekly-card-small { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 170px; flex: 1; border: 1px solid var(--border-color); transition: all 0.25s cubic-bezier(0.4,0,0.2,1); box-shadow: var(--shadow-card); }
.weekly-card-small:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.weekly-card-small img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.6s ease; }
.weekly-card-small:hover img { transform: scale(1.03); }
.weekly-small-content { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,20,0.1) 0%, rgba(11,15,20,0.88) 100%); padding: 1.25rem; display: flex; flex-direction: column; justify-content: flex-end; }
.badge-hot-small { position: absolute; top: 0.75rem; right: 0.75rem; background: var(--accent-primary); color: #0B0F14; font-size: 0.6875rem; font-weight: 600; padding: 1px 8px; border-radius: var(--radius-pill); }
.weekly-small-title { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; color: var(--text-primary); margin-bottom: 0.25rem; }
.weekly-small-title:hover { color: var(--accent-primary); }
.weekly-small-desc { font-size: 0.8125rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1024px) { .weekly-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .weekly-grid { grid-template-columns: 1fr; } .weekly-card-large { min-height: 300px; } .weekly-card-small { min-height: 150px; } }

/* Channel Sections */
.section-channels { background: var(--bg-primary); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.channel-block { padding: 2rem 1.75rem 2.5rem; border-right: 1px solid var(--border-light); position: relative; transition: background 0.25s ease; }
.channel-block:last-child { border-right: none; }
.channel-block:hover { background: rgba(255,255,255,0.015); }
.channel-number { font-size: 3.25rem; font-weight: 700; color: rgba(255,255,255,0.06); line-height: 1; margin-bottom: 1rem; display: block; }
.channel-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-primary); }
.channel-desc { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1.25rem; line-height: 1.6; }
.channel-more { font-size: 0.8125rem; color: var(--accent-primary); display: inline-flex; align-items: center; gap: 0.375rem; }
.channel-more i { font-size: 0.6875rem; transition: transform 0.25s ease; }
.channel-more:hover i { transform: translateX(4px); }
.channel-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1.5rem; }
.channel-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1rem 0.875rem; text-align: center; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; }
.channel-card:hover { border-color: var(--accent-primary); background: var(--bg-surface-hover); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.channel-card-icon { width: 40px; height: 40px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; color: var(--accent-secondary); background: rgba(45,212,191,0.1); }
.channel-card-name { font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); }
.channel-card-tag { font-size: 0.6875rem; color: var(--text-muted); }
@media (max-width: 1024px) { .channels-grid { grid-template-columns: 1fr 1fr; } .channel-block { border-right: none; border-bottom: 1px solid var(--border-light); } .channel-block:nth-child(1) { border-right: 1px solid var(--border-light); } .channel-block:nth-child(3) { border-bottom: none; grid-column: span 2; } }
@media (max-width: 767px) { .channels-grid { grid-template-columns: 1fr; } .channel-block { border-right: none; border-bottom: 1px solid var(--border-light); } .channel-block:nth-child(1) { border-right: none; } .channel-block:nth-child(3) { grid-column: auto; border-bottom: none; } .channel-cards { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; } }

/* Stats Section */
.section-stats { background: var(--bg-surface); position: relative; overflow: hidden; }
.section-stats::before { content: 'PG'; position: absolute; right: -3rem; top: 50%; transform: translateY(-50%); font-size: 300px; font-weight: 700; color: rgba(232,163,61,0.05); pointer-events: none; line-height: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; position: relative; z-index: 2; }
.stat-item { padding: 1rem; }
.stat-number { font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 700; color: var(--accent-primary); line-height: 1.1; letter-spacing: -0.02em; }
.stat-label { font-size: 0.875rem; color: var(--text-secondary); margin-top: 0.5rem; }
.stat-divider { width: 32px; height: 2px; background: var(--border-color); margin: 0.875rem auto 0; border-radius: var(--radius-pill); }
@media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (max-width: 767px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

/* News List CMS Section */
.section-news { background: var(--bg-primary); }
.news-list { border-top: 1px solid var(--border-light); }
.news-item { display: flex; align-items: center; gap: 1.25rem; padding: 1.125rem 0.875rem; border-bottom: 1px solid var(--border-light); transition: all 0.25s ease; cursor: pointer; }
.news-item:hover { background: var(--bg-surface-hover); transform: translateX(4px); }
.news-item:hover .news-date-letter { color: var(--accent-primary); }
.news-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; border-left: 3px solid var(--accent-primary); padding-left: 0.625rem; margin-left: 0.25rem; }
.news-month { font-size: 1.375rem; font-weight: 700; color: var(--text-primary); line-height: 1.1; }
.news-day { font-size: 0.75rem; color: var(--text-secondary); }
.news-title { flex: 1; font-size: 0.9375rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.25s ease; }
.news-item:hover .news-title { color: var(--accent-primary); }
.news-cat { display: inline-flex; font-size: 0.6875rem; color: var(--accent-secondary); background: rgba(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.25); padding: 1px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.news-desc { font-size: 0.8125rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; margin-left: 0.75rem; }
.news-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 1rem; text-align: center; border: 1px dashed var(--border-color); border-radius: var(--radius-lg); margin-top: 1.5rem; background: rgba(255,255,255,0.01); }
.news-empty-icon { width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.news-empty-text { font-size: 1rem; color: var(--text-secondary); margin-bottom: 0.375rem; }
.news-empty-sub { font-size: 0.875rem; color: var(--text-muted); }
@media (max-width: 1024px) { .news-desc { display: none; } }
@media (max-width: 767px) { .news-item { flex-wrap: wrap; gap: 0.5rem; } .news-date { min-width: 48px; } .news-title { flex-basis: 100%; order: 3; } .news-cat { order: 2; } .news-desc { display: none; } }

/* FAQ Section */
.section-faq { background: var(--bg-surface); }
.faq-wrap { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 0.75rem; overflow: hidden; transition: all 0.25s ease; }
.faq-item:hover { border-color: rgba(232,163,61,0.25); }
.faq-item details > summary { list-style: none; padding: 1.125rem 1.375rem; display: flex; align-items: center; justify-content: space-between; cursor: pointer; gap: 1rem; }
.faq-item details > summary::-webkit-details-marker { display: none; }
.faq-question { font-size: 1rem; font-weight: 600; color: var(--text-primary); transition: color 0.25s ease; }
.faq-item details[open] .faq-question { color: var(--accent-primary); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; color: var(--text-secondary); transition: all 0.4s cubic-bezier(0.4,0,0.2,1); flex-shrink: 0; }
.faq-icon::before { content: '+'; line-height: 1; }
.faq-item details[open] .faq-icon { transform: rotate(45deg); background: var(--accent-primary); border-color: var(--accent-primary); color: #0B0F14; }
.faq-answer { padding: 0 1.375rem 1.25rem; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.7; border-left: 3px solid var(--accent-secondary); margin-left: 1.375rem; margin-right: 1.375rem; margin-bottom: 0.875rem; background: var(--bg-surface-hover); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding-top: 0.75rem; }
@media (max-width: 767px) { .faq-item details > summary { padding: 0.875rem 1rem; } .faq-answer { margin-left: 1rem; margin-right: 1rem; padding: 0.625rem 0.875rem; } }

/* CTA Section */
.section-cta { background: linear-gradient(120deg, #E8A33D 0%, #D97E2C 100%); position: relative; overflow: hidden; }
.section-cta::before { content: 'PG'; position: absolute; right: -1.5rem; top: 50%; transform: translateY(-50%); font-size: 340px; font-weight: 700; color: rgba(11,15,20,0.05); pointer-events: none; line-height: 1; }
.cta-inner { position: relative; z-index: 2; text-align: center; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.cta-title { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; color: #0B0F14; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.cta-sub { font-size: 1rem; color: rgba(11,15,20,0.75); margin-bottom: 2rem; }
.cta-form { display: flex; gap: 0.75rem; max-width: 460px; margin: 0 auto; }
.cta-form input { flex: 1; background: rgba(11,15,20,0.75); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-md); padding: 0.875rem 1.25rem; color: var(--text-primary); font-size: 0.9375rem; outline: none; transition: all 0.25s ease; }
.cta-form input::placeholder { color: rgba(255,255,255,0.5); }
.cta-form input:focus { border-color: rgba(255,255,255,0.6); box-shadow: 0 0 0 3px rgba(255,255,255,0.15); }
.cta-form .btn-cta { background: #0B0F14; color: var(--accent-primary); font-weight: 600; font-size: 0.9375rem; padding: 0.875rem 1.75rem; border-radius: var(--radius-md); transition: all 0.25s ease; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.375rem; }
.cta-form .btn-cta:hover { background: #111820; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,15,20,0.3); }
.cta-note { font-size: 0.75rem; color: rgba(11,15,20,0.6); margin-top: 1rem; }
@media (max-width: 767px) { .cta-form { flex-direction: column; gap: 0.625rem; } .cta-form .btn-cta { justify-content: center; width: 100%; } }

/* Footer */
.footer { background: var(--bg-footer); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-desc { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.7; max-width: 260px; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 0.625rem; }
.footer-social a { width: 34px; height: 34px; border-radius: var(--radius-md); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; color: var(--text-secondary); transition: all 0.25s ease; }
.footer-social a:hover { color: var(--accent-primary); border-color: var(--accent-primary); background: rgba(232,163,61,0.1); }
.footer-title { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a { font-size: 0.8125rem; color: var(--text-secondary); transition: color 0.25s ease; }
.footer-links a:hover { color: var(--accent-primary); }
.footer-contact { font-size: 0.8125rem; color: var(--text-secondary); line-height: 2; }
.footer-contact i { color: var(--accent-primary); width: 18px; margin-right: 0.375rem; }
.footer-bottom { border-top: 1px solid var(--border-light); padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.75rem; color: var(--text-muted); transition: color 0.25s ease; }
.footer-legal a:hover { color: var(--accent-primary); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } .footer-bottom { flex-direction: column; text-align: center; } .footer-legal { justify-content: center; } }

/* Utilities */
.text-center { text-align: center; }
.text-accent { color: var(--accent-primary); }
.text-secondary { color: var(--text-secondary); }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Foundation Override */
.row { max-width: none; margin: 0; }
.column, .columns, .grid-x { margin: 0; padding: 0; }
.button { margin: 0; text-transform: none; }

/* roulang page: category1 */
:root {
  --bg-primary: #0B0F14;
  --bg-surface: #141A20;
  --bg-surface-hover: #1A222A;
  --border-color: #232C35;
  --text-primary: #F0F2F5;
  --text-secondary: #8D9AA8;
  --text-muted: #5A6675;
  --accent-gold: #E8A33D;
  --accent-gold-hover: #F0B04F;
  --accent-teal: #2DD4BF;
  --success: #4ADE80;
  --warning: #F87171;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 999px;
  --shadow-card: 0 2px 8px rgba(0,0,0,0.18);
  --shadow-hover: 0 12px 32px rgba(0,0,0,0.35);
  --shadow-btn: 0 4px 14px rgba(232,163,61,0.25);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-primary); color: var(--text-primary); font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { cursor: pointer; font-family: inherit; font-size: inherit; }
input { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(11,15,20,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
.nav-brand-row { display: flex; justify-content: space-between; align-items: center; height: 70px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.logo { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text-primary); line-height: 1; }
.logo-pg { color: var(--accent-gold); }
.nav-tools { display: flex; align-items: center; gap: 1.25rem; }
.search-toggle-wrap { position: relative; }
.search-toggle { background: none; border: none; color: var(--text-secondary); font-size: 1rem; padding: 0.5rem; transition: var(--transition); }
.search-toggle:hover { color: var(--accent-gold); }
.search-expand { position: absolute; right: 0; top: calc(100% + 12px); width: 220px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 0.75rem; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--transition); box-shadow: var(--shadow-hover); }
.search-expand.open { opacity: 1; visibility: visible; transform: translateY(0); }
.search-input { width: 100%; background: rgba(11,15,20,0.6); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 0.65rem 0.9rem; color: var(--text-primary); font-size: 0.875rem; outline: none; transition: var(--transition); }
.search-input:focus { border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(232,163,61,0.15); }
.search-input::placeholder { color: var(--text-muted); }
.nav-login { color: var(--text-secondary); font-size: 0.875rem; padding: 0.4rem 0; }
.nav-login:hover { color: var(--accent-gold); }
.nav-channel-row { background: rgba(255,255,255,0.03); }
.channel-nav { display: flex; align-items: center; height: 48px; gap: 0.25rem; }
.channel-nav a { position: relative; display: inline-flex; align-items: center; padding: 0 1.25rem; height: 100%; color: var(--text-secondary); font-size: 0.9375rem; font-weight: 500; transition: var(--transition); white-space: nowrap; }
.channel-nav a:hover { color: var(--text-primary); }
.channel-nav a.active { color: var(--accent-gold); }
.channel-nav a.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 32px; height: 3px; background: var(--accent-gold); border-radius: 3px 3px 0 0; }

/* ===== Category Hero ===== */
.category-hero { position: relative; min-height: 42vh; display: flex; align-items: center; overflow: hidden; background: #131920; }
.category-hero-bg { position: absolute; inset: 0; background: url('/assets/images/backpic/back-1.png') center/cover no-repeat; opacity: 0.45; transform: scale(1.02); animation: heroZoom 1.5s ease-out forwards; }
.category-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,20,0.72) 0%, rgba(11,15,20,0.35) 60%, rgba(11,15,20,0.75) 100%); z-index: 1; }
.category-hero-decor { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgba(232,163,61,0.22); pointer-events: none; z-index: 1; }
.category-hero-decor::after { content: ''; position: absolute; inset: 42px; border-radius: 50%; border: 1px solid rgba(45,212,191,0.28); }
.category-hero-decor::before { content: ''; position: absolute; inset: 96px; border-radius: 50%; background: rgba(232,163,61,0.04); }
.category-hero-inner { position: relative; z-index: 2; padding: clamp(3rem, 6vw, 5.5rem) 0; max-width: 760px; animation: fadeUp 0.7s ease-out both; }
.hero-kicker { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(232,163,61,0.12); border: 1px solid rgba(232,163,61,0.3); color: var(--accent-gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 1.5rem; }
.category-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.16; letter-spacing: -0.01em; margin-bottom: 1.1rem; color: var(--text-primary); }
.category-lead { color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.75; max-width: 34em; margin-bottom: 2rem; }
.hero-back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--accent-teal); font-size: 0.9375rem; font-weight: 500; }
.hero-back-link i { transition: transform var(--transition); }
.hero-back-link:hover { color: var(--accent-gold); }
.hero-back-link:hover i { transform: translateX(-4px); }
@keyframes heroZoom { 0% { transform: scale(1.02); } 100% { transform: scale(1); } }
@keyframes fadeUp { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: translateY(0); } }

/* ===== Topic Grid ===== */
.topic-grid-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.section-head .section-note { color: var(--text-secondary); font-size: 0.9375rem; max-width: 32em; text-align: right; }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.topic-card { display: flex; align-items: stretch; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.topic-card:hover { background: var(--bg-surface-hover); border-color: rgba(232,163,61,0.35); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.topic-thumb { width: 108px; flex-shrink: 0; min-height: 100%; position: relative; overflow: hidden; }
.topic-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.topic-card:hover .topic-thumb img { transform: scale(1.06); }
.topic-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,15,20,0.15) 0%, transparent 40%); }
.topic-info { display: flex; flex-direction: column; justify-content: center; padding: 1.25rem 1.5rem; flex: 1; }
.topic-title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--text-primary); transition: var(--transition); }
.topic-card:hover .topic-title { color: var(--accent-gold); }
.topic-excerpt { color: var(--text-secondary); font-size: 0.8125rem; line-height: 1.6; margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.topic-meta { display: flex; align-items: center; gap: 0.75rem; }
.topic-tag { display: inline-flex; padding: 0.2rem 0.7rem; background: rgba(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.25); color: var(--accent-teal); font-size: 0.6875rem; border-radius: 999px; }
.topic-date { color: var(--text-muted); font-size: 0.75rem; }

/* ===== Stats Band ===== */
.stats-band { background: var(--bg-surface); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 2.75rem 0; margin-top: clamp(3rem, 6vw, 4.5rem); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-card { text-align: center; padding: 1rem 0.75rem; }
.stat-number { font-size: clamp(1.75rem, 2.5vw, 2.5rem); font-weight: 700; color: var(--accent-gold); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.stat-label { color: var(--text-secondary); font-size: 0.875rem; }

/* ===== FAQ ===== */
.faq-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.faq-head { text-align: center; margin-bottom: 2.5rem; }
.faq-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.faq-head p { color: var(--text-secondary); font-size: 0.9375rem; margin-top: 0.5rem; }
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
details.faq-item { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
details.faq-item:hover { border-color: var(--text-muted); }
details.faq-item[open] { background: var(--bg-surface-hover); border-color: rgba(45,212,191,0.3); box-shadow: var(--shadow-card); }
summary.faq-question { padding: 1.25rem 1.5rem; font-weight: 600; font-size: 1rem; color: var(--text-primary); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); user-select: none; }
summary.faq-question::-webkit-details-marker { display: none; }
summary.faq-question::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--text-secondary); line-height: 1; transition: transform 0.25s ease, color 0.25s ease; }
details[open] summary.faq-question { color: var(--accent-teal); }
details[open] summary.faq-question::after { transform: rotate(45deg); color: var(--accent-teal); }
.faq-answer { padding: 0 1.5rem 1.25rem 2rem; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.7; border-left: 3px solid var(--accent-teal); margin-left: 1.5rem; border-bottom-left-radius: var(--radius-md); }

/* ===== CTA ===== */
.cta-section { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.cta-inner { background: linear-gradient(120deg, #E8A33D 0%, #D97E2C 100%); border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,0.3); }
.cta-inner::before { content: 'PG'; position: absolute; right: -1rem; top: -1.5rem; font-size: 220px; font-weight: 800; color: rgba(11,15,20,0.08); line-height: 1; pointer-events: none; letter-spacing: -0.02em; }
.cta-inner::after { content: ''; position: absolute; left: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(11,15,20,0.1); pointer-events: none; }
.cta-inner h2 { color: #0B0F14; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; margin-bottom: 0.75rem; position: relative; z-index: 1; letter-spacing: -0.01em; }
.cta-inner p { color: rgba(11,15,20,0.7); margin-bottom: 1.75rem; font-size: 1rem; position: relative; z-index: 1; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; padding: 0.8rem 1.75rem; border-radius: 999px; transition: var(--transition); }
.btn:focus-visible { outline: 3px solid rgba(11,15,20,0.35); outline-offset: 2px; }
.btn-primary { background: #0B0F14; color: var(--accent-gold); box-shadow: 0 4px 14px rgba(11,15,20,0.25); }
.btn-primary:hover { background: #141A20; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,15,20,0.35); }
.btn-primary i { transition: transform var(--transition); }
.btn-primary:hover i { transform: translateX(4px); }
.btn-secondary { background: rgba(11,15,20,0.1); color: #0B0F14; border: 1px solid rgba(11,15,20,0.28); }
.btn-secondary:hover { background: rgba(11,15,20,0.18); transform: translateY(-2px); }

/* ===== Footer ===== */
.footer { background: #080C10; border-top: 1px solid var(--border-color); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 3rem; }
.footer-brand .logo { font-size: 1.25rem; display: inline-block; }
.footer-desc { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.7; margin-top: 1rem; max-width: 24em; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--bg-surface); color: var(--text-secondary); border: 1px solid var(--border-color); transition: var(--transition); }
.footer-social a:hover { background: var(--accent-gold); color: #0B0F14; border-color: var(--accent-gold); transform: translateY(-2px); }
.footer-title { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-gold); }
.footer-contact p { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 0.5rem; }
.footer-contact i { color: var(--accent-gold); margin-right: 0.5rem; width: 16px; text-align: center; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-copy { color: var(--text-muted); font-size: 0.75rem; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: var(--text-muted); font-size: 0.75rem; transition: var(--transition); }
.footer-legal a:hover { color: var(--accent-gold); }

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .topic-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head .section-note { text-align: left; }
}
@media (max-width: 767px) {
  .nav-brand-row { height: 62px; }
  .nav-tools { gap: 0.75rem; }
  .channel-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .channel-nav::-webkit-scrollbar { display: none; }
  .channel-nav a { padding: 0 1rem; white-space: nowrap; }
  .category-hero { min-height: auto; }
  .category-hero-decor { display: none; }
  .topic-thumb { width: 88px; }
  .topic-info { padding: 1rem 1.25rem; }
  .topic-excerpt { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-number { font-size: 1.5rem; }
  .cta-inner { padding: 2.25rem 1.25rem; }
  .cta-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .search-expand { position: fixed; left: 1rem; right: 1rem; width: auto; top: 60px; }
  .faq-answer { margin-left: 0.75rem; padding-right: 1rem; }
  summary.faq-question { padding: 1rem 1.25rem; }
}
@media (max-width: 520px) {
  .topic-thumb { width: 72px; }
  .topic-info { padding: 0.85rem 1rem; }
  .topic-title { font-size: 0.9375rem; }
  .topic-meta { flex-wrap: wrap; gap: 0.4rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .channel-nav a { font-size: 0.875rem; }
}

/* roulang page: article */
:root {
            --bg: #0B0F14;
            --surface: #141A20;
            --surface-light: #1A222A;
            --border: #232C35;
            --text: #F0F2F5;
            --text-secondary: #8D9AA8;
            --text-muted: #5A6675;
            --accent: #E8A33D;
            --accent-hover: #F0B04F;
            --accent-secondary: #2DD4BF;
            --radius-lg: 12px;
            --radius-sm: 8px;
            --shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
            --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.35);
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background: var(--bg);
            color: var(--text);
            font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            font-size: 1rem;
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: var(--accent);
            text-decoration: none;
            transition: var(--transition);
        }

        a:hover {
            color: var(--accent-hover);
        }

        ul,
        ol {
            padding-left: 1.5rem;
        }

        button {
            cursor: pointer;
            font-family: inherit;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 clamp(1rem, 4vw, 2.5rem);
        }

        .header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(11, 15, 20, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
        }

        .header .container {
            padding-top: 0;
            padding-bottom: 0;
        }

        .nav-brand-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 68px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .logo {
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: 0.01em;
            color: var(--text);
            display: inline-flex;
            align-items: center;
            gap: 1px;
            white-space: nowrap;
        }

        .logo .logo-pg {
            color: var(--accent);
        }

        .nav-tools {
            display: flex;
            align-items: center;
            gap: 1.25rem;
        }

        .search-toggle-wrap {
            position: relative;
        }

        .search-toggle {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 1rem;
            padding: 0.5rem;
            border-radius: 50%;
            transition: var(--transition);
        }

        .search-toggle:hover {
            color: var(--accent);
            background: rgba(255, 255, 255, 0.05);
        }

        .search-expand {
            position: absolute;
            right: 0;
            top: 120%;
            width: 0;
            overflow: hidden;
            opacity: 0;
            transition: var(--transition);
            z-index: 10;
        }

        .search-expand.active {
            width: 220px;
            opacity: 1;
        }

        .search-input {
            width: 100%;
            padding: 0.6rem 1rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            color: var(--text);
            font-size: 0.875rem;
            outline: none;
            transition: var(--transition);
        }

        .search-input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.15);
        }

        .search-input::placeholder {
            color: var(--text-muted);
        }

        .nav-login {
            font-size: 0.875rem;
            color: var(--text-secondary);
            border: 1px solid var(--border);
            padding: 0.4rem 1rem;
            border-radius: 999px;
            transition: var(--transition);
        }

        .nav-login:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .nav-channel-row {
            background: rgba(255, 255, 255, 0.03);
            height: 48px;
            display: flex;
            align-items: center;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .nav-channel-row::-webkit-scrollbar {
            display: none;
        }

        .channel-nav {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            white-space: nowrap;
        }

        .channel-nav a {
            position: relative;
            display: inline-flex;
            align-items: center;
            height: 48px;
            padding: 0 1.1rem;
            font-size: 0.925rem;
            color: var(--text-secondary);
            font-weight: 500;
            transition: var(--transition);
        }

        .channel-nav a:hover {
            color: var(--text);
        }

        .channel-nav a.active {
            color: var(--accent);
        }

        .channel-nav a.active::after {
            content: '';
            position: absolute;
            bottom: 6px;
            left: 50%;
            transform: translateX(-50%);
            width: 32px;
            height: 3px;
            border-radius: 2px;
            background: var(--accent);
        }

        .article-hero {
            position: relative;
            background: var(--surface);
            padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
            border-bottom: 1px solid var(--border);
            overflow: hidden;
        }

        .article-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, rgba(232, 163, 61, 0.06) 0%, transparent 60%);
            pointer-events: none;
        }

        .article-hero-inner {
            position: relative;
            max-width: 900px;
        }

        .article-cat-badge {
            display: inline-flex;
            align-items: center;
            padding: 0.3rem 1rem;
            border: 1px solid rgba(45, 212, 191, 0.4);
            border-radius: 999px;
            font-size: 0.75rem;
            letter-spacing: 0.06em;
            color: var(--accent-secondary);
            background: rgba(45, 212, 191, 0.08);
            margin-bottom: 1.25rem;
            font-weight: 500;
        }

        .article-title {
            font-size: clamp(1.75rem, 3.5vw, 2.75rem);
            line-height: 1.2;
            font-weight: 700;
            letter-spacing: -0.01em;
            color: var(--text);
            margin-bottom: 1rem;
        }

        .article-desc {
            font-size: 1rem;
            color: var(--text-secondary);
            line-height: 1.7;
            max-width: 36em;
            margin-bottom: 1.5rem;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: var(--text-muted);
            padding-bottom: 1.25rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .article-meta .meta-sep {
            color: var(--text-muted);
            opacity: 0.6;
        }

        .article-hero-inner::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
        }

        .breadcrumb-wrap {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding: 0.9rem 0;
            background: var(--bg);
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.4rem;
            font-size: 0.8125rem;
            color: var(--text-muted);
        }

        .breadcrumb a {
            color: var(--text-muted);
            transition: var(--transition);
        }

        .breadcrumb a:hover {
            color: var(--accent);
        }

        .breadcrumb .breadcrumb-sep {
            color: var(--text-muted);
            opacity: 0.5;
            font-style: normal;
        }

        .breadcrumb .breadcrumb-current {
            color: var(--text-secondary);
            max-width: 200px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .article-main {
            padding: clamp(2.5rem, 5vw, 4rem) 0;
        }

        .article-layout {
            display: grid;
            grid-template-columns: 64% 30%;
            gap: 6%;
            align-items: start;
        }

        .article-content {
            min-width: 0;
        }

        .article-body {
            font-size: 1rem;
            line-height: 1.8;
            color: var(--text);
            word-wrap: break-word;
        }

        .article-body>p {
            margin-bottom: 1.5em;
            color: rgba(240, 242, 245, 0.92);
        }

        .article-body h2 {
            font-size: 1.5rem;
            font-weight: 700;
            line-height: 1.35;
            margin: 2.2em 0 1em;
            padding-left: 0.75rem;
            border-left: 3px solid var(--accent);
        }

        .article-body h3 {
            font-size: 1.25rem;
            font-weight: 700;
            line-height: 1.4;
            margin: 1.8em 0 0.8em;
            color: var(--text);
        }

        .article-body h4 {
            font-size: 1.05rem;
            font-weight: 600;
            margin: 1.5em 0 0.6em;
            color: var(--text);
        }

        .article-body blockquote {
            border-left: 3px solid var(--accent);
            background: var(--surface);
            padding: 1.25rem 1.5rem;
            margin: 1.5em 0;
            border-radius: 0 8px 8px 0;
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        .article-body blockquote p {
            color: var(--text-secondary);
            margin-bottom: 0;
        }

        .article-body img {
            border-radius: var(--radius-sm);
            margin: 1.5em 0 0.5em;
            width: 100%;
        }

        .article-body img+em {
            display: block;
            text-align: center;
            font-size: 0.8125rem;
            color: var(--text-muted);
            margin-bottom: 1.5em;
            font-style: normal;
        }

        .article-body ul,
        .article-body ol {
            margin: 1em 0 1.5em;
            padding-left: 1.5rem;
        }

        .article-body li {
            margin-bottom: 0.5em;
            color: rgba(240, 242, 245, 0.92);
        }

        .article-body a {
            color: var(--accent);
            border-bottom: 1px solid rgba(232, 163, 61, 0.4);
        }

        .article-body a:hover {
            color: var(--accent-hover);
            border-bottom-color: var(--accent-hover);
        }

        .article-body code {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 4px;
            padding: 0.15rem 0.4rem;
            font-size: 0.875em;
            color: var(--accent-secondary);
            font-family: "SFMono-Regular", Consolas, monospace;
        }

        .article-body pre {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 1.25rem;
            margin: 1.5em 0;
            overflow-x: auto;
        }

        .article-body pre code {
            background: none;
            border: none;
            padding: 0;
            color: var(--text);
        }

        .article-body table {
            width: 100%;
            margin: 1.5em 0;
            border-collapse: collapse;
            border-radius: var(--radius-sm);
            overflow: hidden;
            font-size: 0.9rem;
        }

        .article-body th,
        .article-body td {
            border: 1px solid var(--border);
            padding: 0.75rem 1rem;
            text-align: left;
        }

        .article-body th {
            background: var(--surface);
            font-weight: 600;
            color: var(--text);
        }

        .article-body td {
            background: rgba(20, 26, 32, 0.6);
            color: var(--text-secondary);
        }

        .article-body hr {
            border: none;
            border-top: 1px dashed var(--border);
            margin: 2.5em 0;
        }

        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin-top: 2.5rem;
            padding-top: 1.75rem;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .post-tag {
            display: inline-flex;
            align-items: center;
            padding: 0.3rem 0.9rem;
            border-radius: 999px;
            font-size: 0.75rem;
            font-weight: 500;
            color: var(--text-secondary);
            background: var(--surface);
            border: 1px solid var(--border);
            letter-spacing: 0.02em;
            transition: var(--transition);
        }

        .post-tag:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .post-nav {
            display: grid;
            grid-template-columns: 1fr 1px 1fr;
            gap: 0;
            margin-top: 2.25rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
        }

        .post-nav-link {
            display: block;
            padding: 1.25rem 1.5rem;
            transition: var(--transition);
        }

        .post-nav-link:hover {
            background: var(--surface-light);
        }

        .post-nav-prev {
            text-align: right;
            border-right: 1px solid var(--border);
        }

        .post-nav-next {
            text-align: left;
            border-left: 1px solid var(--border);
        }

        .post-nav-label {
            display: block;
            font-size: 0.75rem;
            color: var(--text-muted);
            letter-spacing: 0.06em;
            margin-bottom: 0.3rem;
        }

        .post-nav-title {
            font-size: 0.9375rem;
            font-weight: 600;
            color: var(--text);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }

        .post-nav-link:hover .post-nav-title {
            color: var(--accent);
        }

        .article-cta {
            margin-top: 2rem;
            background: linear-gradient(120deg, rgba(232, 163, 61, 0.12), rgba(45, 212, 191, 0.08));
            border: 1px solid rgba(232, 163, 61, 0.25);
            border-radius: var(--radius-lg);
            padding: 1.75rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .article-cta-text {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text);
        }

        .article-cta-text span {
            color: var(--text-secondary);
            font-weight: 400;
            font-size: 0.875rem;
            display: block;
            margin-top: 0.2rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.65rem 1.5rem;
            border-radius: 999px;
            font-size: 0.875rem;
            font-weight: 600;
            border: none;
            transition: var(--transition);
            text-decoration: none;
            white-space: nowrap;
        }

        .btn-accent {
            background: var(--accent);
            color: #0B0F14;
            box-shadow: 0 4px 14px rgba(232, 163, 61, 0.25);
        }

        .btn-accent:hover {
            background: var(--accent-hover);
            color: #0B0F14;
            box-shadow: 0 6px 20px rgba(232, 163, 61, 0.35);
            transform: translateY(-1px);
        }

        .btn-outline {
            background: transparent;
            color: var(--text);
            border: 1px solid var(--border);
        }

        .btn-outline:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: rgba(232, 163, 61, 0.08);
        }

        .btn-secondary {
            background: rgba(45, 212, 191, 0.15);
            color: var(--accent-secondary);
            border: 1px solid rgba(45, 212, 191, 0.3);
        }

        .btn-secondary:hover {
            background: rgba(45, 212, 191, 0.25);
            color: var(--accent-secondary);
        }

        .article-sidebar {
            position: sticky;
            top: 130px;
            min-width: 0;
        }

        .sidebar-block {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .sidebar-title {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--text);
            letter-spacing: 0.04em;
            margin-bottom: 1.25rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .sidebar-title i {
            color: var(--accent);
            font-size: 0.8125rem;
        }

        .guide-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .guide-list li {
            margin-bottom: 0.5rem;
        }

        .guide-list a {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 0.875rem;
            color: var(--text-secondary);
            padding: 0.5rem 0.6rem;
            border-radius: 6px;
            transition: var(--transition);
        }

        .guide-list a:hover {
            color: var(--accent);
            background: rgba(232, 163, 61, 0.06);
            padding-left: 0.9rem;
        }

        .guide-list .guide-num {
            font-size: 0.6875rem;
            font-weight: 700;
            color: var(--accent);
            background: rgba(232, 163, 61, 0.1);
            border-radius: 4px;
            width: 22px;
            height: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .related-card {
            display: flex;
            gap: 0.9rem;
            padding: 0.85rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            transition: var(--transition);
        }

        .related-card:last-child {
            border-bottom: none;
        }

        .related-thumb {
            width: 80px;
            height: 50px;
            border-radius: 6px;
            object-fit: cover;
            flex-shrink: 0;
            background: var(--surface-light);
        }

        .related-info {
            min-width: 0;
        }

        .related-title {
            font-size: 0.8125rem;
            font-weight: 600;
            color: var(--text);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: var(--transition);
        }

        .related-card:hover .related-title {
            color: var(--accent);
        }

        .sidebar-back {
            width: 100%;
            padding: 0.7rem 1rem;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            color: var(--text-secondary);
            font-size: 0.875rem;
            text-align: center;
            transition: var(--transition);
            display: block;
        }

        .sidebar-back:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: rgba(232, 163, 61, 0.06);
        }

        .not-found-section {
            padding: clamp(4rem, 10vw, 7rem) 0;
            text-align: center;
        }

        .not-found-card {
            max-width: 480px;
            margin: 0 auto;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 3rem 2rem;
        }

        .not-found-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 1.25rem;
            border-radius: 50%;
            border: 2px solid rgba(138, 154, 168, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--text-muted);
        }

        .not-found-title {
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--text);
        }

        .not-found-desc {
            color: var(--text-secondary);
            font-size: 0.9375rem;
            margin-bottom: 1.5rem;
        }

        .footer {
            background: #080C10;
            border-top: 1px solid rgba(232, 163, 61, 0.15);
            padding: clamp(2.5rem, 5vw, 4rem) 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
            gap: 2rem;
            padding-bottom: 2.5rem;
        }

        .footer-brand .logo {
            font-size: 1.125rem;
            margin-bottom: 0.75rem;
        }

        .footer-desc {
            font-size: 0.8125rem;
            color: var(--text-muted);
            line-height: 1.6;
            max-width: 28em;
            margin-bottom: 1.25rem;
        }

        .footer-social {
            display: flex;
            gap: 0.75rem;
        }

        .footer-social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid var(--border);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            font-size: 0.875rem;
            transition: var(--transition);
        }

        .footer-social a:hover {
            border-color: var(--accent);
            color: var(--accent);
            transform: translateY(-2px);
        }

        .footer-title {
            font-size: 0.9375rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 1rem;
            letter-spacing: 0.02em;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            font-size: 0.8125rem;
            color: var(--text-secondary);
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--accent);
            padding-left: 4px;
        }

        .footer-contact p {
            font-size: 0.8125rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-contact i {
            color: var(--accent);
            width: 14px;
            font-size: 0.8125rem;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding: 1.25rem 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .footer-copy {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .footer-legal {
            display: flex;
            gap: 1.25rem;
        }

        .footer-legal a {
            font-size: 0.75rem;
            color: var(--text-muted);
            transition: var(--transition);
        }

        .footer-legal a:hover {
            color: var(--accent);
        }

        @media (max-width: 1023px) {
            .article-layout {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .article-sidebar {
                position: static;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 1.5rem;
            }

            .sidebar-block {
                margin-bottom: 0;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 767px) {
            body {
                font-size: 0.9375rem;
            }

            .nav-brand-row {
                height: 60px;
            }

            .nav-login {
                display: none;
            }

            .channel-nav a {
                font-size: 0.875rem;
                padding: 0 0.85rem;
            }

            .article-hero {
                padding: 2rem 0 1.5rem;
            }

            .article-title {
                font-size: 1.4rem;
            }

            .article-desc {
                font-size: 0.875rem;
            }

            .article-meta {
                font-size: 0.8125rem;
                gap: 0.35rem;
            }

            .breadcrumb {
                gap: 0.25rem;
                font-size: 0.75rem;
            }

            .article-layout {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .article-sidebar {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .article-body {
                font-size: 0.9375rem;
            }

            .article-body h2 {
                font-size: 1.25rem;
            }

            .article-body h3 {
                font-size: 1.1rem;
            }

            .post-nav {
                grid-template-columns: 1fr;
            }

            .post-nav-prev {
                border-right: none;
                border-bottom: 1px solid var(--border);
                text-align: left;
            }

            .post-nav-next {
                border-left: none;
            }

            .article-cta {
                flex-direction: column;
                align-items: flex-start;
                padding: 1.25rem;
            }

            .btn {
                width: 100%;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 1.75rem;
            }

            .footer-bottom {
                flex-direction: column;
                align-items: flex-start;
            }
        }

/* roulang page: category2 */
:root {
  --bg-primary: #0B0F14;
  --bg-surface: #141A20;
  --bg-hover: #1A222A;
  --border-color: #232C35;
  --text-primary: #F0F2F5;
  --text-secondary: #8D9AA8;
  --text-weak: #5A6675;
  --accent-gold: #E8A33D;
  --accent-gold-hover: #F0B04F;
  --accent-cyan: #2DD4BF;
  --success: #4ADE80;
  --warning: #F87171;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.18);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-btn: 0 4px 14px rgba(232, 163, 61, 0.25);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-w: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--accent-gold);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

input {
  font-family: inherit;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  white-space: nowrap;
}

.logo .logo-pg {
  color: var(--accent-gold);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.search-toggle-wrap {
  position: relative;
}

.search-toggle {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0.4rem;
  border-radius: var(--radius-md);
}

.search-toggle:hover {
  color: var(--accent-gold);
}

.search-expand {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}

.search-expand.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-input {
  width: 100%;
  background: rgba(11, 15, 20, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.search-input::placeholder {
  color: var(--text-weak);
}

.search-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.15);
}

.nav-login {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
}

.nav-login:hover {
  color: var(--accent-gold);
}

.nav-channel-row {
  background: rgba(255, 255, 255, 0.03);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.channel-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.channel-nav::-webkit-scrollbar {
  display: none;
}

.channel-nav a {
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 0.75rem 0.25rem;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.channel-nav a:hover {
  color: var(--text-primary);
}

.channel-nav a.active {
  color: var(--accent-gold);
}

.channel-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 999px;
}

/* ============ Category Hero ============ */
.cat-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #11161D 0%, #0B0F14 55%, #1A222A 100%);
  background-image: linear-gradient(135deg, rgba(11, 15, 20, 0.88) 0%, rgba(11, 15, 20, 0.65) 60%, rgba(20, 26, 32, 0.85) 100%),
    url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.cat-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 14px
  );
  pointer-events: none;
}

.cat-hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.cat-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.cat-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cat-hero h1 .highlight {
  color: var(--accent-gold);
}

.cat-hero__desc {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 36em;
  margin-bottom: 1.75rem;
}

.cat-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(232, 163, 61, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-hero__link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.cat-hero__link i {
  font-size: 0.8125rem;
  transition: transform 0.25s ease;
}

.cat-hero__link:hover i {
  transform: translateX(-3px);
}

/* ============ Feature Card (大图文卡) ============ */
.feature-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0 2rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
}

.feature-card__media {
  position: relative;
  flex: 1 1 48%;
  min-height: 300px;
  overflow: hidden;
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-card__media img {
  transform: scale(1.03);
}

.feature-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--accent-gold);
  color: #0B0F14;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.9rem;
  letter-spacing: 0.04em;
}

.feature-card__body {
  flex: 1 1 48%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card__meta {
  font-size: 0.8125rem;
  color: var(--text-weak);
  margin-bottom: 0.875rem;
  letter-spacing: 0.04em;
}

.feature-card__body h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.feature-card__body p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.link-arrow i {
  transition: transform 0.25s ease;
}

.link-arrow:hover i {
  transform: translateX(4px);
}

/* ============ Topic Grid (3列小卡) ============ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.25rem;
}

.section-header__left h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}

.section-header__left p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

.section-header__more {
  font-size: 0.875rem;
  color: var(--text-secondary);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
}

.section-header__more:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.topic-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.topic-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232, 163, 61, 0.3);
}

.topic-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.topic-card__num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(232, 163, 61, 0.18);
  line-height: 1;
  font-family: "Georgia", serif;
}

.topic-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.topic-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.topic-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.topic-card__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-cyan);
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.02em;
}

/* ============ Stats Section ============ */
.stats-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-top: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

/* ============ Dimensions / Method ============ */
.dim-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.dim-section .section-header {
  margin-bottom: 2.5rem;
}

.dim-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.dim-card {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.dim-card:hover {
  border-color: rgba(232, 163, 61, 0.35);
  background: var(--bg-surface);
  transform: translateY(-2px);
}

.dim-card__index {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: block;
}

.dim-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
}

.dim-card p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* ============ FAQ ============ */
.faq-section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-container {
  max-width: 900px;
}

.faq-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(232, 163, 61, 0.25);
}

.faq-item[open] {
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding: 1.125rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-weak);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.25s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-cyan);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  background: var(--bg-hover);
  border-left: 3px solid var(--accent-cyan);
  margin: 0 1.25rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  padding-top: 1rem;
  margin: 0;
}

/* ============ CTA ============ */
.cta-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.cta-box::before {
  content: 'PG';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(10rem, 20vw, 16rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.cta-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}

.btn--primary {
  background: var(--accent-gold);
  color: #0B0F14;
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: var(--accent-gold-hover);
  color: #0B0F14;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 163, 61, 0.35);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn--outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(232, 163, 61, 0.05);
  transform: translateY(-2px);
}

/* ============ Footer ============ */
.footer {
  background: #080C10;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(232, 163, 61, 0.06);
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.footer-contact i {
  color: var(--text-weak);
  font-size: 0.875rem;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-weak);
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-weak);
}

.footer-legal a:hover {
  color: var(--accent-gold);
}

/* ============ Responsive ============ */
@media (max-width: 1023px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dim-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card__media {
    flex: 1 1 100%;
    min-height: 260px;
    position: relative;
    padding-top: 0;
  }

  .feature-card__media img {
    position: absolute;
  }

  .feature-card__body {
    flex: 1 1 100%;
    padding: 1.75rem;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .nav-tools {
    gap: 0.75rem;
  }

  .search-expand {
    right: -90px;
    width: 180px;
  }

  .nav-login {
    font-size: 0.8125rem;
  }

  .channel-nav {
    gap: 0.625rem;
    padding: 0.5rem 0;
  }

  .channel-nav a {
    padding: 0.375rem 0;
    font-size: 0.8125rem;
  }

  .channel-nav a.active::after {
    width: 24px;
  }

  .cat-hero {
    min-height: 55vh;
    padding: 3rem 0 2.5rem;
  }

  .cat-hero h1 {
    font-size: 1.6rem;
  }

  .cat-hero__desc {
    font-size: 0.9375rem;
  }

  .feature-section {
    padding-top: 2.5rem;
  }

  .feature-card {
    margin-bottom: 2rem;
  }

  .feature-card__media {
    min-height: 200px;
  }

  .feature-card__body {
    padding: 1.375rem;
  }

  .feature-card__body h3 {
    font-size: 1.25rem;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .dim-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .stat-num {
    font-size: 1.875rem;
  }

  .faq-item summary {
    padding: 1rem;
    font-size: 0.9375rem;
  }

  .faq-answer {
    margin: 0 0.75rem 0.75rem;
    padding: 0 0.75rem 0.875rem;
  }

  .cta-box {
    padding: 2rem 1.25rem;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-legal {
    gap: 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 520px) {
  .channel-nav a {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
  }

  .search-expand {
    right: 0;
    width: 160px;
  }

  .nav-login {
    display: none;
  }

  .cat-hero__tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
  }

  .topic-card {
    padding: 1.25rem;
  }

  .topic-card__num {
    font-size: 1.5rem;
  }
}
