:root {
  --primary-color: #6C5CE7;
  --secondary-color: #a29bfe;
  --gray-color: #C4C7DD;
  --text-color: #fff;
  --background-dark: #020104;
  --gradient-bg: linear-gradient( 90deg, #353EFF 0%, #A700FA 100%);
}


body,
html {
width: 100%;
font-size: 14px;
color: #fff;
margin: 0;
min-height: 100vh;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-dark);
  color: var(--text-color);
  line-height: 1.6;
}


li {
list-style: none;
}

fieldset,
img,
input,
button {
border: none;
padding: 0;
margin: 0;
outline-style: none;
}

img{
vertical-align: sub;
}

ul,
ol {
list-style: none;
}

input {
padding-top: 0;
padding-bottom: 0;
font-size: 13px;
}

select,
input {
vertical-align: middle;
}

select,
input,
textarea {
font-size: 13px;
margin: 0;
}

textarea,
text,
view {
word-break: break-all;
}

textarea {
resize: none;
}

a:focus,
a:active {
outline: none;
}

a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}

div:focus {
outline: none;
}

.fr {
float: right;
}

.fl {
float: left;
}

.clearfix {
&:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: ' ';
  clear: both;
  height: 0;
}
}

.box {
font-size: 13px;
}

.fx {
display: flex;
}

.fx_ai {
display: flex;
align-items: center;
}

.fx_column {
display: flex;
flex-direction: column;
justify-content: center;
}

.fx_center {
display: flex;
align-items: center;
justify-content: center;
}
.fx_between {
display: flex;
align-items: center;
justify-content: space-between;
}

.flex1 {
flex: 1;
}

.fx1 {
flex: 1;
}

p {
margin: 0;
}
.pd_x_15 {
padding: 0 30px;
}
.gary{
color: #96A5BD;
}




/*************** header ***************/
.header {
  padding: 0 4%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 26, 0.2);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  /* margin: 0 1rem; */
  transition: color 0.3s;
}

.header a.active{
  background: #5142fc;
}

.header a{
  display: inline-block;
  height: 80px;
  padding: 0 12px;
  line-height: 80px;
  font-size: 16px;
  font-weight: bold;
}

.header .show-desktop a{
  padding: 0 26px;
}


.auth-buttons {
  display: flex;
  align-items: center;
}

.auth-buttons .download-btn {
  padding: 0 20px;
  height: 40px;
  display: inline-block;
  line-height: 40px;
  background: var(--gradient-bg);
  border-radius: 20px;
  color: var(--text-color);
  text-decoration: none;
}
.auth-buttons .login-user {
  height: auto;
}

/* 移动端菜单按钮样式 */
.menu-btn {
  display: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 50%;
}

/* 移动端认证按钮样式 */
.auth-buttons.mobile {
  display: none;
}

.show-mobile {
  display: none;
}
.show-desktop {
  display: block;
}

/* 蒙层样式 */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

@media (min-width: 768px) {
  .auth-buttons .login-btn {
    margin-right: 15px;
    display: inline-block;
    width: 110px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #5142FC;
    border-radius: 20px;
  }
  .header{
    border-bottom: 1px solid rgb(255 255 255 / 12%);
  }
}


/* 响应式布局 */
@media screen and (max-width: 768px) {
  .menu-btn {
    display: block;
    width: 30px;
    text-align: right;
  }
  .show-mobile {
    display: block;
  }
  .show-desktop {
    display: none;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #000;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .header a{
    height: auto;
    line-height: inherit;
    padding: 0;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    padding: 10px 0;
    width: 100%;
    text-align: center;
    margin: 0;
  }
  
  .auth-buttons.desktop {
    display: none;
  }
  
  .auth-buttons.mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }
  
  .auth-buttons.mobile a {
    margin: 5px 0;
  }

  .auth-buttons.mobile .login-btn {
    margin: 5px 0;
    padding: 0;
    line-height: 38px;
    border: 2px solid transparent;
    border-radius: 40px;
    background-origin: border-box;
    background-clip: content-box, border-box;
    background-image: linear-gradient(#000, #000), linear-gradient(93deg, rgba(56, 255, 255, 1), rgba(171, 86, 249, 1), rgba(8, 30, 208, 1), rgba(3, 226, 251, 1));
  }

  /* 修改菜单样式,确保在蒙层之上 */
  .nav-links {
    z-index: 999;
  }
  
  /* 显示蒙层时的样式 */
  .overlay.active {
    display: block;
  }
  
}

