h1 {
    font-size: 30px;
}

h3 {
    color: #FFFFFF;
    font-size: 28px;
}

.bg-1 {
    padding-top: 30px;
    padding-bottom: 200px;
    background: linear-gradient(180deg, #8F090B, #2E0001, #000000);
}

.bg-2 {
    padding-top: 30px;
    padding-bottom: 30px;
    background: #200000;
}

/* สำหรับหน้าจอขนาดกลางขึ้นไป (md) */
@media (min-width: 768px) {
    .bg-1 {
        padding-top: 75px;
        padding-bottom: 150px;
        background: linear-gradient(180deg, #8F090B, #2E0001, #000000);
    }

    .bg-2 {
        padding-top: 75px;
        padding-bottom: 75px;
        background: #200000;
    }


    .btn-swgame {
        font-size: 20px;
    }
}

/* สำหรับหน้าจอขนาดใหญ่ขึ้นไป (lg) */
@media (min-width: 992px) {
    .bg-2 {
        padding-top: 75px;
        padding-bottom: 75px;
        background: #200000;
    }
}

.game_block {
    display: flex;
}

.bg-2 .bg-sub {
    background-image: linear-gradient(180deg, #FF3F42, #8F090B, #2E0001);
    border-radius: 30px;
}

ul>li {
    color: #ECECEC;
}

p {
    color: #ECECEC;
    font-size: 16px;
}

.single-boddy a {
    color: #FFE604;
    text-decoration: unset;
}

figcaption {
    color: white;
}

b,
strong {
    color: white;
}

li {
    color: #ECECEC;
}

.wp-block-image {
    text-align: center;
}

.find_input button {
    display: inline-block;
    background-image: linear-gradient(90deg, #FFB804, #FFBF00, #FF453E);
    border: 2.5px solid #FFB804;
    color: black !important;
    font-weight: bold;
    padding: 6px 25px;
    border-radius: 100px;
    font-size: 14px;
}

#find_game1 {
    border-radius: 30px;
}

.game_imge {
    max-width: 118px;
    max-height: 118px;
    margin: 5px;
    position: relative;
    overflow: hidden;
    flex: 1 1 calc(33.33% - 10px);
}

.custom-bg>div {
    font-size: 10px;
    color: #fff;
    margin-top: auto;
    padding-bottom: 10px;
    z-index: 2;
}

.game_imge>img:hover {
    transition: filter 0.3s ease;
    filter: brightness(0.2);
}

.game_imge>img {
    width: 100%;
}


.game_imge>.custom-bg>.btn-swgame {
    position: absolute;
    text-decoration: none;
}

.custom-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.game_imge:hover .custom-bg {
    opacity: 1;
}


.btn-swgame {
    background-image: linear-gradient(90deg, #FFB804, #FFBF00, #FF453E);
    border: 2.5px solid #FFB804;
    color: black !important;
    font-weight: bold;
    padding: 5px 30px;
    border-radius: 100px;
    animation: 1.6s playShadow ease-out infinite;
    font-size: 14px;
}


@media (min-width: 768px) {
    .custom-bg>div {
        font-size: 16px;
    }

    .game_imge {
        max-width: 206px;
        max-height: 253px;
        margin: 5px;
        position: relative;
        overflow: hidden;
    }

}

@media (min-width: 992px) {
    .custom-bg>div {
        font-size: 18x;
    }

}

#staticBackdrop {
    .modal-header {
        border: unset;
    }

    .modal-content {
        background: linear-gradient(0deg, #000000, #331422);
        border: unset;
    }
}

.modal-header {
    border: unset;
}

.modal-content {
    background: linear-gradient(0deg, #000000, #331422);
    border: unset;
}

.provider-list li {
    width: 110px;
    height: 50px;
    float: left;
    background-color: rgba(213, 213, 213, .19);
    margin: 7px;
    padding: 10px;
    border-radius: 5px
}

.provider-list li:hover {
    border: 2px solid;
    border-image: linear-gradient(90deg, #FFB804, #FF453E);
    border-image-slice: 1;
    border-radius: 5px;
}

.provider-list li img {
    max-height: 40px
}

.btn-close {
    background-color: #7D7D7D;
    opacity: 1;
    filter: invert(1);
    border-radius: 30px;
}