/* =========================
   星游娱乐 活动中心 V2.8
   Android WebView稳定版
   图片金边 + 加载动画
========================= */


/* =========================
        全局
========================= */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}


html,
body{

    width:100%;

    height:100%;

    overflow:hidden;

    background:#111;

    color:#fff;

    font-family:"Microsoft YaHei",sans-serif;

    -webkit-user-select:none;

}



/* =========================
        APP
========================= */


#app{

    width:100%;

    height:100%;

    display:flex;

    flex-direction:column;

    background:#111;

}






/* =========================
        顶部
========================= */


.header{


    height:50px;


    flex-shrink:0;


    display:flex;


    align-items:center;


    justify-content:center;


    background:#191919;


    color:#f7d36a;


    font-size:20px;


    font-weight:bold;


    border-bottom:1px solid #333;


}







/* =========================
        主体
========================= */


.main{


    flex:1;


    display:flex;


    overflow:hidden;


}








/* =========================
        左侧菜单
========================= */


.sidebar{


    width:90px;


    flex-shrink:0;


    height:100%;


    background:#191919;


    border-right:1px solid #333;


    overflow-y:auto;


    overflow-x:hidden;


    -webkit-overflow-scrolling:touch;


    touch-action:pan-y;


}







/* LOGO */


.logo{


    height:88px;


    display:flex;


    flex-direction:column;


    justify-content:center;


    align-items:center;


    background:


    linear-gradient(#2b2208,#191919);


    border-bottom:1px solid #333;


}



.logo-icon{


    font-size:30px;


    color:#ffd54f;


    text-shadow:


    0 0 8px rgba(255,215,0,.5);


}



.logo-title{


    margin-top:4px;


    color:#ffd54f;


    font-size:15px;


    font-weight:bold;


}








/* =========================
        菜单
========================= */


.item{


    height:54px;


    flex-shrink:0;


    display:flex;


    align-items:center;


    justify-content:center;


    border-bottom:1px solid #333;


    color:#f7d36a;


}


.item.active{


    background:#2b2208;


}



.menu-icon{


    width:22px;


    min-width:22px;


    text-align:center;


    font-size:18px;


}



.menu-text{


    font-size:14px;


    font-weight:bold;


    white-space:nowrap;


}








/* =========================
        右侧区域
========================= */


.content{


    flex:1;


    height:100%;


    display:flex;


    align-items:center;


    justify-content:center;


    background:#000;


    overflow:hidden;


}






/* 图片容器 */


.banner-box{


    width:100%;


    height:100%;


    display:flex;


    align-items:center;


    justify-content:center;


    overflow:hidden;


}






/* =========================
        活动图片
        金边贴合
========================= */


#banner{


    display:block;


    width:auto;


    height:auto;


    max-width:98%;


    max-height:98%;


    object-fit:contain;


    background:#000;


    border:3px solid #d4af37;


    border-radius:10px;


    padding:0;


    margin:0;


    box-shadow:


    0 0 15px rgba(212,175,55,.45);


}








/* =========================
        平板
========================= */


@media(min-width:768px){


.sidebar{


    width:180px;


}



.logo{


    height:110px;


}



.logo-icon{


    font-size:36px;


}



.logo-title{


    font-size:18px;


}



.menu-text{


    font-size:16px;


}


}








/* =========================
        手机
========================= */


@media(max-width:420px){


.sidebar{


    width:88px;


}



.logo{


    height:78px;


}



.logo-icon{


    font-size:24px;


}



.logo-title{


    font-size:13px;


}



.item{


    height:48px;


}



.menu-icon{


    width:20px;


    min-width:20px;


    font-size:16px;


}



.menu-text{


    font-size:12px;


}



#banner{


    max-width:98%;


    max-height:98%;


}


}








/* =========================
        超小屏
========================= */


@media(max-width:360px){


.sidebar{


    width:76px;


}



.logo-title{


    font-size:12px;


}



.menu-text{


    font-size:11px;


}



}








/* =========================
        页面加载
========================= */


#loading{


    position:fixed;


    left:0;


    top:0;


    right:0;


    bottom:0;


    z-index:99999;


    display:flex;


    align-items:center;


    justify-content:center;


    background:


    radial-gradient(

        circle,

        #302507 0%,

        #171717 45%,

        #0d0d0d 100%

    );


    transition:.3s;


}





.loading-box{


    display:flex;


    flex-direction:column;


    align-items:center;


}





.loading-logo{


    font-size:48px;


    margin-bottom:18px;


    color:#ffd54f;


    text-shadow:


    0 0 10px rgba(255,215,0,.8),


    0 0 25px rgba(255,215,0,.4);


}





.loading-circle{


    width:46px;


    height:46px;


    border-radius:50%;


    border:4px solid rgba(212,175,55,.25);


    border-top-color:#ffd54f;


    animation:loadingRotate 1s linear infinite;


}





@keyframes loadingRotate{


    from{

        transform:rotate(0deg);

    }


    to{

        transform:rotate(360deg);

    }


}





.loading-text{


    margin-top:18px;


    color:#ffd54f;


    font-size:16px;


    font-weight:bold;


    letter-spacing:2px;


}