/* =============================================
   海角传媒 - 主样式文件
   品牌色：深红 #C0392B | 金色 #D4AF37 | 深蓝 #0D1B2A
   ============================================= */

/* ---- 重置与基础 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  background: #0D1B2A;
  color: #E8E8E8;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: #D4AF37; text-decoration: none; transition: color .25s; }
a:hover { color: #F5D76E; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ---- CSS变量 ---- */
:root {
  --brand-red: #C0392B;
  --brand-gold: #D4AF37;
  --brand-dark: #0D1B2A;
  --brand-navy: #152535;
  --brand-card: #1A2E42;
  --brand-border: rgba(212,175,55,.25);
  --brand-text: #E8E8E8;
  --brand-muted: #9AABB8;
  --brand-bg: #0D1B2A;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.45);
  --transition: .3s ease;
}

/* ---- 滚动条 ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--brand-dark); }
::-webkit-scrollbar-thumb { background: var(--brand-red); border-radius: 3px; }

/* ======== 顶部公告条 ======== */
.top-notice {
  background: linear-gradient(90deg, var(--brand-red), #8B0000);
  color: #fff;
  text-align: center;
  padding: 7px 20px;
  font-size: .82rem;
  letter-spacing: .5px;
}
.top-notice a { color: #FFE066; }

/* ======== 头部导航 ======== */
.site-header {
  background: rgba(13,27,42,.97);
  border-bottom: 2px solid var(--brand-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-wrap img.site-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text .brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-gold), #F5D76E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text .brand-sub {
  font-size: .7rem;
  color: var(--brand-muted);
  letter-spacing: 1px;
}

/* 主导航 */
.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav ul li a {
  display: block;
  padding: 8px 14px;
  color: #CDD8E0;
  font-size: .9rem;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: rgba(192,57,43,.18);
  color: var(--brand-gold);
}

/* 头部右侧 */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-join {
  background: linear-gradient(135deg, var(--brand-red), #8B0000);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-join:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(192,57,43,.5); }

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-gold);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ======== 搜索框 ======== */
.search-bar-wrap {
  background: rgba(21,37,53,.95);
  border-bottom: 1px solid var(--brand-border);
  padding: 10px 20px;
}
.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-form {
  display: flex;
  flex: 1;
  max-width: 640px;
  margin: 0 auto;
  border: 1.5px solid var(--brand-border);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(13,27,42,.8);
}
.search-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 9px 18px;
  color: var(--brand-text);
  font-size: .9rem;
}
.search-form input::placeholder { color: var(--brand-muted); }
.search-form button {
  background: linear-gradient(135deg, var(--brand-red), #8B0000);
  border: none;
  color: #fff;
  padding: 9px 22px;
  cursor: pointer;
  font-size: .9rem;
  transition: background var(--transition);
}
.search-form button:hover { background: var(--brand-red); }
.search-hot-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search-hot-tags span { color: var(--brand-muted); font-size: .78rem; }
.search-hot-tags a {
  font-size: .78rem;
  color: #9AABB8;
  background: rgba(255,255,255,.06);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid var(--brand-border);
  transition: all var(--transition);
}
.search-hot-tags a:hover { background: rgba(192,57,43,.2); color: var(--brand-gold); border-color: var(--brand-red); }

/* ======== 面包屑 ======== */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: .82rem;
  color: var(--brand-muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--brand-muted); }
.breadcrumb a:hover { color: var(--brand-gold); }
.breadcrumb .sep { opacity: .5; }

/* ======== 主容器 ======== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======== 区块标题 ======== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--brand-border);
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title .icon {
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--brand-gold), var(--brand-red));
  border-radius: 2px;
}
.section-title h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.section-title h2 span { color: var(--brand-gold); }
.section-more { font-size: .85rem; color: var(--brand-muted); border: 1px solid var(--brand-border); padding: 5px 14px; border-radius: 15px; transition: all var(--transition); }
.section-more:hover { border-color: var(--brand-gold); color: var(--brand-gold); }

/* ======== Hero Banner ======== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--brand-dark);
}
.hero-swiper {
  position: relative;
  height: 480px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,27,42,.85) 0%, rgba(13,27,42,.4) 60%, transparent 100%);
}
.hero-content {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 520px;
}
.hero-tag {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  font-size: .75rem;
  padding: 3px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.hero-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero-content h1 .highlight { color: var(--brand-gold); }
.hero-desc {
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-red), #8B0000);
  color: #fff;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: .95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,57,43,.5); color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: .95rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,.5);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-outline:hover { border-color: var(--brand-gold); color: var(--brand-gold); }
.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,.4);
  cursor: pointer;
  transition: all var(--transition);
}
.hero-dots span.active { background: var(--brand-gold); width: 24px; border-radius: 4px; }

/* ======== 统计数字条 ======== */
.stats-bar {
  background: linear-gradient(90deg, var(--brand-navy), rgba(21,37,53,.9));
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  padding: 18px 0;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 10px;
  border-right: 1px solid var(--brand-border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-gold), #F5D76E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: .8rem; color: var(--brand-muted); }

/* ======== 视频卡片网格 ======== */
.section { padding: 50px 0; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.video-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.video-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.video-card {
  background: var(--brand-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--brand-border);
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
  border-color: rgba(212,175,55,.5);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #0a1520;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .play-btn { opacity: 1; }
.play-icon {
  width: 52px;
  height: 52px;
  background: rgba(192,57,43,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255,255,255,.8);
  transition: transform var(--transition);
}
.play-icon:hover { transform: scale(1.1); }
.play-icon::after {
  content: '';
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: .72rem;
  padding: 2px 7px;
  border-radius: 3px;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--brand-red);
  color: #fff;
  font-size: .68rem;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}
.video-info { padding: 14px; }
.video-title {
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  color: var(--brand-muted);
}
.video-meta .author { display: flex; align-items: center; gap: 4px; }
.video-meta .author img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.video-stats { display: flex; gap: 10px; margin-top: 8px; font-size: .75rem; color: var(--brand-muted); }
.video-stats span { display: flex; align-items: center; gap: 3px; }

/* ======== 精选大卡片 ======== */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.featured-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}
.featured-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.featured-main:hover img { transform: scale(1.04); }
.featured-main .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, transparent 50%);
}
.featured-main .info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}
.featured-main .info h3 { font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.featured-main .info p { font-size: .82rem; color: rgba(255,255,255,.75); }
.featured-side { display: flex; flex-direction: column; gap: 14px; }
.featured-side .video-card { flex: 1; }

/* ======== 专家卡片 ======== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.expert-card {
  background: var(--brand-card);
  border-radius: var(--radius);
  border: 1px solid var(--brand-border);
  padding: 24px 18px;
  text-align: center;
  transition: all var(--transition);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(212,175,55,.4); }
.expert-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--brand-gold);
}
.expert-name { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.expert-title { font-size: .78rem; color: var(--brand-gold); margin-bottom: 10px; }
.expert-desc { font-size: .78rem; color: var(--brand-muted); line-height: 1.6; margin-bottom: 14px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: 14px; }
.expert-tags span { font-size: .68rem; background: rgba(212,175,55,.12); color: var(--brand-gold); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(212,175,55,.25); }
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  font-size: .75rem;
  padding: 5px 12px;
  border-radius: 15px;
  border: 1px solid var(--brand-border);
  color: var(--brand-muted);
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
}
.btn-sm:hover { border-color: var(--brand-gold); color: var(--brand-gold); }
.btn-sm.primary { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.btn-sm.primary:hover { background: #a93226; }

/* ======== 合作品牌 ======== */
.partner-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-item {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  padding: 14px 24px;
  font-size: .85rem;
  color: var(--brand-muted);
  font-weight: 600;
  letter-spacing: .5px;
  transition: all var(--transition);
}
.partner-item:hover { border-color: var(--brand-gold); color: var(--brand-gold); background: rgba(212,175,55,.06); }

/* ======== FAQ ======== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  transition: background var(--transition);
}
.faq-question:hover { background: rgba(212,175,55,.06); }
.faq-question .q-icon { color: var(--brand-gold); font-size: 1.1rem; margin-right: 10px; }
.faq-question .arrow {
  width: 20px;
  height: 20px;
  border: 2px solid var(--brand-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); border-color: var(--brand-gold); color: var(--brand-gold); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 20px 16px; color: var(--brand-muted); font-size: .88rem; line-height: 1.8; }

/* ======== 用户评价 ======== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.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(--brand-red), var(--brand-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.review-name { font-weight: 600; color: #fff; font-size: .9rem; }
.review-date { font-size: .72rem; color: var(--brand-muted); }
.review-stars { color: var(--brand-gold); font-size: .85rem; margin-bottom: 8px; }
.review-text { font-size: .82rem; color: var(--brand-muted); line-height: 1.7; }
.review-tag { display: inline-block; margin-top: 8px; font-size: .7rem; background: rgba(192,57,43,.15); color: var(--brand-red); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(192,57,43,.3); }

/* ======== 联系我们 ======== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.contact-card {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h3 { font-size: 1.1rem; color: var(--brand-gold); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.contact-item .ci-icon { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.contact-item .ci-text { font-size: .88rem; color: var(--brand-muted); line-height: 1.6; }
.contact-item .ci-text strong { color: #fff; display: block; margin-bottom: 2px; }
.qr-row { display: flex; gap: 20px; margin-top: 16px; }
.qr-item { text-align: center; }
.qr-item img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; border: 2px solid var(--brand-border); }
.qr-item p { font-size: .72rem; color: var(--brand-muted); margin-top: 6px; }

/* ======== 社区入口 ======== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.community-card {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.community-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(212,175,55,.4); }
.community-icon { font-size: 2.5rem; margin-bottom: 12px; }
.community-card h3 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.community-card p { font-size: .82rem; color: var(--brand-muted); line-height: 1.6; margin-bottom: 14px; }

/* ======== 分享按钮 ======== */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.share-label { font-size: .85rem; color: var(--brand-muted); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: .8rem;
  border: 1px solid var(--brand-border);
  color: var(--brand-muted);
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
}
.share-btn:hover { color: #fff; transform: translateY(-1px); }
.share-btn.weixin:hover { background: #07C160; border-color: #07C160; }
.share-btn.weibo:hover { background: #E6162D; border-color: #E6162D; }
.share-btn.douyin:hover { background: #010101; border-color: #69C9D0; }
.share-btn.bilibili:hover { background: #00A1D6; border-color: #00A1D6; }

/* ======== 标签页 ======== */
.tab-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--brand-border);
  padding-bottom: 0;
}
.tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  color: var(--brand-muted);
  font-size: .9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--brand-gold); border-bottom-color: var(--brand-gold); }

/* ======== 加入指南 ======== */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.howto-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-gold));
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--brand-red), #8B0000);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
  border: 3px solid var(--brand-dark);
  box-shadow: 0 0 0 3px var(--brand-gold);
}
.step-item h4 { font-size: .92rem; color: #fff; margin-bottom: 6px; }
.step-item p { font-size: .78rem; color: var(--brand-muted); line-height: 1.6; }

/* ======== 页脚 ======== */
.site-footer {
  background: rgba(5,12,20,.98);
  border-top: 2px solid var(--brand-border);
  padding: 50px 0 0;
  margin-top: 60px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-wrap { margin-bottom: 16px; }
.footer-brand p { font-size: .82rem; color: var(--brand-muted); line-height: 1.8; margin-bottom: 16px; }
.footer-col h4 { font-size: .95rem; color: var(--brand-gold); margin-bottom: 16px; font-weight: 700; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: .82rem; color: var(--brand-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--brand-gold); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--brand-muted);
  border: 1px solid var(--brand-border);
  transition: all var(--transition);
  cursor: pointer;
}
.social-icon:hover { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--brand-border);
  padding: 18px 20px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: .78rem; color: var(--brand-muted); }
