/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #f1f1f1;
  min-height: 100vh;
  color: #fff;
  overflow-x: hidden;
  max-width: 750px;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.content{
  background: #010918;
}

/* 顶部导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(20, 20, 40, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  max-width: 750px;
  margin: 0 auto;
  background-color: #fff;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
}

.game-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-meta {
  display: flex;
  flex-direction: column;
}

.game-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.game-subtitle {
  font-size: 13px;
  color: #999;
  margin-top: 2px;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.btn {
  border: none;
  border-radius: 24px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-login {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-login:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
  transform: translateY(-2px);
}

.btn-download {
  background: #48c1cd;
  color: #fff;
}

/* 主Banner区域 */
.banner {
  position: relative;
  width: 100%;
  margin-top: 80px;
  overflow: hidden;
}

.banner-bg {}

.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.banner-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.title-main {
  font-size: 56px;
  font-weight: bold;
  background: linear-gradient(135deg, #ffd700 0%, #ff6b6b 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 8px;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

.title-sub {
  font-size: 48px;
  font-weight: bold;
  background: linear-gradient(135deg, #87ceeb 0%, #98fb98 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 10px;
  margin-top: 10px;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
  }

  to {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
  }
}

.banner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(255, 140, 0, 0.9));
  padding: 12px 30px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.badge-icon {
  font-size: 16px;
  color: #fff;
}

.badge-num {
  font-size: 32px;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.badge-text {
  font-size: 16px;
  color: #fff;
}

/* 游戏视频区域 */
.video-section {
  max-width: 1000px;
  margin: 0 auto;
}


.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.3);
}

.video-play-overlay.playing {
  opacity: 0;
  pointer-events: none;
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700 0%, #ff6b6b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5);
  transition: all 0.3s ease;
}

.video-play-overlay:hover .play-button {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(255, 107, 107, 0.7);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 28px solid #fff;
  margin-left: 6px;
}

.play-tip {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2px;
}

/* 游戏介绍区域 */
.intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 00px 20px;
  text-align: center;
}

.intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: #d8ccac;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  text-align: left;
}

/* 游戏图片区域 */
.gallery {
  padding: 00px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.title-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd700);
}

.title-line:last-child {
  background: linear-gradient(90deg, #ffd700, transparent);
}

.title-text {
  font-size: 28px;
  font-weight: bold;
  color: #ffd700;
  letter-spacing: 4px;
  position: relative;
}

.title-text::before,
.title-text::after {
  content: '◆';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #ffd700;
  opacity: 0.6;
}

.title-text::before {
  left: -25px;
}

.title-text::after {
  right: -25px;
}

/* Swiper轮播样式 */
.gallery-swiper {
  width: 100%;
}

 /* 幻灯片样式 */
.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;      /* 卡片固定宽度 */
  height: 400px;    /* 卡片固定高度 */
  /* border-radius: 16px; */
  overflow: hidden;
  /* 关键：防止拖拽时选中文字或图片 */
  user-select: none; 
  -webkit-user-drag: none;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    pointer-events: none; /* 防止长按保存图片影响滑动 */
}

/* 自定义分页器颜色 */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: #ffcc00; /* 激活状态颜色，可改为游戏主题色 */
    transform: scale(1.3);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .swiper-slide {
        width: 240px;   /* 手机端卡片变小 */
        height: 320px;
    }
}

/* .gallery-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  transform: scale(1);
}

.gallery-swiper .swiper-slide:hover {
    transform: scale(1.02);
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
} */

.gallery-swiper .swiper-pagination {
  bottom: 10px !important;
}

.gallery-swiper .swiper-pagination-bullet {
  background: #ffd700;
  opacity: 0.5;
}

/* .gallery-swiper .swiper-slide-active,
.gallery-swiper .swiper-slide-duplicate-active {
  transform: scale(1);
} */

/* .gallery-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #ffd700;
  transform: scale(1.2);
} */

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
  color: #ffd700;
  background: rgba(0, 0, 0, 0.5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
}

/* 底部区域 */
.footer {
  padding: 40px 10px;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

.disclaimer {
  font-size: 14px;
  line-height: 1.8;
  color: #d8ccac;
}

/* 悬浮下载按钮 */
.float-download {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
}

.btn-download-float {
  background: linear-gradient(135deg, #ffd700 0%, #ff6b6b 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(255, 107, 107, 0.5);
  animation: floatPulse 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.btn-download-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.7);
}

@keyframes floatPulse {

  0%,
  100% {
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.5);
  }

  50% {
    box-shadow: 0 6px 35px rgba(255, 107, 107, 0.8);
  }
}

/* 响应式适配 */
@media (max-width: 768px) {
  .header-inner {
    padding: 10px 15px;
  }

  .game-logo {
    width: 44px;
    height: 44px;
  }

  .game-title {
    font-size: 16px;
  }

  .game-subtitle {
    font-size: 12px;
    max-width: 160px;
  }

  .btn {
    padding: 8px 18px;
    font-size: 13px;
  }

  .banner {
    /*height: 400px;*/
    margin-top: 64px;
  }

  .title-main {
    font-size: 36px;
    letter-spacing: 5px;
  }

  .title-sub {
    font-size: 32px;
    letter-spacing: 6px;
  }

  .badge-num {
    font-size: 24px;
  }

  .intro-text {
    font-size: 14px;
  }

  .btn-download-float {
    padding: 12px 36px;
    font-size: 16px;
  }
  
  .disclaimer{
    font-size: 12px;
  }
}

@media (max-width: 480px) {

  .title-main {
    font-size: 28px;
  }

  .title-sub {
    font-size: 24px;
  }
}