@import url("css2.css");
@import url("bootstrap-icons.css");
@import url("bootstrap.min.css");
@import url("owl.carousel.min.css");
@import url("owl.theme.default.min.css");
@import url("glightbox.min.css");
@import url("aos.css");

* {
  outline: none;
}

html,
body,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
}

a {
  color: #333;
}

a:hover,
a:active,
a:focus {
  transition: all ease-in-out 0.3s;
}

:focus-visible {
  outline: none;
}

button:focus:not(:focus-visible) {
  box-shadow: 0 0 1.375rem rgba(229, 184, 244, 0.3);
}

.btn-wrapper {
  height: auto;
}

.btn-wrapper .menu-toggle {
  min-height: 40px;
}

.btn-wrapper .menu-toggle .icon-bars {
  display: block;
  width: 2rem;
  height: 2px;
  background-color: #ffffff;
  position: relative;
  transition: transform 0.3s ease-in, background-color 0.2s ease;
}

.btn-wrapper .menu-toggle .icon-bars::before,
.btn-wrapper .menu-toggle .icon-bars::after {
  display: block;
  width: 2rem;
  height: 2px;
  background-color: #ffffff;
  content: "";
  position: absolute;
  left: 0;
  transition: top 0.3s 0.3s ease-in, transform 0.3s ease-in, background-color 0.2s ease;
}

.btn-wrapper .menu-toggle .icon-bars::before {
  top: 0.5em;
}

.btn-wrapper .menu-toggle .icon-bars::after {
  top: -0.5em;
}

.btn-wrapper .menu-toggle:active .icon-bars {
  transition: transform 0.3s 0.2s ease-in, background-color 0.2s ease;
  transform: rotate3d(0, 0, 1, 135deg);
}

.btn-wrapper .menu-toggle:active .icon-bars::before {
  transition: top 0.2s ease-in, transform 0.3s 0.2s ease-in, background-color 0.2s ease;
  transform: rotate3d(0, 0, 1, 90deg);
  top: 0;
}

.btn-wrapper .menu-toggle:active .icon-bars::after {
  transition: top 0.2s ease-in, transform 0.3s 0.2s ease-in, background-color 0.2s ease;
  transform: rotate3d(0, 0, 1, 90deg);
  top: 0;
}

.menu--is-revealed .menu-toggle .icon-bars {
  transition: transform 0.3s 0.2s ease-in, background-color 0.2s ease;
  transform: rotate3d(0, 0, 1, 135deg);
}

.menu--is-revealed .menu-toggle .icon-bars::before {
  transition: top 0.2s ease-in, transform 0.3s 0.2s ease-in, background-color 0.2s ease;
  transform: rotate3d(0, 0, 1, 90deg);
  top: 0;
}

.menu--is-revealed .menu-toggle .icon-bars::after {
  transition: top 0.2s ease-in, transform 0.3s 0.2s ease-in, background-color 0.2s ease;
  transform: rotate3d(0, 0, 1, 90deg);
  top: 0;
}

html {
  font-size: 1rem;
}

body {
  font-family: PingFangSC, PingFang SC;
  background: #fff;
  color: #000;
}

a,
a:hover {
  text-decoration: none;
}

.font-small {
  font-size: 1.125rem;
}

.font-extra-small {
  font-size: 0.875rem;
}

.font-black {
  font-weight: 800;
}

/*-- background color css --*/

.theme-bg-secondary {
  background-color: #2D033B;
}

.theme-bg-accent-one {
  background-color: #E5B8F4;
}

.theme-bg-f {
  background-color: #fff;
}

.theme-bg-f6 {
  background-color: #f6f6f6;
}

.theme-bg-00 {
  background-color: #000;
}

/*-- text color css --*/
.theme-text-white {
  color: #ffffff;
}

.theme-text-dark {
  color: #333;
}

.theme-text-primary {
  color: #9D82BD;
}


.theme-text-9d {
  color: #9D82BD;
}

.theme-text-33 {
  color: #333;
}

/*-- shadow css --*/
.theme-box-shadow {
  box-shadow: 0 0 1.375rem rgba(229, 184, 244, 0.3);
}

.theme-text-shadow {
  text-shadow: 0 0 1.375rem rgba(229, 184, 244, 0.1);
}

.theme-border-radius {
  border-radius: 2.5rem;
}

.padding-75 {
  padding: 7.5rem 0;
}

.l-relative {
  position: relative;
}

