@font-face {
    font-family: 'Bold';
    src: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/font/Farlight84_Sys_V01-Bold.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Regular';
    src: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/font/Farlight84_Sys_V01-Regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'REEJI';
    src: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/font/REEJI.ttf') format('ttf');
    font-display: swap;
}

:root {
    --mouse-normal: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/images/pc/mouse.webp') 10 10, auto;
    --mouse-hover: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/images/pc/mouse_hover.webp') 10 10, auto;
    --mouse-active: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/images/pc/mouse_active.webp') 10 10, auto;
}

* {
    cursor: var(--mouse-normal);
}

*,
body {
    padding: 0;
    margin: 0;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
}

.hide {
    display: none !important;
}

.show {
    display: block;
}

.hand {
    cursor: pointer;
}

/* 顶部通用导航栏 */
.header {
    width: 100%;
    /*min-width: 1280px;*/
    max-width: calc(100vh * 21 / 9);
    height: 1.08125rem;
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/obt_images/home/pc/images/home/bg-header.webp') 0 0 / cover no-repeat;
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    font-family: 'Regular';
    display: flex;
    align-items: center;
}

.header .logo {
    /* width: 2.69375rem; */
    height: 0.64375rem;
    margin-left: 0.7375rem;
    /* background: url("https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/obt_images/home/pc/images/home/logo.webp") 0 0 / 100% auto no-repeat; */
}

.header .logo:hover {
    cursor: var(--mouse-hover);
}

.header .ul-nav {
    height: 100%;
    display: flex;
    justify-content: space-between;
    margin-left: 0.625rem;
}

.header .ul-nav .nav {
    /* width: 1.6375rem; */
    /* cursor: pointer; */
    width: 2.1rem;
    font-size: 0.21875rem;
    color: #aab1b2;
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    line-height: 1.2;
}

.header .ul-nav .nav:hover {
    color: #cbff3f;
    cursor: var(--mouse-hover);
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/obt_images/home/pc/images/home/bg-nav-selected.webp') 0 0 / 100% auto no-repeat;
}

.header .ul-nav .nav:active {
    cursor: var(--mouse-active);
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/obt_images/home/pc/images/home/bg-nav-selected.webp') 0 0 / 100% auto no-repeat;
}

.header .ul-nav .active {
    color: #cbff3f;
}

.header .ul-nav .iconfont {
    font-size: 0.1rem;
    margin-left: 0.05rem;
    transform: rotate(0deg);
    transform-origin: center center;
    transition: transform 0.5s ease;
}

.header .ul-nav .nav {
    position: relative;
}
.header .ul-nav .nav span{
    display: block;
    max-width: 1.3rem;
}

.header .ul-nav .nav:hover .iconfont {
    transform: rotate(180deg);
    transform-origin: center center;
    transition: transform 0.5s ease;
}

.header .ul-nav .nav .dropDown {
    position: absolute;
    left: 0rem;
    top: 1.08125rem;
    width: 2.1rem;
    overflow: hidden;
    height: 0;
    transition: height 0.5s ease;
}

.header .ul-nav .nav:hover .dropDown {
    height: auto;
    transition: height 0.5s ease;
}

.header .ul-nav .nav .dropDown .item {
    display: inline-block;
    width: 100%;
    height: 0.59375rem;
    line-height: 0.59375rem;
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/obt_images/home/pc/images/home/bg-sub-normal.webp') 0 0 / 100% auto no-repeat;
    text-align: center;
    font-size: 0.21875rem;
    color: #aab1b2;
    text-decoration: none;
}

.header .ul-nav .nav .dropDown .item-small {
    font-size: 0.18rem;
}

.header .ul-nav .nav .dropDown .item:hover {
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/obt_images/home/pc/images/home/bg-sub-selected.webp') 0 0 / 100% auto no-repeat;
    color: #cbff3f;
    cursor: var(--mouse-hover);
}

.header .ul-nav .nav .dropDown .item:active {
    cursor: var(--mouse-active);
    color: #cbff3f;
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/obt_images/home/pc/images/home/bg-sub-selected.webp') 0 0 / 100% auto no-repeat;
}

.header .r-ul-nav {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    float: right;
}

.header .r-ul-nav .line{
    width: 0.02rem;
    height: 50%;
    background-color: #858080;
}

