@keyframes topnav-fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 全局滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.18);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

html {
  scrollbar-color: rgba(0, 0, 0, 0.45) rgba(0, 0, 0, 0.18);
  scrollbar-width: thin;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
  padding: 0;
  margin: 0;
  background-color: #080e2b;

  /* background: url('/grey/static/website/templates/img/ai/ai_bg.png') no-repeat center top / 100% 100%; */
  text-align: center;
  overflow-x: auto;
}

@media (max-width: 1200px) {
  .vertical-carousel-wrapper {
    width: 100vw;
    min-width: unset;
    transform: scale(calc(100vw / 1200));
    transform-origin: top left;
    zoom: unset;
  }

  html,
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 1200px) {
  .vertical-carousel-wrapper {
    width: 100vw;
    min-width: unset;
    transform: scale(calc(100vw / 1200));
    transform-origin: top left;
  }

  html,
  body {
    overflow-x: hidden;
  }
}

.ai-page {
  height: 100%;
  width: 100%;
  display: flex;
  /* background: url('/grey/static/website/templates/img/ai/ai_bg.png') no-repeat center top / 100% 100%; */
  background-color: #080e2b;
  flex-direction: column;
}

.research-updates-multi {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  position: relative;
  gap: 20px;
}

.research-updates-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -48px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.research-updates-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.research-updates-dot.active {
  background: rgba(255, 255, 255, 0.7);
}

.ubiquantai-topnav {
  width: 100vw;
  position: absolute;
  top: 0;
  z-index: 100;
  height: 70px;
  backdrop-filter: blur(10px);
}

.ubiquantai-logo {
  position: absolute;
  top: 20px;
  left: 24px;
  width: 136px;
  height: 30px;
  background: url('/grey/static/website/templates/img/ai/ai_logo.svg') no-repeat center center / contain;
}

.ubiquantai-topnav-list {
  display: flex;
  margin: 0;
  padding: 0 40px;
  list-style: none;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.ubiquantai-topnav-item {
  margin-right: 32px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.ubiquantai-topnav-item.current a {
  color: #ffffff;
  font-weight: bold;
  padding-bottom: 4px;
}

.ubiquantai-topnav-item:last-child {
  margin-right: 0;
}

.ubiquantai-topnav-item a {
  text-decoration: none;
  color: inherit;
}

.ubiquantai-topnav-item a:hover {
  color: #ffffff;
}

/* 顶部导航栏入场动画（纯CSS） */
.ubiquantai-topnav {
  opacity: 0;
  animation: topnav-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.ubiquantai-topnav-login {
  position: absolute;
  width: 300px;
  height: 32px;
  right: 24px;
  top: 20px;
  text-align: right;
}

.ubiquantai-topnav-login-btn {
  height: 32px;
  background: #3c75f5;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
}

/* 纵向轮播相关样式，全部放底部 */
.vertical-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  /* 背景视频已用 video 标签实现 */
  background: #080e2b;
  box-sizing: border-box;
  overflow-y: hidden;
}

.vertical-carousel-video-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.vertical-carousel-bg-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  width: 2560px;
  height: 1440px;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 1920px) {
  .vertical-carousel-bg-video {
    object-fit: cover;
    max-width: none;
    max-height: none;
  }
}

.vertical-carousel-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  overflow: auto;
  position: relative;
}

.vertical-carousel-content-1 {
  justify-content: flex-start;
  top: 35vh;
}

.vertical-carousel-content-2 {
  justify-content: flex-start;
  top: 35vh;
}

.vertical-carousel-content-3 {
  justify-content: flex-start;
  top: 15vh;
}

.vertical-carousel-content-4 {
  justify-content: flex-start;
  top: 15vh;
}

.vertical-carousel-content-5 {
  justify-content: flex-start;
  top: 20vh;
}

.vertical-carousel-pagination {
  position: absolute;
  top: 35vh;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 64px;
  z-index: 3;
}

