/* ============================================
   今日事件 - 影视传媒视频社区 原创样式表
   品牌：今日事件 | 域名：hysd88.cn
   ============================================ */

/* === 基础重置与变量 === */
:root {
  --primary: #1A0A2E;
  --secondary: #FF6B35;
  --accent: #00D4AA;
  --bg-dark: #0D0D1A;
  --text-light: #E8E8F0;
  --card-bg: #1E1E3A;
  --card-hover: #2A2A50;
  --border-color: #2D2D4A;
  --gradient-main: linear-gradient(135deg, #FF6B35 0%, #00D4AA 100%);
  --gradient-dark: linear-gradient(180deg, #0D0D1A 0%, #1A0A2E 100%);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-hover: 0 12px 48px rgba(255,107,53,0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === 顶部导航栏 === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(13, 13, 26, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo .nav-logo-img {
  height: 36px;
  width: auto;
}

.site-logo .nav-favicon-img {
  height: 32px;
  width: 32px;
}

.site-logo .logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary);
  background: rgba(255, 107, 53, 0.1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  min-width: 160px;
  padding: 8px 0;
  box-shadow: var(--shadow-card);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.9rem;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: rgba(255, 107, 53, 0.15);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
}

/* === 搜索框 === */
.search-bar {
  background: var(--primary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  margin-top: 70px;
}

.search-bar .container {
  display: flex;
  justify-content: center;
}

.search-form {
  display: flex;
  max-width: 600px;
  width: 100%;
  position: relative;
}

.search-form input {
  flex: 1;
  padding: 10px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--text-light);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-form input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.search-form input::placeholder {
  color: #666;
}

.search-form button {
  padding: 10px 24px;
  background: var(--gradient-main);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.search-form button:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* === Hero Banner === */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 0;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content h1 .brand-highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: #b0b0c8;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-tags span {
  padding: 5px 14px;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--secondary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === 通用区块标题 === */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-title h2 .highlight {
  color: var(--secondary);
}

.section-title p {
  color: #888;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-main);
  margin: 16px auto;
  border-radius: 2px;
}

/* === 面包屑导航 === */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.9rem;
  color: #888;
}

.breadcrumb a {
  color: #aaa;
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb span {
  margin: 0 8px;
  color: #555;
}

/* === 视频卡片 === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}

.video-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 53, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 5;
}

.play-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.video-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  z-index: 5;
}

.video-info {
  padding: 16px;
}

.video-info h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: #888;
}

.video-meta .views::before {
  content: "▶ ";
  color: var(--secondary);
}

.video-meta .likes::before {
  content: "♥ ";
  color: #ff4757;
}

.video-meta .comments::before {
  content: "💬 ";
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.video-tags span {
  padding: 2px 10px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--accent);
}

/* === 服务模块 === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--gradient-main);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === 专家团队 === */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.expert-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.expert-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.15);
}

.expert-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--accent);
}

.expert-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.expert-card .expert-title {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.expert-card .expert-desc {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.expert-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.expert-links a {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.expert-links .link-contact {
  background: var(--gradient-main);
  color: #fff;
}

.expert-links .link-work {
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* === 合作品牌 === */
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: center;
}

.brand-wall .brand-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #aaa;
  transition: var(--transition);
  min-width: 160px;
  text-align: center;
}

.brand-wall .brand-item:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: scale(1.05);
}

/* === 用户评价 === */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--accent);
}

.review-stars {
  color: #FFD700;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.review-text {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.review-author-info .name {
  font-weight: 600;
  font-size: 0.9rem;
}

.review-author-info .role {
  color: #888;
  font-size: 0.8rem;
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--secondary);
}

.faq-question .faq-toggle {
  font-size: 1.2rem;
  transition: var(--transition);
  color: var(--secondary);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 24px 18px;
  max-height: 500px;
}

