/* CSS Reset */
*{box-sizing: border-box;}
body, html { margin: 0; padding: 0; width: 100%; height: 100%; font-family: Arial, sans-serif; }
ul {list-style: none; margin: 0; padding: 0;}
/* 基于750px设计稿的vw转换方案：1vw = 7.5px (750px / 100) */
:root {
    --base-width: 1920;
    --header-bg: #060504;
    --background: #13120E;
    --primary-color: #FFC45C;
    --first-bg: #1D1A14;
    --border-color:#453F33;
    --second-bg: #2E2C29;
    --button-bg: #5E5441;
    --red: #FA255E;
    --yellow: #F9D7AD;
    --border-radius: 20px;
}

body {
    background-color: var(--background);
    color: #333;
}

.bg {
    background: var(--first-bg);
}

.footer {
    padding: 0 0 31px;
    font-size: 0.8rem;
    z-index: 99;
    color: #B3BEC1;
    background: #0F0E0A;
    border-top: solid 1px var( --border-color);
}
.footer-nav{
    text-align: center;
    margin: 62px 0;
}
@media (max-width: 992px) {
    .footer-nav{
        margin: 42px 0;
    }
}
.footer-nav a {
    display: inline-block;
    width: 168px;
    height: 34px;
    line-height: 34px;
    margin: 0 5px 5px;
    color: white;
    border-radius: 10px;
    border: solid 1px var(--border-color);
    background-color: var(--second-bg);
}
.footer-txt{
    font-size: 12px;
}
.txt-white {
    color: white;;
}

.banner img {
    border-radius: 20px;
}
section {
    width: 100%;
    border-radius: var(--border-radius);
    background-color: var(--first-bg);
}
.page.container {
    padding: 68px 0 40px!important;
}
.container {
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    box-sizing: border-box;
}
@media (max-width: 992px) {
    .container {
        padding: unset !important;
    }
}

.back-to-top,.up-down {
    position: fixed;
    right: 50px;
    width: 58px;
    height: 58px;
    cursor: pointer;
  transition: transform 0.3s ease;
}
.back-to-top {
    top: 360px;
}
.up-down{
    top: 300px;
}
:is(.back-to-top,.up-down):hover {
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}
.up-down.end img {
    transform: rotate(180deg);
}

:is(.back-to-top,.up-down) img {
    -webkit-user-drag: none;
    width: 100%;
}

