@import url("./reset.css");
html {
  height: 100%;
  font-family: "Microsoft YaHei", "Microsoft JhengHei", arial, sans-serif,
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue",
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  background-color: #001f3c;
}

h1,
h2,
h3,
p,
ul,
li,
a {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style-type: none;
}

img,
a {
  display: block;
}

.e-header {
  font-size: 10px;
}

#main {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

.clearfix {
  display: block;
  clear: both;
}

.clearfix::before {
  content: "";
  display: block;
  visibility: hidden;
  font-size: 0;
  height: 0;
  clear: both;
}

.clearfix::after {
  content: "";
  display: block;
  visibility: hidden;
  font-size: 0;
  height: 0;
  clear: both;
}

.banner-posi {
  position: relative;
  z-index: 20;
  top: -74px;
  margin-bottom: -74px;
}

.web-banner {
  width: 100%;
  height: 0;
  padding-bottom: 33.0833333%;
  background: url("../images/pointLevel260121/banner_bg.png") no-repeat;
  background-size: 100% 100%;
  background-position: top center;
  height: 640px;
}

.web-page {
  width: 100%;
  font-size: 16px;
  color: #333333;
}

.inner {
  overflow: hidden;
  width: 1200px;
  margin: 0 auto;
}

/* --- 基础容器 --- */
.web-banner .inner .innerDiv {
  display: contents; /* 这里的 display: contents 可能会影响 absolute 定位基准，建议改为 block 并保持 relative */
  /* 如果 display: contents 是为了配合其他框架，请确保 .inner 是 relative */
  position: relative;
  width: 100%;
}

/* --- 图片定位与层级 (Z-Index Sandwich) --- */

/* 1. 标题 */
.web-banner .inner .innerDiv img.banner_title {
  position: absolute;
  width: 520px;
  top: 135px;
  left: 495px;
  height: auto;
  margin: 0 auto;
  z-index: 10; /* 最顶层 */
}

/* 2. 红包 */
.web-banner .inner .innerDiv img.banner_red_envelop {
  position: absolute;
  width: 954px;
  top: 330px;
  left: 350px;
  height: auto;
  margin: 0 auto;
  z-index: 6; 
}

/* 3. 礼盒底座 (Base) */
.web-banner .inner .innerDiv img.banner_box_bg {
  position: absolute;
  width: 646px;
  top: 75px;
  right: 244px;
  height: auto;
  margin: 0 auto;
  /* 关键：层级要低，作为背景 */
  z-index: 5; 
}

/* 4. 礼盒盖子 (Lid) */
.web-banner .inner .innerDiv img.banner_box {
  position: absolute;
  width: 462px;
  bottom: 173px;
  right: 500px;
  height: auto;
  margin: 0 auto;
  /* 关键：层级高 (9)，初始状态要盖住马 (7) */
  z-index: 9; 
  /* 初始状态可见 */
  opacity: 1;
}

/* 5. 马 (Horse) */
.web-banner .inner .innerDiv img.banner_horce {
  position: absolute;
  width: 384px;
  bottom: 117px;
  right: 412px;
  height: auto;
  margin: 0 auto;
  /* 关键：层级在底座(5)和盖子(9)之间 */
  z-index: 7;
  /* 初始状态透明，等待弹出 */
  opacity: 0;
}

/* 5. 骰子 */
.web-banner .inner .innerDiv img.banner_dice {
  position: absolute;
  width: 165px;
  top: 80px;
  right: 380px;
  height: auto;
  margin: 0 auto;
  z-index: 7;
}

/* 5. 财宝 */
.web-banner .inner .innerDiv img.banner_treasure {
  position: absolute;
  width: 230px;
  top: 190px;
  right: 412px;
  height: auto;
  margin: 0 auto;
  z-index: 6;
}

/* =========================================
   新增：氛围元素的持续循环动画
   ========================================= */

/* --- 优化：骰子悬浮 (增加阴影变化，增强空间感) --- */
@keyframes diceFloatLoop {
  0%, 100% {
    /* 低位：阴影深且实 */
    transform: translateY(0) rotate(0deg);
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.4));
  }
  50% {
    /* 高位：阴影淡且虚，模拟离地效果 */
    transform: translateY(-15px) rotate(5deg);
    filter: drop-shadow(0 25px 15px rgba(0,0,0,0.15));
  }
}

/* --- 优化：财宝呼吸 (增加金色外发光) --- */
@keyframes treasurePulseLoop {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 215, 0, 0));
  }
  50% {
    transform: scale(1.05);
    /* 高亮并增加一圈金色光晕 */
    filter: brightness(1.2) drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
  }
}

/* 骰子应用类 (保持时间设置) */
.animate-dice-float {
  animation: diceFloatLoop 3s ease-in-out 2.2s infinite;
  transform-origin: center center;
}

