* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  background: linear-gradient(180deg, #1b2838 0%, #2a475e 100%);
  color: #c7d5e0;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部 */
.header {
  background: #171a21;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.download-btn {
  background: #5c7e10;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-btn:hover {
  background: #7ba62a;
}

/* Banner区域 */
.banner-section {
  padding: 40px 0;
}

.banner-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.banner-left {
  flex: 0 0 450px;
  padding: 40px 0;
}

.logo-large img {
  height: 60px;
  margin-bottom: 40px;
}

.banner-title {
  font-size: 36px;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 40px;
}

.user-stats {
  display: flex;
  gap: 60px;
  margin-bottom: 40px;
}

.stat-item {
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #c7d5e0;
  margin-bottom: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #66c0f4;
}

.stat-number {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s ease;
}

.install-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.install-btn img {
  height: 80px;
  transition: transform 0.3s;
}

.install-btn:hover img {
  transform: scale(1.05);
}

/* 右侧轮播 */
.banner-right {
  width: 650px;
  height: 550px;
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.banner-right .swiper {
  width: 100%;
  height: 100%;
  padding: 0;
}

.banner-right .swiper-slide {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  background: #16202d;
  transition: all 0.3s;
}

.banner-right .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 激活状态 */
.banner-right .swiper-slide-active {
  box-shadow: 0 0 0 3px #66c0f4, 0 8px 30px rgba(0, 0, 0, 0.5);
  transform: scale(1);
  opacity: 1;
}

/* 非激活状态 */
.banner-right .swiper-slide-prev,
.banner-right .swiper-slide-next {
  opacity: 0.6;
  transform: scale(0.9);
}

/* Swiper 自定义样式 */
.banner-right .swiper-slide-active {
  box-shadow: 0 0 0 3px #66c0f4, 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* 堆叠效果 - 上面的图片 */
.carousel-item[data-index='0'] {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(-120px) scale(0.85);
  opacity: 0.6;
  z-index: 1;
}

/* 堆叠效果 - 中间激活的图片 */
.carousel-item[data-index='1'] {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 0 0 3px #66c0f4, 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* 堆叠效果 - 下面的图片 */
.carousel-item[data-index='2'] {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(120px) scale(0.85);
  opacity: 0.6;
  z-index: 1;
}

/* 右侧轮播 - 3D堆叠效果 */
.carousel-item {
  position: absolute;
  left: 5%;
  width: 90%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 左侧图片 - 向左后方移动并缩小 */
.carousel-item.left {
  transform: translate3d(-25%, 0, -40px) scale(0.88);
  opacity: 0.5;
  z-index: 1;
}

/* 右侧图片 - 向右后方移动并缩小 */
.carousel-item.right {
  transform: translate3d(25%, 0, -40px) scale(0.88);
  opacity: 0.5;
  z-index: 1;
}

/* 中间激活图片 - 向前凸出 */
.carousel-item.active {
  transform: translateZ(40px) scale(1);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 0 0 3px #66c0f4, 0 12px 50px rgba(0, 0, 0, 0.7);
}

.carousel-item:hover {
  opacity: 0.9;
}

/* 游戏列表 */
.games-section {
  padding: 60px 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.game-item {
  background: #1b2838;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.game-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #5c7e10;
  color: #fff;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  z-index: 1;
}

.game-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.game-title {
  padding: 15px;
  font-size: 13px;
  color: #c7d5e0;
  background: #16202d;
  text-align: center;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 页脚 */
.footer {
  background: #181a20;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.foot {
  width: 100%;
  padding: 2vw 24vw;
}

.foot img {
  width: 100%;
  display: block;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  margin-bottom: 30px;
  align-items: center;
}

.footer-col {
  color: #8f98a0;
  font-size: 13px;
}

.footer-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.icon-item {
  width: 40px;
  height: 40px;
  background: #2a475e;
  border-radius: 50%;
}

.support-box {
  text-align: center;
}

.support-title {
  font-size: 14px;
  color: #fff;
  margin-bottom: 8px;
}

.support-text {
  font-size: 12px;
  color: #8f98a0;
}

.footer-bottom {
  border-top: 1px solid #2a475e;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #8f98a0;
  font-size: 12px;
  margin: 5px 0;
}

body::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

body::-webkit-scrollbar-thumb {
  background: #4a5568;
  border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
  background: #5a6678;
}

body::-webkit-scrollbar-track {
  background: #1a1f2e;
}
