body {
    margin: 0;
    padding: 0;
    background-image: url('/assets/public/images/background/background-home.png');
    font-family: 'Stolzl', Regular !important;
}

.nav-link {
    font-family: 'Stolzl', Medium !important;
}

.sidebar-social {
    gap: 5px;
}

.container {
    width: 80% !important;
    max-width: 1200px;
    margin: 0 auto;
}

#about-bg {
    background-color: #eff2f1;
    margin-top: 200px;
    border-radius: 150px 150px 0px 0px;
    padding-bottom: 50px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.swiper {
    width: 100%;
}

.faq-container {
    background-color: #fafafa;
    padding: 30px 50px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.faq-header {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

.faq-item {
    padding: 15px 0;
}

.faq-item .title {
    margin-left: 20px;
}

.faq-question {
    font-weight: bold;
    color: #007c39;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.faq-answer {
    overflow: hidden;
    height: 0;
    transition: height 0.4s ease;
    color: #555;
}

.faq-answer-content {
    padding-top: 10px;
    margin-left: 60px;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.arrow img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
}

.arrow.rotated {
    transform: rotate(180deg);
}

#social-swiper-container {
    position: relative;
    background-image: linear-gradient(to bottom, #fdfefe, #eff1f0);
    padding: 10px;
    border-radius: 10px;
}

#game-swiper-container {
    position: relative;
    padding: 10px;
    border-radius: 10px;
}

.more-game {
    display: none; /* Temporary */
    margin: 50px 0;
}

.game-title h3 {
    font-weight: 800;
    color: #006040;
}

.game-title span {
    margin-left: 20px;
    color: #036242;
    font-weight: bold;
}

.game-slide img {
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
}

.swiper-slide img {
    width: 100%;
    border-radius: 10px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

.swiper-button-prev,
.swiper-button-next {
    width: 25px !important;
    height: 25px !important;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute !important;
}

.swiper-button-prev {
    left: -3px !important;
    top: 55% !important;
}

.swiper-button-next {
    right: -3px !important;
    top: 55% !important;
}

/* Custom images for demonstration (using emoji for simplicity) */
.swiper-button-prev.select {
    background-image: url('/assets/public/images/pages-icon/prev-active.png');
}

.swiper-button-prev.swiper-button-disabled.unselect {
    background-image: url('/assets/public/images/pages-icon/prev-inactive.png');
    opacity: 1;
}

.swiper-button-next.select {
    background-image: url('/assets/public/images/pages-icon/next-active.png');
}

.swiper-button-next.swiper-button-disabled.unselect {
    background-image: url('/assets/public/images/pages-icon/next-inactive.png');
    opacity: 1;
}

.dropdown-row {
    display: none;
    background-color: #f9f9f9;
}

.dataTables_paginate .disabled .prev-icon {
    content: url('/assets/public/images/pages-icon/prev-inactive.png');
}

.dataTables_paginate .disabled .next-icon {
    content: url('/assets/public/images/pages-icon/next-inactive.png');
}

.dataTables_paginate button {
    background-color: Transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.dataTables_paginate button img {
    width: 28px !important;
    height: 28px !important;
}

.paginate-info {
    padding: 10px;
    text-align: center;
}

.paginate-info #pages-number {
    width: 150px;
    border: 1px solid #a5c4ba;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #6b7581;
}

.child-table-pagination {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    left: 0;
    right: 0;
    top: 50%;
}

.table-bg {
    background-color: #fafafa;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 30px;
    padding: 40px 60px;
    margin-top: 30px;
}

.faq-title {
    background-color: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #bcdab3;
}

.faq-header .faq-title span {
    margin-left: 20px;
    color: #036242;
}

#about-details {
    display: flex;
}

#about-details .content {
    width: 50%;
}

#about-details .content,
#about-details .about-image {
    width: 50%;
}

#about-details .content .left-content {
    max-width: 500px;
    margin: auto;
    margin-top: 80px;
    margin-left: 150px;
    color: #6b7581;
}

.winrate-title {
    padding: 10px 15px;
    background-image: linear-gradient(to right, #f0fbf7, #fdfdfd);
    margin-top: 20px;
}

.winrate-title h3 {
    font-weight: 600;
    color: #006040;
}

.winrate-pagination-page {
    color: #6B7581;
    text-align: center;
    font-size: 12px;
}

.nested-pagination-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: absolute;
    margin: auto;
    right: 0;
    left: 0;
    bottom: 10px;
}

.nested-pagination-dots .dot {
    width: 50px;
    height: 5px;
    border-radius: 10px;
    background: #e0e0e0;
    display: inline-block;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    border: 1.5px solid #C6EFAD;
}