.vertical-carousel-dot {
  position: relative;
  width: 100%;
  margin: 8px 0;
  transition: all 0.2s;
  background: none;
  font-weight: normal;
  display: flex;
  align-items: center;
  flex-direction: row;
  cursor: pointer;
}

.vertical-carousel-dot-circle {
  display: inline-block;
  width: 3px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1px;
  margin-left: 6px;
  margin-right: 0;
}

.vertical-carousel-dot.active .vertical-carousel-dot-circle {
  color: rgba(255, 255, 255, 0.7);
  width: 4px;
}

.vertical-carousel-dot:hover .vertical-carousel-dot-circle {
  width: 4px;
}

.vertical-carousel-dot-label {
  visibility: hidden;
  white-space: nowrap;
  width: 48px;
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 18px;
  text-align: right;
  position: static;
  z-index: 2;
}

.vertical-carousel-dot.active .vertical-carousel-dot-label,
.vertical-carousel-dot:hover .vertical-carousel-dot-label {
  visibility: visible;
}

.vertical-carousel-dot.active .vertical-carousel-dot-label {
  color: rgba(255, 255, 255, 0.7);
}

.carousel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 0;
}

.carousel-title {
  font-family: MiSans, MiSans;
  font-weight: 600;
  font-size: 50px;
  line-height: 66px;
  text-align: center;
  font-style: normal;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: carousel-title-2-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
  opacity: 0;
}

