 /* layout */
.mainbox {
  padding: 60px 40px;
  box-sizing: border-box;
}
.main-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}

.content-left {
  flex: 1 1 45%;
  color: #222;
  padding-left: 35px;
  box-sizing: border-box;
}

.content-left h2 {
   background-image: linear-gradient(90deg, #3c26bb, #7e63cf );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  font-size: 24px;
  margin-bottom: 24px;
}

.content-left p {
  line-height: 1.4;
  color: #333;
  margin-bottom: 14px;
  font-size: 14px;
}

.content-right {
  flex: 1 1 55%;
}

/* slider */

@media (max-width: 900px) {
  .mainbox { padding: 30px 16px; }
  .main-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .content-left,
  .content-right {
    flex: unset;
    width: 100%;
    padding-left: 0;
  }
  .prev,
  .next {
    width: 34px;
    height: 46px;
    font-size: 22px;
  }
  .panel { min-height: 220px; }
}

/* Our Members Section */

.our-member {
  /* width: 1300px;
  margin: auto; */
  max-width: 1300px; /* 最大宽度不超过1300px */
  width: 100%; /* 自适应父容器宽度 */
  margin: 0 auto; /* 居中 */
  padding: 0 20px; /* 增加内边距，避免内容贴边 */
  box-sizing: border-box;
}
.our-member h2 {
  font-size: 24px;
  margin-bottom: 24px;
  margin-top: 60px;
  box-sizing: border-box;
  padding-left: 35px;
    background-image: linear-gradient(90deg, #3c26bb, #7e63cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.member-section {
  /* margin-bottom: 40px;
  box-sizing: border-box;
  position: relative;
  width: 1300px;
  margin: 0 auto;
  border-bottom: 1px solid #ccc; */

  max-width: 1300px;
  width: 100%;
  padding: 20px 20px;
  /* padding: 0 40px; */
  box-sizing: border-box;
  position: relative;
  margin: 0 auto 30px;
  border-bottom: 1px solid #e1e1e1;
}

/* 横向拖拽容器（用于 The First Board） */
.member-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: default;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}


 .member-scroll.no-user-scroll {
  pointer-events: none;
 }

.member-scroll.dragging {
  cursor: grabbing;
}

.member-scroll::-webkit-scrollbar {
  height: 0;
  display: none;
}

.member-strip {
  display: flex;
}

/* 横向滚动区域中的每个 logo 固定宽度，避免被压缩 */
.member-scroll .member-item {
  flex: 0 0 220px; /* 可根据视觉效果微调宽度 */
}

.member-badge {
  width: 160px;
  text-align: center;
  position: absolute;
  bottom: -10px;
  display: inline-block;
  background: linear-gradient(90deg, #3e34c1 60%, #c1fcf7 100%);
  color: #fff;
  padding: 3px 25px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 9;
}

 .member-badge.member-badge-handle {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
 }

 .member-badge.member-badge-handle:active {
  cursor: grabbing;
 }

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  align-items: center;
  padding-bottom: 20px;
  box-sizing: border-box;
  border-bottom: 4px solid #f2f2f2;
  margin-bottom: 50px;
}

.member-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  /* background: #f8f8f8; */
  /* border: 1px solid #000; */
  border-left: 1px solid #f3f3f3;
  /* border-radius: 8px; */
  padding: 15px;
  box-sizing: border-box;
  /* cursor: pointer; */
  transition: all 0.3s ease;
}
.member-item:last-child {
  border-right: 1px solid #f3f3f3;
}

.member-item:hover {
  /* background: #e8e8ff;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(62, 52, 193, 0.15); */
}

.member-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Membership panels (five colored blocks) */
.membership {
  padding-top: 60px;
  text-align: center;
}

.membership-panels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 1300px;
  margin: 0 auto 30px auto;

}

.panel {
  /* min-height: 300px; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--g, linear-gradient(135deg, #e6e0ff, #cfc8ff));
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.panel img{
  width: 100%;;
  height: 100%;
}

.panel-inner {
  text-align: center;
  padding: 28px 16px;
}

.panel h3 {
  margin: 0 0 40px 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: normal;
}

.panel-icon {
  font-size: 42px;
  opacity: 0.95;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.06));

}
.panel-icon img{
  width: 80px;
}

.panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(50, 45, 120, 0.15);
}

.membership-cta {
  margin-top: 60px;
}

.membership-btn {
  background: linear-gradient(90deg, #3e34c1 50%, #bff9f6 100%);
  color: #fff;
  border: none;
  padding: 12px 34px;
  border-radius: 28px;
  font-size: 14px;
  /* cursor: pointer; */
  box-shadow: 0 8px 20px rgba(62, 52, 193, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s;
}

.membership-btn:hover {
  transform: translateY(-4px);
}

.membership-btn .plus {
  margin-left: 8px;
  opacity: 0.95;
}

@media (max-width: 1100px) {
  .membership-panels {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .membership-panels {
    grid-template-columns: repeat(1, 1fr);
  }
  .panel {
    min-height: 140px;
  }
  .our-member h2 {
    padding-left: 0;
  }

  /* Member grid mobile adjustments */
  .member-section { width: 100%; padding: 0 16px; }
  .member-grid { grid-template-columns: 1fr; border-bottom: 1px solid #f2f2f2; margin-bottom: 20px; }
  .member-item { height: 120px; border-left: none; border-right: none; border-bottom: 1px solid #f3f3f3; padding: 12px; }
  .member-item:last-child { border-right: none; border-bottom: none; }
  .member-badge { position: static; display: inline-block; margin: 8px auto 28px auto; bottom: auto; }

  /* Make CTA button more touch friendly on small screens */
  .membership-btn { width: calc(100% - 48px); max-width: 420px; display: inline-block; }
}

@media (max-width: 480px) {
  .panel { min-height: 120px; }
  .panel h3 { font-size: 16px; }
  .panel-icon { font-size: 34px; }
  .member-item { height: 110px; padding: 10px; }
  .mainbox { padding: 20px 12px; }
}



