.home {
  text-align: center;
  padding: 8px;
  background: #f1f5ff;
}

.home-logo {
  margin: 0 auto;
  padding-top: 10px;
  width: 98%;
}

/* 轮播图相关ui */
.swiper {
  margin-top: 10px;
  width: 100%;
  border-radius: 8px;
}

.swiper-slide img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 4px;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e4e4e4;
  opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet-active {
  width: 18px;
  height: 4px;
  border-radius: 11px;
  background: #1f2022;
}

/* 公告 */
.announcement {
  margin: 17px auto;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #3b4f76;
}

.announcement-icon {
  margin-right: 4px;
  margin-left: 8px;
  width: 20px;
  height: 20px;
}

.announcement-text {
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: left;
}

/* 点击区域 */
.main {
  display: flex;
}
.main-top {
  margin-bottom: 20px; /* 调整这个值来改变缝隙大小 */
}

.main-left {
  margin-right: 9px;
  width: 47.22%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main-right {
  margin-left: 9px;
  width: 47.22%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.main-left .left-top {
  width: 100%;
}

.main-left .left-bottom {
  width: 100%;
}



.main-right .right-top {
  width: 100%;
}

.main-right .right-bottom {
  width: 100%;
}

.click-effect {
  cursor: pointer;
  transition: filter 0.3s, box-shadow 0.3s, transform 0.3s;
  will-change: filter, box-shadow, transform;
}

.click-effect:active {
  filter: brightness(1.4) contrast(1.2) hue-rotate(60deg);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.9);
  transform: scale(0.98);
}


.game,
.detail {
  margin-top: 20px;
  width: 100%;
}

/* 弹窗 */
.download-dialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  animation: showAnimate 0.2s linear alternate;
}

@keyframes showAnimate {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
  70% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

.dialog-content {
  margin: 0 16px;
}

.dialog-title {
  width: 100%;
}

.dialog-main {
  margin-top: -3px;
  padding: 20px 18px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #f1f5ff;
}

.dialog-main img {
  margin-bottom: 20px;
  width: 100%;
}

.dialog-main img:last-child {
  margin-bottom: 0;
}

.logo-container {
  width: 100%;
  max-width: 800px;
  height: 40px;
  overflow: hidden;
  position: relative;
  background: rgba(194, 210, 248, 0.3);
  margin: 10px auto; 
  border-radius: 4px;
}

.logo-wrapper {
  display: flex;
  gap: 5px; 
  animation: scrollX 10s linear infinite; 
}

.logo-item {
  flex: 0 0 auto;
  width: 60px; 
  height: 40px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  width: 57px; 
  height: 38px; 
  object-fit: contain;
}

@keyframes scrollX {
  from {
    transform: translateX(0);
  }
  
  to {
    transform: translateX(calc(-100%));
  }
}