* {
    font-family: 'Poppins';
}
:root {
    --primary-background: #071a0a;
    --root-wrap-bg: #0a1e0e;
    --text-primary: #f0f0e0;
    --text-secondary: #ffd700;
    --accent-gold: #ffd700;
    --accent-gold-light: #ffe44d;
    --accent-green: #1a6b2e;
    --accent-green-light: #2a8a3e;
    --accent-green-dark: #0d3318;
    --card-bg: rgba(26, 107, 46, 0.3);
    --card-border: rgba(255, 215, 0, 0.3);
    --surface-dark: #0c2412;
}

html {
    font-size: 100%!important;
}
.welcome-banner.animate__animated.animate__fadeInDown {
    min-height: 130px;
}
@media (max-width: 375px) {
    html {
        font-size: 90%!important;
    }
}
section#profileSettings .section-wrapper .section_footer 
 {
    position: absolute;
    bottom: 5rem;
    width: 100%;
    left: 0;
    right: 0;
}
.gameitem.game-tab img {
    height: 3.25rem;
    width: 3.25rem;
    border-radius: 50%;
    overflow: hidden;
}
@media (max-width: 320px) {
    html {
        font-size: 85%!important;
    }
}
body {
    background-color: var(--primary-background);
    line-height: normal !important;
    color: var(--text-primary);
}
/* Hide specical zodiac tab for MK6 */
button.odd_tabbtn[data-part="specical zodiac"],
button.odds-tab[data-part="specical zodiac"] {
    display: none !important;
}
a span {
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
}
#root {
    display: flex;
    flex-direction: column;
    max-width: 450px;
    align-items: center;
    margin: 0 auto;
    height: 100dvh;
}

.main-root_wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 auto;
    display: flex;
    flex-flow: column;
    text-align: start;
    background: var(--root-wrap-bg);
    max-width: 450px;
}
.root.header, .section_header {
    flex: 0 0 0%;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    font-size: .9rem;
    padding: .25rem;
    padding-inline: .85rem;
}
.root.header {
    background: linear-gradient(180deg, #0d3318 0%, #0a1e0e 100%);
    padding: .5rem .85rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}
.header-balance-pill {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,215,0,0.05));
    border: 1px solid rgba(255,215,0,0.4);
    border-radius: 2rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffd700;
    white-space: nowrap;
}
.section_header {
    justify-content: flex-start;
    gap: .5rem;
    padding: 0;
}
.section_header .backBtn a img {
    width: 1.5rem;
    height: 1.5rem; 
}
.root.body, .section_body {
    flex: 1 1 0%;
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
    padding-inline: .5rem; 
}
.divider {
    background: rgba(197, 164, 78, 0.20);
    height: 1px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
a.contact_link {
    width: 100%;
    height: 100%;
}
.section_footer {
    flex: 0;
    position: relative;
    min-height: 10%;
}

.forward_arrow {
    height: .5rem;
    filter: brightness(0) invert(0.8) sepia(1) hue-rotate(15deg);
}
.innerItem>div>img {
    width: 1.9rem;
    height: 1.9rem;
}
.innerItem {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 1rem .5rem;
}
img.logo {
    height: 40px;
}
.view_able_record {
    display: flex;
    flex-flow: column;
    gap: .5rem;
    padding-bottom: 6rem;
}
hr.devider_custom {
    max-width: 100%;
    display: flex;
    justify-content: flex-end; 
    background: rgba(197, 164, 78, 0.25);
}
div#oddsGrid {
    overflow-x: hidden!important;
}
.settings_left {
    align-items: center;
}
.profileSettings.items {
    overflow: hidden;
    padding: 0 .5rem 0;
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--card-border);
}
.announcement {
    flex: 0;
    width: 100%;
    height: 100%;
    line-height: 2.3;
    font-size: .75rem;
    background: linear-gradient(90deg, rgba(255,215,0,0.08) 0%, rgba(26,107,46,0.15) 50%, rgba(255,215,0,0.08) 100%);
    border-bottom: 1px solid rgba(255,215,0,0.1);
}
.balance_card {
    height: auto;
    background: linear-gradient(135deg, #1a6b2e 0%, #0d3318 50%, #1a5c2a 100%);
    padding: 1.25rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(255,215,0,0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,215,0,0.1);
}
.balance_title {
    color: rgba(232, 232, 208, 0.55);
    font-family: 'Poppins';
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 300;
}

.earning, .profit {
    color: var(--accent-gold);
    font-family: 'Poppins';
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
}

span.balance {
    color: #ffd700;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
}
.anno_wrap {
    display: grid;
    grid-template-columns: 5% 95%;
    align-items: center;
    padding-left: .8rem;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}
.announcement_icon img {
    width: auto;
    min-height: .78rem;
}
.announcement_text {
    color: #ffd700;
    font-family: 'Poppins', 'Open Sans', Helvetica, Calibri, sans-serif;
    font-style: normal;
    font-weight: 500;
}


.header_label {
    color: var(--accent-gold-light);
    font-family: 'Poppins', 'Open Sans', Helvetica, Calibri, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: .75rem;
}
.input-container {
    border-radius: 2.1rem;
    border: 1px solid var(--accent-green);
    background: rgba(26, 92, 42, 0.15);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: .3rem .15rem;
}
.input-container .content {
    color: var(--text-primary);
    font-family: 'Poppins', 'Open Sans', Helvetica, Calibri, sans-serif;
    font-style: normal;
    font-weight: 500;
    margin: 0 !important;
    background: none;
    border: none;
    width: 100%;
    font-size: .9rem;
    line-height: 1;
}
.input-container .label {
    color: var(--accent-gold-light);
    font-family: 'Poppins', 'Open Sans', Helvetica, Calibri, sans-serif;
    line-height: 1;
    font-weight: 500;
    font-size: .75rem;
}
input:focus,
input:focus-visible,
input:-webkit-focus-ring-color {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}
input {
    outline: 0 !important;
    color: var(--text-primary);
}
.input-container .icon {
    margin-left: 1.4rem;
    margin-right: 1rem;
    filter: brightness(0) invert(0.75) sepia(1) hue-rotate(15deg);
    width: 1.4rem;
}

.scrolling-text-item {
    overflow: hidden;
}
.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 35s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.swiper.homepageSwiper{
    width: 100%;
}
.swiper-pagination-bullet-active {
    background: #ffd700 !important;
    box-shadow: 0 0 6px rgba(255,215,0,0.4);
}
.swiper-pagination-bullet {
    background: rgba(255,215,0,0.3) !important;
}
.item-topmenu {
    padding-top: 0;
    text-align: center;
    align-items: center;
    display: flex;
    flex-flow: column;
    padding: 1rem 1rem 0 1rem;
    padding-bottom: 0;
    padding-top: 0;
}
.item-topmenu img {
    max-width: 60%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #1a6b2e 0%, #0d3318 100%);
    border-radius: 50%;
    overflow: auto;
    border: 2px solid #ffd700;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.25);
}


span.title-topmenu {
    margin-top: 0.21rem;
    color: #fff;
    text-align: center;
    font-family: 'Poppins', 'Open Sans', Helvetica, Calibri, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: .75rem;
    display: flex;
}
.section_header-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-family: 'Poppins', 'Open Sans', Helvetica, Calibri, sans-serif;
    font-style: normal;
    font-weight: 600;
}

.inner_title {
    font-size: 1rem;
    color: var(--accent-gold);
    font-family: 'Poppins', 'Open Sans', Helvetica, Calibri, sans-serif;
    font-style: normal;
    font-weight: 600;
}

div#remember_button span {
    color: var(--text-primary);
    font-family: 'Poppins', 'Open Sans', Helvetica, Calibri, sans-serif;
    font-style: normal;
    font-weight: 500;
    margin-left: .5rem;
}

.gameitem {
    background: linear-gradient(135deg, rgba(26,107,46,0.3) 0%, rgba(13,51,24,0.4) 100%);
    border-radius: .75rem;
    display: flex;
    flex-flow: column;
    padding: .5rem;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    width: 100%;
    height: 6rem;
    cursor: pointer;
    border: 1.5px solid rgba(255,215,0,0.35);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.gameitem:hover {
    border-color: #ffd700;
    box-shadow: 0 4px 15px rgba(255,215,0,0.2);
    background: linear-gradient(135deg, rgba(26,107,46,0.5) 0%, rgba(13,51,24,0.5) 100%);
}
.bet_right img {
    cursor: pointer;
}
.game {
    gap: 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}
.gameitem img {
    width: 4rem;
    height: 4rem;
}

span.game-title-text {
    font-size: 1rem;
    color: #ffd700;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-family: poppins;
}

span.platformName {
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-weight: 600;
    font-family: poppins;
}

span.title-gameitem {
    color: #fff;
    text-align: center;
    font-family: poppins;
    font-size: .75rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: .45rem;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.gameitem img {
    width: 2rem;
    height: 2rem;
}
.min, .balance_require {
    font-family: poppins;
    color: var(--text-primary);
    font-weight: 600;
}
.footer_wrapper {
    padding: 0 0.7rem;
    position: fixed;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}
.footermenu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-radius: 2rem;
    background: linear-gradient(135deg, #143d1f 0%, #0d2e16 50%, #143d1f 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255,215,0,0.05);
    padding: 0.25rem 0;
}
.footermenu-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
img.footermenu-img {
    height: 1.38rem;
    filter: brightness(0) invert(0.7);
}
.footermenu-item.main img.footermenu-img {
    width: 3.5rem;
    height: 3.5rem;
    scale: 1.1;
    filter: none;
}
span.footermenu-text {
    font-size: .7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}
section {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    gap: .8rem;
}
a.routerLink.active img.footermenu-img {
    filter: brightness(0) invert(0.9) sepia(1) saturate(5) hue-rotate(15deg) brightness(1.2);
}
a.routerLink.active span.footermenu-text {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255,215,0,0.3);
}
a.routerLink.footermenu-item.main.active {
    filter: brightness(1.1);
}

a.routerLink.footermenu-item.main {
    filter: brightness(1);
}
.main-root_wrapper {
    width: 100vw;
    height: 100dvh;
}
section#bet, section#deposit, section#withdraw, section#accinfo, section#paymentpass, section#loginpassword, section#contact, section#profileSettings, section#order, section#login,section#account, section#register, section#record, section#drawHistory, section#draw, section#vip, section#withdrawRecord, section#depositRecord, section#terms {
    position: fixed;
    width: 100%;
    height: 100dvh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    background: var(--surface-dark);
    max-width: 450px;
    margin: 0 auto;
    overflow: auto;
    z-index: 99999;
}
section#account {
    max-height: 100dvh;
    width: 100%;
    overflow: hidden;
}
.form_title {
    font-weight: 600;
    color: var(--text-primary);
}

