html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-family: Arial, "Microsoft Yahei";
}
html,
body {
  position: relative;
  height: 100%;
}

/* 隐藏滚动条但保留滚动功能 */
html {
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

html::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}
.wrap {
  position: relative;
}
.header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 2.29167vw; /* 44px */
  background: url("https://image-platform.leniugame.com/20251219/灵妖劫_PC端/header_bg.png")
    no-repeat;
  background-size: 100% 100%;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.header-btn {
  cursor: pointer;
}

.header-btn-1 {
  width: 5.41667vw; /* 104px */
  height: 1.5625vw; /* 30px */
  background: url("https://image-platform.leniugame.com/20251219/灵妖劫_PC端/gwsy.png")
    no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0.36458vw; /* 7px */
  left: 27.65625vw; /* 531px */
}

.header-btn-1:hover {
  width: 5.67708vw; /* 109px */
  height: 1.5625vw; /* 30px */
  background: url("https://image-platform.leniugame.com/20251219/灵妖劫_PC端/gwsy_active.png")
    no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0.36458vw; /* 7px */
  left: 27.65625vw; /* 531px */
}

.header-btn-2 {
  width: 5.36458vw; /* 103px */
  height: 1.61458vw; /* 31px */
  background: url("https://image-platform.leniugame.com/20251219/灵妖劫_PC端/zyjs.png")
    no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0.3125vw; /* 6px */
  left: 37.5vw; /* 720px */
}

.header-btn-2:hover {
  width: 5.625vw; /* 108px */
  height: 1.61458vw; /* 31px */
  background: url("https://image-platform.leniugame.com/20251219/灵妖劫_PC端/zyjs_active.png")
    no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0.3125vw; /* 6px */
  left: 37.5vw; /* 720px */
}

.header-icon {
  width: 5.3125vw; /* 102px */
  height: 4.47917vw; /* 86px */
  background: url("https://image-platform.leniugame.com/20251219/灵妖劫_PC端/Logo.png")
    no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0.15625vw; /* 3px */
  left: 47.5vw; /* 912px */
}

.header-btn-3 {
  width: 5.57292vw; /* 107px */
  height: 1.51042vw; /* 29px */
  background: url("https://image-platform.leniugame.com/20251219/灵妖劫_PC端/xwzx.png")
    no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0.36458vw; /* 7px */
  left: 57.13542vw; /* 1097px */
}

.header-btn-3:hover {
  width: 5.88542vw; /* 113px */
  height: 1.5625vw; /* 30px */
  background: url("https://image-platform.leniugame.com/20251219/灵妖劫_PC端/xwzx_active.png")
    no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0.36458vw; /* 7px */
  left: 57.13542vw; /* 1097px */
}

.header-btn-4 {
  width: 5.72917vw; /* 110px */
  height: 1.5625vw; /* 30px */
  background: url("https://image-platform.leniugame.com/20251219/灵妖劫_PC端/yxts.png")
    no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0.41667vw; /* 8px */
  left: 67.1875vw; /* 1290px */
}

.header-btn-4:hover {
  width: 5.98958vw; /* 115px */
  height: 1.5625vw; /* 30px */
  background: url("https://image-platform.leniugame.com/20251219/灵妖劫_PC端/yxts_active.png")
    no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0.41667vw; /* 8px */
  left: 67.1875vw; /* 1290px */
}
.home {
  position: relative;
  width: 100%;
  margin-top: 0;
}

/* 左上角按钮区 */
.top_buttons {
  position: absolute;
  top: 2.8125vw;
  left: 19.21875vw;
  display: flex;
  align-items: center;
  gap: 0.52083vw;
  z-index: 10;
}

.wx_official_account {
  width: 2.29167vw;
  height: 2.29167vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/wx.png")
    no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  position: relative;
}

.wx_official_account:hover {
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/wx_hover.png")
    no-repeat;
  background-size: 100% 100%;
}

.wx_official_account:hover::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.26042vw;
  width: 7.03125vw;
  height: 7.70833vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/code.png")
    no-repeat;
  background-size: 100% 100%;
  z-index: 100;
}

.age_tips {
  position: absolute;
  top: 42.08333vw;
  right: 1.09375vw;
  width: 3.28125vw;
  height: 4.27083vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/age_tips.png")
    no-repeat;
  background-size: 100% 100%;
}

/* 下载按钮区 */
.download {
  position: absolute;
  left: calc(50% - 0.82vw);
  top: 39.47917vw;
  transform: translateX(-50%);
  z-index: 10;
}

.download_flex {
  display: flex;
  align-items: flex-start;
  gap: 0.5vw;
}

.download_btn {
  background-size: 100% 100%;
  cursor: pointer;
  transition: all 0.2s;
}

/* mumu模拟器 */
.download_btn[data-type="mumu"] {
  width: 4.6875vw;
  height: 3.95833vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/mumu.png")
    no-repeat;
  background-size: 100% 100%;
  position: relative;
  left: 0.9vw;
}

.download_btn[data-type="mumu"]:hover {
  width: 4.6875vw;
  height: 3.95833vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/mumu_hover.png")
    no-repeat;
  background-size: 100% 100%;
}

