/* Notification */
#notice-fadeup {
    position: fixed;
    bottom: -100%;
    width: 100%;
    padding: 15px;
    text-align: center;
    transition: all 1s ease-in-out;
    opacity: 0;
    z-index: 100;
    max-width: 430px;
    z-index: 1000;
    background: url(../images/confetti.png) no-repeat top center;
    background-size: 100% auto;
    border-radius: 15px 15px 0 0;
    left: 50%;
    transform: translateX(-50%);
}

#notice-fadeup.active {
    bottom: 0;
    opacity: 1;
}

.notice-logged-in .notice-content {
    color: #fff;
}

.notice-logged-in .notice-content .notice-title {
    font-size: 20px;
    font-weight: 500;
}

.notice-logged-in .notice-content .notice-desc {
    font-size: 14px;
    font-weight: normal;
}

.notice-logged-in .notice-content .notice-value {
    font-size: 28px;
    font-weight: bold;
    margin: 5px 0;
    color: #E4B64B;
}

.notice-logged-in .progress-box {
    display: flex;
    justify-content: space-between;
    background-color: #022E61;
    padding: 10px 5PX;
    border-radius: 10px;
    overflow: auto;
    gap: 15px;
    border: 2px solid #00c391;
}

.notice-logged-in .progress-box .day-box {
    min-width: 70px;
    text-align: center;
    color: #c0c9e5;
}

.notice-logged-in .progress-box .day-box p {
    margin-bottom: 5px;
    font-size: 12px;
}

.notice-logged-in .progress-box .day-box .d-title {
    font-size: 12px;
    color: #c0c9e5;
}

.notice-logged-in .progress-box .day-box .d-value {
    font-size: 12px;
    color: #00c391;
}

.notice-logged-in .progress-box .check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #c0c9e5;
    display: inline-block;
    background-color: transparent;
    position: relative;
}
.notice-logged-in .progress-box .check-circle i{
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.notice-logged-in .progress-box .check-circle.completed {
    background-color: #00c391;
    border-color: #00c391;
}

.notice-logged-in .progress-box .check-circle.completed i {
    color: #fff;
}


body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
}
body.home-page-v2{
    overflow: hidden;
}
.home-page-v2 .layoutMain {
    margin-top: 0;
}
.home-page-v2 .mission-item {
    width: 100%;
    margin: 10px 0;
}
.home-page-v2 .mission-item p{
    line-height: 1.2;
}
.sectionA {
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: calc(100vh);*/ /* Full viewport height */
    scroll-snap-align: start none; /* Snap to the start of the section */
    padding-bottom: 70px;
    justify-content: flex-start;
}
.sectionB {
    padding-left: 15px;
    padding-right: 15px;
    /*height: 100vh;*/
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    justify-content: center;
    scroll-snap-align: start none; /* Snap to the start of the section */
    padding-top: 60px;
    padding-bottom: 70px;
    flex-direction: column;
    justify-content: flex-start;
    /* overflow: scroll; */
}
/* protion section */
.promo-container {
    width: 100%;
    text-align: left;
    /* display: flow-root; */
    text-align: center;
    color: #fff;
    position: relative;
}

.promo-header {
    font-size: 16px;
    color: #c0c9e5;
    margin-bottom: 15px;
    font-weight: 500;
}

.promo-content {
    background: url(../images/promotion-background.png) no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    padding: 0px 20px 20px;
    position: relative;
}

.promo-circle {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background: url(../images/withlogo.png) no-repeat center center;
    /*background: url(../images/coinx.gif) no-repeat center center;*/
    background-size: 80% auto;
}

