body, html {
    margin: 0;
    font-family: Regular;
    overflow: hidden;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

a {text-decoration:none; font-weight: 500;}

/*竖屏*/
@media only screen and (orientation: portrait) {
    .content-title1 {
        font-size: 6.5vw;
        padding-left: 10px;
        padding-right: 10px;
    }
    .content-title2 {
        font-size: 6vw;
        margin-top: 12vw;
        padding-left: 10px;
        padding-right: 10px;
    }
    .content-link {
        font-size: 5vw;
        margin-bottom:2vw;
        padding-left: 10px;
        padding-right: 10px;
    }
    .content-box {
        padding-left: 1vw;
        padding-right: 1vw;
    }
    .content-main {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-top:15vh;
    }
    .language-switcher {
        position: absolute;
        top: 10px;
        right: 10px;
        gap: 10px;
        height: 4vh;
    }
    .language-switcher button {
        padding: 8px;
        border: 1px solid #ccc;
        background-color: white;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.3s ease;
        font-size: 3vw !important;
        color: #000000;
    }
    .language-switcher button:hover {
        background-color: white;
    }
    .language-switcher button:after {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid currentColor;
        margin-left: 6px;
        vertical-align: middle;
        transition: transform 0.2s;
    }
    .lang-confirm {
        height:40px;
        display: flex;
        justify-content: center;
        gap: 60vw;
        background-color: #F4F6FF;
        z-index: 1000;
        position:fixed;
        width: 100vw;
        top:50vh;
        padding-top: 10px;
    }
    .lang-select {
        overflow-y: auto;
        background-color: #E6ECF8;
        max-height: 50vh;
        position: fixed;
        left: 0;
        right: 0;
        top: calc(50vh + 40px);
        z-index:9999;
        width:100vw;
        bottom:0;
        padding-bottom:10px;
    }
    .lang-select::-webkit-scrollbar {
        width: 1px;
    }
    .lang-select::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    .lang-select::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }
    .lang-select::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
    .lang-list-item {
        padding: 12px 15px;
        border-bottom: 0.3px solid white;
        transition: background-color 0.2s;
        color: #232323;
        height: 20px;
    }
    .lang-list-item:last-child {
        border-bottom: none;
    }
    .lang-list-item:hover {
        color: black;
    }
}

/*横屏*/
@media only screen and (orientation: landscape) {
    .content-title1 {
        font-size: 6vh
    }
    .content-title2 {
        font-size: 5vh;
        margin-top: 12vh;
    }
    .content-link {
        font-size: 4vh;
        margin-bottom: 2vh;
    }
    .content-box {
        padding-left: 1vh;
        padding-right: 1vh;
    }
    .content-main {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-top:15vh;
    }
    .language-switcher {
        position: absolute;
        top: 10px;
        right: 10px;
        gap: 10px;
        height: 2vw;
    }
    .language-switcher button {
        padding: 8px;
        border: 1px solid #ccc;
        background-color: white;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.3s ease;
        font-size: 2vh !important;
    }
    .language-switcher button:hover {
        background-color: #e0e0e0;
    }
    .language-switcher button:after {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid currentColor;
        margin-left: 6px;
        vertical-align: middle;
        transition: transform 0.2s;
    }
    .lang-confirm {
        height:40px;
        display: flex;
        justify-content: center;
        gap: 60vw;
        background-color: #F4F6FF;
        z-index: 1000;
        position:fixed;
        width: 100vw;
        top:50vh;
        padding-top: 10px;
    }

    .lang-select {
        overflow-y: auto;
        background-color: #E6ECF8;
        max-height: 50vh;
        position: fixed;
        left: 0;
        right: 0;
        top: calc(50vh + 40px);
        z-index:9999;
        width:100vw;
        bottom:0;
    }
    .lang-select::-webkit-scrollbar {
        width: 1px;
    }
    .lang-select::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    .lang-select::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }
    .lang-select::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
    .lang-list-item {
        padding: 12px 15px;
        border-bottom: 0.3px solid white;
        cursor: pointer;
        transition: background-color 0.2s;
        color: #232323;
        height: 20px;
    }
    .lang-list-item:last-child {
        border-bottom: none;
    }
    .lang-list-item:hover {
        color: black;
    }
}
/* 遮罩 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
    z-index: 1000; /* 确保遮罩在最上层 */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
}
.hidden {
    display: none;
}
.hover-effect:hover {
    /* background-color: #888 !important;
    transition: all 0.3s ease;*/
}
.lang-list-item.light-selected {
    background-image: url('icon/select_blue.png');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: center right 35px;
}
.lang-list-item.dark-selected {
    color: #FF5106 !important;
    background-image: url('icon/selected_orange.png');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: center right 35px;
}