/* 套路直播 · 现代直播风格主样式表 5sp27f.cn */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent-pink: #ec4899;
  --accent-rose: #f43f5e;
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  
  /* 现代直播主题底色：非全黑、非单色，富有流光紫青层次感 */
  --bg-deep: #0e111e;
  --bg-card: #181d31;
  --bg-card-hover: #1f253d;
  --bg-section: #121626;
  --bg-glass: rgba(24, 29, 49, 0.85);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --border: rgba(148, 163, 184, 0.16);
  --border-focus: rgba(99, 102, 241, 0.5);
  
  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --gradient-btn: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #8b5cf6 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-card: linear-gradient(180deg, rgba(30, 36, 61, 0.95) 0%, rgba(18, 22, 38, 0.95) 100%);
  
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
  --shadow-neon: 0 0 25px rgba(236, 72, 153, 0.35);
  
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 10% 12%, rgba(99, 102, 241, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--accent-pink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 现代滚动条 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366f1, #ec4899);
  border-radius: 4px;
}

/* ===== 顶部公告条 ===== */
.top-bar {
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.95), rgba(236, 72, 153, 0.95));
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-links a {
  color: #fce7f3;
  margin-left: 18px;
  font-size: 13px;
  font-weight: 600;
}
.top-bar-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===== 导航栏 ===== */
header {
  background: rgba(14, 17, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.6);
  flex-shrink: 0;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text span:first-child {
  font-size: 22px;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}
.logo-text span:last-child {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
nav a {
  color: var(--text-secondary);
  font-size: 14.5px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-weight: 600;
  white-space: nowrap;
  position: relative;
}
nav a:hover, nav a.active {
  color: #ffffff;
  background: rgba(99, 102, 241, 0.18);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.4);
}
nav a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 20%;
  width: 60%;
  height: 2px;
  background: var(--gradient-btn);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.5);
  color: #fda4af;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #f43f5e;
  border-radius: 50%;
  animation: pulse-live 1.4s infinite;
}
@keyframes pulse-live {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.btn-login {
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.6);
  color: var(--primary-light);
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}
.btn-login:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
  border-color: var(--primary-light);
}
.btn-join {
  background: var(--gradient-btn);
  border: none;
  color: #fff;
  padding: 7px 20px;
  border-radius: 20px;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.35);
}
.btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
}

/* ===== 头部搜索框 ===== */
.search-bar {
  background: rgba(18, 22, 38, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.search-inner {
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}
.search-inner:focus-within {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}
.search-inner input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 11px 20px;
  color: #fff;
  font-size: 14.5px;
}
.search-inner input::placeholder {
  color: var(--text-muted);
}
.search-inner button {
  background: var(--gradient-brand);
  border: none;
  color: #fff;
  padding: 11px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}
.search-inner button:hover {
  filter: brightness(1.15);
}

/* ===== 基础容器 ===== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 面包屑导航 ===== */
.breadcrumb {
  padding: 12px 0;
  font-size: 13.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: rgba(18, 22, 38, 0.7);
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--primary-light);
}
.breadcrumb span {
  margin: 0 8px;
  color: var(--text-muted);
}
.breadcrumb strong {
  color: #fff;
  font-weight: 600;
}

