/* roulang page: index */
:root {
  --bg-primary: #06090f;
  --bg-secondary: #0c1220;
  --bg-card: #111a2c;
  --bg-hover: #17233a;
  --text-primary: #e8edf2;
  --text-secondary: #94a3b8;
  --text-muted: #5d6b82;
  --accent-primary: #00e5ff;
  --accent-secondary: #7c3aed;
  --accent-warm: #ff6b35;
  --border-light: rgba(255,255,255,0.07);
  --border-accent: rgba(0,229,255,0.35);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-primary: 0 20px 60px rgba(0,229,255,0.12);
  --shadow-deep: 0 24px 80px rgba(0,0,0,0.55);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "PingFang SC", "HarmonicOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input {
  font-family: inherit;
  border: none;
  outline: none;
}
.container {
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* 导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 9, 15, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(6, 9, 15, 0.95);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}
.brand-logo .logo-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 16px rgba(0,229,255,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 2px;
  letter-spacing: 0.3px;
  transition: color var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0,229,255,0.5);
  transition: width var(--transition);
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: var(--accent-primary);
}
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-toggle:hover {
  border-color: var(--border-accent);
  color: var(--accent-primary);
}
/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,9,15,0.92) 0%, rgba(6,9,15,0.75) 50%, rgba(12,18,32,0.6) 100%);
  z-index: 1;
}
.hero-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(0,229,255,0.18) 0%, transparent 60%);
  z-index: 1;
  filter: blur(60px);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-accent);
  background: rgba(0,229,255,0.08);
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-badge .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4757;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  letter-spacing: 3px;
  font-weight: 300;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-core {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 8px 30px rgba(0,229,255,0.25);
}
.btn-core:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,229,255,0.4);
  color: #fff;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ghost:hover {
  border-color: var(--border-accent);
  background: rgba(0,229,255,0.05);
  color: var(--accent-primary);
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-muted);
  font-size: 1.4rem;
  animation: bounceDown 3s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
