/**
 * 1.76召唤老魔网站样式
 * 优化版本 - 减少重复代码并添加响应式支持
 */

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

body {
  overflow-x: hidden;
  background: #000;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  color: #fff;
  line-height: 1.5;
  padding-top: 0;
}

/* 通用类 */
.fl { float: left; }
.cl { clear: both; }
.bl { display: block; }
.ab { position: absolute; }
.rl { position: relative; }

/* 容器 */
.bigcontainer {
  width: 100%;
  background: #000;
}

/* 音乐播放器 */
.musicbox {
  width: 60px;
  height: 60px;
  position: fixed;
  z-index: 500;
  top: 20px;
  right: 20px;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.musicbox:hover {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
}

.musicbox::before {
  content: "▶";
  color: white;
  font-size: 20px;
  transition: all 0.3s ease;
}

.musicbox.musicplay::before {
  content: "⏸";
}

/* 音量控制 */
.volume-control {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 500;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 10px;
  display: none;
}

.volume-control.show {
  display: block;
}

.volume-slider {
  width: 100px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  position: fixed;
  top: 0;
  left: 0;
  cursor: pointer;
}

.volume-slider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--volume, 50%);
  background: #fff;
  border-radius: 5px;
  transition: width 0.3s ease;
}

.volume-text {
  color: white;
  font-size: 12px;
  text-align: center;
  margin-top: 5px;
}

/* 头部区域 top: 20px;*/
#header {
  position: absolute;
  top: 20px;
  
  left: 50%;
  margin-left: -960px;
  width: 1920px;
  height: 80px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 240px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#header .logo {
  width: auto;
  padding: 10px 0;
}

#header .logo img {
  height: 60px;
  width: auto;
  display: block;
}

#header .menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

#header .menu ul li {
  margin: 0 15px;
  position: relative;
}

#header .menu ul li a {
  text-decoration: none;
  color: #fff;
  display: block;
  padding: 5px 0;
  transition: all 0.3s ease;
}

#header .menu ul li a:hover {
  color: #f8c300;
}

#header .menu ul li a .t1 {
  font-size: 18px;
  text-align: center;
  display: block;
}

#header .menu ul li a .t2 {
  font-size: 12px;
  text-align: center;
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}

#header .btn {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  line-height: 1.3;
  transition: all 0.3s ease;
  cursor: pointer;
}

#header .btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* 版本区域 padding-top: 74px;*/
#Version {
  width: 100%;
  height: 1242px;
  position: relative;
  overflow: hidden;
  z-index: 0;
  
}

#guodu {
  width: 1920px;
  height: 1242px;
  position: absolute;
  left: 50%;
  z-index: 3;
  margin-left: -960px;
  background: url(../images/bj_01.png) no-repeat center bottom;
}

#Flash {
  width: 1920px;
  height: 1242px;
  position: absolute;
  left: 50%;
  z-index: 2;
  margin-left: -960px;
}

#Flash video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#Header {
  width: 1920px;
  height: 1242px;
  position: absolute;
  left: 50%;
  z-index: 1;
  margin-left: -960px;
  line-height: 0px;
}

#Header img {
  max-width: 100%;
  height: auto;
}

/* 下载按钮区域 */
#Download1 {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 30px 0;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: -100px auto 0;
}

#Download1 a {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.7), rgba(255, 140, 0, 0.7));
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: 18px;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#Download1 a:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 140, 0, 0.9));
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* 内容区域通用样式 */
.YZkj {
  width: 1920px;
  left: 50%;
  margin-left: -960px;
  position: relative;
  background: url(../images/bj_02.jpg) no-repeat center;
  z-index: 3;
}

/* 各个内容区块 */
.YZkj_02, .YZkj_03, .YZkj_04, .YZkj_05, .YZkj_06 {
  position: relative;
  overflow: hidden;
}

.YZkj_02 { height: 585px; }
.YZkj_03 { height: 980px; }
.YZkj_04 { height: 1000px; }
.YZkj_05 { height: 920px; }
.YZkj_06 { height: 1197px; }

/* 内容区域标题 */
.YZ_title {
  width: 584px;
  height: 122px;
  text-indent: -99em;
  overflow: hidden;
  margin: auto auto 10px;
  background: url(../images/bg_title.png) left top no-repeat;
  position: absolute;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
}

.YZkj_02 .YZ_title.icon { background-position: 0px 0px; }
.YZkj_03 .YZ_title.icon { background-position: 0px -122px; }
.YZkj_04 .YZ_title.icon { background-position: 0px -244px; }
.YZkj_05 .YZ_title.icon { background-position: 0px -366px; }
.YZkj_06 .YZ_title.icon { background-position: 0px -488px; }


/* 内容区域展示 */
.YZshow {
  position: absolute;
  z-index: 4;
  text-align: center;
}

.YZkj_02 .YZshow { padding-top: 167px; left: 50%; margin-left: -750px; width: 1500px; }
.YZkj_03 .YZshow { padding-top: 257px; left: 50%; margin-left: -685px; width: 1410px; }
.YZkj_04 .YZshow { padding-top: 167px; left: 50%; margin-left: -762px; width: 1524px; }
.YZkj_05 .YZshow { padding-top: 167px; left: 50%; margin-left: -515px; width: 1200px; }
.YZkj_06 .YZshow { padding-top: 167px; left: 50%; margin-left: -1076px; width: 1800px; }

