/* silde show */
.d-block {
    display: block !important;
}

.w-100 {
    width: 100% !important;
}

.carousel {
    position: relative;
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
}

.carousel-indicators li {
    box-sizing: content-box;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-indicators li {
        transition: none;
    }
}

.carousel-indicators .active {
    opacity: 1;
}

.carousel {
    position: relative;
}

.carousel.pointer-event {
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    margin-top: 48px;
}


.carousel-inner::after {
    display: block;
    clear: both;
    content: "";
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    height: 210px;
    background-size: cover;
    background-position: center center;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        transition: none;
    }
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: block;
}

.carousel-item-next:not(.carousel-item-left),
.active.carousel-item-right {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-right),
.active.carousel-item-left {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    -webkit-transform: none;
    transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
    z-index: 1;
    opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
    z-index: 0;
    opacity: 0;
    transition: opacity 0s 0.6s;
}

.carousel-control-prev,
.carousel-control-next {
    display: none;
}


/* 圖片 */

.carousel .carousel-item:first-of-type {
    background-image: url("../img/001.jpg");
}

.carousel .carousel-item:nth-of-type(2) {
    background-image: url("../img/002.jpg");
}

.carousel .carousel-item:last-of-type {
    background-image: url("../img/003.jpg");
}


/* ========================================= */
/*-- to-top --*/
#toTop {
    display: none;
    text-decoration: none;
    position: fixed;
    bottom: 20px;
    right: 2%;
    overflow: hidden;
    z-index: 999;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 80px;
    text-indent: 100%;
    background: #946001 url(../img/move_up.png) no-repeat 11px 11px;
}

#toTop:hover {
    background: #ffd255 url(../img/move_up.png) no-repeat 11px 11px;
}

#toTopHover {
    width: 40px;
    height: 40px;
    display: block;
    overflow: hidden;
    float: right;
    opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
}

/* ========================================= */
/* 共同使用 */
.index-page {
    padding: 100px 30px;
    /* max-width: 1200px; */
    margin: 0 auto;
    text-align: center;
}

.index-page p {
    text-align: justify;
}


.title-block {
    text-align: justify;
}

.title-block ul {
    padding-inline-start: 0;
}

.title-block ul li {
    list-style: none;
    font-size: 3em;
    color: #6ecaff;
    text-shadow: 0 0 7px #6ecaff, 0 0 20px #1e528e;
    animation: animate-title 3s linear;
    animation-delay: 2s;
    animation-iteration-count: 2;
    letter-spacing: 3px;
}

.crown_icon {
    width: 60px;
}

.disabled_game {
    pointer-events: none;
    filter: grayscale(1);
}

/* ========================================= */
/* about */
#about {
    /* background-image: url(../img/index-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; */
}

#about .index-page {
    padding-bottom: 0;
}

#about .content-block {
    text-align: center;
    position: relative;
}

#about .content-block .logo-block img {
    width: 260px;
    animation: blink 1s ease-in-out 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        filter: brightness(1.1);
    }

    51%,
    100% {
        filter: brightness(1);
    }
}

#about .block .title-block {
    color: #d4b06a;
    line-height: 32px;
}

#about .block .title-block img {
    max-width: 350px;
}

#about .block p {
    line-height: 25px;
    text-align: justify;
}


#about .block a.btn {
    display: block;
    width: 120px;
    margin: 0 auto;
}


#about .model {
    display: none;
}

.index-page .left .games-mobile {
    display: block;
    margin: 0 auto -56px auto !important;
}

.index-page .left .games-desktop {
    display: none;
}

#about .text-content .index-page {
    padding-top: 0;
    padding-bottom: 40px;
}

#about .text-content .text {
    text-align: left;
    padding: 30px;
    background: -webkit-linear-gradient(180deg, #00000071, #0000009c);
    background: linear-gradient(180deg, #00000071, #0000009c);
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid #fdf09461;
}

#about .text-content .text h3 {
    color: #d4b06a;
}


#about .text-content .left img {
    max-width: 315px;
    margin: 0 auto;
}

#about .bg {
    display: none;
}


.left-block {
    display: none;
}


























@media screen and (max-width:428px) {
    .carousel-inner {
        height: 120px;
    }

    .carousel-item {
        height: 120px;
    }

    .carousel-indicators {
        display: none;
    }
}

@media screen and (min-width:429px) {
    .carousel-inner {
        height: 180px;
    }

    .carousel-item {
        height: 180px;
    }

    .carousel-indicators {
        display: none;
    }
}

@media screen and (min-width:620px) {
    .carousel-inner {
        height: 210px;
    }

    .carousel-item {
        height: 210px;
    }

    .carousel-indicators {
        bottom: -5px;
    }
}



@media screen and (min-width:768px) {

    /* ========================================= */
    /* silde show */
    .carousel-inner {
        height: 300px;
    }

    .carousel-item {
        height: 300px;
    }
}