/* 财宝应用类 (保持时间设置) */
.animate-treasure-pulse {
  animation: treasurePulseLoop 2.5s ease-in-out 2.3s infinite;
  transform-origin: center bottom;
}

/* --- 修正后的马儿循环动画：整体垂直跳跃 --- */
@keyframes horseJumpLoop {
  0% {
    /* 地面状态 */
    transform: translateY(0px) scale(1);
  }
  45% {
    /* 最高点：整体向上平移，稍微变大一点点（模拟腾空靠近视觉） */
    /* 移除了 rotate(-3deg)，彻底消除“歪着跳”或“一边动”的感觉 */
    transform: translateY(-15px) scale(1.02);
  }
  100% {
    /* 落地 */
    transform: translateY(0px) scale(1);
  }
}

/* --- 关键帧动画定义 --- */

/* 新版盖子动画：往左下角滑落，且不消失 */
@keyframes lidOpenBottomLeft {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    /* 增加 rotate(-10deg)，让盖子滑落时稍微有些倾斜，符合物理直觉 */
    transform: translate(-200px, 176px) rotate(-10deg);
  }
}

/* 马儿弹出动画 (保持不变，或者微调弹出高度) */
@keyframes horsePopEffect {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.5); /* 初始在下方 */
  }
  60% {
    opacity: 1;
    transform: translateY(-20px) scale(1.1); /* 弹性冲顶 */
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1); /* 回到原位 */
  }
}

/* --- 动画触发类 --- */

/* 盖子：应用新动画 */
.animate-lid-open {
  /* 使用 ease-out 让滑落感觉更有重力感 (开始快，结束慢) */
  animation: lidOpenBottomLeft 1.2s ease-out forwards;
  /* 延迟保持不变，等底座出现后再动 */
  animation-delay: 1.2s;
}

/* 马：应用组合动画 */
.animate-horse-pop {
  opacity: 0;

  /* 设置变换基点为底部中心，这样缩放时看起来更稳 */
  transform-origin: center bottom;

  animation:
    /* 1. 弹出动画 (保持不变) */
    horsePopEffect 1s cubic-bezier(0.34, 1.56, 0.64, 1) 1.6s forwards,

    /* 2. 循环跳跃 (应用上面修改后的动画) */
    /* 时间设为 2s，infinite 无限循环 */
    horseJumpLoop 2s ease-in-out 2.6s infinite;
}

.web-page.block1 {
  position: relative;
  width: 100%;
  background: url("../images/pointLevel260121/block1_bg.png") no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: auto;
}

.web-page.block1 .inner {
  max-width: 1329px;
  width: 100%;
}

.web-page.block1 .layout-box {
  width: 100%;
  margin: 50px auto 80px;
  height: 0;
  position: relative;
  height: auto;
}

.web-page.block1 .layout-box .block_title1 {
  background: url("../images/pointLevel2501/block1_title.png")
    center no-repeat;
  background-size: 100% 100%;
  width: 778px;
  height: 252px;
  margin: 0 auto;
  position: relative;
}

.web-page.block1 .layout-box .block_title1 .block1_num {
    background: url("../images/pointLevel2501/block1_num.png")
      center no-repeat;
    background-size: 100% 100%;
    position: absolute;
    width: 0.47rem;
    height: .81rem;
    margin: 0 auto;
    left: 50%;
    top: 30%;
  }

.web-page.block1 .inner .layout-box .monopoly {
  margin: 0 auto;
  background: url("../images/pointLevel2402/monopoly.png")
    center no-repeat;
  background-size: 100% 100%;
  max-width: 8.88rem;
  width: 100%;
  height: 9.35rem;
  position: relative;
}

.block_title2{
    width: 100%;
    margin: 0 auto;
}

.block_title2 img{
    margin: 0 auto;
}

/* 按鈕 */
.web-page.block1 .diceBtn {
  position: relative;
  left: 0;
  right: 0;
  top: 32%;
  width: 100%;
  text-align: center;
  z-index: 99;
  font-weight: 700;
}

.web-page.block1 .diceBtn a {
  width: 27%;
  margin: 0 1%;
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  cursor: pointer;
}

/* 修改按钮动画为：带有弹性的心跳感 */
.web-page.block1 .diceBtn a img {
  width: 100%;
  height: auto;
  /* 使用 heartBeat 动画 */
  animation: heartBeatBtn 2s ease-in-out infinite;
  transform-origin: center bottom;
  /* 鼠标放上去时暂停动画，或者放大 */
  transition: transform 0.3s;
}

.web-page.block1 .diceBtn a img:hover {
  transform: scale(1.1);
}