/* 通用板块 */
.section {
  padding: 100px 0;
}
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(0,229,255,0.08);
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}
/* 特色 */
.features {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-primary);
  background: var(--bg-hover);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-primary);
  background: rgba(0,229,255,0.1);
  border: 1px solid var(--border-accent);
  margin-bottom: 24px;
  transition: all var(--transition);
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 24px rgba(0,229,255,0.3);
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
/* 平台介绍 */
.platform-section {
  background: var(--bg-primary);
}
.platform-wrap {
  display: flex;
  align-items: center;
  gap: 60px;
}
.platform-image {
  flex: 0 0 50%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--border-light);
}
.platform-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.platform-image:hover img {
  transform: scale(1.04);
}
.platform-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6,9,15,0.4) 100%);
}
.platform-content {
  flex: 1;
}
.platform-content .section-tag {
  margin-bottom: 12px;
}
.platform-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}
.platform-content p.lead {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.platform-points {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.platform-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  border-bottom: 1px solid var(--border-light);
}
.platform-points li:last-child {
  border-bottom: none;
}
.platform-points li i {
  color: var(--accent-primary);
  font-size: 1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
/* 分类入口 */
.category-entry {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.category-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  transition: all var(--transition);
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}
.category-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-primary);
  transform: translateY(-6px);
}
.category-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.category-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,9,15,0.2) 0%, rgba(6,9,15,0.75) 60%, rgba(6,9,15,0.95) 100%);
}
.category-card-content {
  position: relative;
  z-index: 1;
  padding: 36px;
  width: 100%;
}
.category-card-content .badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(0,229,255,0.15);
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.category-card-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.category-card-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}
.category-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap var(--transition);
}
.category-link:hover {
  gap: 16px;
  color: var(--accent-primary);
}
/* 最新发布 */
.latest-section {
  background: var(--bg-primary);
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-primary);
  background: var(--bg-hover);
}
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.post-meta .tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(0,229,255,0.08);
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  letter-spacing: 0.5px;
}
.post-meta time {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.post-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--text-primary);
  transition: color var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card:hover h3 {
  color: var(--accent-primary);
}
.post-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}
.empty-tip {
  color: var(--text-muted);
  text-align: center;
  font-size: 1rem;
  padding: 60px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-light);
}
/* 数据统计 */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(123,58,237,0.12) 0%, transparent 70%);
  filter: blur(40px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item {
  text-align: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.02);
  transition: all var(--transition);
}
.stat-item:hover {
  border-color: var(--border-accent);
  background: rgba(0,229,255,0.04);
  transform: translateY(-4px);
}
.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.stat-number .suffix {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}
.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
/* 流程 */
.process-section {
  background: var(--bg-primary);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.process-step {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all var(--transition);
}
.process-step:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-primary);
  transform: translateY(-6px);
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(0,229,255,0.3);
}
.process-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.process-step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}
.process-arrow {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
  z-index: 2;
}
/* FAQ */
.faq-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  transition: all var(--transition);
}
.faq-item:hover {
  border-color: var(--border-accent);
}
.faq-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  transition: background var(--transition);
}
.faq-header:hover {
  background: rgba(0,229,255,0.03);
}
.faq-header .faq-icon {
  font-size: 0.9rem;
  color: var(--accent-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-header .faq-icon {
  transform: rotate(45deg);
}
.faq-body {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  display: none;
}
.faq-item.open .faq-body {
  display: block;
}
/* CTA */
.cta-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.cta-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,229,255,0.08) 0%, rgba(123,58,237,0.1) 100%);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,229,255,0.15) 0%, transparent 60%);
  filter: blur(50px);
}
.cta-card-content {
  position: relative;
  z-index: 1;
}
.cta-card h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
/* 页脚 */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 24px;
}
.footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.footer-brand .logo-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0,229,255,0.6);
}
.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--accent-primary);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-bottom a {
  color: var(--text-muted);
}
.footer-bottom a:hover {
  color: var(--accent-primary);
}
/* 响应式 */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .platform-wrap { flex-direction: column; gap: 40px; }
  .platform-image { flex: none; width: 100%; }
  .platform-image img { height: 340px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero h1 { font-size: 3.2rem; }
}
@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6,9,15,0.98);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 24px;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    z-index: 999;
  }
  .main-nav.open {
    transform: translateY(0);
  }
  .nav-link {
    padding: 14px 0;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .nav-link::after {
    display: none;
  }
  .nav-link.active {
    color: var(--accent-primary);
    background: rgba(0,229,255,0.04);
  }
  .nav-toggle {
    display: block;
  }
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-sub { font-size: 1.05rem; letter-spacing: 1px; }
  .hero-desc { font-size: 0.98rem; padding: 0 10px; }
  .section-title { font-size: 2rem; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-arrow { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2.4rem; }
  .cta-card { padding: 40px 24px; }
  .cta-card h2 { font-size: 1.6rem; }
  .footer-links { justify-content: flex-start; margin-top: 16px; flex-wrap: wrap; }
  .platform-content h2 { font-size: 1.7rem; }
  .category-card { min-height: 300px; }
  .category-card-content { padding: 24px; }
  .category-card-content h3 { font-size: 1.4rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-core, .btn-ghost { width: 100%; max-width: 260px; justify-content: center; }
}
@media (max-width: 520px) {
  .section { padding: 60px 0; }
  .container { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-sub { font-size: 0.95rem; }
  .section-title { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .stat-number { font-size: 2.2rem; }
  .platform-image img { height: 260px; }
  .feature-card { padding: 28px 20px; }
  .post-card { padding: 20px; }
  .footer-brand { justify-content: center; }
  .footer-desc { text-align: center; margin: 0 auto; }
  .footer-links { justify-content: center; }
  .footer-bottom { font-size: 0.78rem; }
}

/* roulang page: category1 */
:root {
      --bg-dark: #0b0f17;
      --bg-deep: #070a10;
      --bg-card: #121a28;
      --bg-card-hover: #182233;
      --border-color: rgba(255, 255, 255, 0.08);
      --border-light: rgba(0, 229, 160, 0.25);
      --text-primary: #eaf1fb;
      --text-secondary: #9fb0c8;
      --text-muted: #6b7d99;
      --accent: #00e5a0;
      --accent-2: #7b61ff;
      --accent-3: #ffc857;
      --gradient-main: linear-gradient(135deg, #00e5a0 0%, #00c9a7 100%);
      --gradient-accent: linear-gradient(135deg, #7b61ff 0%, #00e5a0 100%);
      --radius: 16px;
      --radius-lg: 24px;
      --radius-sm: 10px;
      --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
      --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
      --shadow-glow: 0 0 24px rgba(0, 229, 160, 0.25);
      --font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-family);
      background: var(--bg-dark);
      color: var(--text-primary);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }

    a:hover {
      color: var(--accent);
    }

    img {
      max-width: 100%;
      height: auto;
    }

    button,
    input {
      font-family: inherit;
    }

    ::selection {
      background: rgba(0, 229, 160, 0.3);
      color: #ffffff;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 1050;
      background: rgba(11, 15, 23, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      transition: var(--transition);
    }

    .site-header.scrolled {
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.25rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      color: var(--text-primary);
    }

    .brand-logo:hover {
      color: var(--accent);
    }

    .logo-icon {
      width: 30px;
      height: 30px;
      border-radius: 8px;
      background: var(--gradient-main);
      box-shadow: 0 0 12px rgba(0, 229, 160, 0.4);
      position: relative;
      display: inline-block;
      flex-shrink: 0;
    }

    .logo-icon::after {
      content: '';
      position: absolute;
      inset: 4px;
      border-radius: 5px;
      background: var(--bg-dark);
      border: 1px solid rgba(0, 229, 160, 0.3);
    }

    .main-nav {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-link {
      position: relative;
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-secondary);
      padding: 8px 2px;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background: var(--gradient-main);
      border-radius: 2px;
      transition: var(--transition);
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--accent);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
      width: 100%;
    }

    .nav-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--text-primary);
      font-size: 1.4rem;
      cursor: pointer;
      padding: 8px 12px;
      border-radius: 8px;
      transition: var(--transition);
    }

    .nav-toggle:hover {
      color: var(--accent);
      background: rgba(255, 255, 255, 0.05);
    }

    .nav-toggle:focus,
    .nav-link:focus,
    .btn:focus,
    .tag-badge:focus {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
      border-radius: 6px;
    }

    .page-banner {
      position: relative;
      padding: 110px 0;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .page-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(7, 10, 16, 0.94) 0%, rgba(7, 10, 16, 0.7) 55%, rgba(7, 10, 16, 0.25) 100%);
    }

    .banner-content {
      position: relative;
      z-index: 1;
      max-width: 720px;
    }

    .banner-content .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--accent);
      background: rgba(0, 229, 160, 0.1);
      border: 1px solid rgba(0, 229, 160, 0.3);
      padding: 6px 16px;
      border-radius: 30px;
      margin-bottom: 20px;
    }

    .banner-content h1 {
      font-size: 3.1rem;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 16px;
      letter-spacing: -0.02em;
    }

    .banner-content h1 span {
      color: var(--accent);
    }

    .banner-content p {
      font-size: 1.15rem;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 580px;
    }

    .banner-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    .btn {
      border-radius: 50px;
      padding: 12px 30px;
      font-weight: 600;
      font-size: 0.95rem;
      transition: var(--transition);
      border: 2px solid transparent;
      letter-spacing: 0.02em;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-primary {
      background: var(--gradient-main);
      color: #07131a;
      box-shadow: 0 4px 16px rgba(0, 229, 160, 0.25);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(0, 229, 160, 0.4);
      color: #07131a;
    }

    .btn-outline {
      background: transparent;
      color: var(--text-primary);
      border-color: rgba(255, 255, 255, 0.25);
    }

    .btn-outline:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-2px);
    }

    .section {
      padding: 100px 0;
    }

    .section-tag {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      background: rgba(0, 229, 160, 0.1);
      border: 1px solid rgba(0, 229, 160, 0.2);
      padding: 6px 16px;
      border-radius: 30px;
      margin-bottom: 16px;
    }

    .section-head {
      text-align: center;
      margin-bottom: 56px;
    }

    .section-head h2 {
      font-size: 2.2rem;
      font-weight: 800;
      margin-bottom: 12px;
      letter-spacing: -0.01em;
    }

    .section-head p {
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto;
    }

    .intro-section {
      background: var(--bg-dark);
    }

    .intro-image {
      position: relative;
    }

    .intro-image .img-wrap {
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-md);
    }

    .intro-image .img-wrap img {
      width: 100%;
      object-fit: cover;
      transition: var(--transition);
    }

    .intro-image .img-wrap:hover img {
      transform: scale(1.03);
    }

    .intro-content h2 {
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 18px;
    }

    .intro-content p {
      color: var(--text-secondary);
      margin-bottom: 24px;
      font-size: 1rem;
    }

    .feature-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .feature-list li {
      position: relative;
      padding-left: 28px;
      margin-bottom: 14px;
      color: var(--text-secondary);
    }

    .feature-list li::before {
      content: '\f00c';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      left: 0;
      top: 2px;
      color: var(--accent);
      font-size: 0.9rem;
    }

    .news-section {
      background: var(--bg-deep);
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }

    .news-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      overflow: hidden;
      height: 100%;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }

    .news-card:hover {
      transform: translateY(-8px);
      border-color: var(--border-light);
      box-shadow: var(--shadow-md), var(--shadow-glow);
    }

    .news-card .thumbnail {
      position: relative;
      overflow: hidden;
      aspect-ratio: 16 / 10;
      flex-shrink: 0;
    }

    .news-card .thumbnail img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .news-card:hover .thumbnail img {
      transform: scale(1.06);
    }

    .card-tag {
      position: absolute;
      top: 14px;
      left: 14px;
      background: rgba(0, 229, 160, 0.92);
      color: #07131a;
      font-size: 0.78rem;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 20px;
      letter-spacing: 0.02em;
    }

    .news-card .content {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .news-card .meta {
      display: flex;
      gap: 16px;
      color: var(--text-muted);
      font-size: 0.82rem;
      margin-bottom: 12px;
    }

    .news-card .meta i {
      margin-right: 4px;
      color: var(--accent);
    }

    .news-card h3 {
      font-size: 1.08rem;
      font-weight: 700;
      margin-bottom: 10px;
      line-height: 1.45;
    }

    .news-card h3 a {
      color: var(--text-primary);
    }

    .news-card h3 a:hover {
      color: var(--accent);
    }

    .news-card p {
      color: var(--text-secondary);
      font-size: 0.9rem;
      margin-bottom: 18px;
      flex: 1;
    }

    .read-more {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--accent);
    }

    .read-more i {
      transition: var(--transition);
    }

    .read-more:hover i {
      transform: translateX(4px);
    }

    .stats-section {
      background: var(--bg-dark);
      padding: 80px 0;
    }

    .stat-item {
      text-align: center;
      padding: 32px 16px;
      border-radius: var(--radius);
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      height: 100%;
      transition: var(--transition);
    }

    .stat-item:hover {
      border-color: var(--border-light);
      box-shadow: var(--shadow-glow);
    }

    .stat-number {
      font-size: 2.8rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1.2;
    }

    .stat-label {
      color: var(--text-secondary);
      margin-top: 8px;
      font-size: 0.95rem;
    }

    .tags-section {
      background: var(--bg-deep);
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }

    .tag-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      justify-content: center;
    }

    .tag-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      color: var(--text-secondary);
      padding: 10px 22px;
      border-radius: 40px;
      font-size: 0.92rem;
      font-weight: 500;
      transition: var(--transition);
    }

    .tag-badge i {
      color: var(--accent-2);
    }

    .tag-badge:hover {
      border-color: var(--border-light);
      color: var(--accent);
      transform: translateY(-3px);
      box-shadow: var(--shadow-sm);
    }

    .faq-section {
      background: var(--bg-dark);
    }

    .accordion-item {
      background: var(--bg-card);
      border: 1px solid var(--border-color) !important;
      border-radius: var(--radius) !important;
      margin-bottom: 16px;
      overflow: hidden;
      transition: var(--transition);
    }

    .accordion-item:hover {
      border-color: var(--border-light) !important;
    }

    .accordion-button {
      background: var(--bg-card);
      color: var(--text-primary);
      font-weight: 600;
      font-size: 1rem;
      padding: 20px 24px;
      box-shadow: none !important;
      border: none;
      transition: var(--transition);
    }

    .accordion-button:hover {
      color: var(--accent);
    }

    .accordion-button:not(.collapsed) {
      background: var(--bg-card-hover);
      color: var(--accent);
    }

    .accordion-button::after {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300e5a0'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
      transition: var(--transition);
    }

    .accordion-button:not(.collapsed)::after {
      transform: rotate(180deg);
    }

    .accordion-body {
      color: var(--text-secondary);
      border-top: 1px solid var(--border-color);
      padding: 20px 24px;
      font-size: 0.95rem;
    }

    .cta-section {
      position: relative;
      padding: 90px 0;
      background: var(--bg-deep);
      border-top: 1px solid var(--border-color);
    }

    .cta-card {
      position: relative;
      background: linear-gradient(145deg, rgba(123, 97, 255, 0.12), rgba(0, 229, 160, 0.08));
      border: 1px solid rgba(0, 229, 160, 0.25);
      border-radius: var(--radius-lg);
      padding: 64px 32px;
      text-align: center;
      overflow: hidden;
    }

    .cta-card::before {
      content: '';
      position: absolute;
      top: -80px;
      right: -80px;
      width: 240px;
      height: 240px;
      background: radial-gradient(circle, rgba(0, 229, 160, 0.15) 0%, transparent 70%);
      border-radius: 50%;
    }

    .cta-card h2 {
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 14px;
    }

    .cta-card p {
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 460px;
      margin-left: auto;
      margin-right: auto;
    }

    .site-footer {
      background: var(--bg-deep);
      border-top: 1px solid var(--border-color);
      padding: 60px 0 0;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      font-size: 1.2rem;
      color: var(--text-primary);
    }

    .footer-desc {
      color: var(--text-muted);
      margin-top: 16px;
      max-width: 360px;
      font-size: 0.92rem;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 28px;
      justify-content: flex-end;
    }

    .footer-links a {
      color: var(--text-secondary);
      font-size: 0.95rem;
      position: relative;
    }

    .footer-links a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 0;
      height: 2px;
      background: var(--gradient-main);
      border-radius: 2px;
      transition: var(--transition);
    }

    .footer-links a:hover::after {
      width: 100%;
    }

    .footer-links a:hover {
      color: var(--accent);
    }

    .footer-bottom {
      border-top: 1px solid var(--border-color);
      margin-top: 48px;
      padding: 20px 0;
    }

    .footer-bottom p {
      color: var(--text-muted);
      margin: 0;
      text-align: center;
      font-size: 0.9rem;
    }

    @media (max-width: 1024px) {
      .section {
        padding: 80px 0;
      }

      .page-banner {
        padding: 90px 0;
      }

      .banner-content h1 {
        font-size: 2.6rem;
      }

      .stat-number {
        font-size: 2.4rem;
      }
    }

    @media (max-width: 768px) {
      .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(7, 10, 16, 0.98);
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
      }

      .main-nav.open {
        display: flex;
      }

      .nav-toggle {
        display: block;
      }

      .nav-link {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1rem;
      }

      .nav-link::after {
        display: none;
      }

      .nav-link.active {
        color: var(--accent);
        padding-left: 12px;
        border-left: 2px solid var(--accent);
      }

      .page-banner {
        padding: 70px 0;
      }

      .banner-content h1 {
        font-size: 2rem;
      }

      .banner-content p {
        font-size: 1rem;
      }

      .section {
        padding: 60px 0;
      }

      .section-head h2 {
        font-size: 1.8rem;
      }

      .footer-links {
        justify-content: flex-start;
        margin-top: 24px;
      }

      .stat-number {
        font-size: 2rem;
      }

      .cta-card {
        padding: 48px 24px;
      }

      .cta-card h2 {
        font-size: 1.6rem;
      }
    }

    @media (max-width: 520px) {
      .brand-logo {
        font-size: 1.1rem;
      }

      .banner-content h1 {
        font-size: 1.7rem;
      }

      .banner-actions .btn {
        width: 100%;
        justify-content: center;
      }

      .section-head h2 {
        font-size: 1.5rem;
      }

      .stat-number {
        font-size: 1.7rem;
      }

      .footer-bottom p {
        font-size: 0.8rem;
      }
    }

