body {
    overflow: scroll;
    overflow-x: hidden;
    background-color: #fff;
}
::-webkit-scrollbar {
    width: 0;
    background: transparent;
}
#scrollupbtn {
    display: inline-block;
    background-color: #ff7115;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 15px;
    right: 15px;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}
#scrollupbtn::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2em;
    line-height: 40px;
    color: #fff;
}
#scrollupbtn:hover {
    cursor: pointer;
    background-color: #333;
}
#scrollupbtn:active {
    background-color: #555;
}
#scrollupbtn.show {
    opacity: 1;
    visibility: visible;
}
.w-100 {
    width: 100% !important;
}
.scrollMenuSection {
    background: #fe6c1c;
    color: #fff;
    display: flex;
    width: 100%;
    border-radius: 10px;
}
.scrollMenuSection .leftButton,
.scrollMenuSection .rightButton {
    font-size: 2rem;
    display: flex;
    align-items: center;
    padding: 0 5px;
}
#navbar.tab {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    background: #fe6c1c;
    border-radius: 5px;
}
#navbar.tab::-webkit-scrollbar {
    display: none;
}
#navbar.tab {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#navbar.tab a {
    padding: 0;
    font-size: 1.2rem;
    transition: none;
    border-radius: 5px;
    font-weight: 600;
}
.scrollMenuSection .leftButton .fa,
.scrollMenuSection .rightButton .fa {
    color: #fff;
}
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
ul.tab li {
    font-size: 0.85em;
    color: #fff;
    float: left;
    flex: 0 0 20%;
}
.tab a {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    padding: 10px 0 12px;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9em;
}
#navbar.tab a i.ic-all {
    position: relative;
    background: url(/images/filter-tab/all-games.webp) center no-repeat;
    background-size: contain;
}
#navbar.tab a i.ic-slot {
    position: relative;
    background: url(/images/filter-tab/slot-games.webp) center no-repeat;
    background-size: contain;
}
#navbar.tab a i.ic-sport {
    background: url(/images/filter-tab/sport-games.webp) center no-repeat;
    background-size: contain;
}
#navbar.tab a i.ic-hot {
    background: url(/images/filter-tab/hot-games.webp) center no-repeat;
    background-size: contain;
}
#navbar.tab a i.ic-fishing {
    background: url(/images/filter-tab/fishing-games.webp) center no-repeat;
    background-size: contain;
}
#navbar.tab a i.ic-live {
    background: url(/images/filter-tab/live-games.webp) center no-repeat;
    background-size: contain;
}
#navbar.tab a i {
    max-width: 100%;
    width: 40px;
    height: 40px;
    display: inline-block;
    transition: none;
    margin-bottom: 4px;
    transition: all 0.4s;
}
#navbar.tab a:hover,
#navbar.tab a.active {
    color: #0051d6;
}
.filters-content {
    margin: 2rem 0 2.5rem;
    background-color: #eee;
    padding: 0.375rem;
    border-radius: 0.75rem;
    display: flex;
    justify-content: space-between;
    column-gap: 0.5rem;
}
.filters__button {
    width: 100%;
    border: none;
    outline: none;
    padding: 1rem;
    transition: 0.3s;
    border-radius: 0.5rem;
}
.is-active {
    background-color: #fec59e;
    color: #4042f6;
}
.img-tag-box {
    position: relative;
}
.image-tag {
    position: absolute;
    top: 0;
    left: 0;
    width: 2rem;
    border-radius: 12px;
}
.game-img {
    margin-left: auto;
    margin-right: auto;
}
.fadein-content {
    position: relative;
    width: 90%;
    max-width: 400px;
    margin: auto;
    overflow: hidden;
}
.fadein-content .fadein-content-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    height: 99%;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    border-radius: 10px;
}
.fadein-content:hover .fadein-content-overlay {
    opacity: 1;
}
.fadein-content-image {
    width: 100%;
    border-radius: 10px;
}
.fadein-content-details {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.fadein-content:hover .fadein-content-details {
    top: 50%;
    left: 50%;
    opacity: 1;
}
.fadein-content-details h3 {
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}
.fadein-content-details p {
    color: #fff;
    font-size: 0.8em;
}
.fadeIn-bottom {
    top: 80%;
}
.playnow-btn {
    border-radius: 1rem;
    padding: 0.5rem;
    border-width: 2px;
    --tw-border-opacity: 1;
    border-color: #fff;
    color: #fff;
    transition-duration: 300ms;
    font-weight: 700;
    background-color: #0051d6;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
    margin: 0.5rem;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
}
.subgame-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0rem;
    padding: 0.5rem;
}
.subgame-title2 {
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0rem;
}
.game-tab-box {
    background-color: #fff;
    border-radius: 1rem;
    height: 4rem;
    cursor: pointer;
}
.partner-box {
    background-color: #f3f5f6;
    padding: 1rem;
    border-radius: 1rem;
}
.game-tab-img {
    height: 3.5rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1rem;
}
.game-tab-active {
    background-color: #fff;
    border-radius: 1rem;
    height: 4rem;
    border-width: 2px;
    border-color: #fe6c1c;
    cursor: pointer;
}
.subgame-tabs {
    list-style-type: none;
    padding-left: 0rem;
    margin-bottom: 0rem;
    text-align: center;
}
.subgame-tab {
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease 0s;
}
.subgame-tab.subgame-is-active {
    background: rgb(255, 113, 21);
    color: #fff;
    width: fit-content;
    font-weight: 600;
}
.subgame-tab-panel {
    display: none;
}
.subgame-tab-panel p {
    line-height: 1.6;
}
.subgame-tab-panel.subgame-is-active {
    display: block;
}
.subgame-nav-item {
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}
.subgame-tabs-box {
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: #fff;
    border-radius: 10px;
}
.subgame-bg {
    background-color: #f3f5f6;
    padding: 1rem;
}
.lottery-btn {
    border-radius: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-width: 2px;
    --tw-border-opacity: 1;
    border-color: #fff;
    color: #fff;
    transition-duration: 300ms;
    font-weight: 700;
    background-color: #0051d6;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
    animation-duration: 5s;
    animation-name: expandlottery;
    animation: expandlottery 1s forwards infinite;
}
@keyframes expandlottery {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}
.lottery-title-container {
    padding: 2rem;
    display: flex;
    justify-content: center;
}
.lottery-title {
    font-size: 2rem;
    font-weight: 600;
    margin-left: 1rem;
    margin-bottom: 0rem;
}
.lottery-container {
    background-color: #fff;
    border-radius: 2rem;
    padding-left: 8rem;
    padding-right: 8rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}
