/* 通用样式 */
body {
  background: #27001b;

  user-select: none;
  margin: 0;
  padding: 0;

}
.bg{

  /* background-image: radial-gradient(circle, #250000, #220000, #200000, #1c0000, #190000, #160001, #130001, #100001, #0d0001, #080001, #040001, #000000); */
  background-image: url("./assets/images/ph_bg.png");
  margin: 0;
  font-family: Arial, sans-serif;
  background-size: cover;
  /* 等比放大 */
  background-position: center;
  /* 居中对齐 */
  background-repeat: no-repeat;
  /* 不重复 */
  display: block;
  margin: auto;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.main{
  width: 100%;
  max-width: 768px;
  margin: auto;

}
/* 顶部LOGO */
.header {
  position: relative;
 
}

.logo {
  width: 100%;
  

  height: 220px;
  /* 调整为更大的高度 */
  position: relative;
  display: block;
  margin: auto;
 


  /* 居中对齐 */

  /* 不重复 */

}
.logoimg{
  width: 100%;
  
  top: 50%;
  left: 50%;
 
  transform: translate(-50%, -50%); 
  position: relative;
  margin-top: 10px;
}

/* 语言选择选项浮在LOGO上方 */
.language-selector {
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 5px;
}

.language-button {
  background-color: #000000;
  border: 1px solid gold;
  padding: 5px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 5px;
  color: white;
  font-weight: bold;
}

.language-dropdown {
  display: none;
  position: absolute;
  right: 0;
  background-color: #000000;
  border: 1px solid #1f1f1f;
  z-index: 88;
  color: rgb(136, 136, 136);
  border-radius: 5px;

  
}

.language-option {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  margin: 5px 0px;
  cursor: pointer;

}

.language-option:hover {
  background-color: #eeeeee;
  color: rgb(27, 27, 27);
}


.language-option:active {
  background-color: #eeeeee;
  color: rgb(27, 27, 27);
}
.language-button a{
  margin-left: 5px;
}
/* 占位图标样式 */
.language-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  padding: 5px;
  background-size: cover;
  /* 等比放大 */
  background-position: center;
  /* 居中对齐 */
  background-repeat: no-repeat;
  /* 不重复 */
  display: block;
  margin-right: 5px;
  position: relative;
  border: 2px solid white;
  border-radius: 50%;
  
  
}

.en-icon {
 
  background-image: url("./assets/images/flags/uk.png");

}

.pt-BR-icon {

  background-image: url("./assets/images/flags/por.png");
 
}

.zh-TW-icon {

  background-image: url("./assets/images/flags/vn.png");
  
}

.th-icon {
 
  background-image: url("./assets/images/flags/tha.png");
  
}

.vi-icon {
  background-image: url("./assets/images/flags/vn.png");
 
}

.es-icon {
  background-image: url("./assets/images/flags/es.png");

}

.banner{
  border-radius: 5px;
  width: calc(100% - 30px);
 margin-top: 10px;
 margin: auto;
 height: auto;
  position: relative;
  overflow: hidden;
  border: 4px solid gold;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  -webkit-box-shadow:0px 0px 11px 2px rgba(255,238,46,0.9);
  -moz-box-shadow: 0px 0px 11px 2px rgba(255,238,46,0.9);
  box-shadow: 0px 0px 11px 2px rgba(255,238,46,0.9);
}
/* Banner轮播图 */
.banner-img {
  width: 100%;
  display: none;
  height: auto;
  position: relative;

  /* 默认隐藏，将通过JS控制展示 */
 
}
.banner-img img {
  width: 100%;
  display: block;
  position: relative;
  
  /* 默认隐藏，将通过JS控制展示 */
 
}

/* Banner指示器 */
.banner-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
 
}

.indicator {
  width: 15%;
  height: 3px;
  background-color: #ccc;
  border-radius: 3px;
  margin:0px 5px;
}

.indicator.active {
  background-color:gold; /* 激活的指示器颜色 */
  z-index: 2;
}



/* 游戏图标列表 */
.game-icons-wrapper {
  overflow-x: hidden; /* 隐藏滚动条 */
  overflow-y: hidden; /* 防止垂直滚动 */

  border-bottom: 4px solid goldenrod;
  border-top: 4px solid goldenrod;
  /* background-color:#1f1f1f; */
  
}




.game-icons {
  display: flex;
  white-space: nowrap; /* 防止换行 */
  padding: 15px 0px;
}

.game-icon {
  flex: 0 0 auto;
  border-radius: 3px;
  width: 150px; /* 你可以设置为任何宽度 */
  /* height: 100px;  */
  margin: 0 10px;
  -webkit-box-shadow:0px 0px 2px 1px rgba(255,233,87,0.9);
  -moz-box-shadow: 0px 0px 2px 1px rgba(255,233,87,0.9);
  box-shadow: 0px 0px 2px 1px rgba(255,233,87,0.9);
}




.jackpot{
  position: relative;
  width: 100%;


}