@media screen and (min-width:1024px) {

    .index-page {
        padding: 100px 70px;
    }

    .index-page .left .games-mobile {
        display: none;
    }

    .index-page .left .games-desktop {
        display: block;
    }

    #about .text-content .index-page {
        padding-top: 0;
        padding-bottom: 0;
    }


    /* ========================================= */
    /* silde show */
    .carousel-control-prev,
    .carousel-control-next {
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 1;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 10%;
        color: #fff;
        text-align: center;
        opacity: 0.5;
        transition: opacity 0.15s ease;
    }

    @media (prefers-reduced-motion: reduce) {

        .carousel-control-prev,
        .carousel-control-next {
            transition: none;
        }
    }

    .carousel-control-prev:hover,
    .carousel-control-prev:focus,
    .carousel-control-next:hover,
    .carousel-control-next:focus {
        color: #fff;
        text-decoration: none;
        outline: 0;
        opacity: 0.9;
    }

    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        display: inline-block;
        width: 30px;
        height: 30px;
        background: no-repeat 50% / 100% 100%;
    }

    .carousel-control-prev-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
    }

    .carousel-control-next-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
    }

    .carousel-inner {
        margin-top: 40;
        height: 410px;
    }

    .carousel-item {
        height: 410px;
    }

    /* ========================================= */
    /* Game list background */

    .card-block.hot-game {
        background-image: url(../img/icon-01-bg.png);
    }

    .card-block.lottery {
        background-image: url(../img/icon-02-bg.png);
    }

    .card-block.people {
        background-image: url(../img/icon-03-bg.png);
    }

    .card-block.sports {
        background-image: url(../img/icon-04-bg.png);
    }

    .card-block.poker {
        background-image: url(../img/icon-05-bg.png);
    }

    .card-block.platform {
        background-image: url(../img/icon-06-bg.png);
    }


    /* ========================================= */
    /* about */
    #about {
        background-image: none;
        position: relative;
    }

    #about .index-page {
        padding-top: 127px;
    }

    #about .content-block {
        /* max-width: 1000px; */
        filter: drop-shadow(0px 0px 15px #000000d0);
        /* margin: 0 auto; */
        background: -webkit-linear-gradient(180deg, #00000071, #0000009c);
        background: linear-gradient(180deg, #00000071, #0000009c);
        display: flex;
        align-items: center;
        padding: 90px 40px 40px;
        text-align: left;
        border-radius: 20px;
        position: relative;
        border: 1px solid #ffd255;
        box-shadow: 0 0 20px #ffd255;
    }

    #about .content-block .logo-block {
        position: absolute;
        top: -91px;
        /* left: calc(50% - 125px); */
        width: 310px;
        /* height: 250px; */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #about .content-block .logo-block img {
        width: 100%;
        /* filter: drop-shadow(0px 0px 15px #ffe9a2); */
    }

    #about .block {
        width: 65%;
    }

    #about .block .title-block {
        text-align: left;
    }

    #about .block p {
        text-align: left;
    }

    #about .block a.btn {
        margin-left: 0;
        text-align: center;
    }

    #about .right-block {
        display: block;
        position: absolute;
        bottom: -4px;
        right: 12px;
    }

    #about .right-block img {
        width: auto;
    }

    #about .model {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0px;
        height: 425px;
        width: auto;
    }

    #about .text-content .index-page {
        display: flex;
        align-items: center;
    }

    #about .text-content .index-page .left {
        width: 40%;
    }

    #about .text-content .index-page .right {
        width: 60%;
    }

    #about .text-content .text {
        border: 1px solid #ffd255;
        box-shadow: 0 0 20px #ffd255;
    }





}

@media screen and (min-width:1200px) {
    .carousel-inner {
        height: 520px;
    }

    .carousel-item {
        height: 520px;
    }
}



@media screen and (min-width:1300px) {
    #about .model {
        right: -86px;
        height: 488px;
        width: auto;
    }

    /* }  text-align: center;
    } */

    #about .right-block {
        display: block;
        position: absolute;
        bottom: -4px;
        right: 12px;
    }

    #about .right-block img {
        width: auto;
    }

    #about .model {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0px;
        height: 425px;
        width: auto;
    }

    #about .text-content .index-page {
        display: flex;
        align-items: center;
    }

    #about .text-content .index-page .left {
        width: 40%;
    }

    #about .text-content .index-page .right {
        width: 60%;
    }

}

@media screen and (min-width:1200px) {
    .carousel-inner {
        height: 520px;
    }

    .carousel-item {
        height: 520px;
    }
}



@media screen and (min-width:1300px) {
    #about .model {
        right: -86px;
        height: 488px;
        width: auto;
    }

    /* }  text-align: center;
    } */

    #about .right-block {
        display: block;
        position: absolute;
        bottom: -4px;
        right: 12px;
    }

    #about .right-block img {
        width: auto;
    }

    #about .model {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0px;
        height: 425px;
        width: auto;
    }

    #about .text-content .index-page {
        display: flex;
        align-items: center;
    }

}

@media screen and (min-width:1200px) {
    .carousel-inner {
        height: 418px;
        max-width: 1280px;
        margin: 0 auto;
    }

    .carousel-item {
        height: 418px;
    }
}



@media screen and (min-width:1300px) {
    #about .model {
        right: -86px;
        height: 488px;
        width: auto;
    }
}

/*20220512 T-DLY-gototop*/
#toTop{width:40px;height:40px;background:#ffffff url(../img/arrow-top.svg) no-repeat 10px 11px;box-shadow:0px 0px 4px #00000059;background-size:50%;bottom:40px;right:30px;border-radius:50%;}
#toTop:hover{background:#fff4de url(../img/arrow-top.svg) no-repeat 8px 8px;background-size:50%;width:35px;height:35px;}