.footer-bottom a { color: var(--brand-muted); }
.footer-bottom a:hover { color: var(--brand-gold); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: .78rem; color: var(--brand-muted); }

/* ======== 内页通用 ======== */
.page-hero {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-dark));
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--brand-border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192,57,43,.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: 2rem; color: #fff; margin-bottom: 10px; }
.page-hero h1 span { color: var(--brand-gold); }
.page-hero p { font-size: .95rem; color: var(--brand-muted); max-width: 600px; line-height: 1.8; }
.page-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.page-tags span { font-size: .75rem; background: rgba(192,57,43,.15); color: #E88; padding: 3px 12px; border-radius: 12px; border: 1px solid rgba(192,57,43,.3); }

/* ======== 分页 ======== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--brand-border);
  color: var(--brand-muted);
  font-size: .85rem;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
}
.page-btn:hover, .page-btn.active { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }

/* ======== 图片画廊 ======== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .g-overlay { opacity: 1; }
.gallery-item .g-info {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}
.gallery-item:hover .g-info { opacity: 1; transform: translateY(0); }
.gallery-item .g-info h4 { font-size: .88rem; color: #fff; margin-bottom: 4px; }
.gallery-item .g-info p { font-size: .72rem; color: rgba(255,255,255,.7); }

/* ======== 工具卡片 ======== */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool-card {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(212,175,55,.4); }
.tool-icon { font-size: 2.2rem; margin-bottom: 12px; }
.tool-card h3 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.tool-card p { font-size: .82rem; color: var(--brand-muted); line-height: 1.7; margin-bottom: 14px; }
.tool-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tool-features span { font-size: .7rem; background: rgba(255,255,255,.06); color: var(--brand-muted); padding: 2px 8px; border-radius: 8px; }

/* ======== 响应式 ======== */
@media (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: block; position: fixed; inset: 0; top: 68px; background: rgba(13,27,42,.98); z-index: 999; padding: 20px; overflow-y: auto; }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open ul li a { padding: 12px 16px; font-size: 1rem; }
  .hamburger { display: flex; }
  .hero-swiper { height: 320px; }
  .hero-content { left: 20px; right: 20px; max-width: 100%; }
  .hero-content h1 { font-size: 1.6rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
  .howto-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--brand-border); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ======== 动画 ======== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp .6s ease forwards; }