.jackpot-number {
  position: absolute;
 z-index: 2;
 top:40%;
text-align: center;
left: 25%;

  /* transform: translate(-50%, -50%); */
  font-size: 40px;
  color: gold;
  font-weight: bolder;

  background: -webkit-linear-gradient(top, #ffeb79, #e6ba4d, #ffe032);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: breathing 0.3s infinite;
}
/* 奖池图片 */
.jackpot-img {
  width: 100%;
  margin: auto;
  max-width: 768px;

  

}
.light{
  position:absolute;
  z-index: 2;
  bottom: 0;
  height: 120%;
}
.lef-light{
  left: 0px;
  transform-origin: left bottom;
  /* animation: rotate-left-bottom 2s infinite ease-in-out; */
}


@keyframes rotate-left-bottom {
  0% { transform: rotate(25deg); }
  50% { transform: rotate(-15deg); }
  100% { transform: rotate(25deg); }
}

.rig-light{
 right: 0px;
 transform-origin: right bottom;
 /* animation: rotate-right-bottom 2s infinite ease-in-out; */
}


@keyframes rotate-right-bottom {
  0% { transform: rotate(-25deg); }
  50% { transform: rotate(15deg); }
  100% { transform: rotate(-25deg); }
}
/* 游戏宣传视频 */
.videos {
  border-radius: 5px;
  width: calc(100% - 30px);

 margin: auto;

  position: relative;
  overflow: hidden;
  border: 4px solid gold;
  
  -webkit-box-shadow:0px 0px 11px 2px rgba(255,238,46,0.9);
  -moz-box-shadow: 0px 0px 11px 2px rgba(255,238,46,0.9);
  box-shadow: 0px 0px 11px 2px rgba(255,238,46,0.9);
 
  /* 使视频水平居中 */
}

video {

  padding: 0;
 width: 100%;
    border-radius: 5px;
    object-fit: cover;
    overflow-clip-margin: content-box;
    overflow: clip;
  margin: auto;
}

.downloadPanner{
  width: 100%;

  border-top: 4px solid goldenrod;
  position: relative;
  background: #27001b;
  margin-top: 10px;

  
}
.button_grounp{
  width: 50%;
  height: auto;
  position: absolute;
  bottom: 110px;
  right: 5%;

}
.buttonEle{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  border-radius: 3px;
  background-color: #4CAF50; /* Green */
  text-shadow: 0px 1px #256d27;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border: 2px solid yellow;
  color: white ;
  margin: 10px 0px;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;

}

.buttonEle:active{
  animation: Preesbottom 0.2s infinite;
}

@keyframes Preesbottom {
  0% {scale: 1;}
  30% { scale: 0.9;}
  100% {scale: 1;}
}

.buttonEle span{
margin-left: 5px;
}
.phoneIcon{
  width:32px;
  height: 32px;
 
}
.human{
  width: 70%;
  position: relative;
  padding-top: 10%;
  padding-bottom: 95px;
  left: -40px;
}

.screenshot{
  width: 100%;
  border-bottom: 2px solid goldenrod;
}
/* 下载栏 */
.download-bar {
  position: fixed;
  width: calc(100% - 20px);
  height: 80px;
  max-width: 768px;
  bottom: 15px;
  left: 0;
  right: 0;
  border-radius: 10px;
  z-index: 999;
  display: flex;
  align-items: center;
  margin: auto;
  background-color: white; 
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  animation: fade-in 1s ease-in-out;
  -webkit-box-shadow:0px 0px 41px 2px rgba(255,46,46,0.9);
  -moz-box-shadow: 0px 0px 41px 2px rgba(255,46,46,0.9);
  box-shadow: 0px 0px 41px 2px rgba(255,46,46,0.9);
}


@keyframes fade-in {
  0% {
    opacity: 0; /* 从完全透明开始 */
    transform: translateY(20px); /* 向上移动20像素 */
  }
  100% {
    opacity: 1; /* 结束时完全不透明 */
    transform: translateY(0); /* 回到原来的位置 */
  }
}
.icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;

 box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;


 margin-left: 10px;
}

.game-intro {
  flex-grow: 1;
  margin-left: 5px;
  font-weight: bold;
  font-size: 20px;
  color: #272727;
  text-shadow: 0px 1px rgb(117, 0, 0);
}

#play-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
  margin: 0px 10px;
  border-radius: 3px;
  font-weight: bold;
 box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
 text-shadow: 0px 1px #002750;
}


#download-button {
  padding: 10px 20px;
  background-color: #00ac00;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-right:10px;
  border-radius: 3px;
  font-weight: bold;
 box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
text-shadow: 0px 1px #005000;
animation: breathing 0.8s infinite;
}
@keyframes breathing {
  0% { transform: scale(0.9);background-color: #00ac00; }
  50% { transform: scale(1.1);background-color: #00bb00; }
  100% { transform: scale(0.9);background-color: #00ac00; }
}
#download-button:hover {
  background-color: #005e00;;
}

#play-button:hover {
  background-color: #002d5e;
}

#download-button:active {
  background-color: #005e00;
  animation: Preesbottom 0.2s infinite;
}

#play-button:active {
  background-color: #002d5e;
  animation: Preesbottom 0.2s infinite;
}

.ribbon{
  width: 100%;
  height: 40px;
  color: white;
  font-size: 30px;
  position: relative;
  display: block;

  margin-top: 10px;
  z-index: 2;

}



.glitch-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

}

.glitch {
  position: relative;
  font-size: 28px;
  font-weight: bold;
  color: #FFFF40;
  letter-spacing: 3px;
  z-index: 1;
}
.Tips{
  color: gold;
  font-size: 18px;
  padding:15px 0px;
  font-weight: bold;
  text-transform: uppercase;
}
.bigword{

}
.longglitch{
  font-size: 20px !important;
  margin-top: 0px !important;
}

.glitch:before,
.glitch:after {
  display: block;
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
}

.glitch:before {
  animation: glitch-it 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
  color: #FF862A;
  z-index: -1;
}

.glitch:after {
  animation: glitch-it 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
  color: #FF2A2A;
  z-index: -2;
}

@keyframes glitch-it {
  0% {
     transform: translate(0);
  }
  20% {
     transform: translate(-2px, 2px);
  }
  40% {
     transform: translate(-2px, -2px);
  }
  60% {
     transform: translate(2px, 2px);
  }
  80% {
     transform: translate(2px, -2px);
  }
  to {
     transform: translate(0);
  }
}
.hideen{
  display: none;
}