img.contact__img {
    width: 1.85rem;
    height: 1.85rem;
}
.section-wrapper {
    width: 100%;
    position: relative;
    height: 100%;
}
.contactRender {
    gap: 1rem;
    display: flex;
    flex-flow: column;
}
input[type="date"] {
    border: 1px solid var(--accent-green);
    border-radius: .35rem;
    padding: .15rem;
    color: var(--accent-gold);
    background: var(--card-bg);
}
section .section-wrapper .w-full.h-full.flex.flex-col {
    padding-bottom: 6rem !important;
    height: 100%;
}
div#vipCardsSection div#vipSmallCards {
    padding-bottom: 0!important;
}
.bet_details {
    position: absolute;
    width: 100%;
    min-height: 75%;
    left: 0;
    top: auto;
    background: linear-gradient(135deg, #1a5c2a 0%, #0d3318 100%);
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    padding: 1rem;
}
button.apply_btn {
    padding: 0.2rem 0.8rem;
    border-radius: 0.26rem;
    background: var(--accent-gold);
    color: var(--surface-dark);
    text-align: center;
    font-family: poppins;
    font-size: .8rem;
    height: 100%;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
}
.flex.w-full.date-calendar {
    font-size: .8rem;
    align-items: center;
    display: flex;
    justify-content: space-around;
    gap: .5rem;
}
.contact-item_og {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.06rem 1rem;
    box-sizing: border-box;
    border-radius: .5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}
a.contact_link {
    display: flex;
    gap: 1rem;
}
section.active {
    transition: .5s ease-in-out;
    animation: slowShow .5s;
    flex: 1;
}
@keyframes slowShow {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.toast_wrapper {
    display: flex;
    width: 100%;
    justify-content: flex-start;

}
img.logo.loginLogo {
    height: auto;
    width: 5rem;
    align-items: center;
    margin: 0 auto;
}
.agreement-container {
    padding: 0.5rem 0;
}
.agreement-checkbox {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--accent-gold);
    cursor: pointer;
    border-radius: 4px;
}
.agreement-label {
    cursor: pointer;
    user-select: none;
    color: var(--text-primary) !important;
}
.agreement-link {
    text-decoration: none;
    font-weight: 500;
    color: var(--accent-gold) !important;
}
.agreement-link:hover {
    text-decoration: underline;
}
.terms-shell {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 1rem 0.75rem;
    background: linear-gradient(180deg, var(--surface-dark) 0%, #0b1a0b 100%);
}
.terms-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: var(--surface-dark);
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border: 1px solid var(--card-border);
}
.terms-card-header {
    display: grid;
    grid-template-columns: 2.5rem 1fr 2.5rem;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 0.9rem;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: var(--accent-gold);
}
.terms-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
}
.terms-title-emoji {
    font-size: 1.1rem;
    line-height: 1;
}
.terms-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgba(197, 164, 78, 0.16);
}
.terms-nav-btn img {
    width: 1.2rem;
    height: 1.2rem;
    filter: brightness(0) invert(1);
}
.terms-nav-btn i {
    color: var(--accent-gold);
    font-size: 1rem;
}
.terms-home-btn {
    color: var(--accent-gold);
    font-size: 1rem;
}
.terms-home-btn i {
    color: inherit;
}
.terms-card-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.95rem 1.25rem;
    background: var(--surface-dark);
}
.terms-reader {
    white-space: normal;
    word-break: break-word;
    color: var(--text-primary);
    font-size: 0.92rem;
    line-height: 1.65;
}
.terms-heading {
    color: var(--accent-gold);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0.5rem 0 0.3rem;
}
.terms-paragraph {
    margin: 0 0 0.3rem;
    color: rgba(232, 232, 208, 0.8);
}
.terms-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    margin: 0 0 0.3rem;
    color: rgba(232, 232, 208, 0.8);
}
.terms-bullet-icon {
    color: var(--accent-gold);
    font-size: 0.78rem;
    line-height: 1.75;
    min-width: 0.7rem;
}
.terms-empty {
    color: rgba(232, 232, 208, 0.6);
    font-size: 0.92rem;
    line-height: 1.7;
    background: var(--card-bg);
    border: 1px dashed var(--card-border);
    border-radius: 0.85rem;
    padding: 1rem;
}
.login-button, .btn_save {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
    width: 100%;
    padding: .5rem;
    border-radius: 5rem;
    color: #071a0a;
    font-weight: 700;
    font-family: poppins;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    text-shadow: none;
}
.drawitem, .drawitem_record {
    display: flex;
    background: var(--card-bg);
    padding: .85rem .8rem;
    border-radius: .75rem;
    align-items: center;
    min-height: 5rem;
    margin-bottom: .5rem;
    border: 1px solid var(--card-border);
    transition: all 0.2s ease;
}
.drawitem:hover, .drawitem_record:hover {
    border-color: var(--accent-gold);
}
img.drawitem-img {
    width: auto;
    height: 2.5rem;
}

.notification-empty img {
    margin: 0 auto;
}

span.drawitem-textsmall {
    color: var(--accent-gold);
    font-family: 'Poppins', 'Open Sans', Helvetica, Calibri, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: .7rem;
}
span.drawtext-top, span.drawtext-bottom {
    width: 100%;
    margin-left: 1rem;
}
span.drawtext-top {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Poppins', 'Open Sans', Helvetica, Calibri, sans-serif;
}
span.drawtext-bottom {
    font-size: .68rem;
    color: rgba(232, 232, 208, 0.5);
    font-family: poppins;
    font-weight: 500;
}
.top_card, .small_card {
    background: linear-gradient(135deg, rgba(26, 92, 42, 0.6) 0%, rgba(13, 51, 24, 0.6) 100%);
    border: 1px solid var(--card-border);
}
.top_imgVip img {
    object-fit: contain;
}

.top_imgVip {
    max-height: 4rem;
}
.top_card {
    height: 31rem!important
}
.small_card {
    width: 100%;
    max-height: 10rem;
    height: 10rem;
}
.min, .balance_require {
    display: flex;
    flex-flow: column;
    text-align: center;
}
.main_img {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}
.main_img img {
    position: relative;
    left: 0;
    top: 6%;
    right: 0;
    width: 100%;
    height: auto;
    margin: 0 auto;
    scale: 1.15;
}
.part_card {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.small_card-wrapper {
    overflow: hidden;
}

.right_part_card img {
    max-height: 3rem;
}
.left_part_card.vip_badge {
    display: flex;
    align-items: center;
    text-align: center;
    z-index: 1;
    position: relative;
}
.left_part_card.vip_badge span {
    z-index: 1;
    font-size: 1rem;
    font-family: poppins;
    font-weight: 600;
    letter-spacing: .05rem;
    color: white;
}
.vip_badge::after {
    content: "";
    position: absolute;
    width: 6rem;
    height: 2rem;
    left: -35px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border: 1px solid var(--accent-gold);
}

.vip1::after {
    background: linear-gradient(270deg, #bb9f80 0%, #7a5327 100%);
}

.vip2::after {
    background: linear-gradient(270deg, #bdbdbd 0%, #a3a3a3 100%);
}

.vip3::after {
    background: linear-gradient(270deg, rgb(228 186 11) 0%, #987023 100%);
}
.vip4::after {
    background: linear-gradient(270deg, rgb(100 172 255) 0%, #0e37ff 100%);
}
button#vipContinueBtn:disabled{
    border-radius: 50px;
    background: var(--card-bg);
    line-height: 1.5;
    margin: 0 auto;
    color: var(--text-primary);
    text-align: center;
    font-family: poppins;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    opacity: .5;
    box-shadow: none;
}
button#vipContinueBtn {
    position: absolute;
    bottom: 3rem;
    left: 0;
    width: 90%;
    right: 0;
}
#vipContinueBtn {
    opacity: 1;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b08d3a 100%);
    line-height: 1.5;
    margin: 0 auto;
    color: var(--surface-dark);
    text-align: center;
    font-family: poppins;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    box-shadow: 0px 2px 15px rgba(197, 164, 78, 0.4);
    border: 1px solid var(--accent-gold-light);
}

.small_card.rounded-md.selected-vip, .selected-vip {
    border-radius: .5rem;
    box-shadow: 0px 2px 15px rgba(197, 164, 78, 0.4);
    border: 1px solid var(--accent-gold);
}

.bet_right img {
    height: 1.5rem;
    width: auto;
}
div#latestResult {
    background: linear-gradient(180deg, #1a5c2a 0%, #0d3318 84.76%);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.35) inset;
    padding: 1rem;
    color: white;
    border-radius: .5rem;
    padding-top: 0;
    border: 1px solid var(--card-border);
} 
.topResult {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.roundBadge {
    padding-top: 0.65rem;
    background: url(../img/round_bg.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    font-weight: 600;
    font-family: poppins;
    min-width: 10rem;
    text-align: center;
    align-items: center;
}
.roundBadge span {
    position: relative;
    bottom: 8px;
    color: var(--accent-gold);
    font-size: 1rem;
}
.outcome {
    display: flex;
    width: 100%;
    justify-content: space-around;
    padding: 0 1rem .6rem;
}
.outcomeNum {
    width: 2rem;
    height: 2rem;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    background: url(../img/ball.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    color: var(--text-primary);
    font-weight: 600;
    font-family: poppins;
    text-align: center;
    font-size: .75rem;
}
.roundIdentifier {
    display: flex;
    width: 100%;
    padding: .15rem;
    background: var(--accent-green-dark);
    border-radius: 2rem;
    align-items: center;
    text-align: center;
    justify-content: space-around;
    color: var(--accent-gold);
    font-weight: 500;
    font-family: poppins;
    text-align: center;
    font-size: .9rem;
}

.currentBalance {
    font-size: 1rem;
    font-weight: 500;
    font-family: poppins;
    display: flex;
    color: var(--accent-gold);
    align-items: center;
    line-height: 1.5;
}
.resultBall { 
    display: flex;
    justify-content: space-between;
} 
.currentBalance img {
    width: auto;
    height: 1rem;
}
.resutlBalance {
    padding: 1rem 0;
}
.resultBalance {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0 0;
}
div#oddsContainer {
    min-height: 100%;
    overflow: auto;
}
button.odds-tab {
    padding: .25rem .5rem;
    margin-bottom: .5rem;
    border-radius: 2rem;
    border: 2px solid var(--accent-green);
    min-width: 6rem;
    text-transform: uppercase;
    color: var(--text-primary);
}
button.odds-tab.active {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}
/* position-title moved to BETTING NUMBER PAD STYLES section below */
/* ===== BETTING NUMBER PAD STYLES ===== */
.odds-grid-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
    padding: 0.6rem;
    background: rgba(13, 51, 24, 0.4);
    border-radius: 0 0 0.75rem 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-top: none;
}

.odd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.3rem;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(180deg, rgba(26, 92, 42, 0.2) 0%, rgba(12, 36, 18, 0.8) 100%) !important;
    border-radius: 0.5rem;
    border: 1.5px solid rgba(255, 215, 0, 0.2) !important;
    color: var(--text-primary) !important;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    min-height: 3.2rem;
    transform: none;
    position: relative;
    overflow: hidden;
}

.odd-item:hover:not(.selected) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5) !important;
    background: rgba(26, 92, 42, 0.35) !important;
}

