/* 100px / 1920px = 0.0520833333
0.0520833333 * 100 = 5.20833333 */
html{font-size: calc(var(--vw) * 5.20833333) !important;}
.top_logo{
    width: 10vw;
    position: relative;
}

.menu_mobile{
    display: none;
}

.nav_bar{
    height: 4.2vw;
}
.top_logo img{
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}
.menu_list {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-right:3.7rem;
}
/* .font_en .menu_list {
    margin-right: 3.5rem;
} */
.menu_list li {
  margin: 0 1vw;
  position: relative;
}

.menu_list li a {
  text-decoration: none;
  display: block;
  padding: 0.26vw 0;
  font-size: min(var(--font-sz-07),var(--font-sz-m2));
  font-weight: 700;
  line-height: 1;
  position: relative;
  z-index: 1;
  text-align: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, var(--clr-org-02), var(--clr-org-02) 50%, var(--clr-wht) 50%);
  background-size: 200% 100%;
  background-position: -100%;

}

.font_zh-Hant .menu_list li a{
    font-size:min(var(--font-sz-02),22px);
    font-weight: 100;
}

.menu_list li a::before {
  content: '';
  width: 0;
  height: 0.08vw;
  position: absolute;
  left: 0;
  bottom: -0.1vw;
  z-index: 0;
  background: var(--clr-org-02);
  transition: background-position 0.3s ease-in-out, width 0.3s ease-in-out;
}

.menu_list li a:hover,
.menu_list li.curr a {
    background-position: 0%;
}
.menu_list li .img_hover_circle{
    right: -0.625vw;
    top:0.52vw;
    width: 0.2vw;
    height: 0.2vw;
}
.menu_list li.curr .img_hover_circle,
.menu_list li:hover .img_hover_circle{
    animation: blinkAnimation 1s infinite;
    visibility: visible;
}
.menu_list li.curr a::before,
.menu_list li a:hover::before {
  width: 100%;
}

.top_bar_button{
    right: 0;
    height: 100%;
    display:flex;
    align-items: center;
}

.nav_fun_btn{
    min-width: 0.5rem;
    height:0.4rem;
    padding: 0 0.28rem;
    flex: 0 0 auto;
}
.nav_fun_btn div{
    font-size: var(--font-sz-01);
}
.top_bar .nav_fun_btn{
    height:0.3rem;
}

.btn_usr_login{
    height: 2vw;
    width: 2vw;
}
.btn_usr_login::before{
    width: 100%;
    height: 100%;
}
.i18n_menu{
    width: 2rem;
    height: 0.4rem;
    flex: 0 0 auto;
    padding-left: 0.4rem;
    margin-left: 0.4rem;
}
button#i18n_menu::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 0.01rem;
    background-color: rgba(255, 255, 255, .3);
}
.font_en .i18n_menu{
    width: 1.6rem;
}
.i18n_menu_inner{
    display: flex;
    align-items: center;
    justify-content: space-between;;
}
.i18n_menu img{
    width: 0.25rem;
}
.lang_current{
    color: var(--clr-wht);
}
.font_en .lang_current{
    letter-spacing: 0.02rem;
    font-size: var(--font-sz-05);
}
.font_zh-Hant .lang_current{
    font-size: var(--font-sz-01);
}
.lang_list{
    position: absolute;
    right: 0;
    top:1.98vw;
    width: 100%;
    background-color: rgba(0,0,0,.4);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 0.4vw 0 1vw 0;
}
.lang_list a{
    display: block;
    margin: 0 0.8vw;
    border-bottom: 0.01rem solid rgba(255,255,255,.1);
    height: 0.4rem;
    line-height: 0.4rem;
    text-align: center;
    color: var(--clr-wht);;
    text-decoration: none;
}
.lang_list a:first-child{
    font-family: var(--font-fm-deluxe);
}
.lang_list a:hover{
    color: var(--clr-org-01);
    text-decoration: none;
}

.triangle_arrow{
    width: 0.42vw;
    height: 0.52vw;
}
.triangle{
    fill:var(--clr-wht);
}

.triangle_arrow .triangle{
    transition: transform 0.3s ease-in-out;
    transform-origin: 8px 8px;

}
.i18n_menu:hover .triangle{
    transform: rotate(180deg);
}
.i18n_menu:hover .lang_list{
    opacity: .8;
}

.awaits_btn:hover div {
    transform: translateY(0);
}
.awaits_btn:hover div::before {
    transform: translateY(120%);
}

.function_button button{
    /* margin: 0 1vw; */
}
.function_button p{
    padding-top: 0.2vw;
}
.fun_btn div i.windows_icon{
    background-size: 100%;
    width: 0.3rem;
    height: 0.3rem;
}

.banner_fun_btn{
    min-width: 1rem;
    padding:0 0.4rem;
    height: 0.42rem;
    font-size: var(--font-sz-06);
}
.font_zh-Hant .banner_fun_btn{
    font-size: var(--font-sz-04);
}
/*.fun_btn:hover div,
.nav_fun_btn div::after
.banner_fun_btn div::after{
    transition: 0.5s;
}*/
.ca_btn:hover div,
.fun_btn:hover div{
    padding-right: 10%;
}
.nav_fun_btn:hover div::after{
    right: 12%;
    opacity: 1;
}
.banner_fun_btn:hover div::after{
    right: 16%;
    opacity: 1;
}

.banner_fun_btn div{
    font-size:min(var(--font-sz-03),var(--font-sz-m2));
}
.font_zh-Hant .banner_fun_btn div{
    font-size:min(var(--font-sz-02),var(--font-sz-m1));
}

.social_media a{
    width: 0.4rem;
    height: 0.4rem;
    margin-right: 1vw;  
    border-radius: 0.15rem;
}
.social_media .medias_name{
    bottom: -0.46rem;
}

