/* ============================================
   VIP页面样式
   ============================================ */

.vip-main {
  background: url(../../images/vip_bg.png) no-repeat;
  background-size: 100% auto;
  background-position: center bottom;
  overflow: hidden;
}

.common-hero .banner-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  width: 100%;
  text-align: left;
  letter-spacing: 4px;
  user-select: none;
  -webkit-user-select: none;
}

.common-hero .banner-title h1.main-title {
  font-size: 52px;
  color: var(--text-main);
  font-weight: bold;
  margin-bottom: 16px;
  line-height: 1.2;
}

.common-hero .banner-title .main-title span {
  color: var(--primary);

}

.common-hero .banner-title .sub-title {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.common-hero .banner-title p {
  color: rgba(215, 108, 2, 1);
  font-size: 16px;
  max-width: 600px;
  line-height: 32px;
}

.section-title img {
  margin: 0 auto;
}

/* 板块通用 */
.vip-section {
  padding: 40px 0;
}

/* VIP等级标准 */
.vip-level-section {
  padding: 0 0 30px 0;
}

.vip-level-intro {
  text-align: center;
  margin: 30px 0;
}

.vip-level-intro p {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  text-align: center;
}

.vip-level-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.vip-level-card {
  flex: 1;
  max-width: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 4px 20px rgba(80, 140, 176, 0.15);
}

.vip-level-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* 响应式 */
@media (max-width: 991px) {
  .vip-level-cards {
    flex-wrap: wrap;
    gap: 16px;
  }

  .vip-level-card {
    flex: none;
    width: calc(50% - 8px);
    max-width: none;
  }

  .vip-level-intro p {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .vip-level-section {
    padding: 20px 0;
  }

  .vip-level-cards {
    gap: 12px;
  }

  .vip-level-card {
    flex: none;
    width: calc(50% - 6px);
  }
}

@media (max-width: 400px) {
  .vip-level-cards {
    gap: 8px;
  }

  .vip-level-card {
    flex: none;
    width: calc(50% - 4px);
  }
}

/* VIP积分 & 具体计算规则 折叠 */
.vip-calc-section {
  font-size: 14px;
  line-height: 32px;
}

.vip-calc-content {
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.vip-calc-content.collapsed {
  max-height: 0;
}

.vip-calc-content.expanded {
  max-height: 2000px;
}

.vip-calc-toggle-wrapper {
  display: flex;
  justify-content: center;
}

.vip-calc-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(200, 50, 50, 1);
  border-radius: 30px;
  color: rgba(200, 50, 50, 1);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 20px;
}

.vip-calc-toggle:hover {
  background-color: rgba(200, 50, 50, 1);
  color: #fff;
}

.vip-calc-toggle__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: rgba(200, 50, 50, 1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s;
  flex-shrink: 0;
}

.vip-calc-toggle__arrow svg {
  width: 12px;
  height: 12px;
}

.vip-calc-toggle:hover .vip-calc-toggle__arrow {
  background-color: #fff;
  color: rgba(200, 50, 50, 1);
}

.vip-calc-toggle.active .vip-calc-toggle__arrow svg {
  transform: rotate(180deg);
}

/* 01: VIP积分 */
.vip-points-section {
  /* padding: 30px 0; */
}

/* VIP标题通用样式 */
.vip-points-title,
.vip-rules-title {
  display: flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(202, 140, 54, 0.3) 0%, rgba(202, 140, 54, 0) 100%);
  margin-bottom: 10px;
}

.vip-points-title__text,
.vip-rules-title__text {
  font-size: 16px;
  font-weight: bold;
  color: rgba(202, 140, 54, 1);
  position: relative;
  padding-left: 14px;
}

.vip-points-title__text::before,
.vip-rules-title__text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: rgba(202, 140, 54, 1);
  border-radius: 50%;
}

.vip-points-rules__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.vip-points-rules__list li {
  font-size: 14px;
  color: #666;
  line-height: 28px;
  position: relative;
}


/* 02: 具体计算规则 */
.vip-rules-section {
  margin-top: 10px;
}

.vip-rules-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(202, 140, 54, 0.3) 0%, rgba(202, 140, 54, 0) 100%);
  margin-bottom: 10px;
}

.vip-rules-content {
  display: flex;
  gap: 20px;
}

.vip-rules-left {
  width: 40%;
}

.vip-rules-right {
  flex: 1;
}

.vip-rules-block__title {
  font-size: 14px;
  font-weight: bold;
  color: rgba(202, 140, 54, 1);
  position: relative;
  display: inline-block;
  padding-left: 14px;
}

.vip-rules-block__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: rgba(202, 140, 54, 1);
  border-radius: 50%;
}

.vip-rules-block__desc {
  font-size: 14px;
  color: #666;
  padding-left: 8px;
  line-height: 28px;
}

.vip-rules-example {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  margin-bottom: 16px;
}

.vip-rules-note {
  background: #f7f7f7;
  padding: 16px;
  border-radius: 2px;
}

.vip-rules-note__title {
  color: #333;
  font-size: 13px;
}

.vip-rules-note__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vip-rules-note__list li {
  color: #666;
  font-size: 13px;
  line-height: 28px;
  position: relative;
}


