* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*::before,
*::after {
    box-sizing: border-box;
}

input[type="file"]::-webkit-file-upload-button,
input[type="file"]::-moz-file-upload-button,
input[type="file"]::-ms-file-upload-button,
input[type="file"]::-o-file-upload-button {
    cursor: pointer;
}

input[type="file"],
a[href],
input[type="submit"],
input[type="button"],
input[type="image"],
label[for],
select,
button,
.pointer {
    cursor: pointer;
}

::-moz-focus-inner {
    border: 0px solid transparent;
}

::-webkit-focus-inner {
    border: 0px solid transparent;
}

*::-moz-selection,
*::-webkit-selection {
    color: #fff;
    background: #000;
}

*::-webkit-input-placeholder,
*:-moz-placeholder,
*::-moz-placeholder,
*:-ms-input-placeholder {
    color: #ffffff;
    opacity: 1;
}

html body {
    background: #130b1e;
    font-family: 'Kanit', sans-serif;
    margin: 0;
    line-height: 1.3;
    overflow-x: hidden;
}

a.button:hover {
    background-color: #cc00ff85;
}

.star h3 {
    font-size: 0.7em;
}

a,
span,
div a:hover,
div a:active,
button {
    text-decoration: none;
}

*::after,
*::before,
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.no-list li,
.no-list ul,
.no-list ol,
footer li,
footer ul,
footer ol,
header li,
header ul,
header ol {
    list-style: inside none none;
}

.no-list ul,
.no-list ol,
footer ul,
footer ol,
header ul,
header ol {
    margin: 0;
    padding: 0;
}

a {
    outline: none;
    color: #ffffff;
}

.partner-link {
    color: #ffffff;
}

.partner-link:hover {
    color: #9b51e0;
    transition: all 0.5s;
}

a:hover {
    color: #9b51e0;
}

ul:after,
li:after,
.clr:after,
.clearfix:after,
.container:after,
.grve-container:after {
    clear: both;
    display: block;
    content: "";
}

div input,
div select,
div textarea,
div button {
    font-family: 'Kanit', sans-serif;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: 'Kanit', sans-serif;
    line-height: 120%;
    color: #ffffff;
}

body p:empty {
    margin: 0;
    line-height: 0;
}

p strong {
    font-weight: bold;
}

.a-left {
    text-align: left;
}

.a-right {
    text-align: right;
}

.a-center {
    text-align: center;
}

label em {
    color: #ff0000;
    display: inline-block;
    font-style: normal;
    vertical-align: top;
    margin-left: 5px;
}

.hidden {
    display: none !important;
}

body .container {
    width: 100%;
    max-width: 1800px;
}

section .container {
    max-width: 1420px;
    overflow-x: hidden;
}

header {
    width: 100%;
    margin-bottom: 0.5rem;
}

nav.navbar.navbar-expand-lg {
    padding: 0px;
    transition: all 0.5s;
    box-shadow: rgba(99, 99, 99, 0.45) 0px 10px 10px -10px;
}

.mrqimg p,
.license span {
    font-family: 'Kanit', sans-serif;
    font-style: normal;
    font-weight: 400;
}

.online .main-title {
    color: #ffffff;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
    line-height: 2.5rem;
}

.main-title,
.sub-title {
    font-family: 'Kanit', sans-serif;
}

.star h3,
.bonus .button,
.bonus a,
.online_casino h3,
.footerlogo p {
    font-family: 'Kanit', sans-serif;
    font-style: normal;
}

.online .sub-title {
    font-size: 0.95rem;
    line-height: 139.5%;
    letter-spacing: 0;
    color: #ffffff;
    margin: 0;
}

ul.license_details {
    margin: 0.75rem 0;
    text-align: center;
}

ul.license_details li .secure {
    display: flex;
    column-gap: 1.5rem;
    padding: 0.45rem;
}

.secure .license {
    display: flex;
}

.secure .license img,
.secure .license svg {
    height: 1.25rem;
    width: 1.25rem;
}

.license span {
    align-self: center;
    font-size: 0.8rem;
    line-height: 100%;
    margin-left: 8px;
    color: #ffffff;
}