/* roulang page: article */
:root {
    --primary: #00f5c8;
    --primary-dark: #00c9a2;
    --accent: #7b5cff;
    --accent-soft: rgba(123, 92, 255, 0.14);
    --bg-dark: #080c14;
    --bg-panel: #0e1524;
    --bg-card: #111a2b;
    --text-light: #f0f4fb;
    --text-body: #aab3c5;
    --text-muted: #68738a;
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.14);
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.28);
    --transition: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
    --header-h: 78px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input {
    font-family: inherit;
}

.container {
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
}

/* ===== Header 导航 ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    height: var(--header-h);
    background: rgba(8, 12, 20, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
    background: rgba(8, 12, 20, 0.96);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-light);
    white-space: nowrap;
    transition: opacity var(--transition);
}

.brand-logo:hover {
    color: var(--text-light);
    opacity: 0.86;
}

.logo-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 18px rgba(0, 245, 200, 0.35);
    position: relative;
    flex-shrink: 0;
}

.logo-icon::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 5px;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--transition);
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-link:hover::after {
    transform: scaleX(0.6);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    transform: scaleX(0.75);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-light);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-toggle:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* ===== 文章 Hero ===== */
.article-hero {
    position: relative;
    padding: calc(var(--header-h) + 80px) 0 64px;
    background: linear-gradient(180deg, rgba(8, 12, 20, 0.7), rgba(8, 12, 20, 0.94)), url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
    border-bottom: 1px solid var(--border);
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.breadcrumb-link {
    color: var(--text-muted);
    transition: color var(--transition);
}

.breadcrumb-link:hover {
    color: var(--primary);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: var(--text-body);
    max-width: 380px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(123, 92, 255, 0.35);
    color: #b8a9ff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 22px;
}

.article-hero-badge i {
    font-size: 0.75rem;
}

.article-hero-title {
    font-size: clamp(1.8rem, 3.6vw, 3.1rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--text-light);
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    max-width: 880px;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.meta-item i {
    color: var(--primary);
    font-size: 0.85rem;
}

/* ===== 正文区域 ===== */
.article-content-section {
    padding: 68px 0 40px;
}

.article-layout {
    max-width: 820px;
    margin: 0 auto;
}

.article-body {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(28px, 4.5vw, 58px);
    box-shadow: var(--shadow-sm);
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-body);
}

.article-body > *:first-child {
    margin-top: 0;
}

.article-body h2 {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 2.2rem 0 1rem;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
    border-radius: 2px;
    line-height: 1.4;
}

.article-body h3 {
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 1.9rem 0 0.9rem;
    line-height: 1.4;
}

.article-body h4 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 1.6rem 0 0.7rem;
}

