/* =============================================
   牵手婚恋 — 关于牵手页面样式
   ============================================= */

/* ========== 标题栏 ========== */
.about-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.about-header .back-btn {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  padding: 10px 0px;
  border-radius: 8px;
  transition: background 0.2s;
}

.about-header .back-btn:active {
  background: rgba(255,255,255,0.2);
}

.about-header .header-title {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  flex: 1;
  text-align: center;
}

.about-header .share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  padding-left: 0px;
  padding-right: 0px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}

.about-header .share-btn:active {
  background: rgba(255,255,255,0.2);
}

/* ========== 正文区域 ========== */
.about-body {
  margin-top: 60px;
  padding: 24px 20px 40px;
  background: #fff;
  min-height: calc(100vh - 60px);
  line-height: 1.8;
  color: var(--color-text-primary);
  font-size: 15px;
}

/* 主标题 */
.about-body .main-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: 2px;
}

/* 标语：公益·免费·正规 */
.about-body .tagline {
  text-align: center;
  font-size: 16px;
  color: var(--color-primary);
  font-weight: bold;
  letter-spacing: 8px;
  margin-bottom: 16px;
}

/* 副标题 */
.about-body .sub-title {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  font-style: italic;
  letter-spacing: 1px;
}

/* 分隔线 */
.about-body .section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-primary-light), transparent);
  margin: 28px 0;
}

/* 段落标题（粉色粗体） */
.about-body .section-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-primary);
  margin-top: 28px;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--color-primary);
}

/* 普通段落 */
.about-body p {
  margin-bottom: 14px;
  text-align: justify;
}

/* 强调文本 */
.about-body .highlight {
  color: var(--color-primary);
  font-weight: bold;
}

/* 特色列表 */
.about-body .feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.about-body .feature-list li {
  padding: 10px 14px;
  margin-bottom: 10px;
  background: var(--color-primary-bg);
  border-radius: 8px;
  /* border-left: 2px solid var(--color-primary); */
}

.about-body .feature-list li strong {
  color: var(--color-primary);
}

/* 结尾寄语 */
.about-body .closing {
  text-align: center;
  font-size: 16px;
  color: var(--color-primary);
  font-weight: bold;
  margin-top: 32px;
  /* padding-top: 10px; */
  /* border-top: 1px solid var(--color-border); */
  letter-spacing: 1px;
}

/* 底部留白 */
.about-body .bottom-spacer {
  height: 20px;
}

/* ========== 分享面板 (Bottom Sheet) ========== */

/* 遮罩层 */
.share-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.share-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 分享面板 */
.share-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 20px 16px calc(env(safe-area-inset-bottom, 0px) + 16px);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.share-panel.active {
  transform: translateY(0);
}

/* 面板顶部拖拽条 */
.share-panel .panel-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #ddd;
  margin: 0 auto 16px;
}

/* 面板标题 */
.share-panel .panel-title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

/* 分享选项网格 */
.share-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
  margin-bottom: 20px;
}

/* 单个分享选项 */
.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px 4px;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.share-option:active {
  background: #f5f5f5;
}

/* 分享图标的圆形背景 */
.share-option .option-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

/* 各平台图标颜色 */
.share-option[data-action="wechat"] .option-icon {
  background: #07c160;
}

.share-option[data-action="moments"] .option-icon {
  background: #07c160;
}

.share-option[data-action="qq"] .option-icon {
  background: #12b7f5;
}

.share-option[data-action="weibo"] .option-icon {
  background: #ff8200;
}

.share-option[data-action="copy"] .option-icon {
  background: #8e8e93;
}

.share-option[data-action="more"] .option-icon {
  background: #8e8e93;
}

/* 分享选项文字 */
.share-option .option-label {
  font-size: 12px;
  color: #666;
  text-align: center;
  line-height: 1.3;
}

/* 更多选项行（额外一行显示） */
.share-options-row2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

/* 取消按钮 */
.share-panel .panel-cancel {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #f5f5f5;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.share-panel .panel-cancel:active {
  background: #e8e8e8;
}

/* 复制成功提示 */
.copy-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.copy-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}