.promo-content h1 {
    color: #fff;
    font-size: 30px;
    display: inline-block;
    margin: 0 auto;
    border: 2px solid #fff;
    padding: 0px 50px;
    border-radius: 30px;
    background: linear-gradient(90deg, #4edfff 0%, #4e67ff 100%);
    margin-top: -20px;
}

.promo-boxes {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
}

.promo-box {
    background-color: #102d4b;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    color: white;
    border-radius: 25px;
}

.promo-box.invite {
    background: linear-gradient(#033f9d, #021d48, #0467e0);
}

.promo-box.share {
    background: linear-gradient(#0467e0, #021d48, #033f9d);
}

.promo-box p {
    font-size: 14px;
    margin-bottom: 5px;
}

.promo-box h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 5px;
}

.promo-box h2 a {
    color: #fff;
}


.scroll-indicator {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -7px;
}

.scroll-indicator img {
    width: 80px;
    height: auto;
}

.wrap_canvas {
    width: 100%;
    max-width: 505px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding-top: 10px;
}
.wrap_canvas #canvas{
    max-width: 100%;
    margin: 0 auto;
    ;
}
.wrap_canvas .btn-show-history, .wrap_canvas .btn-show-history:focus, .wrap_canvas .btn-show-history:focus, .wrap_canvas .btn-show-history:active{
    position: absolute;
    top: 10px;
    /*right: 0;*/
    margin: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    /*text-decoration: underline;*/
    background: none;
    box-shadow: none;
    outline: none;
    border: none;
    padding: 0;
}
.content-text-center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 2;
}
.content-text-center .btn_quay2,
.content-text-center .btn_quay2:focus {
    border: 0;
    outline: none;
    z-index: 2;
    background: lightblue;
    color: #fff;
    text-align: center;
    width: 80px;
    height: 90px;
/*    background: url(../images/spin_fee.png) no-repeat  center center;*/
/*    background-size: contain;*/
    text-indent: -9999px;
}


.icon_spin {
	background: url(../images/spin.png) no-repeat  center center !important;
	background-size: contain  !important;
}
.icon_spin_buy {
	background: url(../images/spin_buy99.png?v=3) no-repeat  center center  !important;
	background-size: contain  !important;
}
.group-btn-more-xgam{
    display: block;
    margin-top: 20px;
    width: 100%;
}
.group-btn-more-xgam p{
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
    text-align: left;
}
.group-btn-more-xgam .btn-more-xgam{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #000;
    padding: 15px 20px 15px 50px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-decoration: none;
    position: relative;
    background: linear-gradient(#033f9d, #021d48, #0467e0);
    font-size: 14px;
    color: #fff;
}
.group-btn-more-xgam .btn-more-xgam.task-game{
    background: linear-gradient(#0467e0, #021d48, #033f9d);
}
.group-btn-more-xgam .btn-more-xgam img{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: auto;
}

.history-list{
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, .6);
    top: 0;
    left: 0;
    z-index: 9999;
    animation-name: fadeIn;
}
.history-list.show{
    display: block;
}
.history-list .history-content{
    position: relative;
    max-width: 95vw;
    width: 378px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    margin: 0;
}
.history-list .history-content .table > thead > tr > th{
    font-weight: 500;
}

.history-list .btn-close-history-list,
.history-list .btn-close-history-list:hover,
.history-list .btn-close-history-list:focus{
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 30px;
    font-weight: normal;
    color: #000;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
    border-radius: 50%;
    border: 1px solid #fff;
    width: 30px;
    height: 30px;
    background: #fff;
    text-align: center;
}
.history-list .btn-close-history-list i{
    color: #fff;
}

/* Win Modal CSS */
.winModal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    animation-name: fadeIn;
}

.winModal .modal-content {
    padding: 20px 20px 30px;
    background: url(../images/confetti.png) no-repeat top center;
    text-align: center;
    position: relative;
    max-width: 95vw;
    width: 378px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    margin: 0;
    border-radius: 10px;
    background-size: 100%;
}
.winModal .modal-content h2{
    margin-bottom: 10px;
}
.winModal .modal-content span.close {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 30px;
    font-weight: normal;
    color: #000;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
    border-radius: 50%;
    border: 1px solid #fff;
    width: 30px;
    height: 30px;
    background: #fff;
}
.winModal .btn-play-again, .winModal .btn-play-again:hover, .winModal .btn-play-again:active, .winModal .btn-play-again:focus {
    padding: 5px 21px;
    border-radius: 20px;
    margin-top: 15px;
    color: #E4B64B;
    font-size: 16px;
    font-weight: bold;
    box-shadow: none;
    outline: none;
    background: #fff;
}

#notice-fadeup span.close {
  position: absolute;
  top: -5px;
  right: 5px;
  font-size: 38px;
  font-weight: normal;
  color: white;
  cursor: pointer;
  display: inline-block;
  line-height: 1;
  border-radius: 50%;
  border: 1px solid #fff;
  width: 40px;
  height: 40px;
  background: #007AFF !important;
}

