/* ======================================
   腐竹FM 新增模块样式 - 修复版
   文件名：index-add.css
   完全独立，无样式污染，适配蓝紫主题
   ====================================== */

/* 全局重置，避免冲突 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= 通用容器 ================= */
.fz-news-container,
.fz-review-container,
.fz-faq-container,
.fz-reward-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= 1. 广播剧资讯样式 ================= */
.fz-news-section {
  padding: 60px 0;
  background: #f8f9fa;
}
.fz-news-title {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 30px;
  text-align: left;
}
.fz-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.fz-news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  transition: all 0.2s ease;
}
.fz-news-item:hover {
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.1);
  border-color: #4f46e5;
}
.fz-news-item em {
  color: #718096;
  font-style: normal;
  font-size: 13px;
}

/* ================= 2. 用户评价样式（还原图1） ================= */
.fz-review-section {
  padding: 60px 0;
  background: #f8f9fa;
}
.fz-review-header {
  text-align: center;
  margin-bottom: 50px;
}
.fz-review-main-title {
  font-size: 48px;
  font-weight: 700;
  color: #4f46e5; /* 主题蓝紫色 */
  margin-bottom: 12px;
  line-height: 1.2;
}
.fz-review-sub-title {
  font-size: 20px;
  color: #4a5568;
}
.fz-review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.fz-review-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.fz-quote {
  font-size: 48px;
  color: #a5b4fc; /* 浅蓝紫引号 */
  line-height: 1;
  margin-bottom: 24px;
  font-family: "Georgia", serif;
}
.fz-review-content {
  font-size: 18px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 32px;
  min-height: 100px;
}
.fz-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fz-user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #4f46e5; /* 主题蓝紫头像 */
  position: relative;
  flex-shrink: 0;
}
/* 头像内部占位图标 */
.fz-user-avatar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0.9;
}
.fz-user-avatar::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 16px;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0.9;
}
.fz-user-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fz-user-name {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
}
.fz-user-tag {
  font-size: 16px;
  color: #718096;
}

/* ================= 3. 常见问题手风琴样式（还原图2，修复可打开） ================= */
.fz-faq-section {
  padding: 60px 0;
  background: #ffffff;
}
.fz-faq-header {
  text-align: center;
  margin-bottom: 40px;
}
.fz-faq-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: #4f46e5; /* 主题蓝紫徽章 */
  color: #ffffff;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 12px;
}
.fz-faq-title {
  font-size: 32px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
}
.fz-faq-desc {
  font-size: 18px;
  color: #718096;
}
.fz-faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}
.fz-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 15px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.3s ease;
}
/* 激活项样式（默认第一个） */
.fz-faq-item.fz-faq-active {
  border-color: #4f46e5;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.1);
}
.fz-faq-question {
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 500;
  color: #2d3748;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}
.fz-faq-arrow {
  width: 10px;
  height: 10px;
  border: solid #4f46e5;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
/* 激活项箭头旋转 */
.fz-faq-item.fz-faq-active .fz-faq-arrow {
  transform: rotate(-135deg);
}
.fz-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: #4a5568;
  line-height: 1.7;
  font-size: 15px;
  border-top: 1px solid #e2e8f0;
}
/* 激活项内容展开 */
.fz-faq-item.fz-faq-active .fz-faq-answer {
  max-height: 200px;
  padding: 16px 24px 20px;
}

/* ================= 4. 激励方案样式 ================= */
.fz-reward-section {
  padding: 60px 0;
  background: #f8f9fa;
}
.fz-reward-title {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 30px;
  text-align: left;
}
.fz-reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.fz-reward-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}
.fz-reward-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
  border-color: #4f46e5;
}
.fz-reward-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #4f46e5;
  margin-bottom: 12px;
}
.fz-reward-card p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.7;
}

/* ================= 响应式适配 ================= */
@media (max-width: 768px) {
  /* 资讯模块 */
  .fz-news-grid {
    grid-template-columns: 1fr;
  }
  .fz-news-title,
  .fz-reward-title {
    font-size: 24px;
  }
  /* 评价模块 */
  .fz-review-main-title {
    font-size: 36px;
  }
  .fz-review-sub-title {
    font-size: 18px;
  }
  .fz-review-cards {
    grid-template-columns: 1fr;
  }
  .fz-review-card {
    padding: 30px 24px;
  }
  .fz-review-content {
    font-size: 16px;
    min-height: auto;
  }
  /* FAQ模块 */
  .fz-faq-title {
    font-size: 26px;
  }
  .fz-faq-desc {
    font-size: 16px;
  }
  /* 激励模块 */
  .fz-reward-grid {
    grid-template-columns: 1fr;
  }
}