@keyframes heartBeatBtn {
  0% { transform: scale(1); }
  15% { transform: scale(1.1) translateY(-5px); } /* 快速变大 */
  30% { transform: scale(1); } /* 回弹 */
  45% { transform: scale(1.1) translateY(-5px); } /* 再次变大 (双次心跳) */
  60% { transform: scale(1); }
  100% { transform: scale(1); } /* 停顿 */
}

.web-page.block1 .pointer {
  background: url("../images/pointLevel260121/pointer.png") center no-repeat;
  background-size: 100% 100%;
  position: absolute;
  transform: translate(-23%, 101%);
  width: 100%;
  max-width: 3.36rem;
  height: 3.39rem;
  z-index: 99;
  animation: flash 3s 0.1s infinite;
}
/* 按鈕END */

.web-page.block1 .inner .layout-box .progressBar {
  margin: auto;
  background: url("../images/pointLevel260121/progressBar.png")
    center no-repeat;
  background-size: 100% 100%;
  width: 8.51rem;
  height: 2.18rem;
  position: relative;
  z-index: 99;
}

.web-page.block1 .terms-block {
  background: url("../images/pointLevel260121/terms_block_bg.png") no-repeat;
  background-size: 100% 100%;
  margin: 0 auto;
  max-width: 1110px;
  width: 100%;
  height: 1974px;
}

.web-page.block1 .terms-block .terms-content{
    color: #ffffff;
    font-family: 'Microsoft YaHei';
    padding: 1.5rem 0.5rem;
    line-height: 2;
    letter-spacing: 1px;
}

.web-page.block1 .terms-block .terms-content .item{
    margin-top: 45px;
}

.web-page.block1 .terms-block .terms-content h2{
    font-weight: 700;
    font-size: 28px;
}

.popup-bg {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.tc-hide {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  line-height: 1.8;
}

.tc-hide .masking {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 999;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.tc-hide .content {
  /* background: url("https://sc.cfygxz.com/source/www/zt/lp-img/pc/clawMachine2109/alert.png")
  no-repeat; */
  border-radius: 30px;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding-top: 0.5rem;
  text-align: center;
  font-size: 35px;
  font-family: "Microsoft YaHei", "Microsoft JhengHei", arial, sans-serif;
}

@media screen and (max-width: 1480px) {
  .web-page.block1 .layout-box .block_title1 {
    width: 7.78rem;
    height: 2.52rem;
  }

  .web-page.block1 .diceBtn {
    bottom: 40.5%;
  }
}

@media screen and (max-width: 1279px) {
  .web-banner {
    top: -95px;
    margin-bottom: -95px;
  }

  .web-page.block1 .inner .layout-box .monopoly {
    width: 80%;
    height: 8rem;
  }

  .web-page.block1 .pointer {
    height: 3rem;
    transform: translate(-23%, 83%);
  }
}

@media screen and (max-width: 1230px) {
  .web-page.block1 .pointer {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  .web-banner {
    top: -74px;
    margin-bottom: -74px;
  }

  .web-page.block1 .layout-box .block_title1 {
    width: 7.78rem;
    height: 2.52rem;
  }

  /* .web-page.block1 .layout-box {
    padding-bottom: 80%;
  } */

  .web-page.block1 .inner .layout-box .monopoly {
    width: 60%;
    height: 6rem;
  }

  .web-page.block1 .inner .layout-box .progressBar {
    width: 54%;
    height: 1.5rem;
  }
}

@media screen and (max-width: 960px) {
  .web-page.block1 .inner .layout-box .progressBar {
    width: 48%;
    height: 1rem;
  }
}

@media screen and (max-width: 915px) {
  .web-page.block1 .inner .layout-box .progressBar {
    display: none;
  }
}

@media screen and (max-width: 613px) {
  .web-banner {
    top: -98px;
    margin-bottom: -98px;
  }
}

@media screen and (max-width: 430px) {
  .web-page.block1 .layout-box .block_title1 {
    width: 7.78rem;
    height: 2.52rem;
  }

  .web-page.block1 .inner .layout-box .monopoly {
    width: 54%;
    height: 4rem;
  }

  .web-page.block1 .inner .layout-box .progressBar {
    display: block;
  }

}

@media screen and (max-width: 414px) {
  .web-page.block1 .pointer {
    transform: translate(-23%, 101%);
    height: 1.5rem;
    width: 1.3rem;
    display: block;
  }
}

@media screen and (max-width: 375px) {
  .web-page.block1 .pointer {
    transform: translate(-23%, 105%);
  }
}

/*# sourceMappingURL=duanwu.css.map */

/* AOS */
@keyframes flash {
  from,
  50%,
  to {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0.7;
  }
}

/* 自訂footer */
.web-footer {
  background-color: #021429;
  display: none;
}

.web-footer .item-1,
.web-footer .item-2 {
  color: #fff;
}

/*弹窗*/
#lottery-box {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 1.8;
  }
  
  .light-box a[type="button"] span {
    position: absolute;
    top: 45%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 30px;
    white-space: nowrap;
    font-family: "Microsoft YaHei", "Microsoft JhengHei", arial, sans-serif;
    font-weight: 600;
  }
  
  #lottery-box .light-box a[type="button"] {
    position: absolute;
    cursor: pointer;
    margin: 0 auto;
    top: 76%;
    left: 31%;
  }
  
  #lottery-box .light-box a[type="button"] img {
    content: url("https://www.cfd139.com/cn/zt/images/pointLevel2501/popup_btn.png");
    width: 324px;
    height: 127px;
  }
  
  
  #lottery-box .content > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 30px;
    padding-top: 0.7rem;
  }
  
  #lottery-box .content > ul li {
    margin: 0 45px;
    font-weight: bold;
    font-size: 29px;
    text-align: center;
  }
  
  #lottery-box .content > ul li > img {
    margin-bottom: 12px;
  }
  
  #lottery-box .light-box {
    position: absolute;
    /* top: -8%; */
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 9999;
    color: #edebeb;
  }
  
  #lottery-box .content {
    background: url("https://www.cfd139.com/cn/zt/images/pointLevel2501/popup_content.png") no-repeat;
    background-size: 100% 100%;
    width: 849.6px;
    height: 586.6px;
    position: absolute;
    left: 0;
    top: -100px;
    right: 0;
    bottom: 0;
    margin: auto;
    padding-top: 0.5rem;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }

  .light-box {
    display: block;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}


