﻿.minigame-bf {
    background: url('/Content/Landding/DoVuiCongNghe/bg2.png;width=1200');
    width: 1200px;
    height: 600px;
    position: relative;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 12px;
    border: 2px solid white;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

    .minigame-bf .gift-wrapper {
        background: #fff;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: 200px;
        background: transparent;
        grid-gap: 12px;
        padding-top: 24px;
    }

        .minigame-bf .gift-wrapper a {
            background: url('/Content/Landding/DoVuiCongNghe/bg1.png;width=1200') no-repeat center;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            border: 2px solid #F9A23C;
            position: relative;
            overflow: hidden;
            font-size: 16px;
            line-height: 150%;
            color: #191919;
            font-weight: bold;
            text-decoration: none;
            background: #FFF6E4;
            gap: 12px;
            border-radius: 10px;
            padding-left: 24px;
            width: 300px;
        }

            .minigame-bf .gift-wrapper a:hover, .minigame-bf .gift-wrapper a.selected {
                border: 2px solid #BD0909;
                background: linear-gradient(180deg, #FFEEBA 50.96%, #F9A23C 100%);
            }

                .minigame-bf .gift-wrapper a:hover > span, .minigame-bf .gift-wrapper a.selected > span {
                    background: #BD0909;
                    color: #fff;
                }

            .minigame-bf .gift-wrapper a > span {
                display: flex;
                font-size: 20px;
                border: 1px solid #C9C9C9;
                width: 50px;
                height: 50px;
                border-radius: 5px;
                align-items: center;
                justify-content: center;
                background: #fff;
            }

            .minigame-bf .gift-wrapper a:not(.disable):hover, .minigame-bf .gift-wrapper a.selected {
            }

            .minigame-bf .gift-wrapper a img {
            }


.minigame-result {
    display: flex;
    flex-direction: column;
    width: 594px;
    height: 480px;
    gap: 12px;
    background: #fff;
    align-items: center;
    border-radius: 12px;
    border: 2px solid white;
    border-radius: 10px;
    overflow: hidden;
}

.game-question {
    width: 60%;
}

.game-policy {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-top: 12px;
    color: #fff;
}
.game-result {
    padding: 64px 0 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
    .game-result > span {
        color: #FFEEBA;
    }
.game-policy a {
    color: #fff;
    text-decoration: underline;
}
    .game-start {
    display: flex;
    flex-direction: column;
}
.game-start a {
    text-decoration: underline;
    color: #fff;
}
    .game-welcome {
    padding-top: 24px;
}
.game-welcome img {
    width: 1000px;
}
    .game-point {
    background: url('/Content/Landding/DoVuiCongNghe/bg3.png;width=1200') no-repeat center;
    width: 300px;
    height: 100px;
    background-size: 100% 100%;
}

    .game-point > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100px;
        color: #fff;
        margin-top: 12px;
    }
.font60 {
    font-size: 60px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.font32 {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.font24 {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.font18 {
    font-size: 18px;
    color: #fff;
    text-align: center;
}

.font13 {
    font-size: 13px;
    color: #fff;
    text-align: center;
}

.minigame-result a {
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    background: #009981;
    text-decoration: none;
}

    .minigame-result a:hover {
        background: #FD475A;
        color: #fff;
    }

.minigame-result .img-full {
    width: 100%;
}

.minigame-result .img {
    margin-top: 50px;
}

.cta-button {
    display: inline-block; /* quan trọng */
    overflow: hidden; /* tránh tràn khi scale */
    cursor: pointer;
}

    .cta-button img {
        width: 240px;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

        .cta-button img:hover {
            transform: scale(1.05);
        }

    .cta-button:active img {
        transform: scale(1.00);
        filter: brightness(0.9);
    }

.swal2-html-container {
    text-align: left;
    font-size: 12px;
}

.the-le {
    position: absolute;
    top: 12px;
    right: 24px;
    background: #fff;
    padding: 4px 8px;
    border-radius: 8px;
    text-transform: none;
    background: #FD574A;
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
}


.score-fx {
    position: fixed;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    font-weight: bold;
    color: #ffd700;
    pointer-events: none;
    opacity: 0;
}

    .score-fx.show {
        animation: scoreFly 1s ease-out forwards;
    }

@keyframes scoreFly {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    30% {
        transform: translate(-50%, -60%) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -90%) scale(1);
        opacity: 0;
    }
}


.list-rank {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: auto;
    border: 2px solid #FFFAD0;
    color: #fff;
    font-weight: 600;
    width: 550px;
}

    .list-rank .rankcount {
        background: #FFFAD0;
        padding: 4px 16px;
        border-radius: 0 10px 10px 0;
        position: absolute;
        top: 6px;
        left: 0px;
        bottom: 6px;
        display: flex;
        align-items: center;
        width: 12px;
        color: #BD0909;
    }

     .list-rank::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

     .list-rank > div {
        display: flex;
        flex-direction: column;
    }

        .list-rank > div > div {
            display: flex;
            justify-content: space-between;
            padding: 12px;
            background: linear-gradient(270deg, #FB6900 0%, #F9A23C 100%);
            position: relative;
            padding-left: 60px;
        }

            .list-rank > div > div:nth-child(2n+1) {
                background: linear-gradient(270deg, #DE0003 0%, #F98B3C 100%);
            }


.game-index-played {
    display: grid;
    max-width: 100%;
    grid-template-columns:  fit-content(300px) 550px;
    grid-column-gap: 50px;
    padding:10px 125px;
}

.game-index-played .gift {
}


.gift-name {
    padding:10px 125px;
}


.game-msg {background: url('/Content/Landding/DoVuiCongNghe/bg2.png;width=1000') no-repeat center !important;}
.img-alert {}
.img-alert img {width:300px;}