.lottery-content-first {
    font-size: 1.4rem;
    font-weight: 600;
}
.lottery-content {
    font-size: 1.4rem;
    font-weight: 400;
}
.lottery-4d-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: inset 60px 0 60px -60px rgb(0, 0, 0),
        inset -60px 0 60px -60px rgb(0, 0, 0);
    background-image: radial-gradient(
        circle,
        transparent,
        transparent 75%,
        rgba(0, 0, 0, 0.3)
    );
    background-color: #fff;
}
.lottery-4d-carousel-slide {
    display: flex;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
}
.lottery-4d-carousel-slide img {
    min-width: 100%;
    object-fit: cover;
}
.tab-games-filter-list {
    display: block;
}
.tab-games-filter-dropdown {
    display: none;
}
.justify-around {
    justify-content: space-around;
}
.dropdowngames {
    position: relative;
    margin-top: 0.5rem;
}
.dropdowngames__button {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: #fff;
    border-radius: 0.5rem;
    border: solid 1px #495057;
}
.dropdowngames__button i {
    margin-left: 1rem;
}
.dropdowngames__items {
    border: solid 1px #495057;
    position: absolute;
    margin-top: 0.5rem;
    left: 0;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
    animation: open 0.3s;
    transform-origin: top left;
    z-index: 1;
    background-color: #fff;
    max-height: 22rem;
    overflow: auto;
}
.dropdowngames__item {
    width: 100%;
    text-align: left;
}
.dropdowngames__item:hover {
    border-radius: 0.5rem;
}
.dropdowngames--hide {
    display: none;
}
.dropdowngames--show {
    display: block;
}

.floatingInfo {
    position: fixed;
    bottom: 95px;
    right: 30px;
    z-index: 10;
}

/* Define animation */
@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-200px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Apply animation to the floatingInfo div */
#floatingInfo {
    animation: moveUpDown 3s infinite; /* Adjust timing and animation as needed */
}

@keyframes open {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}
@media (min-width: 1280px) {
    .xl\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .image-tag {
        position: absolute;
        top: 0;
        left: 3px;
        width: 3rem;
        border-radius: 12px;
    }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .image-tag {
        position: absolute;
        top: 0;
        left: 3px;
        width: 3rem;
        border-radius: 12px;
    }
}
@media (max-width: 768px) {
    #navbar.tab a {
        padding: 8px;
        font-size: 0.8rem;
        transition: none;
        border-radius: 5px;
        font-weight: 600;
    }
    #navbar.tab a i {
        max-width: 100%;
        width: 35px;
        height: 35px;
        display: inline-block;
        transition: none;
        margin-bottom: 4px;
    }
    .subgame-title {
        font-size: 0.7rem;
    }
    .subgame-title2 {
        font-size: 0.7rem;
    }
    .playnow-btn {
        border-radius: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        border-width: 2px;
        --tw-border-opacity: 1;
        border-color: #fff;
        color: #fff;
        transition-duration: 300ms;
        font-weight: 700;
        background-color: #0051d6;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
        width: 82px;
        margin: 0.2rem;
        white-space: nowrap;
        font-size: 8px;
    }
    .lottery-container {
        background-color: #fff;
        border-radius: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: center;
    }
    .lottery-4d-frame {
        height: 100%;
    }
    .lottery-title {
        font-weight: 600;
        margin-left: 1rem;
        margin-bottom: 0rem;
    }
    .tab-games-filter-list {
        display: none;
    }
    .tab-games-filter-dropdown {
        display: block;
    }
}