.header .r-ul-nav .lang-nav {
    /* border: 1px solid yellow; */
    display: inline-block;
    width: 1.5rem;
    height: 100%;

    position: relative;

    color: #fff;
    font-size: 0.21875rem;
    font-family: 'Bold';
    text-align: center;
    line-height: 1.08125rem;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header .r-ul-nav .lang-nav .lang-icon {
    width: 0.45rem;
    height: 0.45rem;
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/lang.webp') center / 100% 100% no-repeat;
}
.header .r-ul-nav .lang-nav .lang-icon:hover{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/lang_hover.webp') center / 100% 100% no-repeat;
    cursor: var(--mouse-hover);
}
.header .r-ul-nav .lang-nav .lang-icon:active{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/lang_hover.webp') center / 100% 100% no-repeat;
    cursor: var(--mouse-active);
}

.header .r-ul-nav .lang-nav .lang-box {
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 1.5rem;
    background-color: #797f80;
    overflow: hidden;
    padding-top: 0.05rem;
    padding-left: 0.03rem;
    display: none;
    font-family:none;
}
.header .r-ul-nav .lang-nav .lang-item {
    overflow: hidden;
    line-height: 2.5;
}
.header .r-ul-nav .lang-nav .lang-item.active {
    background-color: #cbff3f;
    color: #262b30;
}
/* .header .r-ul-nav .lang-nav:hover .lang-box {
    display: block;
} */



.header .r-ul-nav .contact-nav {
    /* border: 1px solid red; */
    /* background-color: #d3baba; */
    display: inline-block;
    width: 1.5rem;
    height: 100%;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}
.header .r-ul-nav .contact-nav:hover{
    cursor: var(--mouse-hover);
}
.header .r-ul-nav .contact-nav:hover  .icon-follow{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/follow_hover.webp') center / 100% 100% no-repeat;
    cursor: var(--mouse-hover);
}
.header .r-ul-nav .contact-nav:active  .icon-follow{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/follow_hover.webp') center / 100% 100% no-repeat;
    cursor: var(--mouse-active);
}
.header .r-ul-nav .contact-nav  .icon-follow{
    width: 0.45rem;
    height: 0.45rem;
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/follow.webp') center / 100% 100% no-repeat;
}


.header .r-ul-nav .contact-nav .contact-box {
    position: absolute;
    /* left: -0.60625rem; */
    left: 0;
    top: 1.08rem;
    /* width: 1.6rem; */
    /* height: 2.04375rem; */
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/obt_images/home/pc/images/nav/contact-bg.webp') 0 0 / 100% 100% no-repeat;
    overflow: hidden;
    /*transition: height 0.5s ease;*/
    grid-template-columns: repeat(3, 1fr);
    place-self: center;
    grid-auto-flow: row;
    padding: 0.1rem;
    display: none;
    /* display: grid; */
}
.header .r-ul-nav .contact-nav:hover .contact-box {
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    /*transition: height 0.5s ease;*/
}
/* 新图标 */
.header .r-ul-nav .contact-nav .contact-box .icon{
    /* width: 0.43125rem;
    height: 0.23rem;
    margin-left: 0.1625rem;
    margin-top: 0.32rem;
    margin-right: 0.1625rem; */
    display: block;
    text-decoration: none;
    height: 0.35rem;
    width: 0.38rem;
    margin: 0.1rem 0.05rem;
}
.header .r-ul-nav .contact-nav .contact-box .icon:hover {
    cursor: var(--mouse-hover);
}
.header .r-ul-nav .contact-nav .contact-box .icon:active {
    cursor: var(--mouse-active);
}
.icon-discord{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_discord.png') center / 100% 100% no-repeat;
}
.icon-discord:hover{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_discord_hover.png') center / 100% 100% no-repeat;
}
.icon-facebook{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_facebook.png') center / 100% 100% no-repeat;
}
.icon-facebook:hover{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_facebook_hover.png') center / 100% 100% no-repeat;
}
.icon-instagram{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_instagram.png') center / 100% 100% no-repeat;
}
.icon-instagram:hover{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_instagram_hover.png') center / 100% 100% no-repeat;
}
.icon-tiktok{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_tiktok.png') center / 100% 100% no-repeat;
}
.icon-tiktok:hover{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_tiktok_hover.png') center / 100% 100% no-repeat;
}
.icon-twitter{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_twitter.png') center / 100% 100% no-repeat;
}
.icon-twitter:hover{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_twitter_hover.png') center / 100% 100% no-repeat;
}
.icon-youtube{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_youtube.png') center / 100% 100% no-repeat;
}
.icon-youtube:hover{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/icon_youtube_hover.png') center / 100% 100% no-repeat;
}
/* 新图标结束 */


.header .r-ul-nav .login-nav {
    display: inline-block;
    width: 0.4125rem;
    height: 0.59375rem;
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/obt_images/home/pc/images/nav/login-normal.webp') 0 0 / 100% auto no-repeat;
    margin-right: 0.48125rem;
}
.header .r-ul-nav .login-nav:hover {
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/cn/obt_images/home/pc/images/nav/login-hover.webp') 0 0 / 100% auto no-repeat;
    cursor: var(--mouse-hover);
}
.header .r-ul-nav .download-nav {
    width: 2.81875rem;
    height: 1.06875rem;
}
.header .r-ul-nav .download-btn {
    width: 100%;
    height: 100%;
    
    line-height: 1.06875rem;
    font-size: 0.370063rem;
    text-align: center;
    color: #262b30;
    display: none;
    display: block;
    font-family: 'Bold';
    overflow: hidden;
}
.header .r-ul-nav .download-btn.btn-en{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/btn_download_en.webp') 0 0 / 100% 100% no-repeat;
}
.header .r-ul-nav .download-btn.btn-en:hover {
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/btn_download_en_hover.webp') 0 0 / 100% 100% no-repeat;
    cursor: var(--mouse-hover);
}
.header .r-ul-nav .download-btn.btn-en:active {
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/btn_download_en_active.webp') 0 0 / 100% 100% no-repeat;
    cursor: var(--mouse-active);
}

.header .r-ul-nav .download-btn.btn-es{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/btn_download_es.webp') 0 0 / 100% 100% no-repeat;
}
.header .r-ul-nav .download-btn.btn-es:hover {
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/btn_download_es_hover.webp') 0 0 / 100% 100% no-repeat;
    cursor: var(--mouse-hover);
}
.header .r-ul-nav .download-btn.btn-es:active {
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/btn_download_es_active.webp') 0 0 / 100% 100% no-repeat;
    cursor: var(--mouse-active);
}
.header .r-ul-nav .download-btn.btn-pt_BR{
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/btn_download_pt_BR.webp') 0 0 / 100% 100% no-repeat;
}
.header .r-ul-nav .download-btn.btn-pt_BR:hover {
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/btn_download_pt_BR_hover.webp') 0 0 / 100% 100% no-repeat;
    cursor: var(--mouse-hover);
}
.header .r-ul-nav .download-btn.btn-pt_BR:active {
    background: url('https://lilithimage.lilithcdn.com/allgames-official-web/farlight84/en/pc/header/btn_download_pt_BR_active.webp') 0 0 / 100% 100% no-repeat;
    cursor: var(--mouse-active);
}





/* 底部版权信息 */
.footerDesc {
    overflow: hidden;
    background-color: #000000;
    color: #999999;
    height: 4rem;
    width: 100%;
    

    display: flex;
    justify-content: center;
    align-items: center;
}

.footerDesc .left{
    height: 1.3rem;
    width: 20%;
    text-align: right;
}
.footerDesc .left img{
    height: 100%;
}

.footerDesc .line{
    /* border: 1px solid blue; */
    height: 0.9rem;
    width: 2px;
    background-color: #858080;

    margin: 0 1rem;
}


.footerDesc .right{
    /* border: 1px solid yellow; */
    height: 1.5rem;
    /* width: 30%; */
}

.footerDesc .link {
    margin-top: 0.3rem;
    margin-bottom: 0.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footerDesc .link a {
    margin: 0 0.2rem;
    color: #d7d7e6;
    /* text-decoration: none; */
    text-underline-offset: 0.1rem;

    font-family: 'Bold';
    font-size: 0.2rem;
}
.footerDesc .copyRight {
    text-align: center;
    color: #535268;
    font-family: 'Regular';
    font-size: 0.175rem;
}