@media (max-width: 320px) {
    body.home-page-v2 {
        overflow: initial;
    }
    .promo-header {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .promo-content{
        padding: 0px 7px 10px;
    }
    .promo-content h1 {
        font-size: 18px;
        padding: 0px 40px;
    }
    .promo-circle {
        width: 135px;
        height: 135px;
    }
    .promo-boxes{
        margin-top: 15px;
        gap: 10px
            /* flex-direction: column; */
    }
    .promo-box{
        border-radius: 10px;
        padding: 10px 5px 5px;
    }
    .promo-box p {
        font-size: 10px;
        margin-bottom: 0px;
    }
    .promo-box h2{
        font-size: 18px;
    }
    .content-text-center .btn_quay2, .content-text-center .btn_quay2:focus{
        width: 50px;
        height: 55px;
    }
    .sectionA, .sectionB{
        height: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
    .sectionB{
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .group-btn-more-xgam .btn-more-xgam{
        padding: 10px 15px;
    }
    .group-btn-more-xgam p{
        font-size: 12px;
    }
    .scroll-indicator img {
        width: 60px;
        height: auto;
    }
    #notice-fadeup{
        padding: 10px;
    }
    .notice-logged-in .notice-content .notice-title{
        font-size: 18px;
    }
    .notice-logged-in .notice-content .notice-desc{
        font-size: 12px;
    }
    .notice-logged-in .notice-content .notice-value {
        font-size: 24px;
        margin: 3px 0;
    }
    .notice-logged-in .progress-box{
        padding: 7px 5px;
        gap: 10px;
    }
    .notice-logged-in .progress-box .check-circle{
        width: 20px;
        height: 20px;
        position: relative;
    }
    .notice-logged-in .progress-box .check-circle i{
        font-size: 12px;
    }
}

@media (max-width: 359.98px) {

}

@media (min-width: 360px) and (max-width: 374.98px) {
    .promo-header {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .promo-content{
        padding: 0px 10px 15px;
    }
    .promo-circle {
        width: 155px;
        height: 155px;
    }
    .promo-content h1 {
        font-size: 22px;
        padding: 0px 30px;
    }
    .promo-boxes{
        gap: 15px;
        margin-top: 15px;
    }
    .promo-box{
        border-radius: 15px;
    }
    .promo-box p {
        font-size: 12px;
    }
    .promo-box h2 {
        font-size: 20px;
    }
    .scroll-indicator img {
        width: 55px;
        height: auto;
    }
    .wrap_canvas #canvas{
        /*max-width: 90%;*/
        margin: 0 auto;
    }
    .group-btn-more-xgam{
        margin: 0;
    }
    .group-btn-more-xgam .btn-more-xgam{
        margin-bottom: 10px;
    }
    .content-text-center .btn_quay2, .content-text-center .btn_quay2:focus{
        width: 60px;
        height: 65px;
    }
}

@media (min-width: 375px) and (max-width: 414px) {
    .promo-header {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .promo-content{
        padding: 5px 15px 15px;
    }
    .promo-circle {
        /*width: 165px;
        height: 165px;
        margin-top: -5px;*/
    }
    .promo-content h1 {
        font-size: 22px;
        padding: 0px 40px;
    }
    .promo-boxes{
        gap: 15px;
        margin-top: 20px;
    }
    .promo-box{
        border-radius: 15px;
    }
    .promo-box p {
        font-size: 12px;
    }
    .promo-box h2 {
        font-size: 20px;
    }
    .scroll-indicator img {
        width: 65px;
        height: auto;
    }
    .wrap_canvas #canvas{
        max-width: 90%;
        margin: 0 auto;
    }
    .content-text-center .btn_quay2, .content-text-center .btn_quay2:focus{
        width: 65px;
        height: 70px;
    }
    .group-btn-more-xgam{
        margin-top: 10px;
    }
    .group-btn-more-xgam .btn-more-xgam{
        padding-top: 13px;
        padding-bottom: 13px;
        margin-bottom: 10px;
    }
}

@media (min-width: 415px) and (max-width: 575.98px) {

}
@media (min-width: 576px) and (max-width: 767.98px) {

}
