:root {
    --primary-bg: #01092d;
    --secondary-bg: #01092d;

    --primary-color: #239679;
    --secondary-color: #239679;
    --accent-color: #63b1dd;

    --white: #effff4;
}

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

@media (min-width: 768px) {

    .sidebar-collapse .sidebar-info h3,
    .sidebar-collapse .sidebar-info span {
        display: none;
    }
}

.stripped-bg-light {
    background:
        repeating-linear-gradient(135deg,
            rgba(0, 0, 0, 0.04) 10px,
            rgba(0, 0, 0, 0.04) 12px,
            rgba(0, 0, 0, 0) 12px,
            rgba(0, 0, 0, 0) 28px),
        linear-gradient(135deg, #f6fbff, #eef6ff) !important;
}

.stripped-bg-bold {
    background:
        repeating-linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0px,
            rgba(255, 255, 255, 0.12) 12px,
            rgba(255, 255, 255, 0) 12px,
            rgba(255, 255, 255, 0) 28px),
        linear-gradient(135deg, #1e88ff, #0d6efd) !important;
}

.bg-accent {
    background: #63b1dd69 !important;
    color: var(--primary-color) !important;
}

/* Reusable utility class */
.title-container {
    display: flex;
    align-items: end;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.underline-heading {
    position: relative;
    display: block;
    padding-bottom: 6px;
    /* space for underline */
}

.underline-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
}

.container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.dropdown-toggle::after {
    font-size: 22px;
}

.modal-custom {
    border-radius: 15px;
    overflow: visible !important;
}

.modal-custom .icon-btn {
    position: absolute;
    top: -16px;
    right: 16px;
}

.rounded-10 {
    border-radius: 10px !important;
}

.rounded-15 {
    border-radius: 15px !important;
}

.select2-container {
    z-index: 9999 !important;
}

.offcanvas-custom {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0px -4px 15px rgba(0, 0, 0, 0.1);
    height: 85vh;
}

.offcanvas-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* Keypad styling */
.pin-display {
    font-size: 2rem;
    letter-spacing: 1rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.keypad-btn {
    font-size: 1.5rem;
    height: 70px;
    border-radius: 50%;
    aspect-ratio: 1;
}

.keypad-container {
    max-width: 300px;
    margin: 0 auto;
}

.btn-custom {
    position: relative;
    color: #3F0C0C;
    background: #239679;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    padding: 0 30px;
    height: 48px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-custom:hover {
    background-color: unset;
    border: 2px solid #07182c;
    color: #07182c;
}

.btn-invert {
    background: var(--primary-color);
    color: var(--primary-bg) !important;
    border-radius: 6px;
}

.btn-invert::before {
    width: 40%;
    height: 28px;
    top: -50%;
    background: #853939 !important;
    filter: blur(16px) !important;
}

.btn-custom:disabled {
    background: #3a3a3a;
    color: #777777;
    cursor: not-allowed;
    border: unset;
}

.btn-invert:disabled {
    background: #3a3a3a;
    color: #777777;
    cursor: not-allowed;
    border: unset;
}


.glass-card {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-out;
}

.dark-skin .glass-card {
    background: #1e2638;
}

.glass-card:hover {
    transform: translateY(-5px);
}

@keyframes glowMove {
    0% {
        left: -20%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: -20%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.quick-links {
    display: flex;
    justify-content: space-between;
    gap: 6px;
}

.link-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dark-skin .link-wrapper .link-icon,
.dark-skin .link-wrapper .link-text {
    color: #919191;
}

.link-wrapper .link-icon {
    font-size: 24px;
    color: #1a1a1a;
}


.link-wrapper .link-text {
    font-size: 12px;
    color: #1a1a1a;
}


.ref-box {
    box-shadow: var(--box-shadow);
    border-radius: 25px;
}

.icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    font-size: 22px;
    overflow: clip;
    border: unset;
    z-index: 1;
}


.icon-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    transition: transform 0.5s ease-in-out;
    font-size: 20px;
}

.box {
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.box-body {
    z-index: 2;
}

.nav-pills .nav-link {
    color: #818080;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: var(--primary-color);
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 8px 16px #41414126;
}

.profile-pic {
    width: 50px;
}

.earning-list {
    background: none;
    box-shadow: var(--box-shadow);
    border-bottom: 0px !important;
    margin-bottom: 10px;
}

/* ========================Old Css======================== */
.ads {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/fit.jpg);
    background-position: top right;
    background-size: cover;
    border-radius: 15px;
    overflow: hidden;
    gap: 5px;
    margin: 40px 0;
}

.ads .ad-img {
    width: 170px;
}

.ads img {
    width: 100%;
}

.text-box {
    width: 60%;
    text-align: center;
    padding: 5px 5px;
    color: #fff;
    font-family: Poppins;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-box h4 {
    font-weight: 700;
    letter-spacing: 2px;
}

.text-box h1 {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Bottom Navigation */

.bottom-nav {
    z-index: 999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 450px;
    padding: 5px;
    background-color: #ffffff;
    box-shadow: 0 14px 50px #ababab;
}

@media(min-width:600px) {
    .bottom-nav {
        max-width: 600px;
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #2c2c2c;
}


.bottom-nav-item i {
    font-size: 20px;
}

.bottom-nav-item img {
    width: 30px;
}

.bottom-nav-item .item-name {
    font-size: 12px;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--primary-color);
}


.custom-list {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin: 0;
    width: 100%;
    list-style: none;
}

.custom-list li {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    padding: 0.6rem 0;
    pointer-events: fill;
    cursor: pointer;
    font-size: 14px;
}

.custom-list a {
    color: #454649;
}

.custom-list li.has-border {
    border-bottom: 1px solid #b9b9b9;
}

.custom-list li.has-bg {
    background-color: #ededed;
    padding: 6px 12px;
    border-radius: 6px;
}

.custom-list li .left {
    display: flex;
    align-items: start;
    gap: 10px;
    text-align: start;
    flex: 1;
    min-width: 0;
}

.custom-list li .right {
    display: flex;
    align-items: end;
    flex-direction: column;
    gap: 5px;
    text-align: end;
    flex-shrink: 0;
}

.custom-list .left i {
    display: flex;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 20px;
    flex-shrink: 0;
}

.custom-list .left i.success {
    background: #23967924;
    color: #239679;
}

.custom-list .left i.danger {
    background: #E71C1C1c;
    color: #E71C1C;
}

.balance-tabs {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    padding: 0 10px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.balance-tabs::-webkit-scrollbar {
    display: none;
}

.balance-tabs .tab {
    padding: 5px 15px;
    border: 1px solid hsl(70, 77%, 30%);
    border-radius: 30px;
    flex: 1 1 auto;
    text-align: center;
    min-width: max-content;
    background: transparent;
    color: hsl(0, 0%, 30%);
    cursor: pointer;
    transition: background 0.3s ease;
}

.balance-tabs .tab.active {
    padding: 5px 15px;
    border: 1px solid #D7EC6B;
    border-radius: 30px;
    background: hsl(70, 77%, 30%, 0.2);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.balance-tabs .tab:hover {
    background: hsl(70, 77%, 30%, 0.1);
}

/* Balance Tab */

.gradient-card {
    position: relative;
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(345deg, #290b0b 0%, rgba(59, 121, 134, 0.1) 100%);
    background-color: #290b0b;
    min-width: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gradient-body {
    gap: 5px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.gradient-body.collapse {
    display: none;
}

.gradient-card::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(75deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    z-index: -1;
    border-radius: calc(15px + 6px);
    filter: blur(6px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
}

.gradient-card .gradient-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #395500;
    padding-bottom: 5px;
}

.gradient-card .gradient {
    position: absolute;
    border-radius: 50%;
    background: #4CFEA9;
}

.gradient-card .gradient:nth-child(1) {
    width: 28px;
    height: 28px;
    left: 30%;
    top: 70%;
    filter: blur(24px);
}

.gradient-card .gradient:nth-child(2) {
    width: 63px;
    height: 63px;
    left: 45%;
    top: 50%;
    filter: blur(45px);
}

.gradient-card .gradient:nth-child(3) {
    width: 56px;
    height: 56px;
    left: 60%;
    top: 10%;
    background: #2BB15B;
    filter: blur(40px);
}


/* Wihthdrawal Ui */

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 6px;
    color: #333;
    font-weight: 500;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: 0.3s ease;
}

.chip:hover {
    background-color: #517dd4;
}

.chip.active {
    background-color: var(--primary-color);
    color: #e2e2e2;
    box-shadow: 0 20px 50px #0466dd6e;
}

.chip-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
}

.radio-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    position: relative;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.radio-card.active {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.radio-card.inactive {
    filter: opacity(0.4);
}

.custom-radio {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #1a2e2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-container input {
    display: none;
}

.custom-radio::after {
    content: "";
    background: #239679;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: all 0.3s ease;
}

input:checked+.custom-radio::after {
    transform: scale(1);
}

.custom-input-wrapper {
    position: relative;
    background: rgba(83, 107, 113, 0.1);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    padding: 15px 20px 10px;
    border-radius: 5px;
    width: 100%;
}

.custom-amount-input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 24px;
    color: #393838;
    font-weight: 600;
    padding-right: 30px;
}

.custom-amount-input {
    caret-color: var(--primary-color);
}

.custom-amount-input::placeholder {
    color: #5f5f5f;
    font-size: 20px;
}

.clear-btn {
    position: absolute;
    right: 15px;
    top: 16px;
    background: transparent;
    border: 2px solid red;
    color: red;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 16px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}


.reciept-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    width: 100%;
}

.reciept-list li {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reciept-list li .item {
    display: flex;
    flex-direction: column;
    font-size: 15px;
}

/* Simplified Pagination */
.modern-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
    -webkit-user-select: none;
    user-select: none
}

.modern-pager__meta {
    color: var(--bs-secondary-color, #6c757d);
    font-size: .9rem
}

.modern-pager__list {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 0;
    margin: 0;
    list-style: none
}

.modern-pager__item {
    display: flex;
    align-items: center;
    justify-content: center
}

.modern-pager__item.is-disabled {
    opacity: .5;
    pointer-events: none
}

.modern-pager__link {
    --ring: rgba(99, 102, 241, .35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 .75rem;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    background: rgba(255, 255, 255, .65);
    -webkit-backdrop-filter: saturate(1.2) blur(6px);
    backdrop-filter: saturate(1.2) blur(6px);
    color: inherit;
    text-decoration: none;
    transition: .18s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05)
}

.modern-pager__link:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 0, 0, .18);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08)
}

.modern-pager__link:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px
}

/* style current via class (simpler selector than :not()) */
.modern-pager__link.is-current {
    cursor: default;
    font-weight: 600;
    background: rgba(99, 102, 241, .12);
    border-color: rgba(99, 102, 241, .35);
}

/* Dark */
@media (prefers-color-scheme: dark) {
    .modern-pager__meta {
        color: #a8a8a8
    }

    .modern-pager__link {
        background: rgba(24, 24, 27, .6);
        color: #e5e7eb;
        border-color: rgba(255, 255, 255, .08);
        box-shadow: 0 1px 2px rgba(0, 0, 0, .4)
    }

    .modern-pager__link:hover {
        border-color: rgba(255, 255, 255, .18);
        box-shadow: 0 6px 16px rgba(0, 0, 0, .45)
    }

    .modern-pager__link.is-current {
        background: rgba(99, 102, 241, .18);
        color: #c7d2fe;
        border-color: rgba(99, 102, 241, .45)
    }
}

/* Mobile */
@media (max-width:768px) {
    .modern-pager {
        flex-direction: column;
        align-items: flex-start
    }

    .modern-pager__meta {
        font-size: .85rem
    }

    .modern-pager__link {
        min-width: 2rem;
        height: 2rem;
        padding: 0 .6rem;
        font-size: .9rem
    }
}

.game-card-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.game-card {
    position: relative;
    /* height: 110px; */
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .06);
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, .25);
}

.overlay {
    position: absolute;
    inset: 0;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.game-content {
    position: relative;
    z-index: 5;
    color: #fff;
    width: 100%;
}

.game-content .text-secondary {
    color: rgba(255, 255, 255, .82) !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.game-title {
    margin: 4px 0 2px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 8px 20px rgba(0, 0, 0, .45);
}

.game-info {
    margin: 0 0 10px;
    font-size: 12px;
    opacity: .92;
    max-width: 75%;
}

.game-btn {
    font-size: 12px;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 700;
    transition: transform .2s ease, opacity .2s ease;
}

.game-btn:hover {
    transform: translateY(-1px);
}

.btn-outline-light.game-btn {
    border-color: rgba(255, 255, 255, .65) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .06);
}

.btn-light.game-btn {
    background: rgba(255, 255, 255, .92) !important;
    border-color: rgba(255, 255, 255, .92) !important;
}

.game-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 55%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .10), transparent);
    transform: rotate(14deg);
    transition: left .6s ease;
    z-index: 3;
    pointer-events: none;
}

.game-card:hover::after {
    left: 120%;
}

/* Mobile tweaks */
@media (max-width: 420px) {
    .game-card {
        height: 118px;
    }

    .game-info {
        max-width: 100%;
    }
}