.fade-in-delay-1 { animation-delay: .1s; opacity: 0; animation: fadeInUp .6s ease .1s forwards; }
.fade-in-delay-2 { animation-delay: .2s; opacity: 0; animation: fadeInUp .6s ease .2s forwards; }

/* ======== 懒加载占位 ======== */
.lazy { opacity: 0; transition: opacity .4s; }
.lazy.loaded { opacity: 1; }

/* ======== 视频模态框 ======== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }
.modal-inner {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: #fff;
  z-index: 10;
  border: none;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--brand-red); }
.modal-video {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1520, #152535);
  color: var(--brand-muted);
  font-size: .9rem;
  flex-direction: column;
  gap: 12px;
}
.modal-video .big-play {
  width: 80px;
  height: 80px;
  background: rgba(192,57,43,.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255,255,255,.6);
}
.modal-video .big-play::after {
  content: '';
  border-left: 28px solid #fff;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  margin-left: 6px;
}

/* ======== 通知提示 ======== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(13,27,42,.95);
  border: 1px solid var(--brand-gold);
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: .88rem;
  z-index: 9999;
  transition: transform .3s ease;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ======== 内页侧边栏 ======== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  padding: 40px 0;
}
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 20px;
}
.sidebar-card h4 { font-size: .95rem; color: var(--brand-gold); margin-bottom: 14px; font-weight: 700; }
.sidebar-video-list { display: flex; flex-direction: column; gap: 12px; }
.sv-item { display: flex; gap: 10px; cursor: pointer; }
.sv-item img { width: 80px; height: 50px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.sv-info .sv-title { font-size: .8rem; color: #fff; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sv-info .sv-views { font-size: .72rem; color: var(--brand-muted); margin-top: 3px; }
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}