/* 角色动画 */
@keyframes light_1 {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

.role {
  animation: light_1 3s linear infinite;
  position: absolute;
  z-index: 3;
}

.YZkj_02 .role { width: 897px; height: 1018px; background: url(../images/rw02.png) no-repeat left top; margin-top: 0px; margin-left: 240px; mix-blend-mode: lighten; }
.YZkj_03 .role { width: 897px; height: 1018px; background: url(../images/rw03.png) no-repeat left top; margin-top: 160px; margin-left: 1080px; }

/* 背景元素 */
/* 召唤系统底部背景（不遮挡交互，位于最下层） */
.YZkj_03::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 90px;
  width: 1920px;
  margin-left: 20px;
  height: 100%;
  background: url(../images/mkbg03.png) no-repeat center top;
  pointer-events: none;
  z-index: 6;
}
/* 区块05底部背景（不遮挡交互，位于最下层） */
.YZkj_05::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 1920px;
  height: 100%;
  background: url(../images/mkbg05.png) no-repeat center bottom;
  background-size: 1920px auto;
  pointer-events: none;
  z-index: 0;
}







/* 底部区域 */
.YZbjfoot {
  width: 1920px;
  height: 132px;
  left: 50%;
  margin-left: -960px;
  position: relative;
  top: -44px;
  background: url(../images/footbgimg.jpg) no-repeat center;
  padding: 20px 0;
  text-align: center;
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
}

/* 导航菜单 */
.navxx {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 15px 10px;
  z-index: 100;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  width: auto;
  max-width: 200px;
  opacity: 1;
  visibility: visible;
}

.navxx .gnb {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navxx .gnb li {
  margin: 8px 0;
  width: 100%;
}

.navxx .gnb li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: block;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.navxx .gnb li a:hover,
.navxx .gnb li.active1 a {
  background: rgba(255, 255, 255, 0.2);
}

/* 轮播图样式 */
.slide22 {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.slide22images {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.slide22images .uls {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.slide22images .uls li {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
}

.slide22images .uls li img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.slide22 .prev,
.slide22 .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.slide22 .prev { left: 20px; }
.slide22 .next { right: 20px; }

.slide22hd {
  position: relative;
  text-align: center;
  margin-top: 40px;
  z-index: 50;
  pointer-events: auto;
}

.slide22hd .uls {
  display: inline-flex;
  list-style: none;
}

.slide22hd .uls li {
  margin: 0 10px;
  cursor: pointer;
}

.slide22hd .uls li .xx1 {
  width: 80px;
  height: 80px;
  background-size: cover !important;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.slide22hd .uls li.on .xx1 {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* 游戏怪物轮播样式 */
#yxjs7 .slide3 { position: relative; width: 1490px; max-width: 1490px; margin: 0 auto; }
#yxjs7 .slide3images { position: relative; overflow: hidden; text-align: center; height: 679px; }
#yxjs7 .slide3images .uls { list-style: none; margin: 0; padding: 0; position: relative; }
#yxjs7 .slide3images .uls li { position: absolute; top: 0; left: 0; right: 0; display: none; }
#yxjs7 .slide3images .uls li img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
#yxjs7 .slide3 .prev, #yxjs7 .slide3 .next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; }
#yxjs7 .slide3 .prev { left: 10px; }
#yxjs7 .slide3 .next { right: 10px; }

/* yxjs7 居中下对齐 */
#yxjs7 { position: relative; }
#yxjs7 .YZshow {
  position: absolute;
  left: 0;
  right: 0;
  top: 142px; /* 标题122px + 间距20px */
  bottom: 0;
  margin-left: 0;
  width: 100%;
  padding-top: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
#yxjs7 .slide3 { position: relative; width: 1490px; max-width: 1490px; }
#yxjs7 .slide3images { height: 679px; }
#yxjs7 .YZshow { position: absolute; top: 132px; bottom: 230; height: auto; }
#yxjs7 .slide3 { margin: 0 auto 30px; }

/* 隐藏地图轮播样式 */
#playbanner { position: relative; overflow: hidden; }
#playbanner .conbox { position: relative; left: 0; white-space: nowrap; }
#playbanner .conbox .Slide_ { display: inline-block; vertical-align: top; }
#playbanner img.mainpic { display: block; max-width: 100%; height: auto; }

/* 懒加载图片样式 */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

img.lazy.loaded {
  opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1600px) {
  .YZkj, #Header, #Flash, #guodu {
    width: 100%;
    margin-left: 0;
    left: 0;
    background-size: cover;
  }
  
  .YZkj_02 .YZshow,
  .YZkj_03 .YZshow,
  .YZkj_04 .YZshow,
  .YZkj_05 .YZshow,
  .YZkj_06 .YZshow {
    left: 70%;
    transform: translateX(-50%);
    margin-left: 0;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .YZ_title {
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0 !important;
  }
  
  .mkbg {
    display: none;
  }
  
  .musicbox {
    left: 20px;
    margin-left: 0;
  }
}

@media (max-width: 1200px) {
  #header {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }
  
  #header .menu ul {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }
  
  #header .btn {
    margin-top: 20px;
  }
  
  #Version {
    height: auto;
    padding-top: 0;
  }
  
  #Flash, #Header, #guodu {
    height: auto;
    position: relative;
  }
  
  .YZkj_02, .YZkj_03, .YZkj_04, .YZkj_05, .YZkj_06 {
    height: auto;
    padding: 50px 0;
  }
  
  .YZbjfoot {
    width: 100%;
    margin-left: 0;
    left: 0;
  }
  
  .navxx {
    right: 10px;
  }
  
  .navxx .gnb {
    align-items: center;
  }
  
  .navxx .gnb li {
    margin: 5px 0;
  }
}

@media (max-width: 768px) {
  #Download1 {
    flex-direction: column;
    align-items: center;
  }
  
  #Download1 a {
    width: 80%;
    margin-bottom: 10px;
  }
  
  .YZ_title {
    width: 90%;
    background-size: contain;
    background-position: center !important;
  }
  
  .slide22 .prev,
  .slide22 .next {
    display: none;
  }
}