section.heresection {
    background-image: url(https://phpstack-884507-5162622.cloudwaysapps.com/images/herosec.webp);
    background-repeat: no-repeat;
    border-bottom: 1px solid #30313f;
    background-size: contain;
}

.trust {
    margin-bottom: 1rem;
}

.trust_details {
    display: flex;
    position: relative;
}

.trust_details img {
    margin: 0;
    padding: 0;
}

.free {
    border-radius: 10px;
    box-shadow: 0px 0px 12px rgba(155, 81, 224, 0.4);
    overflow: hidden;
    width: 100%;
}

.tag {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -15px;
    top: -3px;
    z-index: 100;
}

.tag,
.tag img {
    height: 2rem;
    width: 10rem;
}

.tag img {
    position: absolute;
    z-index: -1;
}

.tag-text {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0px 14px 4px 0px;
}

.mr_image,
.new_bar {
    display: grid;
    align-items: center;
    padding: 0.25rem 0;
    position: relative;
    grid-template-columns: 45% 55%;
    justify-items: center;
    z-index: 10;
}

.mr_image a img {
    position: relative;
    width: 8.75rem;
    z-index: 100;
}

.mrqimg p {
    letter-spacing: -0.04em;
    color: #9b51e0;
    margin: 0;
    text-align: center;
}

.star {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    padding: 5px 10px;
    width: 100%;
    flex-wrap: wrap;
}

.star a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-span_rate {
    margin: 0;
}

.rat_detail .span_rate {
    display: none;
}

.bonus {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bonus .button {
    background: #9b51e0;
    box-shadow: 0px 4px 7px rgba(155, 81, 224, 0.5);
    border-radius: 0.85rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    text-align: center;
    width: 160px;
    padding: 0.6rem 0;
    margin-bottom: 12px;
}

.bonus a {
    font-size: 0.75rem;
    text-align: center;
    display: flex;
    justify-content: center;
    transition: all 0.5s;
}

.bonus a span {
    display: flex;
    align-items: center;
    margin-left: 0.25rem;
    margin-top: 1px;
    transition: all 0.5s;
}

.bonus a:hover span {
    transform: translateX(10px);
    transition: 0.5s all;
}

footer {
    padding: 1.75rem 0;
}

.online_casino {
    margin-top: 1rem;
}

.online_casino h3 {
    color: #f5f5f5;
    font-weight: 400;
    font-size: 1rem;
    line-height: 32px;
    margin: 0;
}

.heresection-footer {
    color: #ffffff;
    margin-bottom: 1rem;
}

.heresection-footer h3 {
    margin-bottom: 1rem;
}

.footerlogo p {
    font-weight: 300;
    font-size: 14px;
    line-height: 25px;
    letter-spacing: -0.204545px;
    color: #dad7d7;
    margin: 0;
    max-width: 770px;
    margin-top: 2rem;
}

.footer-logos .logo-list {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    padding: 1rem 1rem 0;
}

.footer-logos .logo-list svg,
.footer-logos .logo-list li img {
    width: 7.5rem;
}

.footer-logos .logo-list .logo.plus18 img {
    width: 1.5rem;
}


/* Extra Small Devices (portrait phones) */
@media screen and (max-width: 768px) {
    p.sites br {
        display: none;
    }

    .free {
        background: linear-gradient(90deg, rgb(50, 50, 50) 45%, rgb(40, 40, 40) 45%);
    }

    .more-info-container {
        display: block;
        border-radius: 8px;
        background: white;
        width: 90%;
    }

    .pay-images {
        padding: 1px 5px;
        box-sizing: border-box;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        justify-content: flex-start;
        align-items: center;
        scrollbar-width: none;
        height: 27px;
        /* Firefox */
    }

    .pay-images::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .pay-images img {
        /*max-width: 35px;
        max-height: 35px;
        object-fit: cover;
        flex-shrink: 0;*/
        height: 12px;       /* Force a uniform height */
        width: auto;        /* Let width auto-scale */
        object-fit: contain; /* Ensures the entire image is visible without cropping */
        vertical-align: middle;
    }

    .star {
        padding: 0;
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        gap: 2px;
        margin-bottom: 3px;
    }

    .star>h3,
    .new_bar>a {
        display: none;
    }

    .rat_detail {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        height: 52px;
        padding-top: 5px;
    }

    .new_bar {
        align-items: end;
        grid-template-rows: auto auto;
    }

}

/* Small Devices (landscape phones) */
@media screen and (min-width: 577px) and (max-width: 768px) {
    .online .main-title {
        font-size: 2rem;
    }
}


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

    header,
    section .container,
    footer {
        max-width: 1100px;
        width: 95%;
        margin: 0 auto;
    }

    section.heresection {
        background: #000 url(https://phpstack-884507-5162622.cloudwaysapps.com/images/herosec.webp) no-repeat fixed center top;
        padding-bottom: 3rem;
        background-size: unset;
    }

    .tag {
        left: -14px;
        top: -8px;
        z-index: 100;
    }

    .tag,
    .tag img {
        height: 2rem;
        width: 9rem;
    }

    .tag-text {
        font-size: 0.75rem;
        padding: 4px 10px 7px 0px;
    }

    section .container {
        margin-top: 1rem;
    }

    .online .main-title {
        font-size: 2.5rem;
    }

    ul.license_details li {
        display: flex;
    }

    ul.license_details li .secure {
        display: flex;
        column-gap: 0.75rem;
        padding: 0.5rem;
    }

    .license span {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .trust_details {
        height: 8.125rem;
    }

    .trust_details:after {
        position: absolute;
        content: "";
        background-image: url(https://phpstack-884507-5162622.cloudwaysapps.com/images/afterimg.png);
        top: 0;
        right: 0;
        width: 308px;
        height: 117px;
        background-repeat: no-repeat;
        z-index: 1;
    }

    .free {
        background: #0a0114;
        display: grid;
        grid-template-columns: 50% 50%;
        grid-column-gap: 0.5rem;
        padding: 0 0.5rem;
        overflow: visible;
    }

    .new_bar {
        margin: 1.25rem 0;
    }

    .new_bar,
    .new_bar .rat_detail {
        border-left: 2px solid #2b363d;
        display: flex;
        padding: 0;
    }

    .mr_image a {
        justify-self: flex-start;
        text-align: start;
    }

    .mr_image p a {
        font-size: 2vw;
    }

    .mr_image.get a:after {
        background-image: url(https://phpstack-884507-5162622.cloudwaysapps.com/images/lottimg-template.png);
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        content: "";
        height: 140px;
        width: 190px;
        z-index: 9;
        top: 5px;
        left: -1.25rem;
    }

    .star {
        align-items: center;
        flex-direction: column;
        max-width: 12rem;
        padding: 0;
        position: relative;
        top: -20px;
    }

    .star h4 {
        display: none;
    }

    .bonus {
        padding: 0 1.5rem;
    }

    .bonus a:hover {
        color: #9b51e0;
    }

    footer {
        background-image: url(https://phpstack-884507-5162622.cloudwaysapps.com/images/footeeimg.png);
        background-repeat: no-repeat;
    }

    .more-info-container {
        display: block;
        border-radius: 8px;
        background: white;
        max-width: 90%;
        position: absolute;
        bottom: -35px;
        left: 5%;
        width: 100%;
        overflow: hidden;
        transition: height 0.3s ease;
        z-index: 10;
        cursor: pointer;
        max-height: 38px;
    }

    .more-info-container.expanded {
        max-height: 125px;
        overflow-y: auto;
        /* For Firefox: */
        scrollbar-width: thin;
        scrollbar-color: #888 #f1f1f1;
    }

    /* For WebKit browsers: */
    .more-info-container::-webkit-scrollbar {
        width: 6px;
    }
    .more-info-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    .more-info-container::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 3px;
    }
    .more-info-container::-webkit-scrollbar-thumb:hover {
        background-color: #555;
    }

    .pay-images {
        box-sizing: border-box;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px;
        justify-content: center;
        align-items: center;
    }

    .pay-images img {
        /*max-width: 35px;
        max-height: 35px;
        object-fit: cover;
        flex-shrink: 0;*/
        height: 25px;       /* Force a uniform height */
        width: auto;        /* Let width auto-scale */
        object-fit: contain; /* Ensures the entire image is visible without cropping */
        vertical-align: middle;
    }

}

@media screen and (min-width: 768px) and (max-width: 820px) {
    .mrqimg p {
        padding-left: 1.5rem;
    }
}

/* Large Devices (desktops) */
@media screen and (min-width: 992px) and (max-width: 1199px) {}

@media screen and (min-width: 992px) {
    .license span {
        font-size: 1rem;
    }

    .rat_detail .span_rate {
        display: flex;
        align-items: center;
        font-size: 2.5rem;
        justify-content: center;
        padding: 0 1.5rem;
        width: 6.5rem;
    }

    .rat_detail .bonus {
        border-left: 2px solid #2b363d;
    }
}

@media screen and (min-width: 1200px) {
    .tag {
        left: -18px;
        top: -5px;
    }

    .tag,
    .tag img {
        height: 2.3rem;
        width: 12rem;
    }

    .tag-text {
        font-size: 1rem;
        padding: 0px 15px 8px 0px;
    }

    .trust_details {
        height: 11.5rem;
    }

    .mr_image.get a img {
        height: auto;
        width: 14rem;
    }

    .mr_image.get a:after {
        height: 100%;
        width: 279px;
    }

    .bonus {
        justify-content: center;
    }

    .rat_detail {
        height: 100%;
    }

    .mrqimg p {
        padding-left: 1.5rem;
    }

    .mr_image p a {
        font-size: 1.5rem;
    }

    .rat_detail .span_rate {
        padding: 0 2rem;
    }

    .online_casino {
        margin: 0.5rem 0;
        text-align: start;
    }

    .footerlogo p {
        margin-top: 1rem;
    }
}

@media screen and (min-width: 0px) and (max-width: 300px) {
    ul.license_details li .secure {
        flex-direction: column;
        row-gap: 1rem;
        display: grid;
        grid-template-columns: 50% 50%;
    }

    ul.license_details {
        margin: 0.5rem 0 1.5rem;
    }

    .tag {
        width: 8rem;
        left: -22px;
        top: -9px;
    }

    .tag-text {
        font-size: 0.6rem;
        font-weight: 100;
        padding: 0px 6px 4px 0px;
    }

    .tag img {
        height: 1.5rem;
    }

    .mr_image a {
        width: 80%;
        margin: 0 auto;
    }

    .mr_image a img {
        width: 100%;
    }

    .star {
        flex-direction: column;
        align-items: center;
    }


    .trust_details img {
        width: 80%;
    }

    .bonus .button {
        font-size: 1rem;
        padding: 0.6rem;
        width: auto;
    }

    .footer-logos .logo-list li {
        margin-bottom: 0.85rem;
    }

    .footer-logos .logo-list {
        flex-direction: column;
        padding: 0.5rem 0 0;
    }

    .footer-logos .logo-list {
        flex-direction: column-reverse;
    }
}