.article-body p {
    margin-bottom: 1.2rem;
}

.article-body strong {
    color: var(--text-light);
    font-weight: 600;
}

.article-body em {
    color: var(--primary);
    font-style: normal;
}

.article-body a {
    color: var(--primary);
    border-bottom: 1px solid rgba(0, 245, 200, 0.3);
    transition: border-color var(--transition);
}

.article-body a:hover {
    border-bottom-color: var(--primary);
}

.article-body img {
    width: 100%;
    border-radius: 14px;
    margin: 1.6rem 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.article-body blockquote {
    background: rgba(123, 92, 255, 0.08);
    border-left: 4px solid var(--accent);
    padding: 22px 26px;
    border-radius: 0 14px 14px 0;
    margin: 1.6rem 0;
    color: #c2cbe0;
    font-style: normal;
}

.article-body blockquote p {
    margin-bottom: 0;
}

.article-body ul,
.article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body li::marker {
    color: var(--primary);
}

.article-body hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 2rem 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.article-body th,
.article-body td {
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    text-align: left;
}

.article-body th {
    background: var(--bg-card);
    color: var(--text-light);
    font-weight: 600;
}

.article-body code {
    background: rgba(0, 245, 200, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.88em;
}

.article-empty {
    text-align: center;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 72px 30px;
}

.article-empty i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.article-empty p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 28px;
}

/* 文章底部条 */
.article-footer-bar {
    max-width: 820px;
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 245, 200, 0.08);
    border: 1px solid rgba(0, 245, 200, 0.22);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}