.margin-top-80 {
  margin-top: 80px;
}

/*-- custom button css*/
.custom-btn-primary {
  background-color: #810CA8;
  color: #ffffff;
  min-width: 170px;
  min-height: 50px;
  border: 0;
}

.custom-btn-secondary {
  background-color: #2D033B;
  color: #ffffff;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
}

.custom-btn-secondary:hover {
  background-color: #810CA8;
  color: #ffffff;
}

/*-- primary button effect css --*/
.primary-btn-effect {
  position: relative;
  cursor: hand;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 10;
}

.primary-btn-effect:hover {
  color: #000000;
}

.primary-btn-effect:hover::before {
  opacity: 1;
  width: 116%;
}

.primary-btn-effect:hover::after {
  opacity: 1;
  width: 120%;
}

.primary-btn-effect::before {
  content: "";
  width: 0%;
  height: 100%;
  display: block;
  background: #E5B8F4;
  position: absolute;
  transform: skewX(-20deg);
  opacity: 1;
  left: -10%;
  top: 0;
  z-index: -12;
  transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.primary-btn-effect::after {
  content: "";
  width: 0%;
  height: 100%;
  display: block;
  background: #810CA8;
  position: absolute;
  transform: skewX(-20deg);
  left: -10%;
  opacity: 0;
  top: 0;
  z-index: -15;
  transition: all 0.4s cubic-bezier(0.2, 0.95, 0.57, 0.99);
  box-shadow: 2px 0px 14px rgba(0, 0, 0, 0.6);
}

/*-- secondary button css --*/
.icon-wrapper {
  box-shadow: 0 0 0px 0px rgba(45, 3, 59, 0.5);
  cursor: pointer;
  border-radius: 50%;
  transition: 250ms color;
  animation-name: wave;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes wave {
  0% {
    box-shadow: 0 0 0px 0px rgba(45, 3, 59, 0.5);
  }

  100% {
    box-shadow: 0 0 0px 15px rgba(45, 3, 59, 0);
  }
}

a.effect {
  color: #E5B8F4;
}

a.effect i {
  padding-left: 0.5rem;
}

a.effect:hover {
  color: #810CA8;
}

a.effect:hover i {
  color: #810CA8;
}

a.effect:hover i:before {
  transform: translateX(5px);
  transition: all 0.2s ease;
}

a.effect .bi:before {
  transition: all 0.2s ease;
}

/*-- image hover effect --*/
.img-effect img {
  transition: all 0.4s ease-in-out;
}

.img-effect:hover img {
  transform: scale(1.5);
}

.z-2 {
  z-index: 2;
}

.mt-8 {
  margin-top: 8rem;
}

.svg-sprt {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentcolor;
}

nav {
  position: relative;
}

@media screen and (max-width: 767px) {
  nav .navbar-brand {
    width: 60%;
  }
}

.switch {
  display: flex;
  align-items: center;
}

.switch .dropdown button {
  color: inherit;
  box-shadow: none;
}

.switch .dropdown .dropdown-menu {
  width: auto;
  border-radius: 0;
  padding: 0;
  min-width: auto;
}

.switch .dropdown .dropdown-menu li {
  width: auto;
}

.switch .dropdown .dropdown-menu li .dropdown-item {
  width: auto;
  margin: 0;
  padding: 6px;
}

.switch .dropdown .dropdown-menu li .dropdown-item:active,
.switch .dropdown .dropdown-menu li .dropdown-item.active {
  background-color: #008CFF;
}


.page-loader {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: #000000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-loader .spinner {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, transparent 40%, #810CA8), linear-gradient(#810CA8, #2D033B);
  animation: spin 1.5s linear infinite;
}

.page-loader .spinner:before,
.page-loader .spinner:after {
  content: " ";
  position: absolute;
  inset: 2px;
  background: #000000;
  border-radius: inherit;
}

.page-loader .spinner:before {
  background: linear-gradient(45deg, transparent, transparent 40%, #810CA8);
  filter: blur(32px);
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
    filter: hue-rotate(360deg);
  }
}

.header {
  background: #fff;
}

.header.fixed-top {
  animation-name: fadeInDown;
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.header .navbar-nav .nav-item .nav-link {
  color: #000;
  padding: 1.7rem 1rem;
  font-size: 1rem;
  font-weight: 600;
}

@media screen and (max-width: 992px) {
  .header .navbar-nav .nav-item .nav-link {
    padding: 0.8rem 0rem;
    border-bottom: 1px solid #878A9B;
  }
}

.header .navbar-nav .nav-item .active:after {
  content: "";
  width: 1.25rem;
  height: 6px;
  background: #810CA8;
  position: absolute;
  bottom: 0;
  display: block;
  left: 33%;
  border-radius: 3rem;
}

@media screen and (max-width: 992px) {
  .header .navbar-nav .nav-item .active:after {
    left: 0;
  }
}

.header .navbar-nav .nav-item .dropdown-menu {
  border-radius: 0;
  border: 0;
  padding: 0;
  box-shadow: 0 0 1.375rem rgba(229, 184, 244, 0.3);
}

.header .navbar-nav .nav-item .dropdown-menu .dropdown-item {
  color: #000000;
  padding: 0.8rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.header .navbar-nav .nav-item .dropdown-menu .dropdown-item:hover {
  background-color: #810CA8;
  color: #ffffff;
}

/*-- nav button effect css --*/
.nav-effect {
  position: relative;
}

.nav-effect::before {
  content: "";
  position: absolute;
  bottom: 0%;
  left: 33%;
  width: 1.25rem;
  height: 6px;
  background: #810CA8;
  transform-origin: center center;
  transform: scale(0, 1);
  transition: transform 0.4s cubic-bezier(1, 0, 0, 1);
  border-radius: 3rem;
}

@media screen and (max-width: 992px) {
  .nav-effect::before {
    left: 0%;
  }
}

.nav-effect:hover:before {
  transform-origin: center center;
  transform: scale(1, 1);
}

.banner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 11rem 0 13rem;
  height: 100vh;
  font-family: SourceHanSerifCN, SourceHanSerifCN;
}

.banner-container h1 {
  font-size: 4rem;
}



.banner-container .code-box {
  background: linear-gradient(180deg, #642EFE 0%, #B695FF 100%);
}

.banner-container .code-box .code-img {
  width: 9.8rem;
  height: 9.8rem;
}

@media screen and (max-width: 1920px) {
  .banner-container {
    padding: 8rem 0;
  }
}

@media screen and (max-width: 992px) {
  .banner-container {
    padding: 5rem 0;
  }

  .banner-container h1 {
    font-size: 2rem;
  }

  .banner-container .code-box .code-img {
    width: 7.2rem;
    height: 7.2rem;
  }
}

.animate-charcter {
  background-image: linear-gradient(225deg, #9B9B9B 0%, #612EF9 100%);
  background-size: auto auto;
  background-clip: border-box;
  background-size: 100% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

/* 精准洞察 */
.look-container .item .avatar figure {
  width: 6.2rem;
  height: 6.2rem;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  /* padding: 40%; */
  padding: 2rem;
  box-sizing: border-box;
  bottom: 0;
  transform: translate(-50%, 34%);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

/* .look-container .item .avatar figure img {
  margin: 40%;
} */

.look-container .owl-nav {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .look-container .owl-nav {
    left: 0;
  }
}

.look-container .owl-nav .owl-prev,
.look-container .owl-nav .owl-next {
  background: #ffffff !important;
  color: #810CA8 !important;
  box-shadow: 0 0 1.375rem rgba(229, 184, 244, 0.3);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 2rem !important;
}

.look-container .owl-nav .owl-prev:hover,
.look-container .owl-nav .owl-next:hover {
  background: #2D033B !important;
  color: #ffffff !important;
}

.look-container .owl-nav .owl-prev {
  position: absolute;
  left: 0;
}

.look-container .owl-nav .owl-next {
  position: absolute;
  right: 0;
}

/* 即时对话 */
.contact-container {
  background: url('../images/part3_1.png') no-repeat center center;
  background-size: cover;
  z-index: 1;
}

.contact-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20vw;
  height: 100%;
  background: url('../images/part3_2.png') no-repeat center center;
  background-size: cover;
  z-index: 0;
}

.contact-container::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20vw;
  height: 100%;
  background: url('../images/part3_3.png') no-repeat center center;
  background-size: cover;
  z-index: 0;
}

.contact-container .title {
  position: relative;
}

.contact-container .title::before {
  position: absolute;
  content: '';
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  background: url('../images/part3_4.png') no-repeat center center;
  background-size: 100% 100%;
  width: 100%;
  height: 40px;
}

.content {
  background: rgba(127, 82, 199, 0.3);
  backdrop-filter: blur(10px);
  z-index: 2;
  position: relative;
}


@media screen and (max-width: 767px) {
  .contact-container:before {
    display: none;
  }

  .contact-container::after {
    display: none;
  }
}

/* 沉浸占卜 */


.zhanbu-container::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 29%;
  height: 33%;
  background: url('../images/butterfly.png') no-repeat center center;
  background-size: contain;
}

.zhanbu-container .zhanbu-container-card .title {
  margin-bottom: 1rem;
}

/* 个性角色 */
.role-container .cardeffect {
  transition: all 500ms ease-in-out;
  position: relative;
  padding-bottom: 179%;
  background-size: cover !important;
}


.role-container .cardeffect:hover {
  transform: translateY(-10px);
  cursor: pointer;
  box-shadow: 0 0 1.375rem rgba(229, 184, 244, 0.3);
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.role-container .cardeffect-1 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}

.role-container .cardeffect h3 {
  background: linear-gradient(90deg, #C263FF 0%, rgba(30, 93, 248, 0.31) 100%);
  border-radius: 0px 21px 21px 0px;
  padding: 0.5rem 2rem;
}

.role-container .cardeffect span {
  border: 1px solid #4D3397;
  background: #200F50;
}

/* 底部 */
.footer-container {
  position: relative;
  background: url('../images/footer.png') no-repeat center center;
  background-size: cover;
}

.footer-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}

.footer-container .footer-container1 .logo {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 160px;
  height: 50px;
}

.footer-container .footer-container1 .code-box {
  background: url('../images/footer1.png') no-repeat center;
  background-size: 100% 100%;
  position: relative;
}

.footer-container .footer-container1 .code-box1 {
  background: linear-gradient(180deg, #642EFE 0%, #B695FF 100%);
  padding: 0.75rem;
  margin: 4.5rem 7rem 1.5rem;
}

.footer-container .footer-container1 .code-box img {
  max-width: 158px;
  height: auto;
}

.footer-container .footer-container1 .btn {
  background: rgba(143, 85, 235, 0.47);
  font-size: 1.5rem;
}

@media screen and (max-width: 992px) {
  .footer-container .footer-container1 .logo {
    position: relative;
    padding-bottom: 3rem;
    width: 120px;
    height: 35px;
  }

  .footer-container .footer-container1 .btn {
    font-size: 1rem;
  }
}

/* 滚动 */

.scrollup {
  overflow: hidden;
  position: fixed;
  height: 3rem;
  width: 3rem;
  line-height: 3rem;
  border-radius: 50%;
  bottom: -3rem;
  right: 2rem;
  text-align: center;
  z-index: 1;
  background-color: rgba(45, 3, 59, 0.8);
  display: block;
  color: #ffffff;
  transition: all 0.5s cubic-bezier(0, 0, 0.15, 1.88);
}

.scrollup i {
  font-size: 1.5rem;
  display: inline-block;
  transition: all 0.5s ease-out;
}

.scrollup i:hover,
.scrollup i:focus {
  animation: toBottomFromTop 0.5s forwards;
}

.scrollup:hover,
.scrollup:focus {
  color: #810CA8;
}

.scrollup.back-top {
  bottom: 20px;
}

@keyframes toBottomFromTop {
  49% {
    transform: translateY(-20%);
  }

  50% {
    opacity: 0;
    transform: translateY(20%);
  }

  51% {
    opacity: 0;
  }

  80% {
    opacity: 1;
  }
}

/* 视频背景容器样式 */
.video-background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  /* width: auto;
  height: auto; */
  transform: translate(-50%, -50%);
  object-fit: cover;
}


.h_100 {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 992px) {
  .h_100 {
    display: block;
    /* min-height: 100vh;
    padding: 0; */
  }

  /* .padding-75 {
    padding: 6rem 0;
  } */

}

/* 在main.css或<style>标签中添加 */
#home,
#mengling,
#look,
#conversation,
#divination,
#role {
  scroll-margin-top: 80px;
  /* 根据导航栏实际高度调整，此处以80px为例 */
}

/* 在样式表中添加以下代码 */
@media (max-width: 767px) {
  .video-background video {
    display: none;
  }

  .video-background {
    background: url('../images/banner.png') no-repeat center center;
    background-size: 100% 100%;
  }

  .video-background::after {
    content: '';
    position: absolute;
    right: -15%;
    bottom: 10%;
    width: 100%;
    height: 40%;
    background: url('../images/video.gif') no-repeat center center;
    background-size: contain;
  }
}