.odd-item:active:not(.selected) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.odd-item.selected {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%) !important;
    color: #0c2412 !important;
    border-color: #ffd700 !important;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
    transform: scale(1.03);
}

.odd-item.selected .odd-number {
    color: #0c2412 !important;
    text-shadow: none;
}

.odd-item .odd-number {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffd700 !important;
}

.odd-item .odd-value {
    font-size: 0.65rem;
    font-weight: 500;
    opacity: 0.7;
    margin-top: 0.1rem;
    color: rgba(232, 232, 208, 0.8) !important;
}

.odd-item.selected .odd-value {
    opacity: 1;
    color: #0c2412 !important;
}

.position-section {
    padding: 0.25rem;
    margin-bottom: 0.5rem;
}

.position-title {
    line-height: 1.5;
    text-align: left;
    background: linear-gradient(90deg, rgba(255,215,0,0.12) 0%, rgba(26,107,46,0.25) 50%, rgba(13,51,24,0.4) 100%);
    color: #ffd700;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
    border-radius: 0.75rem 0.75rem 0 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-left: 3px solid #ffd700;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

/* Grid adjustments for different content types */
.odds-grid-inner:has(.odd-item:nth-child(2):last-child),
.odds-grid-inner:has(.odd-item:nth-child(3):last-child),
.odds-grid-inner:has(.odd-item:nth-child(4):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

.odds-grid-inner:has(.odd-item:nth-child(6):last-child),
.odds-grid-inner:has(.odd-item:nth-child(9):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

.odds-grid-inner:has(.odd-item:nth-child(8):last-child),
.odds-grid-inner:has(.odd-item:nth-child(12):last-child) {
    grid-template-columns: repeat(4, 1fr);
}

@supports not selector(:has(*)) {
    .position-section:last-child .odds-grid-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}
div#oddsContent {
    margin-bottom: 1rem;
}
.draw-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.betBody {
    width: 100%;
    height: 50%;
    display: flex;
    flex-flow: column;
    padding: 0.5rem 1rem;
    gap: 0.3rem;
}
.quick-amounts {
    width: 100%;
    display: flex;
    justify-content: space-around;
    gap: 0.3rem;
    padding: 0.2rem 0;
}
button#vipContinueBtn {
    display: none;
}
.inputbetamt {
    color: #ffd700;
    border: 2px solid rgba(255, 215, 0, 0.35);
    background: rgba(255, 215, 0, 0.04);
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}
.inputbetamt:focus {
    border-color: #ffd700;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}
.inputbetamt::placeholder {
    color: rgba(255, 215, 0, 0.3);
}
button.quick-amount.active {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
    color: #0c2412;
    border-color: #ffd700;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.35);
    font-weight: 700;
}



.quick-amount {
    width: 15%;
    height: 2.2rem;
    border-radius: 1.5rem;
    color: #ffd700;
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.06);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}
.quick-amount:hover {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.6);
}
button#confirmBetBtn {
    padding: .85rem 0rem;
    background: linear-gradient(135deg, #ffd700 0%, #e6b800 50%, #daa520 100%);
    border-radius: 5rem;
    font-size: 1.2rem;
    color: #0c2412;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
button#confirmBetBtn:hover:not(:disabled) {
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.55);
    transform: translateY(-1px);
}
button#confirmBetBtn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}
button#confirmBetBtn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: betBtnShimmer 2.5s infinite;
}
@keyframes betBtnShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
button#confirmBetBtn:disabled {
    background: rgba(255, 215, 0, 0.2);
    color: rgba(255, 215, 0, 0.5);
    box-shadow: none;
    cursor: not-allowed;
}
button#confirmBetBtn:disabled::after {
    display: none;
}
.betPick {
    color: rgba(255, 215, 0, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}
div#betModalClose {
    font-size: 1.8rem;
    color: rgba(255, 215, 0, 0.7);
    position: absolute;
    right: 15px;
    top: 5px;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
}
div#betModalClose:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}
.wrapperBet {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
}
.betModalTitle {
    font-size: 1.3rem;
    color: #ffd700;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.betModal_header {
    width: 100%;
    padding: .5rem 0 .35rem;
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(13,51,24,0.8) 100%);
    border-bottom: 1px solid rgba(255,215,0,0.15);
}
div#betModal {
    width: 100%;
    background: linear-gradient(180deg, #132e1a 0%, #0a1e0e 100%);
    border-radius: 1.25rem 1.25rem 0rem 0rem;
    max-width: inherit;
    padding: 0 0 6rem 0; /* always 6rem bottom padding */
    overflow: hidden;
    left: 50%;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    min-height: 4rem;
    height: 40%;
    max-width: 450px;
    margin: 0 auto;
    transform: translateX(-50%) !important;
    border-top: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5), 0 -2px 15px rgba(255, 215, 0, 0.1);
}
div#oddsGrid {
    height: 100dvh;
    overflow: auto; 
    scrollbar-width: thin;
    scrollbar-color: rgba(255,215,0,0.2) transparent;
}
.odds-tabs {
    display: flex;
    width: 100%;
    gap: 1rem;
    justify-content: flex-start;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: poppins;
}
.odd_tabbtn {
    border: 2px solid rgba(255, 215, 0, 0.25);
    color: var(--text-primary);
    padding: .35rem 1.1rem;
    border-radius: 2rem;
    transition: all 0.25s ease;
    font-weight: 600;
    font-size: .85rem;
    background: rgba(26, 92, 42, 0.15);
    letter-spacing: 0.02em;
}
div#latestResult {
    position: sticky;
    top: 0
}
.odd_tabbtn.odd_tab-active {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
    color: #0c2412;
    border-color: #ffd700;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.35);
    font-weight: 700;
}
.odd_tabbtn.odd_tab-inactive {
    background: transparent;
    color: rgba(232, 232, 208, 0.7);
    border-color: rgba(255, 215, 0, 0.15);
}
.odd_tabbtn.odd_tab-inactive:hover {
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--text-primary);
}
h4.betcard_title {
    background: linear-gradient(90deg, rgba(255,215,0,0.15) 0%, rgba(26,107,46,0.3) 50%, rgba(13,51,24,0.5) 100%);
    color: #ffd700;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: .45rem 1rem;
    border-left: 3px solid #ffd700;
    text-transform: uppercase;
}
.background.BALL, .background {
    min-width: 2.63rem;
    height: 2.63rem;
    display: flex;
    flex-flow: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    background: url(../img/ball.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.background.SMALL, .background.ODD, .background.EVEN, .background.BIG, .TOP1\+2, .TOP1\+2SMALL, .background.SUM {
    background: transparent !important;
}
.BALL.SMALL, .BALL.ODD, .BALL.EVEN, .BALL.BIG, .BALL.TOP, .SUM.DRAGONTIGERTIE {
    display: flex;
    flex-flow: column;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    font-family: poppins;
    color: var(--text-primary);
}
.oddTitle {
    line-height: 1.3;
    font-weight: 600;
}
.text-right .odd_display {
    display: flex;
    flex-wrap: nowrap;
    font-size: .92rem !important;
    font-weight: 500;
    font-family: poppins;
    color: var(--text-primary);
}
.card_odd_show {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.5rem;
}
button#dh-apply {
    background: var(--accent-gold);
    color: var(--surface-dark);
    font-weight: 600;
    font-family: poppins;
    font-size: .85rem;
}
input#dh-startdate, input#dh-enddate {
    font-size: .85rem;
}
.drawHistory.Pane {
    margin-top: 1rem;
}

.dh-tab {
    text-transform: uppercase;
    font-weight: 600;
    font-family: poppins;
    font-size: .85rem;
    min-height: 3rem;
    transition: .25s ease-in-out;
    color: var(--text-primary);
}
.drawHistoryCard {
    font-weight: 600;
    font-family: poppins;
    font-size: .85rem;
    margin-bottom: 5rem;
}
.drawHistory-tabs {
    border-radius: 2rem;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}
li.ball_li.w-8.h-8 {
    border-radius: 50%;
}
button.dh-tab.active {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    border-radius: 2rem;
    color: var(--accent-gold);
    transition: .25s ease-in-out;
}

.ball_li {
    background: url(../img/ball.png);
    background-size: 100% auto;
    background-position: center;
}

.drawHistoryCard {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid var(--card-border);
}

.drawHistoryCardHeader {
    font-size: .9rem;
    color: var(--accent-gold);
}

.ball_wrapper {
    font-size: .8rem;
    color: var(--text-primary);
    padding-inline: .15rem;
}
li.w-14.h-8.flex.items-center.justify-center.border.rounded.text-\[\#EF8955\].small {
    color: #0A1847;
    background: #EF8955 !important;
}
li.w-14.h-8.flex.items-center.justify-center.border.rounded.text-\[\#1389C6\].big {
    color: #FFF;
    background: #1389C6 !important;
}
li.w-14.h-8.flex.items-center.justify-center.border.rounded.text-\[\#EF8955\].odd {
    background: transparent !important;
    color: #EF8955;
    border: 1px solid #EF8955;
}
li.w-14.h-8.flex.items-center.justify-center.border.rounded.text-\[\#1389C6\].even {
    background: transparent !important;
    color: #1389C6;
    border: 1px solid #1389C6;
}

#toastOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    z-index: 999999999999;
    padding: 1rem;
    pointer-events: none;
}
.hidden {
    display: none !important;
}

#toastOverlay.hidden {
    display: none;
}

#alertContainer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alert {
    pointer-events: auto;
}

.second-modal {
    width: 100%
}