/* === 联系信息 === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.contact-card h4 {
  margin-bottom: 12px;
  color: var(--secondary);
}

.contact-card p {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.contact-card img {
  max-width: 160px;
  margin: 12px auto 0;
  border-radius: var(--radius-sm);
}

/* === 社交分享 === */
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.share-btn.wechat { background: #07C160; }
.share-btn.weibo { background: #E6162D; }
.share-btn.douyin { background: #161823; border: 1px solid #333; }
.share-btn.bilibili { background: #00A1D6; }

/* === 页脚 === */
.site-footer {
  background: var(--primary);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.footer-col p,
.footer-col a {
  color: #999;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-logo {
  height: 36px;
  margin-bottom: 12px;
}

.footer-qr {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer-qr img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  color: #666;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #888;
}

/* === 通用区块间距 === */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--primary);
}

/* === 星级页面 === */
.star-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.star-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.star-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}

.star-hero-content h1 {
  font-size: 2.4rem;
}

/* === How-To 指南 === */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.howto-step {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  counter-increment: step;
}

.howto-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-main);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}

.howto-step h4 {
  margin-bottom: 8px;
}

.howto-step p {
  color: #999;
  font-size: 0.9rem;
}

/* === 内页通用 === */
.page-header {
  padding: 40px 0 20px;
  background: var(--gradient-dark);
}

.page-header h1 {
  font-size: 2.2rem;
}

.page-content {
  padding: 40px 0;
}

.content-text {
  max-width: 800px;
  line-height: 1.8;
  color: #ccc;
}

.content-text p {
  margin-bottom: 16px;
}

.content-text h2 {
  color: var(--secondary);
  margin-top: 32px;
  margin-bottom: 16px;
}

.content-text h3 {
  color: var(--accent);
  margin-top: 24px;
}

/* === 图片画廊 === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* === 社区功能 === */
.community-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.community-feature {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}

.community-feature:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.community-feature .cf-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.community-feature h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.community-feature p {
  color: #999;
  font-size: 0.85rem;
}

/* === 推荐侧栏 === */
.sidebar-recommend {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
}

.sidebar-recommend h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.sidebar-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.sidebar-item-info h5 {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.sidebar-item-info span {
  font-size: 0.75rem;
  color: #888;
}

/* === 两栏布局 === */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

/* === 响应式 === */
@media (max-width: 1024px) {
  .two-col-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary, .btn-outline {
    text-align: center;
    justify-content: center;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.05);
  }

  .search-form {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-section {
    min-height: 400px;
  }

  .section {
    padding: 40px 0;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .expert-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === 动画 === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* === 懒加载占位 === */
.lazy-placeholder {
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.8rem;
}

/* === MCP前端占位 === */
.mcp-widget {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

/* === 内页page-header顶部间距 === */
.page-header {
  margin-top: 70px;
  padding-top: 20px;
}

/* === FAQ内页样式 === */
.faq-q {
  padding: 16px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.faq-q:hover {
  color: var(--secondary);
}

.faq-a {
  padding: 12px 0;
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === 内页搜索栏间距修正 === */
.page-header + .section {
  padding-top: 40px;
}

/* === 内页无搜索栏时的margin-top === */
body > .page-header:first-of-type {
  margin-top: 70px;
}

/* === 内页社区功能卡片补充 === */
.community-feature .cf-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: var(--gradient-main);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* === 内页contact-card补充 === */
.contact-card strong {
  color: var(--accent);
}

/* === 打印样式 === */
@media print {
  .site-header, .search-bar, .mobile-toggle, .share-buttons, .mcp-widget {
    display: none !important;
  }
  body {
    background: #fff;
    color: #333;
  }
}

/* === 最新视频动态模块 === */
.latest-updates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.update-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--secondary);
  transition: var(--transition);
}

.update-item:hover {
  background: var(--card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.update-date {
  display: inline-block;
  background: var(--gradient-main);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.update-item h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #fff;
}

.update-item p {
  font-size: 0.9rem;
  color: rgba(232,232,240,0.7);
  line-height: 1.6;
  margin-bottom: 10px;
}

.update-tag {
  display: inline-block;
  background: rgba(0,212,170,0.15);
  color: var(--accent);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .latest-updates-grid {
    grid-template-columns: 1fr;
  }
}