.nested-pagination-dots .dot.active {
    background: #007C39;
    box-shadow: 0 0 0 2px #C6EFAD;
    border-color: #007C39;
}

#about-details .about-image img {
    width: 100%;
    position: relative;
    top: -100px;
}

.about-title {
    margin-bottom: 20px;
    margin: 0px 0px 0px 25%;
    padding-top: 80px;
}

.about-in-content {
    padding-top: 20px;
    width: 60%;
    margin: 0px 0px 0px 25%;
}

.about-in-content p {
    font-size: 18px;
    color: #6b7581;
}

.about-title h3 {
    font-weight: 800;
    color: #006040;
}

.about-image.desktop {
    display: block;
}

.about-image.mobile {
    display: none;
}

.faq-question.active .arrow img {
    filter: brightness(0) saturate(100%);
}

.faq-question.active .title {
    color: black;
}

.title-backgrond {
    background: linear-gradient(to right, #EFFCF7, #F4F8F6, #FFFFFF);
}

.game-slide .game-img-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
}

#game-swiper-container .swiper {
    padding: 15px 10px;
}

.game-slide .game-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.game-slide .game-img-wrapper:hover img {
    transform: scale(1.1);
}

/* Overlay with black semi-transparent background */
.game-slide .overlay-game-swiper {
    position: absolute;
    top: -3%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #b4f700;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.game-slide .game-img-wrapper:hover .overlay-game-swiper {
    opacity: 1;
    transform: scale(1.05);
}

/* Play button style */
.play-button {
    pointer-events: none;
    background-image: linear-gradient(#6DE226, #007C39);
    padding: 5px 15px;
    border-radius: 20px;
    position: absolute;
    bottom: 25%;
}

.play-button span {
    font-size: 13px;
    color: white;
}

.play-icon {
    width: 25px !important;
    height: 25px !important;
}

.overlay-game-swiper {
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.game-img-wrapper.overlay-visible .overlay-game-swiper {
    opacity: 1;
    transform: scale(1);
}

.game-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 7px;
    border-radius: 4px;
    background-color: transparent;
    border: 2px solid #CBCBCB;
}

.game-pagination .swiper-pagination-bullet-active {
    background-color: #007C39;
    border: 2px solid #C6EFAD;
    width: 30px;
    height: 7px;
}

.top-game-pagination {
    display: flex;
    position: absolute;
    top: -11%;
    right: 40px;
}

.game-button {
    position: relative;
    width: 40px;
}

.game-button .swiper-button-next,
.game-button .swiper-button-prev {
    top: 100% !important;
    width: 20px !important;
    height: 20px !important;
}

.details-of-carousel {
    position: absolute;
    top: 45%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 40%;
    z-index: 2;
}

.details-of-carousel h3 {
    font-size: 2.5rem;
    font-weight: bold;
}

.details-of-carousel span {
    font-size: 1.25rem;
    display: block;
    margin-top: 1.25rem;
}

.text-yellow {
    color: yellow;
}

.text-blue {
    color: #0061B5;
}

.grid.header {
    background-color: transparent;
}

.grid.header div {
    font-weight: bold;
    color: #636971;
}

.main-row {
    background-color: #eff2f1;
    color: #6b7581;
}

.main-row h5 {
    font-weight: normal !important;
}

.main-row .game-image {
    height: 75px;
    width: auto;
}

.main-row .hot-icon,
.main-row .new-icon {
    position: absolute;
    left: -1rem;
    top: -0.8rem;
    width: 50px;
    height: auto;
}
.mobile-m-view > div > .game-image {
    width: 100%;
    max-width: 60px;
    height: auto;
}

.nested-row {
    background-color: transparent;
    color: initial;
    position: relative;
}

.winrate-bg {
    background-image: linear-gradient(to bottom, #fafafa, #fafafa);
    padding: 40px 60px;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.nested-row {
    background-color: #fafafa;
}

.child-table-shadow {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 0px 0px 20px 20px;
    padding: 30px;

}

#prev-main img,
#next-main img {
    width: 25px;
    height: 25px;
}

#main-page {
    font-weight: bold;
    margin: 0 10px;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 5px 50px;
    border: 1px solid #aecac1;
    color: #6b7581;
    font-size: 13px;
}

.prev-nested,
.next-nested {
    position: absolute;
}

.prev-nested {
    left: 0;
    top: 45%;
    background: #eff2f1;
    padding: 20px 5px;
    border-radius: 0px 10px 10px 0px;
}

.next-nested {
    right: 0;
    top: 45%;
    background: #eff2f1;
    padding: 20px 5px;
    border-radius: 10px 0px 0px 10px;
}

button:disabled img {
    opacity: 0.4;
    cursor: not-allowed;
}

.see-result-btn {
    background: #007c39;
    border-radius: 10px;
    border: 2px solid #C6EFAD;
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 160px;
    height: 45px;
}

.bottom-line {
    border-bottom: 2px solid #d8d8d8;
}

.child-th {
    color: #6b7581;
}

.grid-cols-custom {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.see-result-btn .arrow-icon {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0) invert(1);
}

.see-result-btn.active {
    background-color: transparent;
    border: 2px solid #007C39;
}

.see-result-btn.active .arrow-icon {
    transform: rotate(180deg);
    filter: none;
}

.dp-amount label,
.co-amount label,
.id-number {
    font-weight: 600;
}

.id-number {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.id-number .dot {
    color: #C6EFAD;
    font-size: 30px !important;
}

.dp-amount label {
    color: #0061B5;

}

.co-amount label {
    color: #007C39;
}

.win,
.lose,
.betting {
    max-width: 150px;
    width: 100%;
    margin: auto;
    padding: 5px 20px;
    border-radius: 20px;
}

.latest-updated {
    color: #6B7581;
    line-height: 1;
}

.status .win {
    background-color: #C6E8C4;
    color: #007C39;
    font-weight: 600;
}

.status .lose {
    background-color: #FFB1B1;
    color: #D31F1F;
    font-weight: 600;
}

.status .betting {
    background-color: #FFD380;
    color: #C17E00;
    font-weight: 600;
}

.mobile-winrate {
    background: transparent;
    border-radius: 10px;
    border: 2px solid #AED696;
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 160px;
    height: 45px;
}

.mobile-winrate {
    color: #007C39;
}

.mobile-winrate div {
    line-height: 1;
    gap: 5px;
}

.mobile-winrate div > i {
    font-size: 20px;
}

.winrate-text {
    font-weight: 500;
}

#mobile-child-th span {
    font-size: 1rem;
}

#mobile-child-td span {
    font-size: 1rem;
}