.btn-second {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    backdrop-filter: blur(10px);
    padding: .25rem .5rem;
    border-radius: 2rem;
    width: 100%;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b08d3a 100%);
    padding: .25rem .5rem;
    border-radius: 2rem;
    border: 1px solid transparent;
    width: 100%;
    text-align: center;
    color: var(--surface-dark);
    font-weight: 600;
}
@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}
.avatar {
    width: 5rem;
    height: 5rem;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(197, 164, 78, 0.3);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top_accinfo {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    bottom: 1rem;
}
.top_accinfo .avatar {
    border: 2px solid rgba(255,215,0,0.5);
    box-shadow: 0 4px 20px rgba(255,215,0,0.2);
}
.avatar_username {
    font-size: 1.25rem;
    line-height: 1;
    color: var(--accent-gold);
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
/* Settings button on account page */
.account .bet_right span {
    border-color: rgba(255,215,0,0.4) !important;
    background: rgba(255,215,0,0.08);
    color: var(--accent-gold);
    transition: all 0.3s ease;
}
.account .bet_right span:hover {
    background: rgba(255,215,0,0.15);
    border-color: rgba(255,215,0,0.6) !important;
}
.balance_card_wrapper {
    background: linear-gradient(135deg, #1a6b2e 0%, #0d3318 50%, #1a5c2a 100%);
    border-radius: 1rem;
    border: 1px solid rgba(255,215,0,0.35);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,215,0,0.15);
    position: relative;
    overflow: hidden;
}
.balance_card_wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.balance_card_wrapper.withdraw {
    margin-top: 2rem;
}

img.account_bg {
    position: fixed;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    top: 2rem;
    left: 0;
    right: 0;
    z-index: -1;
    transform: rotate(33deg);
    opacity: 0.15;
}
.root.footer {
    position: relative;
    z-index: 9999;
}
a.btn_accinfoTab {
    background: linear-gradient(135deg, #ffd700 0%, #e6b800 50%, #daa520 100%);
    padding: .65rem 1rem;
    border-radius: 2rem;
    border: 1px solid transparent;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255,215,0,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
a.btn_accinfoTab:hover {
    box-shadow: 0 6px 20px rgba(255,215,0,0.5);
    transform: translateY(-1px);
}
a.btn_accinfoTab::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: btnShimmer 3s infinite;
}
@keyframes btnShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

span.deposit.form_title.text-xl {
    color: var(--surface-dark);
}
span.withdraw.form_title.text-xl {
    color: var(--accent-gold);
}
.withdraw_partBG > * {
    color: var(--text-primary) !important;
}
a.withdraw.btn_accinfoTab {
    background: transparent;
    border: 2px solid var(--accent-gold);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255,215,0,0.15), inset 0 0 20px rgba(255,215,0,0.05);
}
a.withdraw.btn_accinfoTab::after {
    display: none;
}
.blur__bg {
    background: linear-gradient(180deg, rgba(13, 51, 24, 0.5), var(--surface-dark))!important;
    backdrop-filter: blur(100px);
    --webkit-backdrop-filter: blur(100px);
    border-radius: 1rem;
}
img.service_item {
    width: 2.2rem;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.3));
    transition: transform 0.3s ease;
}
.card__service .grid > div:hover img.service_item {
    transform: scale(1.15);
}
.service_text {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: 0.02em;
}
.card__service {
    padding: 1.5rem 1rem;
    background: linear-gradient(145deg, rgba(26, 107, 46, 0.25) 0%, rgba(13, 51, 24, 0.6) 100%);
    border-radius: 1rem;
    width: 100%;
    border: 1px solid rgba(255, 215, 0, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 215, 0, 0.1);
}
.card__service .grid > div {
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 0.75rem;
    padding: 0.75rem 0.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.card__service .grid > div:hover {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}
div#pendingBetsPanel {
    z-index: 999999;
}
a.btn_save.shine {
    box-shadow: 0 13px 20px -15px rgba(197, 164, 78, 0.5);
    padding: .75rem;
}
div#bettingModal {
    z-index: 99999999;
}
.disabled {
    opacity: .5!important;
}
input#comment::placeholder {
    font-size: .8rem;
    color: rgba(232, 232, 208, 0.4);
}

/* ===== 5D GAME MOBILE STYLES ===== */

/* Result Container - Mobile First */
.resultContainerDisplay {
    position: relative; 
}

/* Ball Display - Responsive */
.outcome {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    flex-wrap: nowrap;
}

.outcomeNum {
    width: 1.8rem;
    height: 1.8rem;
    min-width: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/ball.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: var(--text-primary);
    font-weight: 700;
    font-family: poppins;
    font-size: 0.9rem;
}

@media (max-width: 375px) {
    .outcomeNum {
        width: 1.9rem;
        height: 1.9rem;
        min-width: 1.9rem;
        font-size: 0.8rem;
    }
}

/* Betting Tabs - ALL / 1st-5th */
.betting-mode-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.betting-mode-tab {
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid var(--accent-green);
    background: transparent;
    color: var(--text-primary);
}

.betting-mode-tab.active {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* Betting Cards - Mobile Optimized */
.card_odd_show {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

h4.betcard_title {
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.6rem 1rem;
    text-transform: uppercase;
}

/* Betting Options Grid */
.bet_boxes {
    padding: 0.8rem !important;
    border-bottom: 1px solid rgba(197, 164, 78, 0.1);
    cursor: pointer;
    transition: background 0.2s ease;
}

.bet_boxes:hover,
.bet_boxes:active {
    background: rgba(26, 92, 42, 0.2) !important;
}

.bet_boxes .flex {
    align-items: center;
}

/* Ball Number in Betting */
.background.BALL .oddTitle,
.oddTitle.BALL {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* SUM Section Styling */
.SUM .oddTitle,
.DRAGONTIGERTIE .oddTitle {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Big/Small/Odd/Even Labels */
.oddTitle.BIG,
.oddTitle.SMALL,
.oddTitle.ODD,
.oddTitle.EVEN {
    padding: 0.3rem 0.8rem;
    border-radius: 0.3rem;
    font-size: 0.85rem;
}

.oddTitle.BIG {
    background: #1389C6;
    color: white;
    border: 2px solid #1389C6;
}

.oddTitle.SMALL {
    background: #EF8955;
    border: 2px solid #EF8955;
    color: white;
}

.oddTitle.ODD {
    border: 2px solid #EF8955;
    color: #EF8955;
    background: transparent;
}

.oddTitle.EVEN {
    border: 2px solid #1389C6;
    color: #1389C6;
    background: transparent;
}

/* Odds Display */
.odd_display {
    font-size: 0.85rem !important;
    font-weight: 500;
    color: rgba(232, 232, 208, 0.6);
}

/* Quick Bet Panel - Bottom Fixed */
#quickBetPanel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 450px;
    margin: 0 auto;
    background: var(--surface-dark);
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--card-border);
    padding-bottom: 5rem;
}

#quickBetPanel.show {
    transform: translateY(0);
}

.quick-bet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(197, 164, 78, 0.15);
}

.quick-bet-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent-gold);
}

.quick-bet-close {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 164, 78, 0.15);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.quick-bet-amounts {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
}

.quick-bet-amount {
    padding: 0.5rem 1rem;
    border: 2px solid var(--card-border);
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 3.5rem;
    text-align: center;
    color: var(--text-primary);
    background: transparent;
}

.quick-bet-amount:hover,
.quick-bet-amount.selected {
    border-color: var(--accent-gold);
    background: var(--accent-gold);
    color: var(--surface-dark);
}

.quick-bet-input {
    padding: 0 1.5rem;
}

.quick-bet-input input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--card-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    text-align: center;
    background: transparent;
    color: var(--text-primary);
}

.quick-bet-input input:focus {
    border-color: var(--accent-gold);
    outline: none;
}

.quick-bet-btn {
    margin: 1rem 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b08d3a 100%);
    color: var(--surface-dark);
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: calc(100% - 3rem);
}

.quick-bet-btn:disabled {
    background: rgba(197, 164, 78, 0.3);
    cursor: not-allowed;
}

/* Selected Bet Highlight */
.bet_boxes.selected {
    background: rgba(255, 215, 0, 0.08) !important;
    border-left: 4px solid #ffd700;
    box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.05);
}
.top_card_balance .current_balance {
    font-size: 1.35rem;
}
img.icon.eye_close.log {
    height: 1rem;
}
.submit_wrapper {
    width: 100%;
    display: flex;
} 
#currentRound::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    opacity: 0.6;
} 
#currentRound span {
    font-weight: 700; 
    letter-spacing: 0.03em;
}
.ball, .history-ball {
    width: 1.85rem;
    height: 1.85rem;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    background: url(../img/ball.png);
    background-size: 100%;
    font-weight: 600;
    text-align: center;
}

.draw-numbers {
    display: flex;
    width: 100%;
    justify-content: space-around;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    background: rgba(255, 215, 0, 0.02);
}
.bet-history-item {
    width: 100%;
    align-items: center;
    text-align: center;
}

/* Internal Transfer Improvements */
.transfer-input {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.4rem 0;
    border-bottom: 2px solid var(--accent-green) !important;
    transition: border-color 0.3s ease;
    font-size: 0.9rem;
    background: transparent;
}

.transfer-input:focus {
    border-bottom-color: var(--accent-gold) !important;
    outline: none;
}

.transfer-input::placeholder {
    color: rgba(232, 232, 208, 0.3);
    opacity: 0.7;
    font-size: 0.8rem;
}

.withdraw_partBG .border-b {
    border-color: var(--accent-green) !important;
    margin-bottom: 0.5rem;
}

.withdraw_partBG .form_title {
    color: var(--text-primary) !important;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.remider_title {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
}

.remider {
    color: rgba(232, 232, 208, 0.5);
    font-size: 0.75rem;
    line-height: 1.4;
}

.remider p {
    margin: 0.25rem 0;
}

.second-modal-body .transfer-input {
    padding: 0.75rem;
    border: 2px solid var(--accent-gold);
    border-radius: 0.5rem;
    color: var(--text-primary) !important;
    font-size: 1rem;
}

.second-modal-body .transfer-input:focus {
    border-color: var(--accent-gold-light);
    box-shadow: 0 0 0 3px rgba(197, 164, 78, 0.1);
}

.btn_cancel {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn_cancel:hover {
    background: var(--accent-gold);
    color: var(--surface-dark);
}

.second-modal-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.modal-footer .btn_save,
.second-modal-footer .btn_save {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

/* Internal Transfer Button Positioning */
.withdraw_partBG > .mt-4:last-child {
    margin-top: 1rem !important;
    margin-bottom: 5.5rem;
    padding-bottom: 0.5rem;
}

.withdraw_partBG .btn_save {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Internal Transfer Section Padding Fix */
section#internalTransfer .section_body {
    padding-bottom: 6rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--surface-dark);
}
section#internalTransfer {
    background: var(--surface-dark);
}
section#internalTransfer .withdraw_partBG {
    padding-bottom: 5rem !important;
    padding-top: 0.5rem !important;
    background: var(--surface-dark);
}

section#internalTransfer .balance_card_wrapper.withdraw {
    margin-top: 0.5rem !important;
}

/* Compact spacing for internal transfer inputs */
section#internalTransfer .border-b.mt-4 {
    margin-top: 0.75rem !important;
}

section#internalTransfer .input-withdraw {
    margin-top: 0.5rem !important;
}

