
.canvasgame{
    margin-top: 30px;
    height: 450px;
    transform: scale(0.9);
}

.drawcanvasgame{
    width: 438px;
    height: 438px;
    margin: auto;
    background-image: url(../img/wheel.png?v=1);
    background-position: center;
    background-repeat: none;
    position: absolute;
    z-index: 1;
}

.drawcanvasgame canvas{
    width: 380px;
    height: 380px;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 3;
}

.box-showbonus{
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    background: #000000 url(../img/rgew.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}

.text-showbonus{
    background-image: radial-gradient(#000000 60%, #00000000);
    width: 600px;
    height: 400px;
    position: relative;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%; 
    border-radius: 10%;
    /* padding: 30px; */
}
.text-showbonus span{
    position: absolute;
    transform: translate(-50%,-50%);
    top: 40%;
    left: 50%;
    font-family: 'Times New Roman',serif;
    letter-spacing: 5px;
    font-size: 50px;
    font-weight: bold;
    background-image: linear-gradient(
     to right,
     #462523 0,
            #cb9b51 22%, 
     #f6e27a 45%,
     #f6f2c0 50%,
     #f6e27a 55%,
     #cb9b51 78%,
     #462523 100%
     );
    color:transparent;
    -webkit-background-clip:text;
 
 }

.img_title{
    position: absolute;
    z-index: 1;
    margin: auto;
    width: 100%;
    max-width: 300px;
    margin-top: 0px;
    left: calc(50% - 140px);
}
.img_bg{
    position: absolute;
    width: 100%;
    top: 55px;
}
.img_bg1{
    position: absolute;
    width: 100%;
    margin-top: 18px;
    max-width: 480px;
    left: calc(50% - 258px);
}
.img_bg2{
     position: absolute;
     width: 100%;
     max-width: 480px;
    margin-top: -90px;
    left: calc(50% - 258px);
}

.img_footer{
    position: absolute;
    z-index: 5;
    margin: auto;
    width: 100%;
    bottom: -150px;
}
.img_btnspin{
    position: absolute;
    z-index: 0;
    margin: auto;
    width: 180px;
    top: -35px;
}
.btnspin i,.btnspin div{
    margin-top: -30px;
    --tw-text-opacity: 1;
    color: rgb(105 76 0 / var(--tw-text-opacity));
}

.img_close_wheel{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    z-index: 4;
}
.img_closesystem_wheel{
    width: 100%;
    max-width: 100px;
}

.img_btnspin.desable_img{
    filter: grayscale(1);
}

@media (max-width: 640px) {
    .canvasgame { 
        margin-top: 00px;
        transform: scale(0.7); 
        height: 420px; 
    }
    .img_bg1{ 
        width: 450px;
        margin-top: -55px;
        left: calc(50% - 240px);
     }
    .img_bg2{
        width: 450px;
        margin-top: -55px; 
        left: calc(50% - 240px);
    }

    .img_btnspin{
        top: -35px;
    }
    .btnspin i,.btnspin div{
        margin-top: -32px;
    }
}

@media (max-width: 420px) {
    .canvasgame { 
        margin-top: 10px;
        transform: scale(0.7); 
        height: 400px; 
    }
    .img_bg1{ 
        width: 490px;
        margin-top: -55px; 
        left: calc(50% - 240px);
     }
    .img_bg2{
        width: 400px;
        margin-top:  -55px;
        left: calc(50% - 240px);
    }
    .img_btnspin{
        top: -28px;
    }
    .btnspin i,.btnspin div{
        margin-top: -26px;
    }
}


/* ---------- result -------------- */
.boxgamewheel .bg-main2 {
    background: #211f26 !important;
}
table.tblDetail tbody td, table.tblDetail thead th{
    border: 1px solid #211f26 !important;
    font-size: 12px;
}
.gamewheelplaylist{
    overflow-y: auto;
    overflow-x: hidden;
    background: #141218; 
    color: #FFFFFF;
    border-radius: 5px;
}
.boxgamewheel .tblDetail thead{
    background: #141218; 
    color: #FFFFFF;
}
/* ---------- end result -------------- */

/* ---------- start boxgamewheel -------------- */
.boxgamewheel{
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 0px 20px 20px 20px;
    background: #000000ee;
  }
  .boxbody_gamewheel{
    width: 100%;
    max-width: 550px;
    margin: 20px auto;
    background: #000000;
  }
  .btnclose-gamewheel{
    width: 100px;
    background: var(--red);
    color: var(--white);
  }
  .h-90{ height: 90px; }
  .img_bigwin img{
    height: 110px;
    position: absolute;
    margin-top: -26px;
    right: 29px;
  }
  /* ---------- end boxgamewheel -------------- */


  .position-relative{ position: relative; }
  .cursor-pointer{ cursor: pointer; }
  .bdrd-sm { border-radius: 5px; }
  .bg-red { background: #f63846; }
  .p-4 { padding: 10px; }
  .d-flex { display: flex; }
  .flex-center { justify-content: center; }
  .w4-1 {
    width: 25%;
    max-width: 25%;
  }
  .w4-2 { 
    width: 50%;
    max-width: 50%;
  }
  .ml-2 {  margin-left: 5px; }
  .mt-1 { margin-top: 3px; }
  .m-auto { margin: auto; }
  .text-white { color: #FFFFFF; }
  .fz-2 { font-size: 20px !important; }
  .fz-4 { font-size: 25px !important; }
  .text-yellow { color: #eedb51; }
  .text-orange { color: orange; }