/* 首页全宽轮播 — HTML/CSS Banner，不依赖外部图片 */
.home .page_main .swiper_wrap.gate-promo-hidden,
.home .page_main .swiper_wrap:has(+ .gate-home-promo) {
  display: none !important;
}

.gate-home-promo {
  width: 100%;
  box-sizing: border-box;
  margin: 0.25rem 0 0.75rem;
  padding: 0;
}

.gate-home-promo .ghp-hero {
  width: 100%;
  height: 10.75rem;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #12151f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

@media (min-width: 400px) {
  .gate-home-promo .ghp-hero { height: 11.75rem; }
}

.gate-home-promo .ghp-hero-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.gate-home-promo .ghp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.gate-home-promo .ghp-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.gate-home-promo .ghp-slide-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.gate-home-promo .ghp-copy {
  position: relative;
  z-index: 2;
  max-width: 58%;
  color: #f5f7ff;
}

.gate-home-promo .ghp-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #8eb0ff;
  margin-bottom: 0.35rem;
}

.gate-home-promo .ghp-title {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.gate-home-promo .ghp-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: rgba(231, 237, 255, 0.82);
  line-height: 1.3;
}

.gate-home-promo .ghp-cta {
  display: inline-flex;
  margin-top: 0.7rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: #2354e6;
  color: #fff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}

.gate-home-promo .ghp-art {
  position: relative;
  z-index: 2;
  width: 38%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* themes */
.gate-home-promo .ghp-theme-metals .ghp-slide-inner {
  background: linear-gradient(135deg, #12151f 0%, #1a2748 48%, #8a6110 140%);
}
.gate-home-promo .ghp-theme-contract .ghp-slide-inner {
  background: linear-gradient(135deg, #0d111c 0%, #132042 55%, #1a3d8f 100%);
}
.gate-home-promo .ghp-theme-spot .ghp-slide-inner {
  background: linear-gradient(135deg, #111722 0%, #16345f 100%);
}
.gate-home-promo .ghp-theme-market .ghp-slide-inner {
  background: linear-gradient(135deg, #0f1524 0%, #1b2f5c 100%);
}
.gate-home-promo .ghp-theme-etf .ghp-slide-inner {
  background: linear-gradient(135deg, #101820 0%, #153057 55%, #0f4a3a 120%);
}
.gate-home-promo .ghp-theme-etf .ghp-cta { background: #17e6a1; color: #06281c; }
.gate-home-promo .ghp-theme-rewards .ghp-slide-inner {
  background: linear-gradient(135deg, #12101c 0%, #1a2548 50%, #2340a0 100%);
}

/* arts */
.gate-home-promo .ghp-art-bars {
  width: 5.5rem;
  height: 5.5rem;
  position: relative;
}
.gate-home-promo .ghp-art-bars i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.35rem;
  border-radius: 0.4rem;
  background: linear-gradient(90deg, #f6d58a, #d4a017 55%, #8a6110);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.gate-home-promo .ghp-art-bars i:nth-child(1) { top: 0.2rem; left: 1rem; }
.gate-home-promo .ghp-art-bars i:nth-child(2) { top: 1.85rem; left: 0.5rem; opacity: .92; }
.gate-home-promo .ghp-art-bars i:nth-child(3) { top: 3.5rem; }

.gate-home-promo .ghp-art-chart {
  width: 6.5rem;
  height: 4.2rem;
  border-radius: 0.75rem;
  background: rgba(11, 18, 36, 0.55);
  border: 1px solid rgba(43, 74, 138, 0.6);
  padding: 0.45rem;
  box-sizing: border-box;
}
.gate-home-promo .ghp-art-chart svg { width: 100%; height: 100%; display: block; }

.gate-home-promo .ghp-art-coins {
  width: 6rem;
  height: 5.5rem;
  position: relative;
}
.gate-home-promo .ghp-art-coins span {
  position: absolute;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.28);
}
.gate-home-promo .ghp-art-coins .c1 { left: 1.4rem; top: 0.2rem; background: linear-gradient(135deg,#f5c542,#c98912); color:#3a2500; }
.gate-home-promo .ghp-art-coins .c2 { right: 0; bottom: 0.8rem; background: #627eea; }
.gate-home-promo .ghp-art-coins .c3 { left: 0; bottom: 0.3rem; background: #14f195; color:#083; font-size: .55rem; }

.gate-home-promo .ghp-art-tick {
  width: 6.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.gate-home-promo .ghp-art-tick b {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.5rem;
  border-radius: 0.45rem;
  background: rgba(18, 26, 46, 0.85);
  border: 1px solid #2b3f6a;
  color: #eaecef;
  font-size: 0.68rem;
  font-weight: 700;
}
.gate-home-promo .ghp-art-tick em { font-style: normal; font-size: 0.62rem; }
.gate-home-promo .ghp-art-tick em.up { color: #17e6a1; }
.gate-home-promo .ghp-art-tick em.down { color: #f6465d; }

.gate-home-promo .ghp-art-bolt {
  width: 5.8rem;
  height: 5.8rem;
  border-radius: 50%;
  border: 2px solid rgba(23, 230, 161, 0.45);
  background: rgba(13, 31, 26, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}
.gate-home-promo .ghp-art-bolt span {
  color: #9fe8cb;
  font-size: 0.72rem;
  font-weight: 700;
}

.gate-home-promo .ghp-art-gift {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #5b8cff, #2354e6);
  position: relative;
  box-shadow: 0 8px 18px rgba(35, 84, 230, 0.35);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.55rem;
  box-sizing: border-box;
}
.gate-home-promo .ghp-art-gift i {
  position: absolute;
  left: 0;
  right: 0;
  top: 1.15rem;
  height: 0.7rem;
  background: #3d6ef0;
}
.gate-home-promo .ghp-art-gift i::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -1.15rem;
  bottom: -2.6rem;
  width: 0.55rem;
  transform: translateX(-50%);
  background: rgba(158, 192, 255, 0.9);
}
.gate-home-promo .ghp-art-gift b {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.gate-home-promo .ghp-dots {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.32rem;
  z-index: 3;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
}

.gate-home-promo .ghp-dots i {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  font-style: normal;
  transition: all 0.25s ease;
}

.gate-home-promo .ghp-dots i.on {
  width: 0.85rem;
  border-radius: 999px;
  background: #2354e6;
}

.gate-home-promo .ghp-hero:active {
  transform: scale(0.992);
}