/* 雷电模拟器 */
.download_btn[data-type="leidian"] {
  width: 3.85417vw;
  height: 3.95833vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/leidian.png")
    no-repeat;
  background-size: 100% 100%;
  position: relative;
  left: 0.1vw;
}

.download_btn[data-type="leidian"]:hover {
  width: 3.85417vw;
  height: 3.95833vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/leidian_hover.png")
    no-repeat;
  background-size: 100% 100%;
}

/* iOS下载 */
.download_btn[data-type="ios"] {
  width: 10.36458vw;
  height: 3.33333vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/ios.png")
    no-repeat;
  background-size: 100% 100%;
  margin-top: 0.1vw;
}

.download_btn[data-type="ios"]:hover {
  width: 10.36458vw;
  height: 3.33333vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/ios_hover.png")
    no-repeat;
  background-size: 100% 100%;
}

/* 安卓下载 */
.download_btn[data-type="android"] {
  width: 10.36458vw;
  height: 3.33333vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/Android.png")
    no-repeat;
  background-size: 100% 100%;
  margin-top: 0.1vw;
}

.download_btn[data-type="android"]:hover {
  width: 10.36458vw;
  height: 3.33333vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/Android_hover.png")
    no-repeat;
  background-size: 100% 100%;
}

/* TapTap */
.download_btn[data-type="taptap"] {
  width: 3.48958vw;
  height: 3.85417vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/taptap.png")
    no-repeat;
  background-size: 100% 100%;
}

.download_btn[data-type="taptap"]:hover {
  width: 3.48958vw;
  height: 3.85417vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/taptap_hover.png")
    no-repeat;
  background-size: 100% 100%;
}

/* 好游快爆 */
.download_btn[data-type="haoyou"] {
  width: 3.48958vw;
  height: 3.95833vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/hykb.png")
    no-repeat;
  background-size: 100% 100%;
}

.download_btn[data-type="haoyou"]:hover {
  width: 3.48958vw;
  height: 3.95833vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/hykb_hover.png")
    no-repeat;
  background-size: 100% 100%;
}
/* 下载弹窗 */
.download_modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

.download_modal_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: flex-start;
  gap: 0.52083vw;
}

.download_modal_img {
  width: 34.42708vw;
  height: 20.36458vw;
  display: block;
}

.download_modal_close {
  width: 1.77083vw;
  height: 1.77083vw;
  background: url("https://image-platform.leniugame.com/20251218/灵妖劫_PC端/close.png")
    no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  top: 4.16667vw;
}

.page_3 {
  position: relative;
}
.page3-main {
  position: absolute;
  left: 0;
  top: 33%;
  width: 100%;
}
.swiper-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.page_3 .swiper-container {
  position: relative;
  text-align: center;
  width: 70%;
  margin: 0 auto;
}
.page_3 .swiper-slide {
  width: 45.93vw;
}
.page_3 .swiper-slide img {
  width: 100% !important;
  border: 3px solid #fff;
  box-sizing: border-box;
}

.page_3 .pagination {
  position: absolute;
  left: 0;
  right: 0;
  margin: 47px auto 0;
}
.page_3 .swiper-pagination-bullet {
  width: 26px;
  height: 26px;
  background: url("http://image-platform.leniugame.com/lyj_images/pagination.png");
  background-size: 100% 100%;
  opacity: 1;
  margin: 0 13px;
}
.page_3 .swiper-pagination-bullet-active {
  background: url("http://image-platform.leniugame.com/lyj_images/pagination-active.png");
  background-size: 100% 100%;
}

.page_3 .swiper-button-next,
.page_3 .swiper-button-prev {
  top: 46.87%;
  width: 89px;
  height: 95px;
}
.page_3 .swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
  background: none;
  left: 3%;
}
.page_3 .swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
  background: none;
  right: 3%;
}
.footer {
  position: relative;
  background-color: #1c2b40;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 30px 0;
}
.leniu_logo {
  height: 39px;
  width: 174px;
  background: url(http://image-platform.leniugame.com/official/layout/leniu_logo.png)
    no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
}
.footer_d {
  margin-bottom: 10px;
}
.footer_d a {
  color: #fff;
  text-decoration: none;
}

/* 视频播放按钮 */
.video_play {
  position: absolute;
  top: 29.1145vw;
  left: 50%;
  transform: translate(-50%, 0);
  width: 8.072vw;
  height: 8.072vw;
  background: url("https://image-platform.leniugame.com/20251223/灵妖劫_PC端/play_video.png")
    no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  z-index: 10;
}

.video_play:hover {
  background: url("https://image-platform.leniugame.com/20251223/灵妖劫_PC端/play_video_active.png")
    no-repeat;
  background-size: 100% 100%;
}

/* 视频弹窗遮罩层 */
.video_modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

/* 视频容器 */
.video_modal_content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
}

/* 关闭按钮 */
.video_close {
  width: 1.77083vw;
  height: 1.77083vw;
  position: absolute;
  top: 0;
  right: -2.29167vw;
  cursor: pointer;
}

/* 视频元素 */
.video_modal_content video {
  width: 100%;
  display: block;
}