/* ===== Hero 首屏 Banner ===== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0f121e;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.42);
  z-index: 0;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}
.hero:hover .hero-bg {
  transform: scale(1.06);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 17, 30, 0.94) 0%, rgba(14, 17, 30, 0.75) 55%, rgba(14, 17, 30, 0.35) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 40px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #c7d2fe;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #ffffff;
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 4px;
}
.hero p {
  font-size: 16.5px;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.85;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  padding: 13px 32px;
  border-radius: 28px;
  font-size: 15.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(244, 63, 94, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.6);
  color: #fff;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 13px 30px;
  border-radius: 28px;
  font-size: 15.5px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: var(--primary-light);
  color: #fff;
  background: rgba(99, 102, 241, 0.2);
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stat .num {
  font-size: 30px;
  font-weight: 900;
  background: linear-gradient(135deg, #fbcfe8, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat .label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
}

/* ===== 页面通栏 Hero ===== */
.page-hero {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.95), rgba(76, 29, 149, 0.85)), url('/images/banner1.jpg') center/cover;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  margin-bottom: 12px;
  color: #fff;
}
.page-hero p {
  color: #cbd5e1;
  font-size: 16px;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== 通用区块 ===== */
.section {
  padding: 70px 0;
  position: relative;
}
.section-alt {
  background: rgba(18, 22, 38, 0.65);
}
.section-title {
  text-align: center;
  margin-bottom: 45px;
}
.section-title h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
}
.section-title h2 span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 4px;
}
.section-title p {
  color: var(--text-secondary);
  font-size: 15.5px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-title-line {
  width: 64px;
  height: 4px;
  background: var(--gradient-btn);
  margin: 14px auto 0;
  border-radius: 4px;
}

/* ===== 核心功能网格 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  font-size: 38px;
  margin-bottom: 16px;
  display: inline-block;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== 视频卡片网格 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.5);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0b0e17;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.video-card:hover .video-thumb img {
  transform: scale(1.08);
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 17, 30, 0.35);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .video-play-btn {
  opacity: 1;
  background: rgba(14, 17, 30, 0.55);
}
.video-play-btn span {
  width: 52px;
  height: 52px;
  background: var(--gradient-btn);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  padding-left: 3px;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.7);
  transform: scale(0.85);
  transition: var(--transition);
}
.video-card:hover .video-play-btn span {
  transform: scale(1);
}
.video-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.video-info {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.video-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}
.video-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===== 标签/徽章 ===== */
.tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== 社区与动态 ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.post-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  transition: var(--transition);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.35);
}
.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.author-info span {
  font-size: 12px;
  color: var(--text-muted);
}
.post-content {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.post-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.post-actions span {
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.post-actions span:hover {
  color: var(--accent-pink);
}

/* ===== FAQ 折叠问答 ===== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.4);
}
.faq-question {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question span.arrow {
  color: var(--primary-light);
  font-size: 14px;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-question span.arrow {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.8;
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

/* ===== 真实评论区 ===== */
.comments-section {
  margin-top: 40px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border);
}
.comments-section h3 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.comment-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.comment-item:last-child {
  border-bottom: none;
}
.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
}
.comment-body {
  flex: 1;
}
.comment-body .user {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.comment-body .text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}
.comment-body .date {
  font-size: 12px;
  color: var(--text-muted);
  display: inline-block;
  margin-right: 16px;
}
.comment-likes {
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}
.comment-likes:hover {
  color: var(--accent-pink);
}

/* ===== 文章详情与侧边栏 ===== */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
}
.article-content {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border);
}
.article-content h1 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 18px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.article-body {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--text-secondary);
}
.article-body p {
  margin-bottom: 20px;
}
.article-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.article-body img {
  border-radius: var(--radius-sm);
  margin: 24px 0;
  border: 1px solid var(--border);
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 30px 0;
}
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.share-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}
.share-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #fff;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}
.share-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.sidebar-widget {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.sidebar-list li a:hover {
  color: var(--primary-light);
  transform: translateX(3px);
}
.sidebar-list li a span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== 底部页脚 ===== */
footer {
  background: #090c14;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-pink);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 13.5px;
}
.footer-col ul li a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}
.footer-qrcodes {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.qr-item {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
.qr-item img {
  width: 90px;
  height: 105px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 6px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-muted);
}
.footer-bottom a:hover {
  color: var(--primary-light);
}

/* ===== 移动端响应式适配 ===== */
@media (max-width: 992px) {
  .content-sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    flex-direction: column;
    padding: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  nav.open { display: flex; }
  .hamburger { display: flex; }
  .hero { min-height: 480px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