.carousel-title-1 {
  opacity: 0;
  transform: scale(0.8);
  animation: carousel-title-1-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.carousel-title-2 {
  font-size: 40px;
  line-height: 44px;
}

@keyframes carousel-title-1-fadein {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes carousel-title-2-fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.carousel-subtitle {
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 400;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 28px;
  margin-top: 24px;
  margin-bottom: 24px;
  opacity: 0;
  animation: carousel-subtitle-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.carousel-subtitle-3 {
  margin-top: 12px;
  margin-bottom: 56px;
  animation: carousel-subtitle-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes carousel-subtitle-fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.carousel-description {
  width: 580px;
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 22px;
  opacity: 0;
  animation: carousel-subtitle-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

.carousel-slogan {
  font-family:
    PingFangSC,
    PingFang SC;
  font-size: 26px;
  width: 100%;
  margin: 0 auto;
  line-height: 37px;
  margin-top: 15px;
  opacity: 0;
  letter-spacing: 8px;
  color: rgba(255, 255, 255, 0.8);
  animation: carousel-slogan-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

@keyframes carousel-slogan-fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.carousel-imgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 1260px;
  margin: 0 auto;
}

.carousel-img-placeholder {
  width: 282px;
  height: 242px;
  margin-right: 24px;
  margin-bottom: 24px;
  padding: 10px;
  box-sizing: border-box;
  background: no-repeat center center / 100% 100%;
  opacity: 0;
  animation: carousel-subtitle-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
  backdrop-filter: blur(20px);
  background-color: rgba(255, 255, 255, 0.1);
  /* 半透明背景色 */
  border-radius: 28px;
}

.carousel-img-placeholder:last-child {
  cursor: pointer;
}

/* 去除最后一行和每行最后一个图片的右/下间距 */
.carousel-img-placeholder:nth-child(4n) {
  margin-right: 0;
}

.carousel-img-placeholder:nth-last-child(-n + 4) {
  margin-bottom: 0;
}

.carousel-img-placeholder:nth-child(1) {
  background-image: url('/grey/static/website/templates/img/ai/research-areas-models.png');
}

.carousel-img-placeholder:nth-child(2) {
  background-image: url('/grey/static/website/templates/img/ai/research-areas-invest.png');
}

.carousel-img-placeholder:nth-child(3) {
  background-image: url('/grey/static/website/templates/img/ai/research-areas-biology.png');
}

.carousel-img-placeholder:nth-child(4) {
  background-image: url('/grey/static/website/templates/img/ai/research-areas-energy.png');
}

.carousel-img-placeholder:nth-child(5) {
  background-image: url('/grey/static/website/templates/img/ai/research-areas-agent.png');
}

.carousel-img-placeholder:nth-child(6) {
  background-image: url('/grey/static/website/templates/img/ai/research-areas-health.png');
}

.carousel-img-placeholder:nth-child(7) {
  background-image: url('/grey/static/website/templates/img/ai/research-areas-math.png');
}

.carousel-img-placeholder:nth-child(8) {
  background-image: url('/grey/static/website/templates/img/ai/research-areas-more.png');
}

.research-updates-carousel-wrapper {
  position: relative;

  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 1300px;
  height: 470px;
  opacity: 0;
  animation: carousel-subtitle-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.research-updates-slide {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 24px;
  box-sizing: border-box;

  width: 304px;
  height: 435px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow: hidden;
  padding-bottom: 56px;

  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 500;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 28px;
  cursor: pointer;

  position: relative;
  z-index: 2;
  transition:
    width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-updates-slide:hover {
  width: 328px;
  height: 470px;
  overflow: hidden;
}

.research-updates-slide-subtitle,
.research-updates-slide-title-text {
  width: 260px;
}

.research-updates-slide-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);

  height: 240px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.research-updates-slide-title-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* 最多2行 */
  -webkit-box-orient: vertical;
  white-space: normal;
}

.research-updates-slide-title-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 32px;
  background: url('/grey/static/website/templates/img/ai/research-updates-icon.png') no-repeat center center / contain;
}

.research-updates-slide-subtitle {
  flex: 1;
  box-sizing: border-box;
  padding-top: 24px;

  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 24px;
}

.research-updates-slide-button.ant-btn-background-ghost.ant-btn-primary {
  width: 112px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
}

.research-updates-slide-button.ant-btn-background-ghost.ant-btn-primary:hover {
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.research-updates-slide:hover .research-updates-slide-button.ant-btn-background-ghost.ant-btn-primary {
  opacity: 1;
  visibility: visible;
  display: block;
}

.research-updates-slide-button.ant-btn-background-ghost.ant-btn-primary {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  margin-top: 20px;
  border-radius: 16px;
  display: none;
}

.research-updates-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  font-size: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/grey/static/website/templates/img/ai/research-updates-left.png') no-repeat center center / contain;
  opacity: 0;
  animation: carousel-subtitle-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.research-updates-arrow.left {
  left: -70px;
  background-image: url('/grey/static/website/templates/img/ai/research-updates-left.png');
}

.research-updates-arrow.right {
  right: -70px;
  background-image: url('/grey/static/website/templates/img/ai/research-updates-right.png');
}

.research-updates-arrow.left:disabled {
  cursor: not-allowed;
  background-image: url('/grey/static/website/templates/img/ai/research-updates-left-disabled.png');
}

.research-updates-arrow.right:disabled {
  cursor: not-allowed;
  background-image: url('/grey/static/website/templates/img/ai/research-updates-right-disabled.png');
}

.research-updates-arrow.left:hover:not(:disabled) {
  background-image: url('/grey/static/website/templates/img/ai/research-updates-left-hover.png');
}

.research-updates-arrow.right:hover:not(:disabled) {
  background-image: url('/grey/static/website/templates/img/ai/research-updates-right-hover.png');
}

.contact-us-info {
  width: 900px;
  height: 326px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  padding: 32px 48px;
  box-sizing: border-box;
  position: relative;
  opacity: 0;
  animation: carousel-subtitle-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.contact-us-item-address {
  opacity: 0;
  animation: carousel-subtitle-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

.contact-us-info::after {
  content: '';
  position: absolute;
  width: 258px;
  height: 49px;
  background: url('/grey/static/website/templates/img/ai/contact-us-logo.png') no-repeat center center / contain;
  right: 48px;
  bottom: 36px;
}

.contact-us-title {
  width: 114px;
  height: 44px;
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 600;
  font-size: 31px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 44px;
  text-align: left;
  font-style: normal;
}

.contact-us-item:nth-child(1) {
  margin-bottom: 40px;
}

.contact-us-subtitle {
  width: 64px;
  height: 20px;
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 20px;
  text-align: left;
  font-style: normal;
  margin-top: 4px;
}

.contact-us-text {
  width: 400px;
  height: 18px;
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 18px;
  text-align: left;
  font-style: normal;
  margin-top: 8px;
}

.contact-us-copy {
  display: inline-block;
  width: 44px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);

  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;

  margin-left: 8px;
  cursor: pointer;
}

/* 研究动态弹窗及蒙层 */
.research-modal-antd {
  max-width: 1200px;
  width: 100% !important;
  min-width: 360px;
  box-sizing: border-box;
  height: 750px !important;
}

@media (max-width: 1300px) {
  .research-modal-antd {
    max-width: calc(100vw - 100px);
  }
}

.research-modal-antd .ant-modal-content {
  width: 1200px;
  height: 755px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  opacity: 1 !important;
  animation: none !important;
}

.ant-modal-mask {
  background-color: rgba(0, 0, 0, 0.3) !important;
}

.research-modal-antd .ant-modal-body {
  padding: 40px 24px 40px 40px;
}

.research-modal-body {
  display: flex;
  flex-direction: column;
  height: 688px;
}

.research-modal-title {
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 500;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 40px;
  text-align: center;
  margin-bottom: 24px;
}

.research-modal-subtitle {
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 400;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 40px;
  text-align: center;
  margin-bottom: 32px;
}

.research-modal-content {
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 30px;
  text-align: justify;

  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  height: 470px;
  overflow-y: auto;
}

.research-modal-antd .ant-modal-close {
  /* display: none !important; */
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  right: -56px;
}

.research-modal-antd .ant-modal-close-x {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.research-modal-buttons {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.research-modal-buttons .ant-btn {
  width: 184px;
  height: 50px;
  background: #3c75f5;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);

  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 500;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 22px;
}

.research-modal-buttons .research-modal-button-github {
  width: 184px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);

  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 500;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 22px;
}

.research-modal-button-github {
  margin-left: 24px;
}

.research-modal-button-link .research-modal-button-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  background: url('/grey/static/website/templates/img/ai/research-updates-icon-link.png') no-repeat center center / contain;
}

.research-modal-button-github .research-modal-button-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  background: url('/grey/static/website/templates/img/ai/research-updates-icon-github.png') no-repeat center center / contain;
}

.ant-carousel {
  position: relative;
  z-index: 3;
}

.animated-gradient-text {
  position: relative;
  margin: 0 auto;
  display: flex;
  max-width: fit-content;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  overflow: hidden;
  padding: 0 10px;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 300% 100%;
  animation: gradient linear infinite;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
}

.gradient-overlay::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  border-radius: inherit;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #060010;
  z-index: -1;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.carousel-next-btn {
  display: inline-block;
  position: relative;
  z-index: 2;
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradient linear infinite;
}

.text-content {
  display: inline-block;
  position: relative;
  z-index: 2;
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradient linear infinite;
}

.carousel-next-btn-wrapper {
  position: absolute;
  width: 100px;
  height: 100px;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 3;
  cursor: pointer;
}

.carousel-next-btn {
  position: absolute;
  width: 32px;
  height: 32px;
  background: url('/grey/static/website/templates/img/ai/icon-page.png') no-repeat center center / 100% 100%;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(0);
  animation: carousel-next-btn-breath 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  cursor: pointer;
  z-index: 3;
}

.carousel-top-btn {
  position: absolute;
  width: 42px;
  height: 50px;
  background: url('/grey/static/website/templates/img/ai/icon-top.png') no-repeat center center / 100% 100%;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(0);
  animation: carousel-next-btn-breath 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  cursor: pointer;
  z-index: 3;
}

@keyframes carousel-next-btn-breath {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

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

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.custom-message-info {
  margin-top: 78px;
}

.custom-message-info .ant-message-notice-content {
  padding: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.custom-message-info .ant-message-info {
  width: 112px;
  height: 50px;
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.9);

  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  line-height: 50px;
  text-align: center;
}

.card-spotlight {
  position: relative;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(255, 255, 255, 0.05);
  z-index: 1;
  border-radius: 24px;
  /* 与子元素一致 */
  overflow: hidden;
  /* 防止光晕溢出 */
}

.card-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 80%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  border-radius: inherit;
}

.card-spotlight:hover::before,
.card-spotlight:focus-within::before {
  opacity: 0.6;
}

.LiquidEther-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 绝对定位 video，层级最低，透明度动画 */

.video-visible {
  opacity: 1;
}

.video-hidden {
  opacity: 0;
}

/* 内容层始终相对定位，层级高于 video */
.vertical-carousel-content-layer {
  position: relative;
  z-index: 10;
}

.ubiquantai-topnav-userinfo {
  font-family:
    PingFangSC,
    PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  line-height: 22px;

  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  width: fit-content;
  cursor: pointer;
}

.ubiquantai-topnav-arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  vertical-align: middle;
  background: url('/grey/static/website/templates/img/ai/icon-arrow.png') no-repeat center center / contain;
}

.ubiquantai-topnav-user-menu {
  position: absolute;
  top: 34px;
  right: 0;
  width: 130px;
  height: 132px;
  background: #1e273e;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9;
  padding: 6px;
  display: flex;
  flex-direction: column;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  line-height: 18px;
}

.ubiquantai-topnav-user-menu-item {
  width: 118px;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  text-align: left;
  padding-left: 12px;
}

.ubiquantai-topnav-user-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.ubiquantai-topnav-user-menu-logout {
  color: #ff4d4f;
}

/* 遮罩层，z-index略高于视频，低于内容层 */
.vertical-carousel-video-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background-color: #080e2b;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.2s;
}

.vertical-carousel-content-layer {
  position: relative;
  z-index: 3;
}

@media (min-width: 1921px) {
  .carousel-title {
    font-size: 65px;

    line-height: 84px;
  }

  .carousel-title-2 {
    font-size: 52px;
  }

  .carousel-slogan {
    font-size: 34px;
    margin-top: 27px;
    letter-spacing: 10px;
  }

  .carousel-subtitle {
    font-size: 30px;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .carousel-subtitle-3 {
    margin-top: 20px;
    margin-bottom: 80px;
  }

  .carousel-description {
    font-size: 20px;
    line-height: 28px;
  }

  .carousel-imgs {
    width: 1600px;
  }

  .carousel-img-placeholder {
    width: 367px;
    height: 315px;
    margin-right: 31px;
    margin-bottom: 31px;
  }

  .research-updates-slide {
    width: 366px;
    height: 522px;
  }

  .research-updates-slide-title {
    height: 293px;
  }

  .research-updates-slide-title-text {
    -webkit-line-clamp: 6;
    /* 最多2行 */
  }

  .research-updates-slide:hover {
    width: 394px;
    height: 564px;
  }

  .carousel-description {
    width: 750px;
  }

  .research-updates-carousel-wrapper {
    min-width: 1640px;
    gap: 26px;
    height: 564px;
  }
}

@media (max-width: 1500px) {
  .carousel-subtitle-4 {
    margin-bottom: 24px;
  }

  .research-updates-carousel-wrapper {
    min-width: 1000px;
  }

  .carousel-imgs {
    width: 1000px;
  }

  .carousel-img-placeholder {
    width: 220px;
    height: 188px;
    border-radius: 14px;
  }
}

@media (max-width: 1000px) {
  .research-updates-carousel-wrapper {
    min-width: 800px;
  }

  .research-modal-antd {
    max-width: 800px;
  }

  .research-modal-antd .ant-modal-content {
    max-width: 800px;
  }

  .research-modal-buttons .research-modal-button-github,
  .contact-us-info,
  .research-updates-slide-button.ant-btn-background-ghost.ant-btn-primary,
  .contact-us-copy {
    background: transparent;
  }
}