.mobile-m-view {
    display: none !important;
}

.custom-video-modal {
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    overflow: hidden;
    background: #fff;
}
.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: none;
    border-radius: 24px 24px 0 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #007C39;
}
.custom-modal-header .modal-game-title {
    flex: 1;
    text-align: left;
    color: #1a7c39;
    font-size: 1.25rem;
    font-weight: 700;
}
.custom-modal-header .modal-cash-out {
    flex: 1;
    text-align: right;
    color: #1a7c39;
    font-size: 1.25rem;
    font-weight: 700;
}
.custom-modal-header .close {
    margin-left: 16px;
    font-size: 1.25rem;
    color: #007C39;
    opacity: 1;
    border: 1px solid #007C39;
    border-radius: 50%;
    padding: 4px 8px;
}
.custom-video-modal .modal-body {
    background: #fff;
    border-radius: 0 0 24px 24px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
#modalVideo {
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    max-width: 100%;
    max-height: 60vh;
    background: #000;
    margin: 0 auto;
    display: block;
}
.text-red {
    color: #D31F1F;
}

@media (max-width: 1025px) {
    #about-details .about-image {
        margin: auto;
    }

    #about-details .about-image img {
        top: 0;
    }

    #about-details .content .text {
        margin-left: 15%;
    }

    #about-details {
        margin-bottom: 50px;
    }

    .nav-link {
        font-size: 0.8rem !important;
    }
}

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

    .about-in-content,
    .about-title {
        width: 80%;
        margin: 0px 0px 0px 15%;
    }

    .about-in-content p {
        font-size: 1rem;
    }

    #about-bg {
        margin-top: 50px;
    }

    .game-title h3 {
        font-size: 1.3rem;
    }

    .details-of-carousel h3 {
        font-size: 1.3rem;
    }

    .details-of-carousel span {
        font-size: 0.8rem;
    }

    .title-backgrond img {
        width: 40px !important;
        height: auto;
    }
}