/* Ensure content doesn't overlap with footer */
.withdraw_partBG .remider {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

/* ===== BETTING NUMBER PAD - RESPONSIVE STYLES ===== */
@media (max-width: 400px) {
    .odds-grid-inner {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.35rem;
        padding: 0.5rem;
    }  
    .odd-item .odd-value {
        font-size: 0.65rem;
    }

    .position-title {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 340px) {
    .odds-grid-inner {
        gap: 0.25rem;
        padding: 0.4rem;
    }

    .odd-item {
        padding: 0.4rem 0.2rem;
        min-height: 2.8rem;
    }

    .odd-item .odd-number {
        font-size: 0.9rem;
    }

    .odd-item .odd-value {
        font-size: 0.6rem;
    }
}

/* Odds tabs improved styling */
.odds-tabs {
    display: flex;
    width: 100%;
    gap: 0.5rem;
    justify-content: flex-start;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: poppins;
    padding: 0.5rem;
    flex-wrap: wrap;
}
button.odds-tab {
    padding: 0.4rem 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 2rem;
    border: 2px solid var(--accent-green);
    min-width: auto;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    background: transparent;
    color: var(--text-primary);
}

button.odds-tab:hover {
    background: rgba(26, 92, 42, 0.3);
}

button.odds-tab.active {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* ===== PROFILE IMAGE PICKER MODAL ===== */
.profile-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image-modal.hidden {
    display: none;
}

.profile-image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.profile-image-modal-content {
    position: relative;
    background: var(--surface-dark);
    border-radius: 1rem;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
    border: 1px solid var(--card-border);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.profile-image-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--card-border);
}

.profile-image-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.profile-image-modal-close {
    background: rgba(197, 164, 78, 0.15);
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.profile-image-modal-close:hover {
    background: rgba(197, 164, 78, 0.3);
    color: var(--accent-gold);
}

.profile-image-modal-body {
    padding: 1.25rem;
}

.profile-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.profile-image-option {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.profile-image-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    scale: 1.2;
}

.profile-image-option:hover {
    transform: scale(1.05);
    border-color: rgba(197, 164, 78, 0.5);
    box-shadow: 0 4px 15px rgba(197, 164, 78, 0.3);
}

.profile-image-option.selected {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(197, 164, 78, 0.4);
}

.profile-image-option.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 3px;
    right: 8px;
    background: var(--accent-gold);
    color: var(--surface-dark);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    z-index: 999;
}

.avatar-edit-icon {
    position: absolute;
    left: 55%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b08d3a 100%);
    color: var(--surface-dark);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 2px solid var(--surface-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

#avatarContainer {
    position: relative;
}

#avatarContainer:hover .avatar-edit-icon {
    transform: scale(1.1);
}

.gameitem.game-tab[data-code="3M"], .gameitem.game-tab[data-code="11x5"], .gameitem.game-tab[data-code="ag10"], .gameitem.game-tab[data-code="5d"], .gameitem.game-tab[data-code="mk6"], .gameitem.game-tab[data-code="pc28"] {
    cursor: pointer !important;
    pointer-events: auto;
}
div[data-code] {
    pointer-events: none
}

/* ===== MODAL STYLES ===== */
.modal-overlay, .second-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    backdrop-filter: blur(4px);
}

.modal-dialog, .second-modal-dialog {
    width: 90%;
    max-width: 400px;
}

.modal-content, .second-modal-content {
    background: var(--surface-dark);
    border-radius: 1rem;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.modal-header, .second-modal-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--card-border);
    color: var(--accent-gold);
}

.modal-title, .second-modal-title {
    color: var(--accent-gold);
    font-weight: 700;
}

.modal-body, .second-modal-body {
    padding: 1.25rem;
    color: var(--text-primary);
}

.modal-footer, .second-modal-footer {
    padding: 1rem 1.25rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    border-top: 1px solid var(--card-border);
}

.modal-header .close, .second-modal-header .close {
    color: var(--text-primary);
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.inputPasswordWrapper {
    padding: 1rem 1.25rem;
}

.inputWithdrawPassword {
    border: 2px solid var(--accent-green) !important;
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: var(--text-primary);
    background: transparent;
}

.grid_header {
    display: grid;
    grid-template-columns: 2rem 1fr 2rem;
    align-items: center;
}

/* ===== NOTIFICATION STYLES ===== */
.notification-badge {
    position: absolute;
    top: 0;
    right: 15%;
    background: #ef4444;
    color: white;
    font-size: 0.6rem;
    min-width: 1rem;
    height: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===== LOGOUT BUTTON ===== */
.logout-button {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 2px solid #ef4444;
    color: #ef4444;
    border-radius: 2rem;
    font-weight: 600;
    font-family: poppins;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-button:hover {
    background: #ef4444;
    color: white;
}

/* ===== CUSTOMER SERVICE BUTTON ===== */
.customer-service-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--card-border);
    margin-top: 1rem;
}

.cs-icon img {
    width: 2rem;
    height: 2rem;
}

.cs-text {
    display: flex;
    flex-direction: column;
}

.cs-text span {
    color: var(--accent-gold) !important;
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.2;
}

/* ===== RECORD DISPLAY ===== */
.record_display {
    color: var(--text-primary);
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--surface-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* ===== WALLET PAGE STYLING ===== */
.wallet span, .wallet {
    color: var(--text-primary);
}

/* ===== GENERAL TEXT COLOR FIXES ===== */
span, p, div, a {
    color: inherit;
}

.text-gray-500 {
    color: rgba(232, 232, 208, 0.5) !important;
}

/* Fix white bg sections */
section#bet,
section#deposit,
section#withdraw,
section#accinfo,
section#paymentpass,
section#loginpassword,
section#contact,
section#profileSettings,
section#order,
section#login,
section#account,
section#register,
section#record,
section#drawHistory,
section#draw,
section#vip,
section#withdrawRecord,
section#depositRecord,
section#terms,
section#internalTransfer,
section#notifications {
    background: var(--surface-dark) !important;
}

/* Fix draw history white bg */
.bg-white {
    background: var(--surface-dark) !important;
}

/* Fix the top fixed white bar in vip section */
section#vip .fixed.bg-white {
    background: var(--surface-dark) !important;
}

/* ===== SWIPER BANNER ===== */
.swiper-slide img {
    border-radius: 0.75rem;
    border: 1px solid var(--card-border);
}

/* ===== STARS/PARTICLE BACKGROUND FOR HOME ===== */
.home {
    position: relative;
}

.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(1.5px 1.5px at 10% 20%, rgba(255, 215, 0, 0.4), transparent),
        radial-gradient(1px 1px at 25% 55%, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 45% 15%, rgba(255, 215, 0, 0.35), transparent),
        radial-gradient(1px 1px at 65% 45%, rgba(255, 215, 0, 0.25), transparent),
        radial-gradient(1.5px 1.5px at 80% 75%, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(1px 1px at 90% 30%, rgba(42, 255, 90, 0.15), transparent),
        radial-gradient(1px 1px at 50% 85%, rgba(42, 255, 90, 0.1), transparent);
    pointer-events: none;
    z-index: 0;
}

.home > * {
    position: relative;
    z-index: 1;
}

/* ===== SCROLL SECTION FIX ===== */
.scroll_section {
    overflow: auto;
}

/* Fix inline color styles that reference old blue colors */
.myOrderEarnings, .myOrderBetCount {
    color: var(--text-primary) !important;
}

.balance_title[style*="color:#16285a"],
.current_balance[style*="color:#16285a"],
.myOrderEarnings[style*="color:#16285a"],
.myOrderBetCount[style*="color:#16285a"] {
    color: var(--text-primary) !important;
}

/* Override inline styles for order section */
[style*="color:#16285a"] {
    color: var(--text-primary) !important;
}

[style*="color: #16285a"] {
    color: var(--text-primary) !important;
}

/* Fix Tailwind text colors */
.text-white {
    color: #fff !important;
}

/* Fix the record bet details header */
.bet_details .inner_title span {
    color: var(--accent-gold);
}

.devider {
    border-color: rgba(197, 164, 78, 0.2);
}

/* ===== Emerald Royal Theme Overrides (2026) ===== */
:root {
    --royal-gold: #e6ca84;
    --royal-gold-deep: #9d7531;
    --royal-green: #0d4b29;
    --royal-green-deep: #072415;
    --royal-panel: #0a2f1c;
}

body {
    background:
        radial-gradient(circle at 20% 12%, rgba(88, 170, 107, 0.22) 0%, transparent 38%),
        radial-gradient(circle at 82% 88%, rgba(33, 110, 58, 0.2) 0%, transparent 34%),
        linear-gradient(180deg, #062916 0%, #03180d 100%) !important;
}

.main-root_wrapper {
    position: relative;
    background:
        radial-gradient(circle at 12% 16%, rgba(79, 126, 90, 0.16) 0%, transparent 35%),
        radial-gradient(circle at 85% 6%, rgba(228, 195, 114, 0.08) 0%, transparent 28%),
        linear-gradient(180deg, #062f1b 0%, #03190f 100%) !important;
}

.main-root_wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(115deg, transparent 40%, rgba(232, 202, 126, 0.08) 49%, transparent 57%),
        linear-gradient(62deg, transparent 28%, rgba(232, 202, 126, 0.05) 40%, transparent 52%),
        linear-gradient(132deg, transparent 58%, rgba(232, 202, 126, 0.04) 68%, transparent 76%);
    pointer-events: none;
    z-index: 0;
}

.main-root_wrapper > * {
    position: relative;
    z-index: 1;
}

/* Account screen */
section#account {
    background:
        radial-gradient(circle at 18% 8%, rgba(67, 139, 85, 0.26) 0%, transparent 34%),
        linear-gradient(180deg, #06341d 0%, #031f11 100%) !important;
}

section#account .section_body {
    padding-bottom: 5.9rem;
    overflow: auto;
    position: relative;
}

.account .section_header {
    padding-top: 0.35rem;
}

