html, body {
    touch-action: none; /* 禁用触摸操作，包括放大缩小 */
    -ms-touch-action: none; /* IE/Edge兼容 */
}
.big-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    /* background-color: #fbfbfb; */
    overflow: hidden; /* 避免旋转时产生滚动条 */
    flex-direction: column;
    position: relative;
    height: 85vh;
    max-height: 1080px;
    perspective: 1000px; /* 控制3D效果的深度 */
    z-index: 1;

}
#circle-container {
    position: relative;
    cursor: grab; /* 显示为可拖动 */
    width: 100vw; /* 容器宽度设置为浏览器宽度 */
    height: 100vh; /* 容器高度设置为浏览器宽度 */
    transform-origin: center center; /* 确保旋转围绕圆心 */
    position: absolute;
    transform-style: preserve-3d; /* 保持3D空间 */
    z-index: 1000;
}

#circle-container:active {
    cursor: grabbing; /* 按下鼠标时显示抓取样式 */
}

.text-item {
    position: absolute;
    text-align: center;
    height: 45vh;
    max-width: 360px;
    max-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d; /* 保持3D效果 */
    transform-origin: center center; /* 让文本围绕其自身中心旋转 */
    -webkit-user-drag: none;  /* 禁止拖动 */
    cursor: pointer;
}


/* 正面和背面的容器 */
.front, .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden; /* 隐藏背面 */
}

/* 背面旋转180度，开始时背面不显示 */
.back {
    transform: rotateY(180deg);
}

#button-container {
    z-index: 1003;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}


#button-container button {
    cursor: pointer;
    border: none;
    background-color: transparent;
}
#rotate-right svg,#rotate-left svg{
    width: 20px;
    height: 28px;
}

/* 确保图片自适应并居中 */
.text-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 保证图片自适应 */
    -webkit-user-drag: none;  /* 禁止拖动 */
}

.rotating-star{
    max-width: 55px;
    max-height: 60px;
}
@media screen and (min-width:960px){
    .text-item{
        width: 20vw;
    }
    #button-container{
        bottom: 4%;
    }
    #circle-container {
        top: 40%;
    }
}
@media screen and (max-width:960px){
    .big-container{
        height: calc(100vh - 38px);
    }
    .text-item{
        width: 35vw;
    }
    #button-container{
        rotate: 90deg;
        right: -15px;
    }
    #circle-container {
        left: 50%;
    }
    #button-container{
        gap: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    #rotate-right svg{
        width: 20px;
        height: 20px;
    }
    .rotating-star{
        max-width: 30px;
    }
    #rotate-left svg{
        width: 20px;
        height: 20px;
    }
}

/*新增*/
/* .header.is-transparent::before{
    content: none;
} */