@media only screen and (max-width: 1450px) {
    .menu-item img {
        width: 25px;
    }

    .main-menu {
        gap: 5px;
    }
}

@media only screen and (max-width: 1279px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: clamp(8px, 2vw, 14px);
        position: relative;
    }

    .logo-area {
        order: 1;
        flex: 1 1 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        margin: 0;
        width: auto;
        z-index: 150;
    }

    .logo-area .hamburger-btn {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .logo-area img {
        max-width: clamp(120px, 22vw, 170px);
        height: auto;
        display: block;
    }

    .lang-select {
        position: absolute;
        top: 0;
        right: 0;
    }

    .lang-select .btn {
        padding: .35rem .5rem;
        border-radius: .5rem;
        background: #1b2430;
        margin-top: 10px;
    }

    .lang-select img {
        max-width: clamp(18px, 5vw, 24px);
        height: auto;
    }

    .right-actions {
        order: 2;
        width: 100%;
        display: flex;
        gap: 10px;
    }

    .btn-login,
    .btn-signup {
        flex: 1 1 0;
        width: auto;
        min-width: 0 !important;
        max-width: none;
        height: auto;
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 12px;
        box-sizing: border-box;
    }

    .main-menu {
        order: 3;
        flex: 1 1 100%;
        margin: 0;
        overflow-x: auto;
        justify-content: center;
        gap: clamp(14px, 5vw, 24px);
        padding: .5rem;
        border-radius: .6rem;
    }

    .main-menu::-webkit-scrollbar {
        display: none;
    }

    .menu-slider {
        order: 3;
        flex: 1 1 100%;
        margin: 0;
        gap: 0;
    }

    .menu-slider .main-menu {
        flex: 1 1 100%;
        max-width: none;
        margin-left: 0px;
    }

    .menu-slider .menu-item {
        flex: 0 0 auto;
    }

    .menu-nav-btn {
        display: none;
    }

    .menu-item {
        flex: 0 0 auto;
        max-width: 50px;
        min-width: 75px;
    }

    .menu-item img {
        max-width: clamp(22px, 7vw, 32px);
        height: auto;
    }

    .menu-item span {
        font-size: clamp(8px, 2.5vw, 11px);
        white-space: nowrap;
    }

    .index-menu {
        display: none;
    }

    .top-header2 {
        /* margin: 10px 0px 0px; */
    }

    .top-header2.sticky {
        margin: 5px 0px 0px;
    }

    .index-wrap {
        display: grid;
        grid-template-columns: 69% 30%;
        padding: 20px 0px 30px;
        gap: 15px;
    }

    .header-wrap {
        padding: 0px;
    }

    .prod-tab .nav-pills {
        gap: 5px;
        display: grid;
        grid-template-columns: repeat(6, 1fr);
    }

    .top-header3.sticky {
        position: sticky;
        top: 0;
        left: 0;
        background: #16242700;
    }

    .mobile-side-drawer {
        display: flex;
        position: fixed;
        left: -8px;
        top: 155px;
        z-index: 105;
        transform: translateX(calc(-100% + 42px));
        transition: transform .3s ease;
        max-height: 0px;
    }

    .mobile-side-drawer.active {
        transform: translateX(0);
        max-height: 420px;
        z-index: 1000;
        top: 50px;
    }

    .mobile-side-panel {
        max-width: 88vw;
        padding: 15px;
        overflow: hidden;
        background: #11151c;
        border: 1px solid #00d98c;
        border-left: 0;
        border-radius: 0 12px 12px 0;
    }

    .mobile-side-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
    }

    .mobile-side-scroll::-webkit-scrollbar {
        display: none;
    }

    .mobile-side-grid {
        display: grid;
        grid-auto-flow: column;
        gap: 10px;
    }

    .mobile-side-grid .side-menu-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 14px;
        text-align: center;
        min-width: 130px;
    }

    .mobile-side-grid .menu-icon {
        max-width: 70%;
        display: block;
        margin: 0 auto;
        width: 50px;
        height: 50px;
    }

    .mobile-side-grid .menu-content {
        margin: 0;
        width: 100%;
    }

    .mobile-side-grid .menu-content h4 {
        font-size: 13px;
        margin-bottom: 4px;
        white-space: nowrap;
    }

    .mobile-side-grid .menu-content p {
        font-size: 11px;
        margin-bottom: 12px;
        min-height: 25px;
    }

    .mobile-side-grid .menu-btn {
        min-width: 0;
        height: auto;
        padding: 7px 22px;
        font-size: 10px;
        border-radius: 8px;
        white-space: nowrap;
    }

    .mobile-side-toggle {
        align-self: center;
        padding: 13px 10px;
        border: 0;
        border-radius: 0 10px 10px 0;
        background: linear-gradient(180deg, #18e69c, #07996d);
        color: #fff;
    }

    .side-dot {
        padding: 0;
        border: 0;
        border-radius: 50%;
        inline-size: .45rem;
        aspect-ratio: 1;
        background: rgba(255, 255, 255, .35);
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        min-width: 0;
        min-height: 0;
        line-height: 0;
    }

    .side-dot.active {
        background: #fff;
    }

    .width-show {
        display: block;
    }

    .dep-wrap {
        grid-template-columns: 200px 1fr;
    }

    .dep-methods {
        grid-template-columns: repeat(3, 1fr);
    }

    .dep-amount {
        grid-template-columns: 1fr;
    }

    .dep-quick {
        flex-wrap: wrap;
    }

    .ref-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 991px) {
    .top-header {
        padding: 10px 0px;
    }

    .m-show {
        display: block;
    }

    .d-show {
        display: none;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 0px;
        display: none;
    }

    .lang-select .btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .t-body {
        padding-top: 0px;
    }

    .index-menu {
        display: none;
    }

    .index-wrap {
        display: flex;
        flex-direction: column;
        padding: 0px 0px;
        gap: 0px;
    }

    .index-right {
        margin-left: 0px;
    }

    .game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .check-in-grid {
        gap: 6px;
    }

    .footer-col h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-col ul li a {
        font-size: 12px;
    }

    .app-btn {
        width: 160px;
    }

    .app-buttons {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .footer-copyright {
        justify-content: initial;
        flex-direction: column;
        align-items: initial;
        gap: 10px;
    }

    .menu-btm {
        display: block;
        width: 100%;
        text-align: center;
        padding-bottom: 0px;
    }

    .t-footer {
        margin: 0px 6px 80px;
        border-radius: 10px;
        padding: 20px 10px;
        background-size: cover;
    }

    .t-footer .container {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        padding: 0px;
    }

    .prod-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .slots-search {
        width: 150px;
    }

    .prod-tab .nav-pills {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .prod-tab .nav-pills .nav-link {
        padding: 6px;
    }

    .prod-tab .nav-pills .nav-link img {
        max-height: 25px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .promo-search {
        width: 100%;
    }

    .promo-value {
        font-size: 30px;
    }

    .mission-bg ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-congrat h5 {
        font-size: 24px;
    }

    .fw-pin {
        width: 16%;
    }

    .fw-wrap {
        margin-top: 10px;
    }

    .blog-wrap {
        padding: 0px;
    }

    .blog-wrap h4 {
        font-size: 20px;
    }

    .blog-wrap h5 {
        font-size: 16px;
    }

    .chatMsg {
        padding: 0px;
    }

    .hot-games-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
    }

    .hot-title {
        min-width: unset;
        font-size: 15px;
    }

    .hot-nav {
        display: none;
    }

    .hotGameSwiper {
        width: 100%;
    }

    .hotGameSwiper .swiper-slide {
    }

    .hotGameSwiper .swiper-slide img {
        height: auto;
    }

    .header-wrap {
        padding-top: 0px;
    }

    .jackpot-amount {
        font-size: 2rem;
    }

    .t-header {
        position: relative;
    }

    .tournament-card {
        display: none;
    }

    .footer-box {
        padding: 20px 24px 16px;
        border-radius: 10px;
    }

    .site-footer {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footer-col {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        min-height: unset;
        padding: 18px 0;
    }

    .footer-col:first-child {
        padding-top: 0;
    }

    .footer-col:last-of-type {
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .footer-title {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .footer-title img {
        max-width: 18px;
        height: auto;
    }

    .footer-col a {
        display: inline-block;
        margin: 0 10px 8px 0;
        font-size: 13px;
        color: #a6a8ae;
    }

    .footer-col a:not(:last-child)::after {
        content: "|";
        margin-left: 10px;
        color: rgba(255, 255, 255, .35);
    }

    .social-list,
    .product-list,
    .license-list {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .social-list img {
        max-width: 30px;
        height: auto;
    }

    .product-list img {
        max-width: 72px;
        height: auto;
    }

    .license-list img {
        max-width: 80px;
        height: auto;
    }

    .footer-copyright {
        padding-top: 14px;
    }

    .copyright-text {
        margin: 0;
        text-align: center;
        font-size: 12px;
        color: #aaa;
    }

    .main-menu {
        justify-content: flex-start;
        gap: 5px;
        min-width: auto;
        /* z-index: 999; */
        position: relative;
    }

    .slot-section .index-games {
        min-height: 520px;
        display: flex;
        flex-direction: column;
        margin-top: 20px;
    }

    .top-header3 {
        width: 100%;
        z-index: 101;
    }

    .top-header3.sticky {
        position: fixed;
        top: 0;
        left: 0;
        margin: 0px;
    }

    .top-header3.sticky .container {
        margin: 0px;
    }

    .top-header2.sticky {
        position: relative;
        background: none;
        box-shadow: none;
    }

    .top-header2.sticky .menu-row {
        margin: 0px;
    }

    .games-title.m-show {
        display: block;
    }

    .user-card {
        width: 100%;
        margin: 10px 0px 0px;
    }

    .index-amt.m-show {
        display: grid;
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        margin: 0px 0px 10px;
    }

    .dep-wrap {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .dep-slide {
        order: 0;
        margin-bottom: 0px;
        min-width: 0;
    }

    .dep-main {
        order: 1;
        min-width: 0;
        max-width: 100%;
    }

    .dep-methods {
        grid-template-columns: repeat(3, 1fr);
    }

    .recent-box {
        margin: 20px 0 0;
        padding: 0px;
        border: 0px;
    }

    .recent-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .recent-item:nth-child(n + 3) {
        display: none;
    }

    .recent-item {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
    "info icon"
    "info status"
    "amt status";
        align-items: start;
        gap: 2px 6px;
        padding: 10px 8px;
    }

    .recent-info {
        grid-area: info;
    }

    .recent-right,
    .recent-data {
        display: contents;
    }

    .recent-amt {
        grid-area: amt;
        margin-top: 4px;
        font-size: 12px;
        text-align: left;
    }

    .recent-icon {
        grid-area: icon;
        justify-self: center;
    }

    .recent-status {
        grid-area: status;
        justify-self: center;
        align-self: end;
        font-size: 8px;
        letter-spacing: 0.2px;
    }

    .recent-type {
        font-size: 12px;
    }

    .recent-meta,
    .recent-id {
        font-size: 10px;
        line-height: 1.3;
    }

    .dep-help.m-show {
        margin-top: 12px;
        padding-top: 10px;
    }

    .dep-help.m-show .dep-help-btn {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        padding: 12px 14px;
    }

    .dep-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dep-crypto {
        grid-template-columns: 1fr;
    }

    .dep-qr-img {
        width: 140px;
        height: 140px;
    }

    .blog-feat {
        grid-template-columns: 1fr;
    }

    .blog-feat-media {
        min-height: 180px;
        aspect-ratio: 16 / 9;
    }

    .mission-bg {
        padding-top: 10px;
    }

    .ref-top {
        grid-template-columns: 1fr;
    }

    .ref-main,
    .ref-bottom {
        grid-template-columns: 1fr;
    }

    .ref-card-img {
        width: 96px;
    }

    .ref-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 767px) {
    .otp-field input {
        width: 100%;
    }

    .fw-wheel {
        top: 42%;
        width: 58%;
        max-width: none;
    }

    .fw-token,
    .fw-info {
        font-size: 11px;
        padding: 8px 12px;
    }

    .fw-spin {
        font-size: 12px;
        padding: 9px 18px;
    }

    .fw-actions {
        bottom: 4%;
        gap: 8px;
    }

    .info-panel {
        padding: 16px;
    }

    .info-title {
        font-size: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-link {
        flex: 1 1 calc(50% - 8px);
        font-size: 11px;
        padding: 9px 10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .vip-wrap {
        padding: 10px 0px;
    }

    .vip-title {
        font-size: 18px;
    }

    .vip-title-icon {
        display: block;
    }

    .vip-status {
        padding: 14px;
    }

    .vip-status-top {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .vip-now {
        grid-template-columns: auto 1fr;
        grid-template-areas:
    "gem text"
    "note note"
    "bar bar";
        align-items: center;
        column-gap: 10px;
        row-gap: 8px;
        padding-right: 12px;
    }

    .vip-gem {
        width: 44px;
        height: 44px;
    }

    .vip-now-text {
        gap: 2px;
    }

    .vip-bar-note {
        grid-area: note;
    }

    .vip-now-name {
        font-size: 16px;
    }

    .vip-now-label,
    .vip-need-label,
    .vip-bar-note {
        font-size: 11px;
    }

    .vip-need {
        align-items: flex-start;
        justify-content: space-between;
        padding-left: 12px;
        text-align: left;
        gap: 8px;
    }

    .vip-need-label {
        max-width: none;
    }

    .vip-need-val {
        font-size: 18px;
    }

    .vip-tnc {
        font-size: 11px;
        padding: 7px 12px;
        border-radius: 8px;
    }

    .vip-tabs .vip-tab {
        font-size: 2vw;
    }

    .vip-mobi {
        padding: 10px;
        border: 1px solid transparent;
        border-radius: 10px;
        background: linear-gradient(#16171b, #16171b) padding-box, linear-gradient(90deg, rgba(0, 255, 160, .25) 0%, rgba(0, 255, 160, .25) 28%, #0a2a1e 40%, #16171b 50%, #1a1230 60%, rgba(123, 106, 207, .55) 72%, rgba(123, 106, 207, .55) 100%) border-box;
    }

    .blog-wrap {
        padding: 14px;
    }

    .blog-title {
        font-size: 18px;
    }

    .blog-name {
        font-size: 17px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post .blog-title {
        font-size: 20px;
    }

    .blog-cover {
        border-radius: 12px;
    }

    .ref-wrap {
        gap: 12px;
        padding-top: 6px;
    }

    .ref-top {
        padding: 14px;
        gap: 14px;
    }

    .ref-brand img {
        width: 52px;
        height: 52px;
    }

    .ref-name {
        font-size: 18px;
    }

    .ref-desc {
        font-size: 12px;
    }

    .ref-field {
        height: 38px;
    }

    .ref-input {
        padding-right: 88px;
        font-size: 12px;
    }

    .ref-copy {
        top: 2px;
        right: 2px;
        bottom: 2px;
        padding: 0 12px;
        font-size: 12px;
    }

    .ref-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ref-stat {
        padding: 12px;
        gap: 10px;
    }

    .ref-stat img {
        width: 36px;
        height: 36px;
    }

    .ref-stat-label {
        font-size: 11px;
    }

    .ref-stat-val {
        font-size: 18px;
    }

    .ref-card {
        min-height: 0;
        padding: 14px;
    }

    .ref-card-title {
        font-size: 16px;
    }

    .ref-card-amt {
        font-size: 24px;
    }

    .ref-card-img {
        width: 84px;
    }

    .ref-bonus {
        padding: 12px;
    }

    .ref-sec {
        gap: 8px;
        margin-bottom: 12px;
    }

    .ref-sec img {
        width: 48px;
    }

    .ref-sec span {
        font-size: 14px;
    }

    .ref-list {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .ref-item {
        height: 82px;
    }

    .ref-users,
    .ref-prize {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        padding: 6px 3px;
        line-height: 1.25;
        white-space: normal;
    }

    .ref-users {
        flex: 1;
    }

    .ref-prize {
        min-height: 32px;
    }

    .ref-bet {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 14px;
    }

    .ref-bet-img {
        width: 82px;
        flex-shrink: 0;
    }

    .ref-bet-body {
        flex: 1;
        min-width: 0;
    }

    .ref-bet-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .ref-rates {
        width: 100%;
    }

    .ref-rate {
        align-items: center;
        padding: 10px 6px;
        text-align: center;
    }

    .ref-rate-label {
        font-size: 11px;
    }

    .ref-rate-val {
        font-size: 18px;
    }

    .ref-rank-img {
        max-width: 220px;
    }
}

@media only screen and (max-width: 575px) {
    .ref-dates {
        grid-template-columns: 1fr;
    }

    .vip-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vip-name {
        font-size: 10px;
    }

    .vip-val {
        font-size: 12px;
    }

    .dep-quick-btn {
        flex: 1 1 calc(33.33% - 8px);
    }

    .dep-grid {
        gap: 10px 2px;
        padding: 12px 6px;
    }

    .dep-grid-item {
        font-size: 10px;
    }

    .dep-grid-item img {
        width: 36px;
        height: 36px;
    }

    .pd-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .pd-row-value {
        text-align: left;
    }

    .pd-right {
        gap: 8px;
    }

    .pd-status {
        padding: 5px 8px;
        font-size: 10px;
    }

    .ref-stat-val {
        font-size: 16px;
    }

    .ref-card-amt {
        font-size: 22px;
    }

    .ref-card-img {
        width: 72px;
    }

    .ref-item {
        height: 78px;
    }
}

@media only screen and (max-width: 550px) {
    .mission-bg ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 480px) {
    .footer-col h3 {
        font-size: 12px;
    }

    .footer-col ul li a {
        font-size: 10px;
    }
}