.account .bet_right span {
    border: 1px solid rgba(236, 216, 161, 0.8) !important;
    background: linear-gradient(180deg, #d6d0c4 0%, #a5a097 100%) !important;
    border-radius: 0.9rem !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 4px 10px rgba(0, 0, 0, 0.35);
}

.account .bet_right span p {
    color: #20180b !important;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 700;
}

.account .user_setting_icon {
    filter: saturate(0.25) contrast(1.2);
}

img.account_bg {
    top: 0.8rem !important;
    transform: rotate(-6deg) scale(1.14) !important;
    opacity: 0.26 !important;
}

.top_accinfo {
    gap: 0.45rem;
    bottom: 0 !important;
    margin-top: 0.45rem;
}

.avatar {
    width: 5.4rem;
    height: 5.4rem;
    border: 3px solid #d7bf80 !important;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.45),
        0 0 0 3px rgba(250, 233, 179, 0.26) !important;
}

.avatar_username {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    line-height: 1;
    color: #f2e2b5 !important;
    text-transform: lowercase;
}

.account-user-id {
    font-family: 'Orbitron', sans-serif;
    color: rgba(241, 226, 186, 0.82);
    letter-spacing: 0.02em;
    font-size: 1.05rem;
}

.balance_card_wrapper {
    border-radius: 1.2rem;
    border: 1px solid rgba(235, 210, 148, 0.5) !important;
    background:
        radial-gradient(circle at 90% 15%, rgba(244, 222, 169, 0.13), transparent 35%),
        linear-gradient(160deg, #1b5434 0%, #0e3a23 42%, #0a2718 100%) !important;
    z-index: 4;
}

.account-balance-shell {
    padding-top: 0.95rem !important;
    padding-bottom: 5.1rem !important;
}

.account-balance-label {
    color: rgba(241, 233, 206, 0.78) !important;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.account-balance-amount {
    font-family: 'Orbitron', sans-serif !important;
    color: #fde8a8 !important;
    text-shadow: 0 0 15px rgba(255, 229, 138, 0.35);
    letter-spacing: 0.08em;
    font-size: 3.15rem !important;
}

.account-profit-chip {
    margin-top: 0 !important;
    top: 1.08rem;
    right: 0.95rem;
    background: linear-gradient(180deg, rgba(8, 53, 29, 0.78), rgba(4, 28, 16, 0.9));
    border: 1px solid rgba(226, 199, 135, 0.4);
}

.account-profit-chip .btc_value {
    color: #5ff2a4 !important;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.02rem;
}

section#account .section_body > .relative {
    top: -0.7rem !important;
    z-index: 2;
}

.blur__bg {
    background: linear-gradient(180deg, rgba(9, 40, 24, 0.62), rgba(3, 23, 13, 0.98)) !important;
    border: 1px solid rgba(229, 199, 121, 0.18);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34) inset;
}

a.btn_accinfoTab {
    border-radius: 0.7rem !important;
    padding: 0.72rem 1rem !important;
    background: linear-gradient(180deg, #d9c27d 0%, #b1873a 100%) !important;
    border: 1px solid #f5e2ab !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 6px 14px rgba(0, 0, 0, 0.28) !important;
}

a.btn_accinfoTab::after {
    display: none !important;
}

a.withdraw.btn_accinfoTab {
    background: linear-gradient(180deg, #c9ac68 0%, #906d2d 100%) !important;
    border: 1px solid rgba(247, 229, 178, 0.8) !important;
}

span.deposit.form_title.text-xl,
span.withdraw.form_title.text-xl {
    color: #24190b !important;
    font-family: 'Cinzel', serif;
    font-size: 1.55rem !important;
    letter-spacing: 0.01em;
}

.account-promo-banner {
    width: 100%;
    margin-top: 1.25rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(224, 196, 130, 0.58);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.account-services-title {
    color: #f2dfa8 !important;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.card__service {
    padding: 0.9rem 0.82rem 1rem;
    background:
        radial-gradient(circle at 50% -40%, rgba(255, 230, 168, 0.2), transparent 60%),
        linear-gradient(180deg, rgba(22, 72, 43, 0.78), rgba(10, 34, 21, 0.86)) !important;
    border: 1px solid rgba(229, 199, 121, 0.35);
}

.account-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.service-card {
    min-height: 6.1rem !important;
    justify-content: center !important;
    gap: 0.5rem;
    background: linear-gradient(180deg, rgba(26, 89, 53, 0.62), rgba(9, 39, 24, 0.9));
    border: 1px solid rgba(240, 219, 162, 0.22);
    border-radius: 0.85rem;
    padding: 0.65rem 0.35rem;
}

img.service_item {
    width: 2.45rem !important;
}

.service_text {
    font-size: 0.9rem;
    color: #f2ebd5 !important;
    text-align: center;
}

/* Footer style */
.footer_wrapper {
    bottom: 0.7rem;
    padding: 0 0.85rem;
}

.footermenu {
    padding: 0.24rem 0.3rem !important;
    border-radius: 2rem;
    background:
        radial-gradient(circle at 50% -140%, rgba(255, 229, 154, 0.17), transparent 70%),
        linear-gradient(90deg, #0f4d25 0%, #0a331a 50%, #0f4d25 100%) !important;
    border: 1px solid rgba(222, 193, 122, 0.32) !important;
    box-shadow:
        0 12px 22px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(248, 228, 175, 0.18);
}

.footermenu-item.main {
    transform: translateY(-0.36rem);
}

span.footermenu-text {
    color: rgba(249, 239, 215, 0.72);
}

/* Betting screen */
section#bet {
    background:
        radial-gradient(circle at 24% 8%, rgba(92, 164, 108, 0.22) 0%, transparent 33%),
        radial-gradient(circle at 86% 88%, rgba(202, 174, 99, 0.09) 0%, transparent 28%),
        linear-gradient(180deg, #042a17 0%, #02140b 100%) !important;
}

section#bet .section_header.bet {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 30;
    padding-inline: .5rem;
    padding: 0.42rem 0.15rem 0.48rem;
    background: linear-gradient(180deg, rgba(7, 44, 23, 0.94), rgba(4, 24, 14, 0.82));
    border-bottom: 1px solid rgba(224, 192, 117, 0.28);
    max-width: 450px;
    margin: 0 auto;
}

section#bet .section_header.bet .backBtn a { 
    background: rgba(7, 40, 22, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

section#bet .section_header.bet .backBtn img {
    width: 0.98rem;
    height: 0.98rem;
}

.section_header-title.bet {
    flex: 1;
    padding-left: 0.2rem;
}

#gameVip {
    width: 100%;
}

.bet-room-tag {
    display: flex;
    align-items: center;
    gap: 0.34rem;
    width: 100%;
    font-family: 'Cinzel', serif;
    color: #f5e4b5;
    font-size: 1.17rem;
    letter-spacing: 0.01em;
}

.bet-room-dot {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    border: 2px solid #ecd8aa;
    background: radial-gradient(circle at 28% 28%, #fffffe 0%, #dfd7c8 56%, #8b7d59 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.bet-room-game {
    font-weight: 700;
}

.bet-room-sep {
    color: rgba(245, 228, 181, 0.88);
}

#gameVip .vip-badge {
    background: linear-gradient(180deg, #ccaf67 0%, #95722e 100%);
    color: #23190b;
    border: 1px solid #f6e2af;
    border-radius: 999px;
    padding: 0.18rem 0.67rem;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.bet-room-crown {
    margin-left: auto;
    color: #f0cd73;
    text-shadow: 0 1px 6px rgba(240, 205, 115, 0.45);
    font-size: 1rem;
    padding-right: .5rem;
}

#currentRound {
    border-radius: 1.15rem !important;
    border: 1px solid rgba(235, 208, 139, 0.48) !important;
    background:
        radial-gradient(circle at 92% 12%, rgba(240, 225, 185, 0.12), transparent 36%),
        linear-gradient(164deg, #1c5032 0%, #0e341f 54%, #082216 100%) !important;
    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(250, 229, 176, 0.2);
    padding: 0.95rem 0.72rem 0.8rem !important;
}

.resultContainerDisplay {
    position: relative; 
} 
.roundBadge {
    position: relative;
    min-width: 13rem;
    padding: .2rem .75rem;
    border-radius: 0.95rem;
    border: 2px solid #cfab66;
    background: linear-gradient(180deg, #4d2a84 0%, #2e154f 100%) !important;
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.roundBadge span {
    position: static !important;
    color: #f5e1b1 !important;
    font-family: 'Cinzel', serif;
    font-size: 1.42rem !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.52);
}

.resultBall {
    display: flex;
    padding: .7rem 0;
    margin-top: 1rem;
    border-radius: 48% 48% 38% 38% / 66% 66% 30% 30%;
    border: 1px solid rgba(227, 202, 138, 0.38);
    background: radial-gradient(110% 100% at 50% 2%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 52%), linear-gradient(180deg, rgba(127, 126, 168, 0.36) 0%, rgba(40, 40, 58, 0.48) 100%);
    box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.42), 0 9px 16px rgba(0, 0, 0, 0.38);
    position: relative;
    gap: .5rem;
    width: 100%;
}

.resultBall::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -0.45rem;
    height: 0.65rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(241, 217, 154, 0.45) 0%, rgba(241, 217, 154, 0.02) 72%);
}

.ball,
.history-ball {
    width: 2.42rem !important;
    height: 2.42rem !important;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.55) 17%, rgba(196, 221, 255, 0.33) 39%, rgba(173, 137, 255, 0.29) 64%, rgba(92, 80, 127, 0.5) 100%) !important;
    color: #f2dc9d !important;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.32rem;
    font-weight: 800;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.58);
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.45),
        inset 0 -8px 12px rgba(70, 46, 107, 0.44),
        0 3px 8px rgba(0, 0, 0, 0.35);
}

.roundIdentifier {
    margin-top: 0.35rem;
    padding: 0.45rem 0.84rem !important;
    border-radius: 0.72rem;
    border: 1px solid rgba(226, 197, 129, 0.34);
    background: rgba(5, 24, 15, 0.72) !important;
    color: #efdca9 !important;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
}

.roundIdentifier .countdown {
    font-family: 'Orbitron', sans-serif;
    color: #ffd87f;
    font-size: 1.15rem;
}

.resultBalance {
    margin-top: 0.42rem;
    padding: 0.45rem 0.15rem 0 !important;
    border-top: 1px solid rgba(224, 196, 122, 0.16);
}

.currentBalance {
    color: #ece0be !important;
    font-size: 0.84rem !important;
}

.currentBalance .balance {
    font-family: 'Orbitron', sans-serif;
    color: #fee7ac !important;
}

.currentBalance img {
    height: 0.9rem !important;
}

.historyDrawBtn {
    cursor: pointer;
    padding: 0.16rem 0.5rem;
    border: 1px solid rgba(228, 197, 124, 0.35);
    border-radius: 999px;
    background: rgba(9, 36, 21, 0.5);
}

.historyDrawBtn span {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #f2d78f !important;
}
 
button.odds-tab {
    min-width: 4.65rem;
    padding: 0.34rem 0.92rem !important;
    border-radius: 999px !important;
    border: 1.6px solid rgba(243, 220, 157, 0.76) !important;
    background: linear-gradient(180deg, rgba(43, 88, 57, 0.62), rgba(13, 40, 24, 0.9)) !important;
    color: #f2dfaf !important;
    font-family: 'Cinzel', serif;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
}

