* {
    font-size: .24rem
}

* {
    margin: 0;
    padding: 0
}

blockquote,
body,
button,
dd,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
input,
legend,
li,
ol,
p,
pre,
td,
textarea,
th,
ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

button,
img,
input,
select,
textarea {
    vertical-align: middle;
    outline: 0;
    border: 0
}

body,
html {
    min-height: 100%
}

html * {
    outline: 0;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: transparent
}

*,
:after,
:before {
    -webkit-tap-highlight-color: transparent
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    overflow-x: hidden;
    background-color: #202633 !important;

}

:root {
    --sat: env(safe-area-inset-top);
    --sar: env(safe-area-inset-right);
    --sab: env(safe-area-inset-bottom);
    --sal: env(safe-area-inset-left)
}

a {
    text-decoration: none;
    color: #999
}

em,
i {
    font-style: normal;
    font-weight: 500
}

li,
ol,
ul {
    list-style: none
}

img {
    font-size: 0;
    line-height: 0;
    border: 0;
    vertical-align: middle
}

* {
    outline: 0;
    -webkit-tap-highlight-color: transparent
}

input[type=button] {
    -webkit-appearance: none
}

::-webkit-scrollbar {
    display: none
}

.main {
    height: 100%;
    margin: 0 auto;
    max-width: 7.5rem;
    background-image: url("./images/bg@2x.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.top{
    width:100%;
    cursor: pointer;
}

.top img{
    width:100%;
}

/* 轮播图容器样式 */
.carousel {
    position: relative;
    width: 100%;
    height: 5rem;
    overflow: hidden;
}

/* 图片容器 */
.carousel-inner {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.carousel-inner img {
    width: 100%;
    height: 5rem;
}

/* 单个图片样式 */
.carousel-item {
    flex-shrink: 0;
    width: 100%;
    height: auto;
}

/* 导航按钮容器 */
.carousel-indicators {
    position: absolute;
    bottom: 0.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

/* 导航按钮样式 */
.carousel-btn {
    width: 0.15rem;
    height: 0.15rem;
    border-radius: 50%;
    background: #78819f;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

/* 激活状态按钮 */
.carousel-btn.active {
    background: #cc8730;
}

.footer img {
    width: 100%;
    height: 15rem;
}
.futop{
    margin-top: -5rem;
}

.center{
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

.center img{
    width: 6.8rem;
    height: 11.18rem;
	/* height: 100%; */
}

/*------按钮闪光效果-----------*/
.xiazai {
    width: 4.71rem;
    height: 1.11rem;
    margin: 0 auto;
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 999;
    cursor: pointer;
    transition: transform 0.2s ease; 
}

.xiazai img {
    width: 4.71rem;
}

.xiazai:active{
   transform: translateX(-50%) scale(0.9);
} 


.xiazai.shark-wrap::after {
    content: '';
    position: absolute;
    inset: -20%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 60%);
    animation: shark-wrap 6s infinite;
    animation-delay: 1s;
    transform: translateX(-100%);
}

@keyframes shark-wrap {
    0% {
        transform: translateX(-100%);
    }

    40% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}