::-webkit-scrollbar {
  display: none;
}
@font-face {
  font-family: "DINOT-Bold";
  src: local("fontname Regular"), local("fontname"),
    url("https://game.happigo.com/public/static/App/font/HONORSans-Demibold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
* {
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.DINOT-Bold,
.dinot-bold {
  font-family: "DINOT-Bold";
}
.zihunguanxian {
  font-family: "zihunguanxian";
}
:root {
  --page-bg-mz: #ff749b;
  --page-bg-fs: #cebdef;
  --page-bg-jj: #00d1b4;
}
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td,
img,
object,
iframe,
applet,
figure,
aside,
span {
  border: thin none;
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  border: medium none;
  margin: 0;
  padding: 0;
  vertical-align: top;
}
a {
  cursor: pointer;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfloat:after {
  display: block;
  clear: both;
  content: "";
  visibility: hidden;
  height: 0;
}

.clearfloat {
  zoom: 1;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}
.mt10{margin-top: 0.2rem;}
a:hover {
  text-decoration: none;
}

html {
  width: 100%;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-user-select: none;
  -webkit-tap-highlight: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: none;
  overflow: -moz-scrollbars-vertical;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-size: 14px;
  font-size: 0.875em;
  font-family: "微软雅黑", Helvetica;
  min-width: 320px;
  max-width: 640px;
  padding: 0;
  line-height: 1.5em;
  -webkit-user-select: none;
  position: relative;
  margin: 0 auto;
  padding-bottom: 30px;

  background: #f4d69d
}
img {
  width: 100%;
}

.relative {
  position: relative;
}


/*swiper初始化样式*/

.swiper-container {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
  -webkit-box-flex: 1;
  flex: 1;
  -webkit-flex: 1;
}

.swiper-container-vertical > .swiper-wrapper {
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  -o-transition-property: -o-transform;
  -ms-transition-property: -ms-transform;
  transition-property: transform;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.swiper-container-android .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate(0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.swiper-slide {
  height: 100%;
  position: relative;
  -webkit-flex-shrink: 0;
  -ms-flex: 0 0 auto;
  flex-shrink: 0;
  text-align: center;perspective: 2000px;
}

.swiper-pagination {
  width: 100%;
  text-align: center;
  line-height: 16px;
}

.swiper-pagination-bullet {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #fff;
  margin: 0 3px;
  border-radius: 5px;
  font-size: 0;
  text-indent: -999em;
}
.swiper-pagination-bullet-active {
  background-color: #ffffff;
  width: 14px;height: 5px;border-radius: 5px;
}
.swiper-container .swiper-wrapper {
  -webkit-transition-timing-function: linear;
  /*之前是ease-out*/
  -moz-transition-timing-function: linear;
  -ms-transition-timing-function: linear;
  -o-transition-timing-function: linear;
  transition-timing-function: linear;
}
.banner{position: relative;}
.banner .logo{position: absolute;top: 0%;left:0%;width: 100%;z-index: 6;}
.banner .intro{    position: absolute;
    bottom: 25%;
    left: 8%;
    width: 84%;
    z-index: 7;
    color: #fff;
    font-size: 0.26rem;
    line-height: 0.38rem;}
.banner .intro .i1{position: absolute;top: 2px;left: -0.29rem;width: 0.22rem;}
.banner .swiper-pagination{position: absolute;bottom: 2rem;left: 0;right: 0;z-index: 5;}
.banner .swiper-slide-active{z-index: 100;}
.ef1{   transition: opacity 0.5s ease;            clip-path: circle(0% at 100% 100%);}
.ef1 img{transition: all 0.5s ease;transform: scale(107%);}
.swiper-slide-prev  .ef1{  
  /* animation: maskZoomIn 1s forwards; */
clip-path:circle(150% at 100% 100%);
}
.swiper-slide-prev  .ef1 img{  animation: maskZoomInactive 0.7s forwards;
}
.swiper-slide-active .ef1{ opacity: 1;animation: maskZoomIn 0.7s forwards;}     
.swiper-slide-active .ef1 img{ animation: maskZoomInactive 1s forwards;}     
@keyframes maskZoomIn {
    0% {
        clip-path: circle(0% at 100% 100%);
    }
    100% {
        clip-path: circle(150% at 100% 100%);
    }
}
@keyframes maskZoomInactive {
    0% {
        transform: scale(100%);
    }
    100% {
       transform: scale(107%);
    }
}
.box1{margin-top: -2rem;position: relative;z-index: 3;}
.box2-c{margin: 0 0.24rem;position: relative;}
.box2-c1{border-radius: 0.24rem;overflow: hidden;}
.box2-c img{border-radius: 0.12rem;}
.box2-c .swiper-pagination-bullet-active{background-color: #fff;}

.box-reason{position: relative;background: #e9b461;padding: 0.32rem 0.3rem 0.3rem 0.3rem;margin-top: 0.4rem;border-radius: 0.24rem;color: #fff;font-size: 0.26rem;line-height: 0.39rem;}
.box-reason .reason-h2{position: absolute;top: -0.2rem;left: 0.3rem;z-index: 3;width: 6.65rem;}
.box-reason div{font-size: 0.26rem;}

.box-video{margin-top: 0.24rem;}
.play-button {            position: absolute;            top: 50%;            left: 50%;            transform: translate(-50%, -50%);            width: 0.84rem;            height: 0.84rem;            border-radius: 50%;            background-color: rgba(255, 255, 255, 0.8);            display: flex;            align-items: center;            justify-content: center;            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);            transition: all 0.3s ease;            z-index: 10;        }

.box-goods{margin-top: 0.24rem;}
.box-goods  .hot-goods .swiper-slide{width: 100%;}
.box-goods  .hot-goods .swiper-slide:last-child .item-3{margin-bottom: 0;}
.box-goods .item-3{position: relative;overflow: hidden;padding: 0;background: #fff;border-radius: 0.24rem;padding: 0.16rem;margin-bottom: 0.28rem;}
.box-goods  .item-3-con{display: flex;}
.box-goods  .item-3-con .item-3-goods{position: relative; width: 2.4rem;height: 2.4rem;border-radius: 0.2rem;overflow: hidden;background: #e2e2e2;}
.box-goods .item-3-con .title {  font-size: 0.3rem; text-align: left;   color: #111;  text-overflow: ellipsis;  overflow: hidden;  display: -webkit-box; -webkit-line-clamp: 2;  line-height: 0.4rem;  height: 0.78rem;  -webkit-box-orient: vertical;  word-break: break-all;margin-top: 0.06rem;}
.box-goods .price-container4{position: absolute;bottom: 0;left: 0;right: 0;display: flex;align-items: center;}
.box-goods .price-container4 img{width: 0.41rem;}
.box-goods .m-block{margin-top: 0.14rem;}
.box-goods .m-block .m-div{display: inline-block;vertical-align: top;background: #fbeae9;padding: 0 3px;font-size: 0.24rem; color: #d52e25;border-radius: 4px;height: 0.32rem;line-height: 0.32rem;}
.box-goods .p-c4-p2{    flex: 1;   color: #E8092F;font-size: 0.26rem;   line-height: 1em;}
.box-goods .p-c4-p2 .amount1{font-weight: 600;font-size: 0.4rem;color: #E8092F;line-height: 0.32rem;}
.box-goods .item-3-goods-con{margin:0 5px 0 0.22rem;flex:1;text-align: left;position: relative;}
.box-goods  .item-3 .del-p{color: #999;text-decoration: line-through; height: 0.28rem;line-height: 0.28rem; font-size: 0.26rem;font-weight: bold;}
.box-goods .md{color: #666;font-size: 0.26rem;margin-top: 0.08rem;}

/* 弹出层样式 */
        .video-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            padding: 16px;
        }
        
        .video-modal.active {
            display: flex;
        }
        
        .modal-content {
            position: relative;
            width: 100%;
            max-width: 100%;
            height: 100%;
            max-height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .close-button {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 40px;
            height: 40px;
            background-color: rgba(0, 0, 0, 0.5);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 24px;
            cursor: pointer;
            z-index: 1010;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .modal-video {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .toTop {
  position: fixed;
  bottom: 12%;
  right: 2%;
  width: 10%;
  z-index: 200;
}