/* =========================================
   会员页面专属样式
   与现有网站色值统一：深蓝#0F2B5B / 金色#C8A972 / 米白#F8F6F1
   ========================================= */

.member-main {
  background-color: #F8F6F1;
  padding: 6px 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 10px;
}
.section-benefit,.section-faq{ background-color: #FFF;}
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin-bottom: 40px;
  position: relative;
}
.section-title::before,
.section-title::after {
  content: "";
  display: inline-block;
  width: 120px;
  height: 1px;
  background-color: #C8A972;
  vertical-align: middle;
  margin: 0 16px;
}
.section-title::before {
  margin-right: 20px;
}
.section-title::after {
  margin-left: 20px;
}

/* 1. 会员等级 */
.level-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card-top-deco {
  width: 40px;
  height: 3px;
  background: #C8A972;
  margin: 0 auto 20px;
  border-radius: 2px;
}
.level-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  border: 1px solid rgba(200, 169, 114, 0.2);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.level-card:hover {
  box-shadow: 0 8px 24px rgba(15, 43, 91, 0.1);
  transform: translateY(-2px);
  border-color: rgba(200, 169, 114, 0.4);
}
.level-card h3 {
  font-size: 18px;
  color: #0F2B5B;
  margin-bottom: 12px;
  font-weight: 600;
}
.level-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 2. 会员权益 */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-card {
  background-color: #0F2B5B;
  border-radius: 12px;
  padding: 44px 28px;
  color: #fff;
  text-align: center;
}
.benefit-icon {
  margin-bottom: 20px;
}
.benefit-icon img {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto;
}
.benefit-card h3 {
  font-size: 20px;
  color: #C8A972;
  margin-bottom: 16px;
  font-weight: 600;
}
.gold-line {
  width: 44px;
  height: 1px;
  background-color: #C8A972;
  margin: 0 auto 28px;
}
.benefit-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefit-list li {
  font-size: 14px;
  line-height: 2.2;
  padding-left: 14px;
  position: relative;
  color: rgba(255,255,255,0.9);
}
.benefit-list li::before {
  content: "·";
  color: #C8A972;
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  top: 8px;
}

/* 3. 立即入会（独立自适应模块，不压图） */
.section-cta {
  margin-bottom: 80px;
}
.cta-box {
  text-align: center;
  padding: 20px 0;
}
.btn-gold {
  display: inline-block;
  background-color: #C8A972;
  color: #fff;
  padding: 14px 56px;
  font-size: 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}
.btn-gold:hover {
  background-color: #b8965e;
  transform: translateY(-1px);
}

/* 4. 入会指南 */
.guide-box {
  background: #fcfaf7;
  border-radius: 12px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(200, 169, 114, 0.2);
}
.step-item {
  flex: 1;
  text-align: center;
}
.step-num {
  width: 42px;
  height: 42px;
  line-height: 42px;
  border-radius: 50%;
  background-color: #C8A972;
  color: #fff;
  margin: 0 auto 16px;
  font-weight: 600;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(200, 169, 114, 0.25);
}
.step-item h4 {
  font-size: 16px;
  color: #0F2B5B;
  margin-bottom: 10px;
}
.step-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}
.step-arrow {
  color: #C8A972;
  font-size: 20px;
  padding: 0 10px;
  flex-shrink: 0;
}

/* 5. 常见问题 */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e8e3d9;
  margin-bottom: 4px;
}
.faq-q {
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #0F2B5B;
  font-weight: 500;
}
.faq-q .arrow {
  color: #C8A972;
  transition: 0.3s;
}
.faq-item.active .faq-q .arrow {
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 0 18px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  display: none;
}
.faq-item.active .faq-a {
  display: block;
}

/* 6. 会员风采 */
.showcase-box {
  background: #fff;
  border-radius: 12px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border: 1px solid rgba(200, 169, 114, 0.2);
}
.col-title {
  text-align: center;
  font-size: 20px;
  color: #C8A972;
  margin-bottom: 28px;
  font-weight: 600;
}
.personal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.personal-card {
  text-align: center;
  background: #fcfaf7;
  border-radius: 12px;
  padding: 28px 16px;
  border: 1px solid rgba(200, 169, 114, 0.15);
  transition: 0.3s;
}
.personal-card:hover {
  box-shadow: 0 6px 16px rgba(15, 43, 91, 0.08);
  transform: translateY(-2px);
}
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  background: #f0ebe3;
  border: 3px solid #C8A972;
  box-sizing: border-box;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.name-tag {
  background-color: #C8A972;
  color: #fff;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 500;
}
.personal-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}
.unit-card {
  display: flex;
  gap: 24px;
  align-items: center;
  background: #fcfaf7;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid rgba(200, 169, 114, 0.15);
  transition: 0.3s;
}
.unit-card:hover {
  box-shadow: 0 6px 16px rgba(15, 43, 91, 0.08);
  transform: translateY(-2px);
}
.unit-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #C8A972;
  box-sizing: border-box;
}
.unit-logo img {
  max-width: 80%;
  max-height: 80%;
}
.unit-info h4 {
  font-size: 18px;
  color: #0F2B5B;
  margin-bottom: 12px;
  font-weight: 600;
}
.unit-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* 自适应适配 */
@media (max-width: 992px) {
  .level-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-box {
    flex-wrap: wrap;
    gap: 20px;
  }
  .step-arrow {
    display: none;
  }
  .showcase-box {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 576px) {
  .level-grid,
  .benefit-grid,
  .personal-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 22px;
  }
  .section-title::before,
  .section-title::after {
    width: 60px;
  }
}