/* @media screen and (max-width: 1440px) {
  .banner {
    height: 430px;
  }
  .block1 {
    height: 770px;
  }
  .block2 {
    height: 370px;
  }
  .block3 {
    height: 560px;
  }
  .block4 {
    height: 760px;
  }
} */

.ios, .android{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

.ios img, .android img{
    width: 143px;
    margin-top: 20px;
}

.ios img:first-child, .android img:first-child{
    width: 216px;
    margin-top: 0px;
}

.ios-code:hover{
    transform: scale(1.1, 1.1);
}

.ios-title:hover{
    transform: scale(1.1, 1.1);
}

.ios a{
    display: flex;
    flex-flow: column;
    align-items: center;
}

.ios-title, .android-title{
    color:#ac0303;
    letter-spacing: 3px;
    font-size: 0.25rem;
}

.terms_subtitle{
    margin-top: 20px;
}

.terms_table{
    margin: 20px 0;
}

.web-fixed {
  position: fixed;
  bottom: -209px;
  left: 0;
  width: 100%;
  background: #03354e;
  height: 165px;
  text-align: center;
  z-index: 99999;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.web-fixed.show {
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  bottom: 0;
}

.web-fixed .item {
  overflow: hidden;
  display: inline-flex;
  margin: 0 60px;
}

.web-fixed a {
  overflow: hidden; /* 关键：把跑出去的光切掉 */
  display: block;
  width: 384.3px;
  height: 97.2px;
  
  /* 关键：设置圆角为高度的一半，使其变成完美的椭圆/胶囊形 */
  /* 你的高度是98px，所以这里设为 50px 就能完美贴合 */
  border-radius: 50px; 
  
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  color: #ffffff;
  margin: 20px auto;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  padding-top: 26px;
  cursor: pointer;
  
  /* 确保光效层能以按钮为基准定位 */
  position: relative; 
  z-index: 1; /* 保证文字在光效上面 */
}

.web-fixed a span {
  display: block;
  font-size: 18px;
}

.web-fixed a.account {
  background-image: url("../images/pointLevel260121/account_btn.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.web-fixed a.chat {
  background-image: url("../images/pointLevel260121/chat_btn.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* --- 新增：按钮扫光特效 --- */
.shine-effect {
  position: relative;
  overflow: hidden; /* 限制光效在按钮内部 */
}

/* --- 按钮扫光特效 (适配椭圆) --- */
.shine-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  
  /* 调整光束颜色：中间白，两边透明，带一点点倾斜 */
  background: linear-gradient(
    to right, 
    rgba(255,255,255,0) 0%, 
    rgba(255,255,255,0.6) 50%, /*稍微调高不透明度*/
    rgba(255,255,255,0) 100%
  );
  
  transform: skewX(-25deg);
  
  /* 关键：叠加混合模式，让光看起来更有质感 (不发灰) */
  /* 注意：如果发现光太暗，可以删掉这一行 mix-blend-mode */
  mix-blend-mode: overlay; 
  
  pointer-events: none; /* 让光束不影响点击 */
  z-index: 2;
  
  animation: shineFlow 3s infinite;
}

@keyframes shineFlow {
  0% { left: -150%; }
  40% { left: 150%; } /* 0-40% 快速划过 */
  100% { left: 150%; } /* 40-100% 停顿等待，避免光效太频繁晃眼 */
}