button.odds-tab.active {
    background: linear-gradient(180deg, #d8bd74 0%, #a57f33 100%) !important;
    color: #1e1408 !important;
    border-color: #f3deb3 !important;
    box-shadow: 0 5px 13px rgba(222, 191, 113, 0.33);
}

.position-section {
    padding: 0 0.2rem !important;
    margin-bottom: 0.85rem !important;
}

.position-title {
    padding: 0.52rem 0.88rem !important;
    border-radius: 0.64rem 0.64rem 0 0 !important;
    border: 1px solid rgba(227, 192, 112, 0.72) !important;
    border-bottom: none !important;
    background: linear-gradient(180deg, #b48a3d 0%, #785923 100%) !important;
    color: #f8e5b1 !important;
    font-family: 'Cinzel', serif;
    font-size: 1.03rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.odds-grid-inner {
    /* padding: 0.55rem !important; */
    /* gap: 0.46rem !important; */
    border-radius: 0 0 0.78rem 0.78rem !important;
    border: 1px solid rgba(217, 179, 100, 0.7) !important;
    border-top: none !important;
    background: linear-gradient(180deg, rgba(34, 28, 18, 0.95), rgba(15, 12, 9, 0.95)) !important;
}

.odd-item {
    min-height: 3.44rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(243, 216, 138, 0.58) !important;
    background: linear-gradient(180deg, #7f6532 0%, #4b3b20 46%, #2b2216 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -9px 12px rgba(0, 0, 0, 0.22),
        0 2px 7px rgba(0, 0, 0, 0.38) !important;
    transform: none !important;
}

.odd-item .odd-number {
    font-family: 'Orbitron', sans-serif;
    line-height: 1 !important;
    color: #f8e3ab !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.odd-item .odd-value {
    margin-top: 0.16rem !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #f5d98f !important;
    opacity: 0.96 !important;
}

.odd-item:hover:not(.selected) {
    transform: translateY(-1px) !important;
    background: linear-gradient(180deg, #95773d 0%, #594628 46%, #312616 100%) !important;
    border-color: #f5dda5 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.27),
        0 4px 14px rgba(0, 0, 0, 0.44) !important;
}

.odd-item.selected {
    transform: translateY(-1px) scale(1.01) !important;
    background: linear-gradient(180deg, #f1d67f 0%, #c39a3f 42%, #8f6d2e 100%) !important;
    border-color: #f9e7bc !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.46),
        0 6px 16px rgba(249, 214, 129, 0.44) !important;
}

.odd-item.selected .odd-number,
.odd-item.selected .odd-value {
    color: #22160a !important;
    text-shadow: none !important;
}

div#betModal {
    align-items: flex-end;
}

.wrapperBet {
    border-radius: 1.05rem 1.05rem 0 0;
    border: 1px solid rgba(227, 195, 119, 0.45);
    background: linear-gradient(180deg, #103b23 0%, #082414 100%);
    box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.5);
}

.betModal_header {
    border-bottom: 1px solid rgba(226, 197, 128, 0.22);
}

.betModalTitle {
    font-family: 'Cinzel', serif;
    color: #f6e6bf;
}

@media (max-width: 390px) {
    .avatar_username {
        font-size: 1.75rem;
    }

    .account-balance-amount {
        font-size: 2.45rem !important;
    }

    section#account .section_body > .relative {
        top: -0.2rem !important;
    }

    .roundBadge {
        min-width: 11.4rem;
    }

    .roundBadge span {
        font-size: 1.22rem !important;
    }

    .ball,
    .history-ball {
        width: 2.22rem !important;
        height: 2.22rem !important;
        font-size: 1.15rem;
    }

    .account-promo-card {
        min-height: 4.35rem;
        padding: 0.62rem 0.78rem;
    }

    .account-promo-copy span {
        font-size: 1.04rem;
    }

    .account-promo-logo {
        width: 1.02rem;
        height: 1.02rem;
    }

    .account-promo-art {
        width: 5rem;
        flex-basis: 5rem;
    }
}

/* ===== Visual Fixes (Account + Typography) ===== */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

section#account .section_body {
    scrollbar-width: none;
}

section#account .section_body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.account .bet_right span p,
.avatar_username,
.account-balance-label,
span.deposit.form_title.text-xl,
span.withdraw.form_title.text-xl,
.account-services-title,
.bet-room-tag,
#gameVip .vip-badge,
.roundBadge span,
.roundIdentifier {
    font-family: 'Poppins', sans-serif !important;
}

.avatar_username {
    font-size: 1.95rem !important;
    text-transform: none !important;
    letter-spacing: 0.01em;
}

span.deposit.form_title.text-xl,
span.withdraw.form_title.text-xl {
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.account-services-title {
    color: #f3f4f0 !important;
    letter-spacing: 0.01em !important;
}

.account-promo-card {
    margin-top: 1.15rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(174, 203, 255, 0.55);
    background: linear-gradient(90deg, #283ec4 0%, #4162ff 58%, #4d7cff 100%);
    min-height: 4.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.72rem 0.95rem;
    box-shadow: 0 8px 18px rgba(12, 22, 67, 0.42);
    overflow: hidden;
    position: relative;
}

.account-promo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 42%);
    pointer-events: none;
}

.account-promo-copy {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
}

.account-promo-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.account-promo-logo {
    width: 1.18rem;
    height: 1.18rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 232, 176, 0.8);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    object-fit: cover;
    flex: 0 0 auto;
}

.account-promo-copy span {
    display: block;
    line-height: 1.1;
    font-size: 1.18rem;
    font-weight: 800;
    color: #b8eeff;
    letter-spacing: 0.02em;
}

.account-promo-art {
    position: relative;
    width: 6.5rem;
    height: 3rem;
    z-index: 1;
    flex: 0 0 6.5rem;
}

.promo-coin {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff2ad 0%, #f2c146 50%, #b67918 100%);
    border: 1px solid rgba(255, 235, 176, 0.75);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.promo-coin.coin-a {
    width: 2.2rem;
    height: 2.2rem;
    right: 1.9rem;
    top: 0.25rem;
}

.promo-coin.coin-b {
    width: 1.15rem;
    height: 1.15rem;
    right: 0.5rem;
    top: 0.1rem;
}

.promo-coin.coin-c {
    width: 1rem;
    height: 1rem;
    right: 3.55rem;
    top: 0.8rem;
}

/* ===== Account Balance Visibility Fix ===== */
.balance_card_wrapper {
    min-height: 8.7rem !important;
}

.account-balance-shell {
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
}

.account-balance-amount {
    display: block;
    font-size: clamp(2.35rem, 7.8vw, 3.05rem) !important;
    line-height: 1 !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap;
    padding-top: 0.08rem;
}

.account-profit-chip {
    top: 0.9rem !important;
}

section#account .section_body > .relative {
    top: 0.45rem !important;
}

@media (max-width: 430px) {
    .balance_card_wrapper {
        min-height: 8.2rem !important;
    }

    .account-balance-shell {
        padding-bottom: 1.55rem !important;
    }

    .account-balance-amount {
        font-size: clamp(2.05rem, 9vw, 2.55rem) !important;
        line-height: 1 !important;
    }

    section#account .section_body > .relative {
        top: 0.05rem !important;
    }
}

/* ===== ENHANCED ACCOUNT PAGE - LUXURY THEME ===== */

/* Settings button - gold gear icon style */
.account .bet_right span {
    border: 1.5px solid rgba(212, 185, 116, 0.65) !important;
    background: linear-gradient(145deg, rgba(50, 85, 55, 0.7), rgba(18, 48, 28, 0.9)) !important;
    border-radius: 0.75rem !important;
    padding: 0.45rem 0.8rem !important;
    gap: 0.35rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 235, 170, 0.12);
    transition: all 0.3s ease;
}

.account .bet_right span p {
    color: #f0dba5 !important;
    font-weight: 600;
    font-size: 0.85rem;
}

.account .bet_right span:hover {
    border-color: rgba(240, 210, 130, 0.85) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 12px rgba(240, 210, 130, 0.15);
}

img.user_setting_icon {
    filter: brightness(0) invert(0.82) sepia(1) saturate(2.5) hue-rotate(15deg) !important;
}

/* Account balance - LCD digital style */
.account-balance-amount {
    font-family: 'Orbitron', sans-serif !important;
    color: #7dffaa !important;
    text-shadow:
        0 0 10px rgba(125, 255, 170, 0.5),
        0 0 25px rgba(125, 255, 170, 0.2) !important;
}

/* Deposit/Withdraw buttons with icons */
a.btn_accinfoTab {
    border-radius: 0.65rem !important;
    padding: 0.72rem 1rem !important;
    background: linear-gradient(180deg, #dcc57e 0%, #b89538 52%, #9a7a2a 100%) !important;
    border: 1.5px solid #f3e4b5 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15),
        0 6px 16px rgba(0, 0, 0, 0.32) !important;
    position: relative;
}

a.withdraw.btn_accinfoTab {
    background: linear-gradient(180deg, #c4a95e 0%, #947230 52%, #7a5d22 100%) !important;
    border: 1.5px solid rgba(243, 228, 181, 0.7) !important;
}

span.deposit.form_title.text-xl,
span.withdraw.form_title.text-xl {
    color: #1a0e04 !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Promo banner - "MORE EXCITING COMING SOON" */
.account-promo-card {
    background: linear-gradient(110deg, #1e6b44 0%, #28845a 45%, #1e9e64 100%) !important;
    border: 1.5px solid rgba(120, 220, 160, 0.5) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    min-height: 5.2rem !important;
    padding: 0.8rem 1rem !important;
}

.account-promo-copy span {
    color: #ffffff !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    line-height: 1.25 !important;
}

/* Service cards - enhanced luxury */
.account-services-title {
    color: #f0e8d0 !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    margin-top: 0.3rem;
}

.card__service {
    padding: 1rem 0.85rem 1.1rem !important;
    background:
        radial-gradient(circle at 50% -30%, rgba(255, 230, 168, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(28, 80, 48, 0.75), rgba(12, 38, 24, 0.9)) !important;
    border: 1.5px solid rgba(215, 185, 110, 0.4) !important;
    border-radius: 1rem !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 235, 170, 0.08);
}

.service-card {
    min-height: 5.8rem !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    background: linear-gradient(180deg, rgba(30, 78, 48, 0.55), rgba(12, 42, 26, 0.85)) !important;
    border: 1px solid rgba(220, 195, 130, 0.25) !important;
    border-radius: 0.85rem !important;
    padding: 0.7rem 0.4rem !important;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(240, 210, 130, 0.55) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.12);
    background: linear-gradient(180deg, rgba(38, 90, 55, 0.65), rgba(16, 48, 30, 0.9)) !important;
}

img.service_item {
    width: 2.6rem !important;
    height: auto !important;
    filter: drop-shadow(0 3px 8px rgba(255, 215, 0, 0.25)) !important;
}

.service_text {
    font-size: 0.82rem !important;
    color: #f0e8d0 !important;
    font-weight: 600 !important;
}

/* ===== ENHANCED SETTINGS PAGE ===== */
section#profileSettings {
    background:
        radial-gradient(circle at 20% 15%, rgba(50, 120, 70, 0.15), transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(200, 170, 90, 0.06), transparent 35%),
        linear-gradient(180deg, #0a2e18 0%, #061a0e 100%) !important;
}

section#profileSettings .section_header {
    padding: 0.5rem 0.15rem !important;
}

section#profileSettings .section_header-title {
    font-size: 1.5rem !important;
    color: #f2e5c0 !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

section#profileSettings .backBtn a {
    display: flex;
    align-items: center;
    justify-content: center;
}

section#profileSettings .backBtn img {
    filter: brightness(0) invert(0.85) sepia(1) saturate(2) hue-rotate(15deg);
}