/* 表格样式 */
.vip-rules-table {
  margin-bottom: 20px;
}

.vip-rules-table__subtitle {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.vip-table-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(224, 224, 224, 1);
  box-sizing: border-box;
}

.vip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

.vip-table th {
  background: #c7923b;
  color: #fff;
  height: 42px;
  padding: 8px 10px;
  text-align: center;
  font-weight: bolder;
  border: none;
  border-bottom: 1px solid rgba(224, 224, 224, 1);
  border-right: 1px solid rgba(224, 224, 224, 1);
  box-sizing: border-box;
}

.vip-table td {
  padding: 4px 10px;
  text-align: center;
  border: none;
  border-bottom: 1px solid rgba(224, 224, 224, 1);
  border-right: 1px solid rgba(224, 224, 224, 1);
  color: #333;
  background: rgba(253, 249, 246, 1);
  box-sizing: border-box;
}

.vip-table tbody tr:hover {
  background: rgba(202, 140, 54, 0.05);
}

/* VIP家庭共享 */
.vip-family-section {
  padding: 40px 0;
}

.vip-family-intro {
  text-align: center;
  margin: 30px 0;
}

.vip-family-intro p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  text-align: center;
}

.vip-family-flow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vip-family-flow img {
  max-width: 100%;
  height: auto;
}

/* VIP服务一览 */
.vip-service-section {
  padding: 40px 0;
}

.vip-service-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 30px;
  border-radius: 8px;
  border: 1px solid rgba(224, 224, 224, 1);
  box-sizing: border-box;
}

.vip-service-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

.vip-service-table th {
  background: #c7923b;
  color: #fff;
  height: 42px;
  padding: 16px 12px;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  border: none;
  border-right: 1px solid rgba(224, 224, 224, 1);
  white-space: nowrap;
}

.vip-service-table th:last-child {
  border-right: none;
}

.vip-service-table td {
  padding: 6px 12px;
  text-align: center;
  border: none;
  font-weight: bold;
  font-size: 14px;
  border-bottom: 1px solid rgba(224, 224, 224, 1);
  border-right: 1px solid rgba(224, 224, 224, 1);
  color: #333;
  background: rgba(253, 249, 246, 1);
  box-sizing: border-box;
}

.vip-service-table td:last-child {
  border-right: none;
}

.vip-service-table tbody tr:last-child td {
  border-bottom: none;
}

/* 五选一标签 */
.vip-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #c7923b;
  color: #fff;
  border-radius: 10px;
  font-size: 12px;
  vertical-align: middle;
  margin-left: 4px;
  line-height: 1.4;
  position: relative;
  top: -1px;
}

/* VIP服务介绍 */
.vip-intro-section {
  padding: 40px 0 80px;
}

.vip-intro-cards {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.vip-intro-card {
  display: flex;
  flex: 1;
  align-items: center;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.vip-intro-card__icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vip-intro-card__icon img {
  width: 28px;
  height: 28px;
}

.vip-intro-card__content {
  flex: 1;
  padding: 0 20px;
}

.vip-intro-card__title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.vip-intro-card__desc {
  font-size: 13px;
  color: #999;
}

.vip-intro-card__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: all 0.3s;
  text-decoration: none;
}

.vip-intro-card__arrow svg {
  width: 16px;
  height: 16px;
  color: rgba(200, 50, 50, 1);
}

.vip-intro-card__arrow:hover {
  background: rgba(200, 50, 50, 1);
}

.vip-intro-card__arrow:hover svg {
  color: #fff;
}

/* 响应式 */
@media (max-width: 991px) {
  .vip-points-title {
    padding: 6px 16px;
  }

  .vip-points-title__num {
    font-size: 22px;
  }

  .vip-points-title__text {
    font-size: 15px;
  }

  .vip-points-rules__list li {
    font-size: 14px;
  }
}

/* 移动端适配 */
@media (max-width: 991px) {
  .common-hero .banner-title {
    /* top: 45%; */
    padding: 0 16px;
  }

  .common-hero .banner-title h1.main-title {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .common-hero .banner-title .sub-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .common-hero .banner-title p {
    display: none;
    font-size: 13px;
  }

  .vip-rules-title {
    padding: 6px 16px;
  }

  .vip-rules-title__num {
    font-size: 22px;
  }

  .vip-rules-title__text {
    font-size: 15px;
  }

  .vip-rules-content {
    flex-direction: column;
    gap: 20px;
  }

  .vip-rules-left,
  .vip-rules-right {
    flex: none;
    width: 100%;
  }

  .vip-rules-note {
    padding: 12px;
  }

  .vip-table {
    font-size: 12px;
  }

  .vip-table th,
  .vip-table td {
    padding: 8px 6px;
  }

  .vip-service-section {
    padding: 20px 0;
  }

  .vip-service-table {
    font-size: 12px;
  }

  .vip-service-table th,
  .vip-service-table td {
    padding: 8px 6px;
  }

  .vip-intro-cards {
    flex-direction: column;
  }

  .vip-intro-card {
    flex: none;
    width: 100%;
  }
}