/*************** footer ***************/
.footer {
  background: #0f1021;
  padding: 3rem 5%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  /* color: var(--primary-color); */
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--gray-color);
}

.footer-links ul li a {
  color: var(--gray-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-social h4 {
  font-size: 1.2rem;
  /* color: var(--primary-color); */
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary-color);
}

/*  客服浮窗  */
.servere{
  position: fixed;
  right: 20px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
}

.servere .serve{
  cursor: pointer;
}

.servere .list{
  display: none;
  position: absolute;
  right: 90px;
  bottom: 0;
  padding: 5px;
  background: #251431;
  border-radius: 8px;
  box-shadow: 0 0 5px rgb(181 181 181);
}

.servere a{
  display: inline-block;
  padding: 5px;
}
.servere img{
  width: 60px;
}
.servere .serve img{
  width: 70px;
}

.download-btn-box{
  position: relative;
}

.appDownload .download-btn {
  display: none;
  align-items: center;
  justify-content: center;
}

.appDownload .download-btn img{
  margin-right: 5px;
}

.qrcode-box{
  display: none;
  position: absolute;
  background: #fff;
  right: 50%;
  transform: translateX(50%);
  bottom: 90px;
  padding: 20px;
  color: #333;
  align-items: center;
  border: 1px solid rgb(181 181 181);
}
.toast-message {
  position: fixed;
  top:-50%;
  z-index: -1;
  display: none;
  opacity: 0;
}

/**************** 响应式设计 ****************/
@media (max-width: 768px) {
  
  .toast-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.toast-message.show {
    display: block;
    opacity: 1;
}
  .appDownload .download-btn {
    display: flex;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
  }
  .appDownload  {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .download-btn-box{
    display: none;
  }
  .servere img{
    width: 50px;
  }
  .servere .serve img{
    width: 50px;
  }
  .servere .list {
    right: 75px;
  }
  .nav-links {
      display: none;
  }
  
  .hero-section h1 {
      font-size: 2.5rem;
  }
  
  .feature-card {
      margin: 1rem;
  }
  
  .footer-content {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-logo {
      grid-column: 1 / -1;
      align-items: center;
      text-align: center;
  }
  .footer ul{
    font-size: 12px;
    gap: 0.4rem;
  }
  .nav-container {
    height: 60px;
  }
  
  .nav-container .logo img{
    width: 100px;
  }
  .hero-section .hero-description{
    font-size: 24px;
    margin-top:150px;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
      font-size: 2rem;
  }
  
  .auth-buttons {
      display: flex;
      gap: 0.5rem;
  }
  
  .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
  }
  
  .footer-links ul {
      align-items: center;
  }
  
  .social-icons {
      justify-content: center;
  }
}




/* unocss 等样式 */

.cursor-pointer {
  cursor: pointer;
}
.\!flex {
  display: flex !important;
}
.flex {
  display: flex;
}
.rounded-\[50\%\] {
  border-radius: 50%;
}
.w30px {
  width: 30px;
}
.h30px {
  height: 30px;
}

.ml-\[10px\], .ml-10px {
  margin-left: 10px;
}

.text-16px {
  font-size: 16px;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.text-ellipsis {
  text-overflow: ellipsis;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.w-110px {
  width: 110px;
}
.w-26px {
  width: 26px;
}
.h-12px {
  height: 12px;
}
.ml-\[10px\], .ml-10px {
  margin-left: 10px;
}
.c-\#2D73FF {
  --un-text-opacity: 1;
  color: rgb(45 115 255 / var(--un-text-opacity));
}
.text-12px {
  font-size: 12px;
}
.p-y-4px {
  padding-top: 4px;
  padding-bottom: 4px;
}
.p-x-8px {
  padding-left: 8px;
  padding-right: 8px;
}
.bg-\#2d344a {
  --un-bg-opacity: 1;
  background-color: rgb(45 52 74 / var(--un-bg-opacity));
}
.mt-10px {
  margin-top: 10px;
}


/* 语言切换弹窗样式 - 黑暗模式 */
.language-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.language-popup.show {
  display: flex;
}

.language-popup-content {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 24px;
  min-width: 280px;
  max-width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.language-popup-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  text-align: center;
}

.language-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  margin: 5px 0;
  background: transparent;
  border: 1px solid #333;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-option:hover {
  background: #2a2a2a;
  border-color: #444;
}

.language-option.active {
  background: #0d47a1;
  color: #ffffff;
  border: 1px solid #1976d2;
}

.language-flag {
  font-size: 20px;
  margin-right: 12px;
}

.language-name {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  text-align: left;
}

.lang-icon {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.lang-icon:hover {
  transform: scale(1.1);
}


/* element-plus 等样式 */
.el-avatar--circle {
  border-radius: 50%;
}
.el-avatar {
  --el-avatar-text-color: var(--el-color-white);
  --el-avatar-bg-color: var(--el-text-color-disabled);
  --el-avatar-text-size: 14px;
  --el-avatar-icon-size: 18px;
  --el-avatar-border-radius: var(--el-border-radius-base);
  --el-avatar-size-large: 56px;
  --el-avatar-size-small: 24px;
  --el-avatar-size: 40px;
  align-items: center;
  background: var(--el-avatar-bg-color);
  box-sizing: border-box;
  color: var(--el-avatar-text-color);
  display: inline-flex;
  font-size: var(--el-avatar-text-size);
  height: var(--el-avatar-size);
  justify-content: center;
  overflow: hidden;
  text-align: center;
  width: var(--el-avatar-size);
}
.el-avatar>img {
  display: block;
  height: 100%;
  width: 100%;
}

.el-popover {
  --el-popover-bg-color: var(--el-bg-color-overlay);
  --el-popover-font-size: var(--el-font-size-base);
  --el-popover-border-color: var(--el-border-color-lighter);
  --el-popover-padding: 12px;
  --el-popover-padding-large: 18px 20px;
  --el-popover-title-font-size: 16px;
  --el-popover-title-text-color: var(--el-text-color-primary);
  --el-popover-border-radius: 4px;
}

.el-popper {
  --el-popper-border-radius: var(--el-popover-border-radius, 4px);
  border-radius: var(--el-popper-border-radius);
  font-size: 12px;
  line-height: 20px;
  min-width: 10px;
  overflow-wrap: break-word;
  padding: 5px 11px;
  position: absolute;
  visibility: visible;
  z-index: 2000;
}
.el-popover.el-popper {
  background: var(--el-popover-bg-color);
  border: 1px solid var(--el-popover-border-color);
  border-radius: var(--el-popover-border-radius);
  box-shadow: var(--el-box-shadow-light);
  box-sizing: border-box;
  color: var(--el-text-color-regular);
  font-size: var(--el-popover-font-size);
  line-height: 1.4;
  min-width: 150px;
  overflow-wrap: break-word;
  padding: var(--el-popover-padding);
  z-index: var(--el-index-popper);
}

.el-popper.is-light, .el-popper.is-light .el-popper__arrow:before {
  background: var(--el-bg-color-overlay);
  border: 1px solid var(--el-border-color-light);
}

.el-avatar {
  --el-avatar-text-color: var(--el-color-white);
  --el-avatar-bg-color: var(--el-text-color-disabled);
  --el-avatar-text-size: 14px;
  --el-avatar-icon-size: 18px;
  --el-avatar-border-radius: var(--el-border-radius-base);
  --el-avatar-size-large: 56px;
  --el-avatar-size-small: 24px;
  --el-avatar-size: 40px;
  align-items: center;
  background: var(--el-avatar-bg-color);
  box-sizing: border-box;
  color: var(--el-avatar-text-color);
  display: inline-flex;
  font-size: var(--el-avatar-text-size);
  height: var(--el-avatar-size);
  justify-content: center;
  overflow: hidden;
  text-align: center;
  width: var(--el-avatar-size);
}

.el-avatar--circle {
  border-radius: 50%;
}

.el-avatar>img {
  display: block;
  height: 100%;
  width: 100%;
}
.el-button {
  --el-button-font-weight: var(--el-font-weight-primary);
  --el-button-border-color: var(--el-border-color);
  --el-button-bg-color: var(--el-fill-color-blank);
  --el-button-text-color: var(--el-text-color-regular);
  --el-button-disabled-text-color: var(--el-disabled-text-color);
  --el-button-disabled-bg-color: var(--el-fill-color-blank);
  --el-button-disabled-border-color: var(--el-border-color-light);
  --el-button-divide-border-color: rgba(255,255,255,0.5);
  --el-button-hover-text-color: var(--el-color-primary);
  --el-button-hover-bg-color: var(--el-color-primary-light-9);
  --el-button-hover-border-color: var(--el-color-primary-light-7);
  --el-button-active-text-color: var(--el-button-hover-text-color);
  --el-button-active-border-color: var(--el-color-primary);
  --el-button-active-bg-color: var(--el-button-hover-bg-color);
  --el-button-outline-color: var(--el-color-primary-light-5);
  --el-button-hover-link-text-color: var(--el-color-info);
  --el-button-active-color: var(--el-text-color-primary);
  align-items: center;
  -webkit-appearance: none;
  background-color: var(--el-button-bg-color);
  border: var(--el-border);
  border-color: var(--el-button-border-color);
  box-sizing: border-box;
  color: var(--el-button-text-color);
  cursor: pointer;
  display: inline-flex;
  font-weight: var(--el-button-font-weight);
  height: 32px;
  justify-content: center;
  line-height: 1;
  outline: none;
  text-align: center;
  transition: .1s;
  -webkit-user-select: none;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}
.el-button {
  border-radius: var(--el-border-radius-base);
  font-size: var(--el-font-size-base);
}
.el-button, .el-button.is-round {
  padding: 8px 15px;
}
.el-button--primary {
  --el-button-text-color: var(--el-color-white);
  --el-button-bg-color: var(--el-color-primary);
  --el-button-border-color: var(--el-color-primary);
  --el-button-outline-color: var(--el-color-primary-light-5);
  --el-button-active-color: var(--el-color-primary-dark-2);
  --el-button-hover-text-color: var(--el-color-white);
  --el-button-hover-link-text-color: var(--el-color-primary-light-5);
  --el-button-hover-bg-color: var(--el-color-primary-light-3);
  --el-button-hover-border-color: var(--el-color-primary-light-3);
  --el-button-active-bg-color: var(--el-color-primary-dark-2);
  --el-button-active-border-color: var(--el-color-primary-dark-2);
  --el-button-disabled-text-color: var(--el-color-white);
  --el-button-disabled-bg-color: var(--el-color-primary-light-5);
  --el-button-disabled-border-color: var(--el-color-primary-light-5);
}
.el-button--small {
  --el-button-size: 24px;
  height: var(--el-button-size);
}
.el-button--small {
  border-radius: calc(var(--el-border-radius-base) - 1px);
  font-size: 12px;
  padding: 5px 11px;
}
.el-button {
  --el-button-disabled-text-color: rgba(255,255,255,0.5);
}