@keyframes blinkAnimation {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
.img_hover:hover .img_hover_circle{
    animation: blinkAnimation 1s infinite;
    visibility: visible;
}
.img_hover:hover::after{
    top:0;
    opacity: 1;
}
.img_hover:hover::before{
    bottom: 0;
    opacity: 1;
}

.footer{
    display: flex;
    justify-content: space-between;
    font-size: var(--font-sz-s1);
}
.footer .social_media a{
    opacity: .5;
}
.footer .social_media a:hover{
    opacity: 1;
}
.logo_copyright{
    display: flex;
    align-items: flex-start;
    height: 4.167vw;
}
.footer_copyright{
    text-align: left;
    border-left:0.01rem solid rgba(255,255,255,.1);
    padding-left: 0.4rem;
    margin-left: 0.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.footer_copyright p{
    display: block;
    line-height: 0.26rem;
}
.footer_copyright a:hover{
    text-decoration:underline;
}
.footer_logo img{
    display: block;
    width:18vw;
    opacity: .4;
    height: auto;
}
.join_community .social_media{
    padding-top: 0.1rem;
}
.dg_box_menu_links{
    width: 60vw;
}
.dg_box_menu_links .top_logo,
.dg_box_menu_links .social_media{
    display: none;
}
.mobile_menu_list{
    display: flex;
    align-items: center;
    justify-content:center;
}
.mobile_menu_list a{
    margin:2vw 3vw;
    font-size: var(--font-sz-08);
    border-bottom: 1px solid var(--bd--db);
    text-decoration: none;
    color: var(--clr-wht);
}
.font_zh-Hant .mobile_menu_list a{
    font-size: var(--font-sz-07);
}
.mobile_menu_list a:hover{
    color: var(--clr-org-01);
}
.dg_box_close{
    top: -1.62vw;
    right: -4.32vw;
}
/* .dg_box_tips{
    font-size: var(--font-sz-03);
}
.font_zh-Hant .dg_box_tips{
    font-size: var(--font-sz-02);
} */
.dg_box_tips,.db_reward_list{
    width: 35.1vw;
    /* padding:0.5rem 0.2rem; */
}
.db_draw li{
    width: 8.3854vw;
    height: 10.3125vw;
    margin: 0.4vw;
}

.db_draw .db_draw_img{
    height:8.177vw;
}
.db_draw img{
    width:5.9375vw;
}
.db_draw .db_draw_text{
    height: 1.8vw;
}
.font_zh-Hant .dg_box_tips, .font_zh-Hant .db_reward_list{
    font-size: var(--font-sz-02);
}
.failure_prompt{
    padding-bottom: 0.15rem;
}
.failure_prompt_icon{
    height: 2vw;
    width: 2vw;
}
.dg_box_close div{
    transition: all .4s;
}
.dg_box_close div:hover{
    transform: rotate(180deg);
}
.user_info{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-bottom: 0.18rem
}
.user_info .username,
.user_info .banner_fun_btn{
    font-size: var(--font-sz-06);
}
.font_zh-Hant .user_info .username,
.font_zh-Hant .user_info .banner_fun_btn{
    font-size: var(--font-sz-05);
}
.user_info .banner_fun_btn{
    width: 1.82rem;
    height: 0.52rem;
}
#afterLogin,
.top_bar .social_media{
    display: none;
}
@keyframes rotate-once {
    0% {
      transform: rotate(0deg);
      animation-timing-function: ease-out;
    }
    100% {
      transform: rotate(180deg);
      animation-timing-function: ease-out;
    }
  }

  @media (min-width: 3841px) {

    .menu_list li a{
        font-size:var(--font-sz-01);
    }
    .font_zh-Hant .menu_list li a{
        font-size:var(--font-sz-s3);
    }
    .nav_fun_btn div {
        font-size:var(--font-sz-01);
    }
    .font_zh-Hant .nav_fun_btn div{
        font-size: var(--font-sz-s3);
    }
    .banner_fun_btn div {
        font-size: var(--font-sz-02);
    }
    .font_zh-Hant .banner_fun_btn div{
        font-size: var(--font-sz-01);
    }
    .header .banner h1 {
        top: 35%;
    }
    .index_btn {
        bottom: 2vh !important;
    }
    .sec_gift_awaits{
        padding: 1.5rem calc(var(--section_pd)* 2) var(--section_pd) var(--section_pd-01);
    }
    .gift_awaits{
        width: 50vw;
    }
    .draw_reward,.number_of_draws{
        width: 50%;
        margin: 0 auto;
    }
    .gift_awaits .reward_progress_list{
        display: flex;
        flex-wrap: wrap;
        width: 50vw;
        gap: 2%;
    }
    .gift_awaits .reward_progress_list li{
        width: 32%;
    }
    .dg_box_tips, .db_reward_list {
        width: 65.1vw;
    }
    .news_list, .features_list, .sec_news .sec_title, .sec_game_features .sec_title {
        width: 50vw;
    }
    .list_ct .news_list{
        width: 100%;
    }
    .sec_game_features .sec_title, .sec_news .sec_title {
        margin-top: 1rem;
    }
    .news_list,.features_list {
        display: flex;
        gap: 2%;
        flex-wrap: wrap;
    }
    .news_list li {
        width: 48%;
    }
    .features_list li {
        width: 32%;
    }
    .list_ct .news_list li:nth-child(odd){
        width: 50%;
    }
    .list_ct .news_list li:nth-child(even){
        width: 48%;
    }
    .news_list .news_link_text {
        padding-left: 0.2rem;
    }

    .css-nnuwmp.infinite-modal .infinite-modal-body{
        transform: scale(2.5);
    }
    .introduction_content {
        padding-top: 10.42vw;
    }
}