/* ===================================================================
   糖心视频 - 现代直播风格主样式表
   域名: y674e5.cn | 品牌: 糖心视频 | 标题: 糖心视频-国产原创免费
   设计风格: 现代直播/电竞赛博多色风格 (非全黑/非单色，现代明快+霓虹流光)
   =================================================================== */

:root {
  /* 品牌核心主色：电竞与直播紫青渐变 */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  --secondary-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  
  /* 直播专属状态色与点缀色 (多色搭配，严禁单色) */
  --live-red: #ef4444;
  --live-orange: #f97316;
  --live-pink: #ec4899;
  --live-cyan: #06b6d4;
  --live-green: #10b981;
  --live-gold: #f59e0b;
  
  /* 背景层次：明快现代，局部电竞面板层次，绝非全黑 */
  --bg-body: #f4f6fb;
  --bg-card: #ffffff;
  --bg-card-alt: #f8fafc;
  --bg-panel: #1e1b4b;
  --bg-panel-light: #2e1065;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  /* 文字与线条 */
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #94a3b8;
  --border-light: #e2e8f0;
  --border-highlight: #c7d2fe;
  
  /* 阴影与微光 */
  --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.08);
  --shadow-md: 0 8px 24px rgba(99, 102, 241, 0.12);
  --shadow-lg: 0 16px 40px rgba(79, 70, 229, 0.16);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --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, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--live-pink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #e2e8f0;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366f1, #ec4899);
  border-radius: 4px;
}

/* 顶部跑马灯直播快讯条 */
.top-bar {
  background: linear-gradient(90deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  color: #e0e7ff;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.live-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--live-red);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.top-bar-links a {
  color: #c7d2fe;
  margin-left: 16px;
  font-size: 12px;
}
.top-bar-links a:hover {
  color: #ffffff;
}

/* 导航栏 */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  flex-shrink: 0;
}
.logo-icon-wrap img {
  width: 32px;
  height: 32px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text .title {
  font-size: 22px;
  font-weight: 900;
  color: #1e1b4b;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.logo-text .sub {
  font-size: 10.5px;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

/* 导航菜单 */
nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
nav a {
  color: var(--text-sub);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
nav a:hover, nav a.active {
  color: var(--primary-dark);
  background: rgba(99, 102, 241, 0.1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-live-stream {
  background: linear-gradient(135deg, #ef4444 0%, #ec4899 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-live-stream:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
}
.btn-login-round {
  background: #f1f5f9;
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}
.btn-login-round:hover {
  background: #e2e8f0;
  color: var(--text-main);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 22px;
  height: 2.5px;
  background: #1e1b4b;
  border-radius: 2px;
}

/* 顶部搜索框 */
.search-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
}
.search-inner {
  display: flex;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}
.search-inner:focus-within {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
.search-inner input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 20px;
  color: var(--text-main);
  font-size: 14px;
}
.search-inner input::placeholder {
  color: var(--text-muted);
}
.search-inner button {
  background: var(--primary-gradient);
  border: none;
  color: #ffffff;
  padding: 10px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.search-inner button:hover {
  opacity: 0.95;
}

/* 容器定义 */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 面包屑导航 */
.breadcrumb {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-sub);
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb span {
  margin: 0 6px;
  color: #cbd5e1;
}

/* Hero Banner */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: #0f172a;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  filter: saturate(1.2);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 27, 75, 0.78) 55%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #ffffff;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(129, 140, 248, 0.5);
  color: #c7d2fe;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #f43f5e 0%, #fb923c 50%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.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-live {
  background: var(--primary-gradient);
  color: #ffffff !important;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  transition: var(--transition);
}
.btn-primary-live:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.5);
}
.btn-secondary-live {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.btn-secondary-live:hover {
  background: rgba(255, 255, 255, 0.22);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stat .num {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat .label {
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 2px;
}

/* 通用区块与标题 */
.section {
  padding: 64px 0;
}
.section-alt {
  background: #ffffff;
}
.section-title {
  text-align: center;
  margin-bottom: 42px;
}
.section-title h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 10px;
}
.section-title h2 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title p {
  color: var(--text-sub);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}
.section-title-line {
  width: 56px;
  height: 4px;
  background: var(--primary-gradient);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* 核心功能网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-highlight);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #1e1b4b;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* 视频卡片网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.video-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1e1b4b;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img {
  transform: scale(1.06);
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .video-play-btn {
  opacity: 1;
}
.play-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: scale(0.85);
  transition: var(--transition);
}
.video-card:hover .play-icon {
  transform: scale(1);
}
.play-icon svg {
  width: 22px;
  height: 22px;
  fill: #6366f1;
  margin-left: 3px;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.video-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.video-info h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-info h3:hover {
  color: var(--primary);
}
.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* 影视传媒视窗 */
.media-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.video-player-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: #0f172a;
  cursor: pointer;
}
.video-player-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-player-wrap:hover img {
  transform: scale(1.03);
}
.video-player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.big-play-btn {
  width: 74px;
  height: 74px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
  transition: transform 0.3s ease;
}
.video-player-wrap:hover .big-play-btn {
  transform: scale(1.12);
}
.big-play-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  margin-left: 4px;
}

/* 专家展示 */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.expert-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}
.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.expert-photo {
  height: 240px;
  overflow: hidden;
  background: #e2e8f0;
}
.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.expert-info {
  padding: 18px 16px;
}
.expert-info h3 {
  font-size: 17px;
  font-weight: 800;
  color: #1e1b4b;
  margin-bottom: 4px;
}
.expert-role {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.expert-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 14px;
}
.expert-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.btn-expert-outline {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  color: var(--text-sub);
  font-weight: 600;
}
.btn-expert-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
}

/* 合作影视品牌 Logo 墙 */
.partner-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.partner-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-sub);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.partner-item:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

