/*!
 * Bootstrap v3.3.6 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
@font-face {
  font-family: 'Nunito';
  src: url('../../fonts/Nunito-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html {
  font-family: "Nunito", "Avenir Next", "AvenirNextLTPro-Bold", sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 1;
}

body {
  font-family: 'Nunito', sans-serif !important;
  background-color: #fff;
  color: #0d0d0d;
  font-size: 14px;
}

@media (min-width: 768px) {
  .contauner {
    max-width: 80%;
    margin-right: auto;
    margin-left: auto;

  }
}

a {
  text-decoration: none;
}

.container {
  margin-top: 60px !important;
}

/* 字体大小 */
.fs-7 {
  font-size: 14px !important;
}

.fs-8 {
  font-size: 12px !important;
}
.fs_16{
  font-size: 16px !important;
}
.fs-18 {
  font-size: 18px !important;
}

/* 背景颜色 */
.bg-zth {
  background-color: #fff !important;
}

.bg-zth1 {
  background-color: #fff !important;
}

.bg-zth2 {
  background-color: #fff !important;
}

.bg-hs {
  background-color: #fff !important;
}

.bg-hs1 {
  background-color: #FFD761 !important;
}

.bg-okh2 {
  background-color: #FFD761 !important;
}

.bg-ls {
  background-color: #fff !important;
}

.bg-jbh {
  background: linear-gradient(0deg, #000, #999);
}

.bg-lvs {
  background-color: #0ecb81 !important;
}

.bg-lvs1 {
  background-color: #00b897 !important;
}

.bg-red {
  background-color: #f5465c !important;
}

.bg-qh {
  background-color: rgb(51, 51, 51) !important;
}

.bg-zs {
  background-color: rgb(118, 31, 227) !important;
}

.bg-fs {
  background-color: rgb(132, 54, 230) !important;
}

/* 字体颜色 */
.text-lvs {
  color: #0ecb81;
}

.text-zth {
  color: #919da4;
}

.text-dhs {
  color: #95979b;
}

.text-bhs {
  color: rgb(0, 0, 0);
}

.text-red {
  color: #f5465c !important;
}

.text-zs {
  color: rgb(118, 31, 227) !important;
}

.text-fs {
  color: #E535AB !important;
}

.text-lh {
  color: #ccceef !important;
}

.text-ls {
  color: #7376aa !important;
}

.text-chs {
  color: #7376aa !important;
}

.text-ws {
  color: #fabb04 !important;
}

.text-black {
  color: #000 !important;
}

.text-z-fs {
  background: linear-gradient(90deg, #fffc00 -30%, #db36a4 90%);
  -webkit-background-clip: text;
  color: transparent;
}

/* 边框颜色 */
.border-lvs {
  border-color: #0ecb81 !important;
}

.border-fs {
  border-color: rgb(111, 100, 233, 0.6) !important;
}

.border-ws {
  border-color: #fabb04 !important;
}

.pb-6 {
  padding-bottom: 4rem !important;
}

.border-zs {
  border-color: rgb(118, 31, 227) !important;
}

.border-bhs {
  border-color: rgb(185, 192, 196) !important;
}

.border-bshs {
  border-color: rgb(72, 73, 73) !important;
}

.border-hhs {
  border-color: rgb(49, 49, 49) !important;
}


@media (min-width: 992px) {
  .mt-lg-7 {
    margin-top: 7rem !important;
  }
}

@media (min-width: 992px) {
  .mt-lg-8 {
    margin-top: 6rem !important;
  }
}

@media (max-width: 992px) {
  .mt-top-4 {
    margin-top: 1.5rem !important;
  }
}

.navbar {
  background-color: #fff;
  padding: 1.2rem 0;
}

.navbar-brand img {
  height: 35px;
}

.nav-link {
  color: #000 !important;
  font-size: 1rem;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fabb04 !important;
}

.btn {
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-login {
  background: transparent;
  border: 1px solid #fabb04;
  color: #000;
}

.btn-login:hover {
  background: #fabb04;
  color: #fff;
}

.btn-join {
  background: #fabb04;
  border: 1px solid #fabb04;
  color: #fff;
}

.btn-join:hover {
  background: transparent;
  border: 1px solid #fabb04;
  color: #fabb04;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .navbar-nav {
    margin: 1rem 0;
  }
}

.carousel-item img {
  height: 200px;
  max-width: 100%;
  object-fit: cover;
}

/* 手机端轮播文字样式 */
@media (max-width: 768px) {
  .mobile-scroll {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    height: 25px;
    display: flex;
    align-items: center;
  }

  .mobile-notification {
    display: inline-block;
    padding-right: 2rem;
    animation: mobile-scroll 20s linear infinite;
  }

  @keyframes mobile-scroll {
    0% {
      transform: translateX(100%);
    }

    100% {
      transform: translateX(-100%);
    }
  }
}

/* PC端轮播文字样式 */
@media (min-width: 769px) {
  .desktop-scroll {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    height: 25px;
    display: flex;
    align-items: center;
  }

  .desktop-notification {
    display: inline-block;
    padding-right: 2rem;
    animation: desktop-scroll 25s linear infinite;
  }

  @keyframes desktop-scroll {
    0% {
      transform: translateX(100%);
    }

    100% {
      transform: translateX(-100%);
    }
  }
}

.pop-contauner {
  position: fixed;
  top: 50%;
  left: 150%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: auto;
}

.pop-after {
  content: "";
  display: block;
  position: fixed;
  /* 绝对定位 */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(117, 115, 115, 0.8);
  /* 白色背景，透明度为0.8 */
  backdrop-filter: blur(5px);
  /* 背景模糊，模糊半径为5px */
  pointer-events: auto;
  /* 允许点击穿透到背景下层元素 */
}

.separator-animated {
  position: relative;
  overflow: hidden;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0) 0%, #fabb04 50%, rgba(0, 0, 0, 0) 100%);
}

.separator-animated.animated-true::before {
  content: "";
  position: absolute;
  width: 3%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0) 0%, #fabb04 50%, rgba(0, 0, 0, 0) 100%);
  backdrop-filter: blur(20px);
  animation: separateline 5s ease-in-out infinite;
}