@media (max-width: 768px) {
    #about-details {
        display: block;
    }

    #about-details .content,
    #about-details .about-image {
        width: 100%;
    }

    .about-image.desktop {
        display: none;
    }

    .about-image.mobile {
        display: block;
    }

    .about-title,
    .about-in-content {
        margin: auto;
        width: 85%;
    }

    .about-in-content p {
        font-size: 1rem;
    }

    #about-bg {
        border-radius: 30px 30px 0px 0px;
    }

    .about-title {
        padding-top: 30px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        top: 65%;
    }

    .swiper-button-left {
        left: 0;
    }

    .swiper-button-next {
        right: 0;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 20px;
        height: 20px;
    }

    .faq-container {
        padding: 20px 20px;
    }

    .faq-item .title {
        font-size: 1rem;
    }

    .faq-answer-content {
        font-size: 0.9rem;
        margin-left: 40px;
    }

    .faq-item .title {
        margin-left: 5px;
    }

    .game-title span {
        font-size: 1rem;
    }

    .more-game {
        margin: 30px 0;
    }

    .swiper-button-prev,
    .swiper-button-next {
        /* display: none !important; */
        width: 20px !important;
        height: 20px !important;
        top: 65% !important;
    }

    .top-game-pagination {
        display: none !important;
    }

    .game-title h3 {
        font-size: 1rem;
    }

    .title-backgrond img {
        width: 40px !important;
    }

    #about-bg {
        margin-top: 30px;
    }

    .about-title h3 {
        font-size: 1rem;
    }

    .about-title img {
        width: 30px !important;
    }

    .game-title h3 {
        font-size: 0.9rem;
    }

    .details-of-carousel h3 {
        font-size: 1.3rem;
    }

    .details-of-carousel span {
        font-size: 0.8rem;
    }

    .desktop-view {
        display: none !important;
    }

    .grid-cols-custom {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .winrate-bg {
        background-image: linear-gradient(to bottom, #fafafa, #fafafa);
        padding: 20px 20px;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

    .mobile-m-view {
        display: grid !important;
    }

    .child-table-shadow {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .child-table-shadow [id^="nested-body-"] > .grid {
        min-width: 530px;
    }

    .child-table-shadow > .child-th.mobile-m-view {
        min-width: 530px;
        line-height: 1;
    }

    .rate-analytic .container {
        padding: 0px !important;
    }

    #mobile-child-th span {
        font-size: 0.9rem;
    }

    #mobile-child-td span {
        font-size: 0.9rem;
    }

    .nested-pagination-dots .dot {
        width: 30px;
        height: 5px;
    }

    .custom-video-modal {
        border-radius: 12px;
    }
    .custom-modal-header {
        font-size: 0.9rem;
        border-radius: 12px 12px 0 0;
    }
    .custom-modal-header .close {
        padding: 2px 5px;
        font-size: 15px;
    }
    .custom-modal-header .modal-game-title,
    .custom-modal-header .modal-cash-out {
        font-size: 0.85rem;
    }
    #modalVideo {
        border-radius: 8px;
        max-height: 40vh;
    }
}

@media (max-width: 480px) {
    .about-in-content p {
        font-size: 0.9rem;
    }

    .arrow img {
        width: 18px;
        height: auto;
    }

    .faq-answer-content {
        font-size: 0.9rem;
        margin-left: 40px;
    }

    .details-of-carousel h3 {
        font-size: 0.7rem;
    }

    .details-of-carousel span {
        font-size: 0.4rem;
        margin-top: 0;
    }

    .arrow-icon {
        width: 15px !important;
    }

    .see-result-btn {
        height: 30px;
    }

    #main-page {
        padding: 5px 20px;
    }

    #mobile-child-th span {
        font-size: 0.6rem;
    }

    #mobile-child-td span {
        font-size: 0.5rem;
        line-break: anywhere;
        line-height: 1;
    }

    #mobile-child-td .betting span {
        font-size: 0.5rem;
    }

    .win,
    .lose,
    .betting {
        padding: 0;
    }

    .play-video img {
        width: 30px;
    }

    #mobile-main-th span {
        font-size: 0.7rem;
    }

    #mobile-main-th .next-line-name {
        font-size: 0.6rem;
    }

    .mobile-winrate {
        height: 36px;
    }

    .mobile-winrate div > i {
        font-size: 16px;
    }

    .arrow-icon {
        width: 15px !important;
    }

    .see-result-btn {
        height: 30px;
    }

    #main-page {
        padding: 5px 20px;
    }

    #mobile-child-td span {
        font-size: 0.6rem;
    }

    #mobile-child-td .betting span {
        font-size: 0.5rem;
    }

    .win,
    .lose,
    .betting {
        padding: 0;
    }

    .play-video img {
        width: 30px;
    }

    #mobile-main-th span {
        font-size: 0.6rem;
    }

    #mobile-main-th .next-line-name {
        font-size: 0.6rem;
    }

    .mobile-winrate {
        height: 36px;
    }

    .mobile-winrate div > i {
        font-size: 16px;
    }

    .container {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .faq-header .faq-title span {
      font-size: 18px;
    }
}