/* FAQ 折叠与问答模块 */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--border-highlight);
}
.faq-question {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: #1e1b4b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}
.faq-question .toggle-icon {
  font-size: 18px;
  color: var(--primary);
  font-weight: 900;
}
.faq-answer {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.8;
  border-top: 1px dashed var(--border-light);
  margin-top: 4px;
  padding-top: 14px;
}

/* 用户与口碑评价模块 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-stars {
  color: var(--live-gold);
  font-size: 15px;
  margin-bottom: 10px;
}
.review-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 16px;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.review-user-info .name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.review-user-info .tag {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

/* 实体影视传媒公司与联系模块 */
.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.company-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: #1e1b4b;
  margin-bottom: 16px;
}
.company-info p {
  color: var(--text-sub);
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.contact-detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.contact-detail-item .label {
  font-size: 12px;
  color: var(--text-muted);
}
.contact-detail-item .val {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.qr-codes-wrap {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
}
.qr-card {
  text-align: center;
}
.qr-img-box {
  width: 120px;
  height: 120px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}
.qr-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr-card p {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 600;
}

/* 社交分享条 */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.share-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-sub);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.share-wechat { background: #07c160; color: #ffffff; }
.share-weibo { background: #e6162d; color: #ffffff; }
.share-douyin { background: #111827; color: #ffffff; }
.share-bilibili { background: #00a1d6; color: #ffffff; }
.share-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* 页脚信息 */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 24px;
  border-top: 1px solid #1e293b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .f-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .f-logo span {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.85;
  color: #94a3b8;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 13.5px;
  color: #94a3b8;
}
.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #64748b;
}
.footer-bottom a {
  color: #64748b;
}
.footer-bottom a:hover {
  color: #c7d2fe;
}

/* 内页通用头部 */
.page-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4c1d95 100%);
  color: #ffffff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.page-hero h1 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 15.5px;
  color: #c7d2fe;
  line-height: 1.8;
}

/* 新闻与文章布局 */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}
.article-content {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.article-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.article-body {
  font-size: 15.5px;
  color: #1e293b;
  line-height: 1.9;
}
.article-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1e1b4b;
  margin: 20px 0 10px;
}
.article-body p {
  margin-bottom: 18px;
  text-align: justify;
}
.article-body img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

/* 侧边栏小部件 */
.sidebar-widget {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 16px;
  font-weight: 800;
  color: #1e1b4b;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef2ff;
  position: relative;
}
.sidebar-widget h4::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
}
.sidebar-list {
  list-style: none;
}
.sidebar-list li {
  margin-bottom: 12px;
  font-size: 13.5px;
}
.sidebar-list li a {
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
}
.sidebar-list li a:hover {
  color: var(--primary);
}

/* 评论模块 */
.comments-section {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.comments-section h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}
.comment-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border-light);
}
.comment-item:last-child {
  border-bottom: none;
}
.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.comment-body {
  flex: 1;
}
.comment-body .user {
  font-size: 14px;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 4px;
}
.comment-body .text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 6px;
}
.comment-body .meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* 模拟播放弹窗 */
.video-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-modal-content {
  background: #0f172a;
  border-radius: var(--radius-lg);
  border: 1px solid #334155;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  color: #ffffff;
}
.video-modal-header {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1e293b;
}
.video-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 24px;
  cursor: pointer;
}
.video-modal-body {
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
}
.video-modal-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 响应式断点 */
@media (max-width: 1024px) {
  .features-grid, .video-grid, .expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-showcase, .contact-container, .content-sidebar {
    grid-template-columns: 1fr;
  }
  .partner-wall {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-light);
  }
  nav.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .features-grid, .video-grid, .expert-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-detail-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar {
    display: none;
  }
  .btn-login-round {
    display: none;
  }
  .header-inner {
    padding: 8px 0;
  }
  .logo-icon-wrap {
    width: 36px;
    height: 36px;
  }
  .logo-icon-wrap img {
    width: 24px;
    height: 24px;
  }
  .logo-text .title {
    font-size: 18px;
  }
  .logo-text .sub {
    font-size: 9px;
  }
  .btn-live-stream {
    padding: 5px 12px;
    font-size: 11.5px;
  }
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding: 36px 0;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .hero-stats {
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
  }
  .hero-stat .num {
    font-size: 22px;
  }
  .search-inner input {
    padding: 8px 14px;
    font-size: 13px;
  }
  .search-inner button {
    padding: 8px 16px;
    font-size: 13px;
  }
}