@keyframes separateline {
  0% {
    left: 0;
  }

  100% {
    left: 110%;
  }
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 300ms ease;
}

.social-link:hover i {
  background: linear-gradient(160deg, #12B5DE -30%, #7130C3 30%, #FF3BD4 90%);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-style-2 {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.brand-style-2 li a {
  display: block;
}

.brand-style-2 li a:hover img {
  opacity: 1;

}

.brand-style-2 li a img {
  opacity: 0.6;
  transition: 0.3s;
  max-height: 70px;
}

.btn.welcome-bonus {
  position: relative;
  background-color: #fabb04;
  color: #000;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  z-index: 1;
}

.btn.welcome-bonus::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background-color: #ffd761;
  /* 半透明的浅黄色 */
  border-radius: 50%;
  transform: scale(1);
  transition: all 0.5s cubic-bezier(0.5, 0, 0.5, 1);
  z-index: -1;
}

.btn.welcome-bonus:hover::after {
  transform: scale(15);
  /* 放大足够大以覆盖整个按钮 */
}

/* 确保文字始终可见 */
.btn.welcome-bonus span {
  position: relative;
  z-index: 2;
}

/* 添加图片相关样式 */
.position-relative {
  position: relative;
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg-image img {
  width: 100%;
  height: auto;
}

.main-image {
  width: 90%;
  height: 90%;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.rotating-image {
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 992px) {
  .indextop {
    padding-top: 150px !important;
    /* PC版时生效 */
    padding-bottom: 200px !important;

  }
}

@media (max-width: 991.98px) {
  .indextop {
    padding-top: 0 !important;
    /* 手机版时取消上边距 */
    padding-left: 10%;
    padding-right: 10%;
  }
  .py-5{
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
}

.separator-animatede {
  overflow: hidden;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0) 0%, #ffc107 50%, rgba(0, 0, 0, 0) 100%);
}

.floating-box {
  position: absolute;
  top: 60px;
  /* 初始位置在容器上方 */
  left: -5%;
  transform: translateX(-10%);
  width: auto;
  height: auto;
  color: white;
  text-align: center;
  line-height: 20px;
  border-radius: 1px;
  animation: float-up-down 2s ease-in-out infinite alternate;
}

.floating-box2 {
  position: absolute;
  top: 450px;
  /* 初始位置在容器上方 */
  left: -5%;
  transform: translateX(-10%);
  width: auto;
  height: auto;
  color: white;
  text-align: center;
  line-height: 20px;
  border-radius: 1px;
  animation: float-up-down 3s ease-in-out infinite alternate;
}

.floating-box3 {
  position: absolute;
  top: 150px;
  /* 初始位置在容器上方 */
  left: 20%;
  transform: translateX(-10%);
  width: auto;
  height: auto;
  color: white;
  text-align: center;
  line-height: 20px;
  border-radius: 1px;
  animation: float-up-down 3s ease-in-out infinite alternate;
}

.floating-box4 {
  position: absolute;
  top: 250px;
  /* 初始位置在容器上方 */
  left: 80%;
  transform: translateX(-10%);
  width: auto;
  height: auto;
  color: white;
  text-align: center;
  line-height: 20px;
  border-radius: 1px;
  animation: float-up-down 2s ease-in-out infinite alternate;
}

/* 动画效果 */
@keyframes float-up-down {
  0% {
    transform: translateY(-10%) translateX(-50%);
  }

  100% {
    transform: translateY(30px) translateX(-50%);
  }
}

/* 为 WORK PROCESS 部分创建新的样式类 */
.process-section .bg-zth1 {
  background-color: #fff !important;
  border-radius: 1rem;
  transition: all 0.3s ease;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  padding: 25px 10px !important;
}

.process-section .bg-zth2 {
  background-color: #fff !important;
  color: #fabb04;
  transition: all 0.3s ease;
}

.process-section .xifd {
  left: -5px;
  position: relative;
  z-index: 2;
  margin-bottom: -20px;
}

.process-section .flip-image {
  transition: transform 0.6s ease;
  transform-origin: center center;
  width: 150px !important;
  height: 150px !important;
  object-fit: contain;
  padding: 15px 5px !important;
}

.process-section .bg-zth1:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.process-section .bg-zth1:hover .flip-image {
  transform: rotateY(180deg);
}

/* 新增的样式 */
.level-icon {
  width: 48px;
  height: 48px;
  margin-right: 15px;
  object-fit: contain;
}

.level-box .level-item {
  margin-bottom: 20px;
}

.level-box .level-item:last-child {
  margin-bottom: 0;
}

.example-box h6 {
  line-height: 1.6;
}

/* 移除重复的样式，只保留必要的 */
.bakhs:hover {
  background-color: #fabb04 !important;
}

.bakhs:hover .text-ws {
  color: #fff !important;
}

.abcoin-img {
  position: absolute;
  /* 绝对定位使图片可以脱离文档流 */
  top: 100px;
  /* 向上移动200px */
  left: 40%;
  /* 水平居中 */
  transform: translateX(-50%);
  /* 水平居中 */
  transform-origin: center;
  /* 设置变换中心点为图片的中心 */
  animation: rotate360 8s linear infinite;
  /* 旋转动画 */
}

@keyframes rotate360 {
  from {
    transform: translateX(-50%) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(360deg);
  }
}