/* Settings items card */
.profileSettings.items {
    background:
        radial-gradient(circle at 50% -20%, rgba(255, 230, 168, 0.08), transparent 45%),
        linear-gradient(180deg, rgba(28, 72, 45, 0.55) 0%, rgba(10, 35, 22, 0.85) 100%) !important;
    border: 1.5px solid rgba(215, 185, 110, 0.45) !important;
    border-radius: 1.1rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 235, 170, 0.1);
    padding: 0.15rem 0.8rem !important;
    overflow: hidden;
}

.profileSettings.items .innerItem {
    padding: 1.1rem 0.6rem !important;
    transition: background 0.2s ease;
}

.profileSettings.items .innerItem:hover {
    background: rgba(255, 215, 0, 0.04);
}

.profileSettings.items .innerItem .settings_left img {
    width: 2.2rem !important;
    height: 2.2rem !important;
    border-radius: 0.6rem;
    filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.2));
}

.profileSettings.items .innerItem span {
    color: #f0e8d0 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

.profileSettings.items .forward_arrow {
    height: 0.55rem !important;
    filter: brightness(0) invert(0.75) sepia(1) saturate(3) hue-rotate(15deg) !important;
    opacity: 0.7;
}

.profileSettings.items hr.devider_custom {
    background: linear-gradient(90deg, transparent, rgba(215, 185, 110, 0.25), transparent) !important;
    height: 1px !important;
    border: none !important;
}

/* Logout button - luxury gold */
.logout-button {
    width: 92% !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem !important;
    background: linear-gradient(180deg, rgba(30, 65, 40, 0.6), rgba(10, 30, 18, 0.85)) !important;
    border: 1.5px solid rgba(215, 185, 110, 0.5) !important;
    color: #f0dba5 !important;
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 235, 170, 0.08);
    position: relative;
    overflow: hidden;
}

.logout-button::before {
    content: '\f2f5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.95rem;
    color: #f0cd73;
}

.logout-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 235, 170, 0.08), transparent);
    animation: logoutShimmer 3s infinite;
}

@keyframes logoutShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.logout-button:hover {
    border-color: rgba(240, 219, 165, 0.75) !important;
    background: linear-gradient(180deg, rgba(40, 75, 50, 0.7), rgba(15, 38, 22, 0.9)) !important;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.35),
        0 0 12px rgba(215, 185, 110, 0.1) !important;
    transform: translateY(-1px);
}

.logout-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

section#profileSettings .section_footer {
    position: fixed !important;
    bottom: 5rem !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 450px !important;
    margin: 0 auto !important;
    padding: 0.5rem 1rem !important;
}

/* ===== ENHANCED BET PAGE - LUXURY ELEMENTS ===== */

/* Marble-textured background for bet page */
section#bet {
    background:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="n"><feTurbulence baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/><feColorMatrix values="0 0 0 0 0.03 0 0 0 0 0.12 0 0 0 0 0.06 0 0 0 0.12 0"/></filter><rect width="200" height="200" filter="url(%23n)"/></svg>'),
        radial-gradient(circle at 24% 8%, rgba(80, 150, 100, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 86% 88%, rgba(200, 170, 90, 0.08) 0%, transparent 25%),
        linear-gradient(180deg, #052a17 0%, #021509 100%) !important;
} 
/* Enhanced odds tab buttons */
.odd_tabbtn {
    border: 1.5px solid rgba(220, 195, 130, 0.5) !important;
    background: linear-gradient(180deg, rgba(35, 75, 48, 0.5), rgba(12, 35, 22, 0.8)) !important;
    color: #f0dba5 !important;
    font-weight: 700 !important;
    padding: 0.4rem 1.2rem !important;
    transition: all 0.25s ease;
}

.odd_tabbtn.odd_tab-active {
    background: linear-gradient(180deg, #d4b86a 0%, #a07d2e 100%) !important;
    color: #1a0e04 !important;
    border-color: #f0dba5 !important;
    box-shadow: 0 4px 14px rgba(212, 184, 106, 0.35) !important;
}

.odd_tabbtn.odd_tab-inactive:hover {
    border-color: rgba(240, 219, 165, 0.65) !important;
    background: rgba(35, 75, 48, 0.6) !important;
}

/* Bet confirm button - even more luxurious */
button#confirmBetBtn {
    background: linear-gradient(180deg, #e8c94e 0%, #c9a030 42%, #a87d22 100%) !important;
    border: 1.5px solid #f5e3a8 !important;
    border-radius: 0.7rem !important;
    padding: 0.9rem 0 !important;
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #1a0e04 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15),
        0 6px 20px rgba(232, 201, 78, 0.4) !important;
}

button#confirmBetBtn:hover:not(:disabled) {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 8px 28px rgba(232, 201, 78, 0.55) !important;
    transform: translateY(-1px) !important;
}

button#confirmBetBtn:disabled {
    background: linear-gradient(180deg, rgba(100, 85, 50, 0.4), rgba(60, 50, 30, 0.5)) !important;
    color: rgba(200, 180, 120, 0.4) !important;
    border-color: rgba(200, 180, 120, 0.2) !important;
    box-shadow: none !important;
}

/* Quick amount buttons - enhanced */
.quick-amount {
    border: 1.5px solid rgba(212, 185, 116, 0.45) !important;
    background: linear-gradient(180deg, rgba(35, 60, 42, 0.5), rgba(15, 30, 20, 0.8)) !important;
    color: #f0dba5 !important;
    border-radius: 0.55rem !important;
    transition: all 0.2s ease;
}

.quick-amount:hover {
    border-color: rgba(240, 219, 165, 0.65) !important;
    background: rgba(40, 70, 48, 0.6) !important;
}

button.quick-amount.active {
    background: linear-gradient(180deg, #d4b86a 0%, #a07d2e 100%) !important;
    color: #1a0e04 !important;
    border-color: #f0dba5 !important;
    box-shadow: 0 3px 10px rgba(212, 184, 106, 0.35) !important;
}

/* Bet amount input - enhanced */
.inputbetamt {
    border: 1.5px solid rgba(212, 185, 116, 0.45) !important;
    background: rgba(15, 35, 22, 0.6) !important;
    color: #f0dba5 !important;
    border-radius: 0.55rem !important;
    font-family: 'Orbitron', sans-serif;
}

.inputbetamt:focus {
    border-color: #d4b86a !important;
    box-shadow: 0 0 12px rgba(212, 184, 106, 0.25) !important;
}

/* Bet modal enhancement */
div#betModal {
    background: linear-gradient(180deg, #133822 0%, #0a2215 100%) !important;
    border-top: 2px solid rgba(212, 185, 116, 0.5) !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6), 0 -2px 10px rgba(212, 185, 116, 0.1) !important;
}

.betModalTitle {
    color: #f0dba5 !important;
    font-weight: 700 !important;
}
section#creditscore .section-wrapper {
    position: fixed;
    width: 100%;
    max-width: 450px;
    height: 100dvh;
    top: 0;
    left: 0;
    z-index: 9999;
    background: var(--surface-dark) !important;
}
div#betModalClose {
    color: rgba(212, 185, 116, 0.6) !important;
}

div#betModalClose:hover {
    color: #f0dba5 !important;
    background: rgba(212, 185, 116, 0.1) !important;
}
/* ===== CREDIT SCORE PAGE ===== */
section#creditscore .section-wrapper {
    position: fixed;
    width: 100%;
    max-width: 450px;
    height: 100dvh;
    top: 50%;
    left: 50%;
    z-index: 9999;
    background: var(--surface-dark) !important;
    right: 0;
    transform: translate(-50%, -50%);
}

section#creditscore .section_body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem !important;
}

section#creditscore #creditscore {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.credit-score-label {
    font-size: 0.85rem;
    color: rgba(212, 212, 192, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: -0.5rem;
}

.score-circle {
    position: relative;
    width: 220px;
    height: 220px;
}

.score-circle svg {
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.15));
}

.circle-bg {
    fill: none;
    stroke: rgba(26, 107, 46, 0.3);
    stroke-width: 18;
}

.circle-progress {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 18;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 52px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.score-text .credit_score {
    color: #ffd700;
}

.credit-score-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.credit-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(26, 138, 62, 0.2), rgba(26, 107, 46, 0.3));
    border: 1px solid rgba(90, 200, 120, 0.25);
    color: #5ac878;
    font-size: 0.82rem;
    font-weight: 600;
}

.credit-score-badge i {
    font-size: 0.7rem;
}

.credit-score-info {
    width: 90%;
    max-width: 340px;
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(26, 107, 46, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: 0.75rem;
}

.credit-score-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
}

.credit-score-info-row:last-child {
    border-bottom: none;
}

.credit-score-info-row span:first-child {
    color: rgba(212, 212, 192, 0.55);
    font-size: 0.8rem;
}

.credit-score-info-row span:last-child {
    color: #e8e8d0;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ===== WALLET INPUT FIX ===== */
#walletAdd {
    background: rgba(10, 30, 14, 0.6) !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
    color: #e8e8d0 !important;
    border-radius: 8px !important;
}

#walletAdd::placeholder {
    color: rgba(212, 212, 192, 0.35) !important;
}

#walletAdd:focus {
    border-color: rgba(255, 215, 0, 0.5) !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.1) !important;
    outline: none !important;
}
span.reloader {
    width: 1.15rem;
    height: 1.15rem;
    display: flex;
    position: relative;
}
span.reloaderPage {
    width: 1.15rem;
    height: 1.15rem;
    display: flex;
    position: relative;
}
img#userAvatarImg {
    scale: 1.1;
}
.wrapper_balance {
    display: flex;
    gap: .25rem;
    align-items: center;
}
.reload_icon.spin-once {
    animation: spinOnce 0.6s linear;
}

@keyframes spinOnce {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

section#bet .section_body {
    padding-top: 3rem;
}
section#bet .backBtn {
    padding-left: .5rem;
}
span.text-red-600.text-\[1rem\].text-white.font-bold {
    color: #ff5050 !important;
}

span.text-green-600.text-\[1rem\].text-white.font-bold {
    color: #86ff86 !important;
}