.article-tag:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.article-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== 按钮 ===== */
.btn-km {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0, 245, 200, 0.18);
}

.btn-km:hover,
.btn-km:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-dark);
    box-shadow: 0 8px 30px rgba(0, 245, 200, 0.32);
    transform: translateY(-2px);
}

.btn-km:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 245, 200, 0.2);
}

.btn-outline-km {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: all var(--transition);
}

.btn-outline-km:hover,
.btn-outline-km:focus {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 245, 200, 0.1);
    transform: translateY(-1px);
}

/* ===== 相关推荐 ===== */
.related-section {
    padding: 80px 0 96px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a101d 55%, var(--bg-dark) 100%);
}

.section-head {
    margin-bottom: 44px;
}

.section-head h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.section-head h2 span {
    color: var(--primary);
}

.section-head p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.related-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 245, 200, 0.35);
    box-shadow: var(--shadow);
}

.related-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    transition: transform 0.6s ease;
}

.related-card:hover .related-card-img {
    transform: scale(1.04);
}

.related-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-card-body .badge {
    align-self: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--accent-soft);
    color: #b8a9ff;
    border: 1px solid rgba(123, 92, 255, 0.3);
}

.badge.badge-primary {
    background: rgba(0, 245, 200, 0.1);
    color: var(--primary);
    border-color: rgba(0, 245, 200, 0.25);
}

