html {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    --theme-color: #30a4ca;
    --splitter-width: 2px;
    --animation-duration: 0.3s;
    
    --show-navigator: flex;
}

body {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    display: flex;
    background-image: url('https://pic1.imgdb.cn/item/6841a66e58cb8da5c830d927.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    align-items: center;
    /*  添加 overflow: hidden;  */
}

a
{
    text-decoration: none;
}

input
{
    outline: none !important;
    color: var(--theme-color);
}

input:focus-visible,
input:focus
{
    outline: none !important;
}

.blur-mask {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(8px);
    z-index: -1;
}

.navigator {
    display: var(--show-navigator);
    flex-direction: row;
    justify-content: center;
    position: relative;
    width: calc(20% + 30px);
    height: calc(100% + 30px);
    background-color: rgba(255, 255, 255, 0.8);
    border-right: white 2px solid;
    box-shadow:
        /* 最内层，弱扩散 */
        inset 1px 1px 3px 1px rgba(255, 255, 255, 0.5),
        /* 中间层，中等扩散 */
        inset 3px 3px 8px 3px rgba(255, 255, 255, 0.6),
        /* 最外层，强扩散 */
        inset 7px 7px 15px 5px rgba(255, 255, 255, 0.7),
        /* 外部阴影，提供层次感 */
        4px 0px 10px 10px rgba(0, 0, 0, 0.3);
    z-index: 1;
    margin: 0px;
    padding: 0px;
    /*backdrop-filter: blur(8px);*/
    translate: -30px 0px;
    /*translate: calc(-100% + -4px + 20px) 0px;
    transition: translate 0.5s cubic-bezier(.68,0,0,.97);*/
    transition: all var(--animation-duration) ease-in-out;
}

.navigator-content {
    width: calc(100% - 30px);
    translate: 45px 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

li {
    list-style-type: none;
}

.navigator-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 20%;
}

.navigator-list {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 80%;
    height: 70%;
    margin: 0px;
    padding: 0px;
    border-top: var(--theme-color) var(--splitter-width) solid;
    border-bottom: var(--theme-color) var(--splitter-width) solid;

}

.logo {
    width: 70%;
    translate: -22px 0px;
}

.navigator-item {
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: var(--theme-color);
    cursor: pointer;
}

.navigator-splitter {
    border-bottom: var(--theme-color) var(--splitter-width) solid;
}

.navigator-item-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--theme-color);
    cursor: pointer;
}

.navigator-item-content {
    position: relative;
    overflow: hidden;
    color: var(--theme-color);
    transition: color var(--animation-duration) ease-in-out;
}


.navigator-item-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--theme-color), var(--theme-color));
    transition: left var(--animation-duration) ease-in-out;
    z-index: -1;
}

.navigator-item-content:hover {
    color: white;
}

.navigator-item-content:hover::before {
    left: 0;
}

.navigator-item-content.white-bg {
    color: var(--theme-color);
}

.navigator-item-content.white-bg:hover {
    color: #ffffff;
}

.navigator-item-content.white-bg::before {
    background: linear-gradient(to right, #ffffff, #ffffff);
}

.navigator-item-content.white-bg:hover::before {
    left: 0;
}

.navigator-item-content.white-bg:hover {
    color: var(--theme-color);
}

.navigator-beian {
    color: var(--theme-color);
    text-align: center;

    translate: -22px 0px;
}

.external-link::after {
    content: "";
    display: inline-block;
    width: 16px; /* 调整图标宽度 */
    height: 16px; /* 调整图标高度 */
    background-image: url('../assets/external_link.svg');
    background-size: contain; /* 或 cover，根据需要选择 */
    background-repeat: no-repeat;
    margin-left: 4px; /* 调整左边距 */
    margin-right: 0px; /* 调整右边距 */
    vertical-align: middle;
    pointer-events: none;
}
  
.nav-bar {
    width: 100%;
    height: calc(7vh + 30px);
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-right: white 2px solid;
    box-shadow:
        /* 最内层，弱扩散 */
        inset 1px 1px 3px 1px rgba(255, 255, 255, 0.5),
        /* 中间层，中等扩散 */
        inset 3px 3px 8px 3px rgba(255, 255, 255, 0.6),
        /* 最外层，强扩散 */
        inset 7px 7px 15px 5px rgba(255, 255, 255, 0.7),
        /* 外部阴影，提供层次感 */
        4px 0px 10px 10px rgba(0, 0, 0, 0.3);
    z-index: 1;
    margin: 0px;
    padding: 0px;
    /*backdrop-filter: blur(8px);*/
    translate: 0px -30px;
}

.menu-button {
    height: calc(100% - 30px);
    aspect-ratio: 1;
    background-color: transparent;
    translate: 0px 15px;
    border: none;
}

.menu-button-icon {
    width: 80%;
    height: 80%;
}

.menu-logo-container {
    height: calc(calc(100% - 30px) * 0.8);
    translate: 0px 15px;
    width: 100%;
    display: flex;
    justify-content: center;

}

.menu-logo {
    height: 100%;
}