@media (max-width: 1451px) {
    :is(.up-down,.back-to-top) {
        right: 30px;
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 1281px) {
    :is(.up-down,.back-to-top) {
        right: 6px;
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 992px) {
    :is(.up-down,.back-to-top) {
        right: 20px;
    }
}
@media (max-width: 768px) {
    :is(.up-down,.back-to-top) {

        width: 42px;
        height: 42px;
    }
}


.field {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}
.field-box {
    padding: 38px .5rem 20px;
    margin-top: 8px;
    border-radius: var(--border-radius);
    background-color: var(--first-bg);
    border: solid 1px var(--border-color);
}

@media (max-width: 768px) {
    .field-box {
        padding: 20px .5rem;
    }
}

.field-icon{
    height: 29px;
    margin: 0 11px;
    vertical-align: -7px;
}
.field-title {
    line-height: 1;
    font-size: 22px;
    font-weight: 600;
    color: white;
}
@media (max-width: 768px) {
    .field-title {
        font-size: 18px;
    }
}

.field-more {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    display: flex;
    width: 50px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    background-color: var(--primary-color);
}

.field-more.link {
    padding-left: 17px;
    padding-right: 12px;
    justify-content:space-between;
    background-color: var(--button-bg);
    font-size: 14px;
}
.field-more.link a {
    color: #FFFFFF80;
}
.field-more.link a:hover {
    opacity: .7;
}

.field-toggle {
    height: 20px;
    cursor: pointer;
}

.field-more.link{
    width: 121px;
    background-color: var(--button-bg);
}

.intro{
    padding: 10px 18px;
    color: #FFFFFF80;
    font-size: .8rem;
    border-radius: 6px;
    background: var(--second-bg);
}

/* #region 导航栏 */
.navbar{
    padding: 0;
}
.sidebar-menu {
  position: fixed;
  left: 0;
  top: 68px;
  margin: 0;
  width: 250px;
  height: 550px;
  font-size:0.9rem;
  opacity: 1;
  overflow-x: hidden;      /* 隐藏收缩时的溢出内容 */
  transition: width 0.4s ease, opacity 0.4s ease; /* 定义平滑过渡 */
  background: #25221E;
  list-style: none;
  padding: 11px;
  scrollbar-width:none;
}
.sidebar-menu a {
  color: white;
}

.sidebar-menu :where(li:hover,.open) > a {
    color: var(--primary-color);
}
.sidebar-menu .menu-icon-selected {
    display: none;
}
.sidebar-menu :where(li:hover,.open) .menu-icon {
    display: none;
}
.sidebar-menu :where(li:hover,.open) .menu-icon-selected {
    display: inline-block;
}

.sidebar-menu :where(.menu-icon-selected,.menu-icon) {
    height: 23px;
    margin-right: 7px;
}

.has-submenu {
  position: relative;
  padding: 8px 0 10px;
}
.has-submenu i:before {
    font-size: 16px;
    vertical-align: -2px;
}
.has-submenu:hover i:before {
    color: var(--primary-color);
}

.has-submenu::after {
    position: absolute;
    bottom: 0;
    left: 30px;
    right: 0;
    content: '';
    height: 0;
    border-bottom: solid 1px var(--border-color);
}
.has-submenu.open::after  {
  border-bottom: none
}

.submenu li::before {
  display: inline-block;
  content: '';
  width: 6px;
  height: 6px;
  vertical-align: 2px;
  background: #FFFFFF80;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

.sidebar-menu.collapsed {
  height: 0;
  opacity: 0;
}
.submenu {
  display: none; /* 初始折叠 */
  padding: 9px 15px 0;
  font-size: 0.8rem;
  color: #FFFFFF80;
}
.submenu a {
  color: #FFFFFF80;
  margin-left: 6px;
}
.submenu li {
  padding: 8px 14px;
  cursor: pointer;
  border-bottom: solid 1px var(--border-color);
}
.submenu li:hover::before {
    background: var(--primary-color);
}
.submenu li:hover a{
    color: var(--primary-color);
}
.arrow {
display: inline-block;
padding: 0 0 0 6px;
  float: right;
  transition: transform 0.3s; /* 箭头旋转动画 */
}
.open > a .arrow {
  transform: rotate(180deg); /* 展开时箭头翻转 */
}
/* #endregion 导航栏 */


/* #region app */
.app-container {
}

.app-item {
    display: flex;
    flex-direction: column;
    width: 10%;
    justify-content: center;
    align-items:flex-start;
    padding: 0.2rem;
    margin-bottom: 30px;
}

.app-item img {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 1 / 1; /* 强制宽高比为1:1，实现宽高一致 */
    object-fit: cover; /* 裁剪图片以适应区域，防止变形 */
}

.app-item h3 {
    width: 100%;
    overflow: hidden;
    text-align: center;
    margin: 12px 0 0;
    padding: 0;
    font-size: .8rem!important;
    color: white;
    font-weight: normal;
    white-space: nowrap;
}

.app-item:hover h3 {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .app-container .app-item {
        width:20%;
        margin-bottom: 20px;
    }
}
@media (max-width: 768px) {
    .app-container .app-item {
        width: 20%;
        margin-bottom: 10px;
    }
}

.field-more.open > img {
  transform: rotate(180deg); /* 展开时箭头翻转 */
}
/* #endregion app*/


/* #region websit */

.website-item {
    width: 25%;
}
.website-item img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .website-item img {
        height: 50px;
        width: 50px
    }
}
@media (max-width: 992px) {
    .website-item  {
        width: 50%;
    }
}

.website-item .media {
    margin: 0.2rem;
    padding: 0.5rem;
    background-color: var(--second-bg);
    border: solid 1px var(--border-color);
    border-radius: 10px;
}

.website-item .media strong {
    /*font-weight: 300;*/
    font-size: 0.9rem;
}

.website-item:hover .media-body :is(strong,.desc){
    color: var(--primary-color);
}
.media-body strong {
    color: white;
    font-weight: bold !important;
}

.website-item .desc {
    overflow: hidden;
    font-size: 0.7rem;
    font-weight: 100;
    color: #FFFFFF80;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* #endregion websit*/



/* #region navcontent*/


.nav-item {
    width: 20%;
}
.nav-item .title {
    line-height: 22px;
    font-size: 16px;
    color: white;
}
@media (max-width: 992px) {
    .nav-item {
        width: 25%;
    }
    .nav-item .title {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .nav-item {
        width: 33.33333333%;
    }
}
@media (max-width: 576px) {
    .nav-item {
        width: 50%;
    }
    .nav-item .title {
        font-size: 14px;
    }
}
.nav-item:hover .item{
    border-color: var(--primary-color);
}
.nav-item:hover :is(.title,.iconfont) {
    transition: color .3s;
    color: var(--primary-color);
}
.nav-item .iconfont {
    color: white;
}

.nav-item .item {
    position: relative;
    display: flex;
    height: 70px;
    justify-content: space-between;
    margin: 0.2rem;
    padding: 0.5rem;
    border-radius: 10px;
    background-size: cover;
    background: var(--second-bg);
    gap: 5px;
    border: solid 1px var(--border-color);
}


.nav-item .item a:nth-child(2) {
    max-width: 50%;
    flex: 1;
    text-align: left;
}
.nav-item .desc {
    overflow: hidden;
    font-size: 12px;
    line-height: 17px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.nav-item img {
    height: 50px;
    width: 50px;
    border-radius: 10px;
}
.nav-icon {
    display: flex;
    align-items: center;
}


/* #endregion websit*/

.article {
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF80;
    text-align: center;
}
.article h2{
    line-height: 25px;
    padding-bottom: 11px;
    margin:5px auto 30px;
    font-size: 18px!important;
    color: var(--primary-color);
    border-radius: 1rem;
    border-bottom: 4px solid var(--primary-color);
}

.dialog>.dialog-body {
    width: 588px;
    max-width: 100%;
}
.dialog-content :is(.dialog-text,.dialog-confirm,.dialog-cancel){
    background-color: var(--button-bg);
}
.dialog-content .dialog-text {
    line-height: 119px;
    color: #fff;
    border-color: #837A68;
}
.dialog-confirm {
    line-height: 79px;
    color: var(--primary-color);
}

@media (max-width:768px) {
    .dialog-content .dialog-text {
        line-height: 60px;
    }
    .dialog-confirm {
        line-height: 40px;
    }
}



/* 导航进度条 */

.progress-container {
    position: absolute;
    z-index: 1;
    left: -1px;
    top: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
}

.progress-container svg {
    transform: rotate(-90deg); /* 让进度条从顶部开始 */
}

.progress-container circle {
    fill: none;
    stroke-width: 8;
    /* stroke-linecap: joint; */
}

/* 背景轨道：深色质感 */
.progress-container .prog-bg {
    stroke: transparent;
}

/* 进度条：默认金色 */
.progress-container .prog-bar {
    stroke: #FFF;
    stroke-dasharray: 283; /* 周长约为 2 * π * 45 */
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.5s ease;
    will-change: stroke-dashoffset;
    shape-rendering: geometricPrecision;
}

/* 中间文字 */
.progress-container .prog-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f1d279;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
}

.header {
    position: fixed;
    top:0;
    z-index: 9999;
    justify-content: center;
    width: 100%;
    background-color: var(--header-bg);
}
.header-inner{
    display: flex;
    justify-content: space-between;
    margin-left:auto;margin-right:auto;padding-left:16px !important;padding-right:16px !important;
    height: 68px;
    padding: 16px;
    box-sizing: border-box;
}

@media (min-width:572px){
    .header-inner{width:540px; }
}
@media (min-width:762px){
    .header-inner{width:730px;}
}
@media (min-width:992px){
    .header-inner{width:960px;}
}
@media (min-width:1232px){
    .header-inner{width:1200px;}
}
.logo-img{ height: 36px; }
.right-nav {width:66px;text-align:right;}
.right-nav .search-icon{ padding-top: 3px;height: 30px; cursor:pointer;}
.left-nav{ display: inline-flex; align-items: center; }
.contact-icon{ height:24px; margin-left: 18px; cursor:pointer; }
nav a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}