.related-card-body h3 {
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition);
}

.related-card:hover .related-card-body h3 {
    color: var(--primary);
}

.related-card-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-body .related-meta {
    margin-top: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-meta i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* ===== CTA 板块 ===== */
.cta-section {
    padding: 88px 0;
    background: linear-gradient(160deg, rgba(8, 12, 20, 0.82), rgba(8, 12, 20, 0.92)), url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
    border-top: 1px solid var(--border);
}

.cta-inner {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-inner h2 span {
    color: var(--primary);
}

.cta-inner p {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 34px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
    padding: 60px 0 0;
    background: #060a12;
    border-top: 1px solid var(--border);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.footer-links a {
    color: var(--text-body);
    font-size: 0.94rem;
    font-weight: 500;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    margin-top: 48px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* ===== 可访问性 ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ===== 响应式 ===== */
@media (max-width: 991.98px) {
    .main-nav {
        position: absolute;
        top: var(--header-h);
        left: 16px;
        right: 16px;
        background: rgba(8, 12, 20, 0.98);
        border: 1px solid var(--border-strong);
        border-radius: 16px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
        box-shadow: var(--shadow);
    }

    .main-nav.nav-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        padding: 14px 18px;
        border-radius: 12px;
        text-align: center;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        background: rgba(0, 245, 200, 0.1);
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .footer-links {
        align-items: flex-start;
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --header-h: 66px;
    }

    .article-hero {
        padding: calc(var(--header-h) + 50px) 0 46px;
    }

    .article-hero-title {
        font-size: 1.65rem;
        line-height: 1.4;
    }

    .article-content-section {
        padding: 48px 0 30px;
    }

    .article-body {
        padding: 24px 20px;
        font-size: 1rem;
        line-height: 1.8;
    }

    .article-footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-section {
        padding: 56px 0 68px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .footer-bottom p {
        font-size: 0.78rem;
    }
}

@media (max-width: 520px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand-logo {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 26px;
        height: 26px;
        border-radius: 7px;
    }

    .article-hero-badge {
        padding: 6px 13px;
        font-size: 0.78rem;
    }

    .article-hero-title {
        font-size: 1.42rem;
    }

    .article-meta {
        gap: 12px;
        font-size: 0.82rem;
    }

    .related-card-img {
        height: 150px;
    }

    .related-card-body {
        padding: 18px;
    }

    .cta-actions .btn-km,
    .cta-actions .btn-outline-km {
        width: 100%;
        justify-content: center;
    }
}
