/* 海角 - 海角网 主样式文件 */
/* ca69w8.cn */

:root {
  --primary: #0d2b5e;
  --secondary: #e85d4a;
  --accent: #1a6fb5;
  --light-bg: #f5f7fa;
  --dark-bg: #0a1e3d;
  --text-main: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e2e8f0;
  --card-shadow: 0 4px 20px rgba(13,43,94,0.10);
  --radius: 12px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  padding: 6px 0;
  text-align: center;
}
.top-bar a { color: #f9c74f; }

/* ===== 头部导航 ===== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(13,43,94,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo-text span { color: var(--secondary); }

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  background: var(--primary);
  color: #fff;
}

/* 搜索框 */
.search-wrap {
  display: flex;
  align-items: center;
  background: var(--light-bg);
  border-radius: 24px;
  padding: 6px 16px;
  gap: 8px;
  min-width: 200px;
  border: 1.5px solid var(--border);
  transition: border-color var(--transition);
}
.search-wrap:focus-within { border-color: var(--accent); }
.search-wrap input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  width: 100%;
  color: var(--text-main);
}
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
}
.search-btn:hover { color: var(--secondary); }

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  background: var(--light-bg);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb .container { display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { color: var(--text-muted); }

/* ===== 容器 ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* ===== 区块标题 ===== */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-header .tag {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ===== Hero 轮播 ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  min-height: 500px;
}
.hero-slides { position: relative; width: 100%; }
.hero-slide {
  display: none;
  position: relative;
  min-height: 500px;
}
.hero-slide.active { display: block; }
.hero-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  opacity: 0.7;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 800px;
}
.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  opacity: 0.9;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary { background: var(--secondary); color: #fff; }
.btn-primary:hover { background: #c94030; color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all var(--transition);
}
.hero-dots span.active { background: #fff; width: 24px; border-radius: 4px; }

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(13,43,94,0.18); }
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark-bg);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 52px;
  height: 52px;
  background: rgba(232,93,74,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.video-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.play-btn svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.video-info { padding: 14px; }
.video-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* ===== 统计数字 ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item h3 { font-size: 2.4rem; font-weight: 900; color: #f9c74f; }
.stat-item p { font-size: 0.9rem; opacity: 0.85; margin-top: 4px; }

/* ===== 专家展示 ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: transform var(--transition);
}
.expert-card:hover { transform: translateY(-4px); }
.expert-avatar {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}
.expert-info { padding: 18px; }
.expert-info h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.expert-info .role { font-size: 0.82rem; color: var(--secondary); font-weight: 600; margin-bottom: 8px; }
.expert-info p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  transition: all var(--transition);
}
.btn-sm:hover { background: var(--primary); color: #fff; }
.btn-sm.filled { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-sm.filled:hover { background: #c94030; }

/* ===== FAQ ===== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--accent); }
.faq-q {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--light-bg); }
.faq-q .icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--secondary); }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }

/* ===== 用户评论 ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--secondary);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 0.95rem; }
.review-date { font-size: 0.78rem; color: var(--text-muted); }
.stars { color: #f9c74f; font-size: 0.85rem; margin-bottom: 8px; }
.review-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ===== 合作品牌 ===== */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-item {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.partner-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--primary); margin-bottom: 2px; }
.contact-item p { font-size: 0.85rem; color: var(--text-muted); }
.qr-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-code {
  width: 110px;
  height: 110px;
  border-radius: 10px;
  border: 2px solid var(--border);
  overflow: hidden;
  margin-bottom: 8px;
}
.qr-code canvas { width: 100%; height: 100%; }
.qr-item p { font-size: 0.8rem; color: var(--text-muted); }

/* ===== 社交分享 ===== */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.share-wechat { background: #07c160; color: #fff; }
.share-weibo { background: #e6162d; color: #fff; }
.share-douyin { background: #000; color: #fff; }
.share-bilibili { background: #00a1d6; color: #fff; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text { color: #fff; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin-bottom: 16px; }
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--secondary); }

/* ===== 标签 ===== */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
  background: var(--light-bg);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.tag:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== 内页 Banner ===== */
.inner-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.inner-banner h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 10px; }
.inner-banner p { font-size: 1rem; opacity: 0.85; }

/* ===== 侧边栏 ===== */
.page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
}
.sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
}
.hot-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  display: flex;
  gap: 8px;
  align-items: center;
}
.hot-list li:last-child { border-bottom: none; }
.hot-num {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--light-bg);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hot-list li:nth-child(1) .hot-num { background: #e85d4a; color: #fff; }
.hot-list li:nth-child(2) .hot-num { background: #f97316; color: #fff; }
.hot-list li:nth-child(3) .hot-num { background: #f9c74f; color: #fff; }

/* ===== 文章内容 ===== */
.article-body { font-size: 0.95rem; line-height: 1.9; color: var(--text-main); }
.article-body h2 { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin: 28px 0 14px; }
.article-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin: 22px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body img { border-radius: var(--radius); margin: 20px 0; }

/* ===== 评论区 ===== */
.comment-section { margin-top: 40px; }
.comment-section h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.comment-item {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
}
.comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.comment-name { font-weight: 600; font-size: 0.9rem; }
.comment-time { font-size: 0.78rem; color: var(--text-muted); margin-left: auto; }
.comment-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.comment-reply {
  margin-top: 10px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.comment-reply strong { color: var(--accent); }

/* ===== 加载更多 ===== */
.load-more {
  text-align: center;
  margin-top: 36px;
}
.load-more .btn { min-width: 160px; }

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 1.5px solid var(--border);
  color: var(--text-main);
  transition: all var(--transition);
}
.pagination a:hover, .pagination span.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== 特色模块 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: transform var(--transition);
  border-top: 4px solid var(--primary);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.feature-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }

/* ===== 图文列表 ===== */
.article-list { display: flex; flex-direction: column; gap: 20px; }
.article-item {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition);
}
.article-item:hover { transform: translateX(4px); }
.article-thumb {
  width: 160px;
  height: 110px;
  flex-shrink: 0;
  overflow: hidden;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-content { padding: 14px 16px 14px 0; flex: 1; }
.article-content h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.article-content p { font-size: 0.85rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; gap: 12px; margin-top: 8px; font-size: 0.78rem; color: var(--text-muted); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 999; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; border-radius: 8px; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 1.8rem; }
  .section-header h2 { font-size: 1.5rem; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-item { flex-direction: column; }
  .article-thumb { width: 100%; height: 180px; }
  .search-wrap { min-width: 140px; }
  .inner-banner h1 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* ===== 辅助类 ===== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.bg-light { background: var(--light-bg); }
.bg-dark { background: var(--dark-bg); }
.text-white { color: #fff; }
.hidden { display: none; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* ===== 视频模态框 ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #000;
  border-radius: var(--radius);
  width: 90%;
  max-width: 800px;
  position: relative;
  overflow: hidden;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
}

/* ===== 弹幕效果 ===== */
.danmu-bar {
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 20px;
  font-size: 0.85rem;
  overflow: hidden;
  white-space: nowrap;
}
.danmu-inner {
  display: inline-block;
  animation: danmuScroll 30s linear infinite;
}
@keyframes danmuScroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* ===== 直播标识 ===== */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e85d4a;
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== 渐变背景区块 ===== */
.gradient-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8f0fe 100%);
}
.dark-section {
  background: var(--dark-bg);
  color: #fff;
}
.dark-section .section-header h2 { color: #fff; }
.dark-section .section-header p { color: rgba(255,255,255,0.7); }
