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

:root {
  --red: #e53935;
  --red-dark: #c62828;
  --blue: #1565c0;
  --blue-light: #42a5f5;
  --teal: #00838f;
  --teal-light: #4dd0e1;
  --black: #1a1a1a;
  --gray: #666;
  --gray-light: #f5f5f5;
  --gray-border: #e0e0e0;
  --white: #fff;
  --max-width: 480px;
  --pay-bar-height: 64px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: #eee;
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--white);
  min-height: 100vh;
  padding-bottom: calc(var(--pay-bar-height) + 12px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
    url('images/hero.jpg') center/cover,
    linear-gradient(135deg, #1b4332 0%, #2d6a4f 40%, #40916c 70%, #52b788 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 20px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 0;
}

.hero-title-line {
  display: block;
  font-size: 2.4rem;
  line-height: 1.25;
}

.hero-highlight {
  color: #ff8c00;
}

/* Intro */
.intro {
  padding: 28px 20px;
  text-align: center;
}

.avatar-grid {
  display: grid;
  gap: 8px;
  margin: 0 auto 16px;
  max-width: 200px;
}

.avatar-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.avatar-grid img,
.avatar-grid .avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray-light);
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--gray-light);
}

.avatar--1 { background: #ef5350; }
.avatar--2 { background: #ab47bc; }
.avatar--3 { background: #42a5f5; }
.avatar--4 { background: #66bb6a; }
.avatar--5 { background: #ffa726; }
.avatar--6 { background: #26c6da; }
.avatar--7 { background: #ec407a; }
.avatar--8 { background: #7e57c2; }
.avatar--9 { background: #29b6f6; }

.avatar--r1 { background: #e57373; }
.avatar--r2 { background: #ba68c8; }
.avatar--r3 { background: #64b5f6; }
.avatar--r4 { background: #81c784; }
.avatar--r5 { background: #ffb74d; }
.avatar--r6 { background: #4dd0e1; }
.avatar--r7 { background: #f06292; }
.avatar--r8 { background: #9575cd; }
.avatar--r9 { background: #4fc3f7; }
.avatar--r10 { background: #aed581; }
.avatar--r11 { background: #ff8a65; }
.avatar--r12 { background: #7986cb; }
.avatar--r13 { background: #dce775; }
.avatar--r14 { background: #f48fb1; }
.avatar--r15 { background: #80deea; }

.intro-count {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--black);
}

.intro-count strong {
  color: var(--red);
  font-size: 1.3rem;
}

/* ===== 修改后的 announcement 卡片样式 ===== */
.announcement {
  position: relative;
  text-align: left;
  padding: 24px 20px 20px;
  background: linear-gradient(135deg, #fff9f0 0%, #fff3e0 100%);
  border-radius: 16px;
  border-left: 6px solid #f57c00;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-top: 8px;
  overflow: hidden;
}

.announcement-quote {
  position: absolute;
  top: 4px;
  right: 14px;
  font-size: 3.6rem;
  color: #ffb74d;
  opacity: 0.4;
  line-height: 1;
  font-family: Georgia, serif;
}

.announcement-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #3e2723;
  margin-bottom: 12px;
  padding-right: 24px;
}

.highlight-age {
  display: inline-block;
  background: #ffcc80;
  color: #bf360c;
  font-weight: 700;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 1.05rem;
}

.highlight-golden {
  display: inline-block;
  color: #c62828;
  font-weight: 800;
  border-bottom: 3px solid #ff8a65;
  padding-bottom: 1px;
}

.announcement-badge {
  display: inline-block;
  background: #f57c00;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-top: 6px;
  box-shadow: 0 2px 6px rgba(245, 124, 0, 0.3);
}

/* 原有 announcement 相关样式（保留兼容） */
.announcement p + p {
  margin-top: 8px;
}

.announcement-highlight {
  color: var(--red);
  font-weight: 500;
}

/* Divider */
.divider {
  height: 8px;
  background: var(--gray-light);
}

/* Section titles */
.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  padding: 24px 20px 16px;
}

.benefit {
  padding: 24px 20px 28px;
}

.benefit-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.5;
  margin-bottom: 12px;
}

.benefit-desc {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Testimonials */
.review-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 10px;
  padding: 0 16px 24px;
}

.review-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* 头像放大至64px，且改为圆角矩形（10px） */
.review-item .avatar {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--gray-light);
  flex-shrink: 0;
}

.review-item span {
  font-size: 0.7rem;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ===== 群简介卡片样式 ===== */
.group-intro {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 20px 20px;
  margin: 0 16px 24px 16px;
  border-left: 6px solid #764ba2;
  position: relative;
  overflow: hidden;
}

.group-intro::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0.05;
  border-radius: 50%;
  z-index: 0;
}

.group-intro * {
  position: relative;
  z-index: 1;
}

.group-intro-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
  margin-bottom: 12px;
}

.group-intro-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.group-intro-footer {
  background: #f5f7ff;
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-intro-footer span {
  font-size: 0.85rem;
  color: #555;
}

.group-intro-footer .highlight-tag {
  color: #764ba2;
  font-weight: 600;
}

/* ===== 推荐观影理由卡片样式 ===== */
.reason-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 20px 20px;
  margin: 0 16px 24px 16px;
  border-left: 6px solid #e53935;
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #ff8a65 0%, #e53935 100%);
  opacity: 0.04;
  border-radius: 50%;
  z-index: 0;
}

.reason-card * {
  position: relative;
  z-index: 1;
}

.reason-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.reason-quote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  background: #fff5f5;
  padding: 14px 18px;
  border-radius: 10px;
  font-style: italic;
  border-left: 4px solid #e53935;
  margin-bottom: 14px;
}

.reason-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
}

.reason-price {
  color: #e53935;
  font-weight: 900;
  font-size: 1.3rem;
}

.reason-tag {
  display: inline-block;
  background: linear-gradient(135deg, #e53935, #d62828);
  color: #fff;
  padding: 2px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===== 图片 files.jpg 样式 ===== */
.files-image-wrapper {
  padding: 0 16px 24px;
  margin: 0;
}

.files-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: block;
}

/* ===== 底部留白 ===== */
.bottom-spacer {
  height: 12px;
}

/* ===== 底部付费栏（固定） ===== */
.pay-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: var(--pay-bar-height);
  background: linear-gradient(135deg, #e53935 0%, #f57c00 100%);
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(229, 57, 53, 0.35);
  border-radius: 0;
}

.pay-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pay-info {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  flex-wrap: wrap;
  line-height: 1.3;
}

.pay-icon {
  font-size: 1.1rem;
  margin-right: 2px;
}

.pay-text {
  opacity: 0.95;
}

.pay-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 0 6px;
  border-radius: 4px;
}

.pay-btn {
  background: #ffffff;
  color: #e53935;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.pay-btn:active {
  transform: scale(0.94);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

/* ============================================ */
/* ===== 新增 FAQ 及声明卡片样式 ===== */
/* ============================================ */

.faq-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 20px 20px;
  margin: 0 16px 16px 16px;
  transition: box-shadow 0.2s;
}

.faq-card:last-of-type {
  margin-bottom: 24px;
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.faq-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e53935;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.faq-body p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 8px;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

.faq-highlight {
  color: #e53935;
  font-weight: 700;
}

/* 1. 如何领取？— 绿色主题 */
.faq-card--how {
  border-left: 6px solid #43a047;
}
.faq-card--how .faq-num {
  background: #43a047;
}

.faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.faq-tag {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* 2. 支付后支持退款吗？— 橙色主题 */
.faq-card--refund {
  border-left: 6px solid #fb8c00;
}
.faq-card--refund .faq-num {
  background: #fb8c00;
}

.faq-notice {
  margin-top: 12px;
  background: #fff3e0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #bf360c;
  border-left: 4px solid #fb8c00;
}

.faq-notice strong {
  color: #e53935;
}

/* 3. 声明 — 紫色主题 */
.faq-card--declaration {
  border-left: 6px solid #7b1fa2;
}
.faq-card--declaration .faq-num {
  background: #7b1fa2;
  font-size: 0.9rem;
}

.declaration-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.declaration-item:first-child {
  padding-top: 0;
}

.declaration-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #7b1fa2;
  background: #f3e5f5;
  padding: 2px 12px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.declaration-item p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #444;
  margin: 4px 0 0 0;
}

@media (min-width: 481px) {
  body {
    padding: 20px 0;
  }

  .page {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    overflow: hidden;
  }

  .pay-bar {
    border-radius: 0 0 12px 12px;
  }
}

/* 小屏幕适配 */
@media (max-width: 400px) {
  .pay-info {
    font-size: 0.7rem;
  }
  .pay-price {
    font-size: 1rem;
  }
  .pay-btn {
    padding: 6px 16px;
    font-size: 0.82rem;
  }
  .pay-icon {
    font-size: 0.95rem;
  }
  .faq-title {
    font-size: 0.95rem;
  }
  .faq-body p {
    font-size: 0.85rem;
  }
}