:root {
    --bg-dark-primary: #141C1C;
    --bg-dark-secondary: #1E2525;
    --bg-dark-tertiary: #1E2525;
    --bg-dark-fourth: #383838;
    --bg-dark-fifth: #0D0F0F;
    --bg-green: #3CCA7F;
    --text-gold: #3CCA7F;
    --text-green: #3CCA7F;
    --text--goldsecondary: #E8B246 #E7A646 #D69024;
    --bg-gold: #E7A646;
    --text-light: #FFFFFF;
    --border-color: #494949;
    --bg-dark: #1c1c1c;
    --bg-grey-primary: #B4B4B4;
    --bd-grey-secondary: #494949;
    --bd-grey-third: #B3BEC1;
    --bd-grey-fourth: #3A4142;
    --bd-green: #30ED87;
    /* popup-game-transfer */
    --background-popup-transfer: #1E2525 !important;
    --transfer-border-color: #494949 !important;
    --transfer-text-color: #B3BEC1 !important;
    --transfer-user-text: #fff !important;
    --transfer-login-text: #B3BEC1 !important;
    --transfer-balance-text: #3CCA7F !important;
    --transfer-copy-text: #3CCA7F !important;
    --transfer-color-btn: #000 !important;
    --transfer-border-amount: #494949 !important;
    --transfer-amount-color: #B3BEC1 !important;
    --transfer-amount-placeholder: #B3BEC1 !important ;
    --background-user-info: #0D0F0F !important;
    --background-popup-amount: #3A4142 !important;
    --background-buyin-out: #30ED87 !important;
    --background-btn-playnow: linear-gradient(
        180deg,
        #3CCA7F 25%,
        #3CCA7F 60%,
        #3CCA7F 100%
    ) !important;
}

#transferModalPopup .modal-dialog {
    max-width: 430px !important;
    margin: auto;
  }
  
  #transferModalPopup .tranfer-modal .modal-header {
    border-bottom: unset !important;
    padding-top: 20px !important;
  }
  
  #transferModalPopup .tranfer-modal .modal-header .btn-close {
    top: 17px !important;
    right: 20px !important;
    background-image: url(../img/icon/close.png) !important;
    background-size: 100% !important;
    opacity: 1 !important;
    width: 17px !important;
    height: 17px !important;
    filter: brightness(1);
  }

  #transferModalPopup .tranfer-modal .modal-body {
    padding: 27px 52px !important;
  }

  #transferModalPopup .tran-balance-title {
    font-size: 13px !important;
  }
  
  #transferModalPopup .amount-input-transfer {
    border-radius: 25px !important;
  }
  
  #transferModalPopup .buy-in-btn, #transferModalPopup .buy-out-btn {
    border-radius: 25px !important;
    font-weight: 700 !important;
    padding: 12px 15px !important;
    width: 36% !important;
  }
  
  #transferModalPopup .transfer-info-text {
    font-size: 12px !important;
    --bs-text-opacity: 1 !important;
    color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
  }
  
  #transferModalPopup .btn_playnow {
    border-radius: 25px !important;
    padding: 14px 20px !important;
  }
  
  #transferModalPopup .transfer-user-info {
    padding: 16px 16px !important;
  }
  
  #transferModalPopup .btn-copy-info {
    font-size: 13px !important;
    padding: 2px 15px !important;
    border-radius: 25px !important;
  }
  #transferModalPopup .border-hr {
    height: 1px !important;
    background: #B3BEC1 !important;
    width: 94% !important;
    margin: auto !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  #transferModalPopup .from-buy-wrap {
    padding: 4px !important;
  }
  .modal-backdrop,
  .modal-backdrop.fade,
  .modal-backdrop.show {
      --bs-backdrop-bg: rgba(0, 0, 0, .58) !important;
      --bs-backdrop-opacity: 1 !important;
      background: rgba(0, 0, 0, .58) !important;
      backdrop-filter: blur(6px) saturate(115%) !important;
      -webkit-backdrop-filter: blur(6px) saturate(115%) !important;
      opacity: 1 !important;
  }
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark-primary);
    color: var(--text-light);
    font-size: 14px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.main-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
}

a {
    color: var(--text-light);
    text-decoration: none;
}

.text-green {
    color: #24EE89;
}


a:hover {
    color: var(--text-green);
}

.navtext {
    color: var(--text-light);
}

.top-header {
    background-color: #1E2525;
    font-size: 0.8rem;
    padding: 15px 0;
}

.btn-register {
    background: var(--bg-green);
    color: #1E2525;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 7px 8px;
    padding-right: 10px;
    font-size: 0.85rem;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login {
    background: linear-gradient(to bottom, #525252, #343434, #323232);
    color: #FFFFFF;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 7px 8px;
    padding-right: 10px;
    font-size: 0.85rem;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#guestHeader span {
    width: 70px;
    text-transform: uppercase;
}

html[lang="cn"] #guestHeader span {
    width: 50px;
}

.toggle-btn {
    background-color: transparent;
    color: #B3BEC1;
    border-radius: 999px;
    cursor: pointer;
    padding: 5px;
}

.toggle-btn.active {
    background-color: #3A4142;
    color: #ffffff;
}

.user-header-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-circle-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #7c8788;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    text-decoration: none;
    flex-shrink: 0;
}

.header-circle-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.user-balance-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
}

.user-welcome-text {
    color: #cfd7d8;
    font-size: 13px;
    line-height: 1;
}

.user-welcome-text span {
    color: #1dd17e;
    font-weight: 600;
}

.user-balance-pill {
    background: #434b4c;
    color: white;
    border-radius: 999px;
    padding: 6px 5px 6px 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-action-btn {
    border: none;
    border-radius: 999px;
    padding: 13px 0;
    font-weight: 700;
    min-width: 130px;
    display: flex;
    justify-content: center;
}

.deposit-btn {
    background: #3CCA7F;
    color: #000;
}

.deposit-btn:hover {
    color: #000;
}

.withdraw-btn {
    background: linear-gradient(to bottom, #525252, #343434, #323232);
    color: #fff;
}

.logout-btn {
    background: #2f3435;
    color: #fff;
    border: 1px solid #5d6667;
}

#current-flag {
    height: 28px !important;
    width: auto !important;
}

.btn-deposit {
    background: var(--bg-green);
    color: #1E2525;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 0.85rem;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-lottery-bet {
    background: var(--bd-green);
    color: #1E2525;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 0.85rem;
    width: 160px;
}

.btn-lottery-bet:hover {
    color: #feffff;
}

.btn-lottery-result:hover {
    color: #feffff;
}

.divider {
    width: 1px;
    height: 24px;
    background-color: #B3BEC1;
    align-self: center;
}

.btn-withdraw {
    background: linear-gradient(to bottom, #525252, #343434, #323232);
    color: var(--text-light);
    font-weight: 700;
    width: 120px;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 0.85rem;
}

.btn-lottery-result {
    background-color: transparent;
    color: var(--bg-green);
    font-weight: bold;
    border: 2px solid var(--bg-green);
    padding: 10px 25px;
    border-radius: 999px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    width: 160px;
}



.user-info {
    color: var(--text-light);
    font-size: 0.8rem;
}

.user-info strong {
    color: var(--text-green);
    font-weight: 700;
}

.user-balance {
    background-color: #0e0f14;
    padding: 3px 13px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-balance strong {
    font-size: 0.95rem;
}

.refresh-icon {
    margin-left: 15px;
}

.modal-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    /* some inner spacing */
}

.modal-header-bar2 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    margin-bottom: 10px;
}

/* Modal Backdrop */
.modal-backdrop-auth {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Base Auth Modal Style */
.auth-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1001;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 95vh;
    width: 500px;
    overflow-y: hidden;
}

.auth-modal-content {
    background-color: #1E2525;
    color: var(--text-light);
    border-radius: 16px;
    width: 800px;
    max-height: auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow-y: hidden;
}

.auth-modal-content2 {
    background-color: #1E2525;
    color: var(--text-light);
    border-radius: 16px;
    width: 300px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    position: relative;
}

.auth-modal-content3 {
    background-color: #1E2525;
    color: var(--text-light);
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}


/* Close Button */
.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.auth-form2 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-group {
    position: relative;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bg-grey-primary);
}

.form-group2 {
    position: relative;
}

.form-group2 i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bg-grey-primary);
}

.form-group .password-toggle {
    left: auto;
    right: 15px;
    cursor: pointer;
}

.form-group input {
    width: 100%;
    background-color: var(--bd-grey-fourth);
    border: none;
    left: 15px;
    border-radius: 999px;
    padding: 10px 7px 10px 40px;
    color: var(--text-light);
    font-size: 0.65rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--text-green);
}

.form-group.select-currency {
    display: none;
}

.form-group select {
    width: 100%;
    background-color: var(--bd-grey-fourth);
    border: none;
    border-radius: 999px;
    padding: 10px 7px 10px 40px;
    color: var(--text-light);
    font-size: 0.65rem;
}

.form-group select:focus {
    outline: none;
    border-color: var(--text-green);
}

.form-group2 .password-toggle {
    left: auto;
    right: 20px;
    cursor: pointer;
}

.form-group2 input {
    width: 100%;
    background-color: var(--bd-grey-fourth);
    border: none;
    border-radius: 999px;
    padding: 7x 7px 7px 40px;
    color: var(--text-light);
    font-size: 0.65rem;
}

.form-group2 input:focus {
    outline: none;
    border-color: var(--text-green);
}

.form-group3 {
    position: relative;
}

.form-group3 i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bg-grey-primary);
}

.form-group3 .password-toggle {
    left: auto;
    right: 20px;
    cursor: pointer;
}

.form-group3 input {
    width: 100%;
    background-color: var(--bd-grey-fourth);
    border-radius: 999px;
    padding: 10px 10px 10px 50px;
    color: var(--text-light);
    font-size: 0.75rem;
}

.form-group3 input:focus {
    outline: none;
    border-color: var(--text-green);
}

.form-text-muted {
    font-size: 0.55rem;
    color: var(--bg-grey-primary);
    padding-left: 5px;
}

.form-text-gold {
    font-size: 0.55rem;
    color: var(--text-green);
    padding-left: 5px;
}

.btn-auth-home {
    background: #3CCA7F;
    color: #1E2525;
    border: none;
    padding: 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 0.8rem;
}

.btn-auth {
    background: var(--bd-green);
    color: #1E2525;
    border: none;
    padding: 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 1rem;
    width: 155px;
}

.btn-auth2 {
    background-color: transparent;
    color: var(--bg-green);
    border: 2px solid var(--bg-green);
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 0.8rem;
    width: 155px;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-auth:hover {
    color: #feffff;
}

.btn-auth2:hover {
    color: #feffff;
}

.auth-switch,
.auth-support,
.auth-terms {
    font-size: 0.55rem;
    text-align: center;
    color: var(--bg-grey-primary);
    margin-top: 0.2rem;
}

.auth-switch a,
.auth-support a,
.auth-terms a {
    color: var(--text-green);
    font-weight: 500;
    text-decoration: none;

}

/* ================== REGISTER MODAL ================== */
.register-auth-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1001;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    overflow-y: hidden;
}

.register-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 700px;
}

.auth-modal-form-section {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 700px;
}

.auth-modal-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.scrollable-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 15px;
}


.auth-modal-graphic-section {
    background: url('../img/login_register/register_banner.png') no-repeat center center;
    background-size: cover;
    min-width: fit-content;
    padding: 2rem 1rem 2rem 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
    position: relative;
    color: var(--text-light);
    padding-top: 4rem;
}

.auth-modal-graphic-section h2 {
    font-weight: 700;
    text-align: left;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.auth-modal-graphic-section span {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-green);
    margin-bottom: 0.5rem;
}

.auth-modal-graphic-section p {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ================== LOGIN MODAL ================== */
.login-modal-layout {
    padding: 4rem 4rem 2rem 4rem;
    text-align: center;
}

.login-modal-layout2 {
    position: relative;
    width: 450px;
    height: auto;
    padding-top: 0.8rem;
    padding-bottom: 2.2rem;
    text-align: center;
}

.auth-modal-logo {
    height: 60px;
    margin-top: 0;
}

.auth-modal-subtitle {
    color: var(--text-light);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    margin-left: 1rem;
    font-weight: 600;
}

.auth-modal-close2 {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.2rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.forgot-password {
    color: var(--text-green);
    text-decoration: none;
}

/* Custom Checkbox */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: var(--bg-grey-primary);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 40px;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--text-green);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* ================== ANNOUNCEMENT MODAL ================== */
#announcementModal {
    max-width: 1000px;
    width: 95%;
}

.announcement-modal-content {
    display: flex;
    flex-direction: column;
}

.announcement-top-bar {
    background-color: var(--bg-green);
    color: var(--bg-dark-primary);
    padding: 12px 18px;
    text-align: center;
    font-weight: bold;
    position: relative;
    font-size: 1.1rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.announcement-top-bar .auth-modal-close {
    color: var(--bg-dark-primary);
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    right: 15px;
}

.announcement-body {
    display: grid;
    grid-template-columns: 250px 1fr;
    background-color: #1E2525;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: visible !important;
}

.announcement-sidebar {
    background-color: var(--bg-dark-primary);
    padding: 20px 10px;
    border-bottom-left-radius: 8px;
    overflow: visible !important;
}

.announcement-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.announcement-sidebar li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.8rem;
    transition: background-color 0.3s;
    position: relative;
    font-weight: 600;

}

.announcement-sidebar li a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    /* vertically center */
    width: 100%;
    height: 70%;
    /* adjust this to control background height */
    background: linear-gradient(to right, rgba(180, 180, 180, 0.25), transparent);
    border-radius: 4px;
    /* optional: rounded corners for highlight */
    z-index: -1;
    /* behind the text/icon */
}

.announcement-sidebar li a.active {
    color: var(--text-green);
    position: relative;
    z-index: 2;
}

.announcement-sidebar li a .fa-solid,
.announcement-sidebar li a .fa-regular {
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.announcement-sidebar li a.active,
.announcement-sidebar li a:hover {
    background-color: transparent;
    color: var(--text-green);
}

.announcement-sidebar li a span {
    display: inline-block;
    width: 25px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s;
}



#announcementFrameOverlay {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

#announcementFrameOverlay .frame {
    position: absolute;
    background: url('../img/announcement/frame_select.png') no-repeat left center;
    background-size: contain;
    width: 240px;
    height: 70px;
    margin-top: 10px;
    ;
}

.announcement-main-content {
    padding: 20px 30px;
    overflow-y: auto;
    color: #eee;
}

.announcement-main-content h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #30ED87;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.announcement-main-content .promo-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.announcement-main-content h4 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-light);
}

.announcement-main-content .date-range {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bg-grey-primary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.announcement-main-content .details {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #ccc;
}

.announcement-main-content .details p {
    margin-bottom: 15px;
}

.announcement-main-content .details strong {
    color: #30ED87;
}

.announcement-main-content h5 {
    font-size: 1rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.main-nav {
    background-color: var(--bg-dark-primary);
    border-top: 0px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.main-nav .nav-link {
    color: var(--text-light);
    font-weight: 700;
    padding: 15px 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;display: flex;align-items: center;justify-content: center;gap: 10px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--text-light);
    border-bottom: 3px solid var(--text-green);
}

.sub-nav {
    background-color: var(--bg-dark-primary);
    padding: 8px 0;
}

.sub-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    background-color: #2b303b;
    border-radius: 15px;
    padding: 5px 20px;
    font-size: 0.8rem;
}

.sub-nav .nav-link.active,
.sub-nav .nav-link:hover {
    background-color: var(--text-green);
    color: #000;
}

.left-sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: transparent;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.left-sidebar .sidebar-btn {
    background-color: #000;
    border: 1px solid var(--text-green);
    color: var(--text-green);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 20px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    text-align: center;
}

.left-sidebar .sidebar-btn i {
    display: block;
    margin-bottom: 8px;
    transform: rotate(90deg);
}

.spin-wheel {
    position: fixed;
    bottom: 20px;
    left: 30px;
    width: 120px;
    height: auto;
    z-index: 1000;
    cursor: pointer;
}

.spin-wheel-container {
    position: fixed;
    bottom: 20px;
    left: 30px;
    width: 170px;
    height: auto;
    z-index: 1000;
}

.spin-icon {
    position: absolute;
    z-index: 999;

}


.spin-wheel-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    position: relative;
    z-index: 995;
}

/* Coin on the top-left */
.coin-left-top {
    width: 50px;
    bottom: 10px;
    left: -25px;
}

/* Coin on the top-right */
.coin-right-top {
    width: 85px;
    top: 1px;
    right: -40px;
    /* Flipping for better effect if necessary */
    /* transform: scaleX(-1); */
}

/* Gift near the bottom-left */
.gift-left-bottom {
    width: 65px;
    /* Adjust size */
    bottom: 85px;
    /* Positioning above the spin button */
    left: -20px;
    z-index: 998;
    /* Give the gift a lower z-index than the spin wheel */
    position: absolute;
}

/* Gift near the bottom-right */
.gift-right-bottom {
    width: 35px;
    /* Adjust size */
    bottom: 40px;
    right: -15px;
}

/* Coin above the 'Spin' button in the center-bottom */
.coin-up-bottom {
    width: 18px;
    top: 5px;
    left: 0px;
}

/* Background Light Glow */
.back-light-glow {
    width: 315px;
    height: 315px;
    top: -70px;
    left: -70px;
    z-index: 900;
    object-fit: contain;
}

/* Styling for the 'X' close button */
.spin-wheel-close-btn {
    position: absolute;
    top: -5px;
    left: -15px;
    width: 20px;
    height: 20px;
    background-color: #2D2D2D;
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 21px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.spin-wheel-close-btn:hover {
    background-color: #e7a646;
}

/* Notification Bar */
.notice-bar {
    background-color: #0D0F0F;
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.notice-bar i {
    color: #141C1C;
    font-size: 1.2rem;
}


.notice-bar p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--bg-grey-primary);
}

/* Modal Container and Background */
.spin-modal-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.spin-modal-content {
    background: url('../img/spin/how_to_win/bg_frame.png') no-repeat center center;
    border: 3px solid #24EE89;
    border-radius: 12px;
    width: 90%;
    max-width: 670px;
    max-height: 800px;
    min-height: 700px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.spin-modal-close-btn {
    position: absolute;
    top: 5px;
    right: 15px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

/* Titles and Headers */
.spin-modal-title {
    display: block;
    width: 107.3%;
    color: var(--bg-green);
    padding: 12px 0;
    margin: -8px -20px 20px -20px;
    /* extend beyond inner padding */
    border-radius: 10px 10px 0 0;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.spin-section-title {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 700;
    margin: 20px 0 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Steps Section */
.spin-steps-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px;
}

.spin-step-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spin-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../img/spin/how_to_win/bg_small_frame.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: relative;
    width: 120px;
    height: 110px;
}

.spin-step-icon {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 50px;
    z-index: 2;
}

.spin-step-title {
    position: absolute;
    top: 93px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 17px;
    font-weight: bold;
    color: var(--bg-dark);
    z-index: 2;
    display: none;
}

.spin-step-description {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.2;
    margin-top: 10px;
}

/* Spins with Deposit Section */
.spin-spins-container {
        width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.spin-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../img/spin/how_to_win/bg_small_frame.png');    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 20px 40px 25px;
    text-align: center;
}

.spin-item2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../img/spin/how_to_win/bg_small_frame.png');    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 15px 18px 15px;
    text-align: center;
}

.spin-item3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../img/spin/how_to_win/bg_small_frame.png');    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 20px 35px 20px;
    text-align: center;
}

.spin-ticket-icon {
    width: 43px;
    height: 73px;
}

.spin-ticket-icon2 {
    width: 88px;
    height: 90px;
}

.spin-ticket-icon3 {
    width: 50px;
    height: 80px;
}



.spin-ticket-amount {
    font-size: 13px;
    color: var(--bg-green)
}

.spin-ticket-text {
    font-size: 12px;
    color: var(--bg-green);
}

.spin-ticket-text2 {
    font-size: 13px;
    color: var(--bg-green);
}

/* Buttons */
.spin-btn {
    display: block;
    width: 80%;
    max-width: 400px;
    margin: 10px auto;
    padding: 10px 20px;
    box-shadow: 0 0 0px 1px var(--text-green);
    border-radius: 24px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}


.spin-btn-win {
    background-color: #1E2525;
    color: #30ED87;
}

.spin-btn-deposit {
    background: var(--bg-green);
    color: #1E2525;
    border: none;
    padding: 12px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 1rem;
}

.spin-btn-deposit:hover {
    color: #000000 !important;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 767.98px) {
    .spin-wheel-container {
        width: 90px;
        left: 10px;
        bottom: 10px;
    }
}

footer {
    background-color: var(--bg-dark-secondary);
    padding-top: 50px;
    padding-bottom: 20px;
    font-size: 0.85rem;
}

footer h6 {
    color: var(--text-green);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

footer .list-unstyled li {
    margin-bottom: 8px;
}

footer p,
footer .list-unstyled a {
    color: #B3BEC1;
}

footer .list-unstyled a:hover {
    color: var(--text-green);
}

footer .social-icons a {
    background-color: #2c2c2c;
    color: var(--text-light);
    width: 32px;
    height: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1rem;
}

footer .social-icons a:hover {
    background-color: var(--text-green);
    color: #000;
}

.footer-divider {
    width: 120%;
    border-top: 1px solid var(--border-color);
    margin: 30px 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.footer-bottom {
    padding-top: 30px;
    margin-top: 30px;
    border-top: none;
}

.footer-copyright {
    text-align: center;
    margin-top: 30px;
    font-size: 0.8rem;
    color: #777;
}

.game-box {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 8px;
}

.game-box:hover {
    transform: translateY(-5px);
}

.game-box img {
    width: 100%;
    height: auto;
    display: block;
}

.game-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-green);
    text-align: center;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 1;
}


#heroCarousel .carousel-inner {
    height: 100%;
}

.game-box:hover .game-title-overlay {
    opacity: 1;
}

#heroCarousel {
    height: 100%;
    max-height: 540px;
    overflow: hidden;
}

#heroCarousel .carousel-item {
    height: 405px;
}

#heroCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cover the container */
    object-position: 70% center;
    /* make image align from top instead of center */
}

.carousel-wrapper {
    width: 100vw;
    height: auto;
    /* new desired banner height */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    /* make sure nothing overflows */
}

.carousel-text-overlay {
    position: absolute;
    top: 48%;
    left: 12%;
    transform: translateY(-50%);
    color: var(--text-light);
    text-align: center;
    z-index: 10;
    display: none;
}

.carousel-text-overlay h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.carousel-text-overlay p {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-green);
    margin-bottom: 0;
}

.carousel-text-overlay h5 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--bg-grey-primary);
    margin-bottom: 0;
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;
}

#header {
    position: relative;
    z-index: 2;
}

.carousel-text-vip {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translate(80%, -80%);
    color: var(--text-light);
    text-align: left;
    z-index: 10;
}

.carousel-text-vip h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-green);
    margin-bottom: 0;
}

.carousel-text-vip p {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--bg-grey-primary);
    margin-bottom: 0;
}

.vip-status-container {
    position: absolute !important;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: url('../img/my_acc/vip/bg_middle.png') no-repeat center center;
    padding: 2rem;
    z-index: 1;
    display: flex;
}

.vip-banner-wrapper {
    position: relative;
}

.vip-stage-base {
    transform: translateY(-70px);
}

.status-title-current {
    color: var(--text-green);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-left: 330px;
}

.status-title {
    color: var(--text-green);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-bar-card {
    border-radius: 8px;
    padding: 1rem;
    min-width: 150px;
    margin-top: -60px;
}

.progress-line {
    max-width: 100%;
    height: 4px;
    background-color: #555;
    position: relative;
    margin-left: 1rem;
    z-index: 1
}

.progress-line-dot {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #555;
    border: 2px solid var(--text-green);
}

.progress-line-dot.active {
    background-color: var(--text-green);
}

.progress-line-fill {
    height: 100%;
    background-color: var(--text-green);
    transition: width 0.5s ease-in-out;
}

.tier-label {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--bg-grey-secondary);
    white-space: nowrap;
    margin-top: 0.5rem;
}

.tier-label.active {
    color: var(--text-green);
    font-weight: 700;
    text-align: center;
}

.tier-label.inactive {
    color: var(--text-light);
    text-align: center;
}

.progress-card-image {
    width: 300px;
    height: 300px;
}

.progress-tier-icon {
    width: 24px;
    height: 60px;
    margin: 0rem;
    /* margin-left: -20px; */
    z-index: 2;
}

.progress-tier-icon p {
    font-size: 0.75rem;
    color: var(--bg-grey-primary);
    margin: 0rem;
    margin-left: -28px;
}

.progress-tier-icon h5 {
    font-size: 0.75rem;
    color: var(--text-green);
    margin: 0rem;
    margin-left: -12px;
}

.progress-tier-icon div {
    margin-left: 4px;
}

.progress-milestone {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 0;
}

.progress-milestone p {
    position: absolute;
    top: -60px;
    font-size: 0.8rem;
    color: var(--text-light);
    width: max-content;
}

.milestone-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 35px;
    background-color: var(--bg-green);
    transform: translate(-50%, -100%);
}

.vip-privileges-container {
    padding: 2rem;
}

.golden-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-green);
    margin-top: 1rem;
}

.privileges-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-green);
    font-size: 0.9rem;
    table-layout: fixed;
}

.privileges-table th,
.privileges-table td {
    padding: 0.8rem;
    text-align: center;
}

.privileges-table th.header-cell,
.privileges-table td:first-child {
    text-align: left;
    font-weight: normal;
    padding-left: 0;
}

.privileges-table td:first-child {
    font-weight: 600px;
    color: var(--text-light);
}

.privileges-table thead th {
    border-bottom: 2px solid var(--text-green);
    padding-bottom: 1.5rem;
}

.privileges-table tbody tr:first-child td,
.privileges-table tbody tr:first-child th {
    padding-top: 1.5rem;
}

.privileges-table .sub-header-row th {
    padding-bottom: 0.5rem;
}

.privileges-table .sub-header-row.no-border th {
    border-bottom: none;
}

.more-dropdown-menu {
    background-color: #1E2525;
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    left: -190px !important;
    width: 710px;
    margin-left: 0 !important;
}

.dropdown-item {
    color: var(--text-light);
    border-radius: 20px;
    padding: 16px 20px;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
}

.dropdown-item img {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #0D0F0F;
    color: white;
}

.dropdown-main-content {
    display: flex;
    list-style: none;
    /* Hide the list bullet */
    padding: 0;
    margin: 0;
}

.dropdown-link-list {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
}

.dropdown-menu li:not(:last-child) .dropdown-item {
    border-bottom: none;
}

.dropdown-banner-container2 {
    padding: 0;
    list-style: none;
    width: 750px;
    flex-shrink: 0;
    margin: 0;
}

.dropdown-banner-container {
    padding: 0;
    list-style: none;
    width: 340px;
    flex-shrink: 0;
    margin: 0;
}

.spacing-row td {
    padding-top: 20px;
    /* adds space above the “VIPs Maintenance Requirement” row */
    border: none;
    background: transparent;
}

.spacing-row2 td {
    padding-top: 8px;
    /* adds space above the “VIPs Maintenance Requirement” row */
    border: none;
    background: transparent;
}

/* Overall banner container */
.dropdown-banner {
    border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
    overflow: hidden;
    width: 340px;
    height: 130px;
    display: flex;
    flex-direction: column;
}

.dropdown-banner2 {
    border-radius: 0 0.75rem 0.75rem 0;
    overflow: hidden;
    width: 500px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.db-top2 {
    background: url('../img/login_register/top_banner.png') no-repeat center center;
    background-size: cover;
    position: relative;
    height: 200px;
    display: flex;
    align-items: flex-end;
    border-radius: 12px;
    margin-left: 15px;
    margin-top: 1px;
    margin-bottom: 5px;
}

/* Top section with full background */
.db-top {
    background: url('../img/login_register/banner.png') no-repeat center center;
    background-size: cover;
    position: relative;
    height: 140px;
    display: flex;
    align-items: flex-end;
    border-radius: 12px;
    margin-right: 15px;
    margin-top: 20px;
}

.db-top-home {
    /* background: url('../img/login_register/top_banner.png') no-repeat center center; */
    background-size: cover;
    position: relative;
    height: 140px;
    display: flex;
    align-items: flex-end;
    border-radius: 2px;
    margin-bottom: -5px;
}

.db-top-home img {
    width: 100%;
}

/* Overlay area for promo items */
.db-bottom-overlay {
    display: flex;
    justify-content: space-around;
    align-items: bottom;
    width: 100%;
    height: 40px;
    display: flex;
    padding: 0rem 0;
    border-radius: 12px 12px;
}

.db-bottom-overlay2 {
    display: flex;
    justify-content: space-around;
    align-items: bottom;
    width: 100%;
    height: 50px;
    display: flex;
    padding: 0rem 0;
    border-radius: 12px 12px;
    margin-bottom: 5px;
}

.db-item-box2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    /* space between icon and text */
    text-align: left;
    flex: 1;
}

/* Each promo item */
.db-item-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    /* space between icon and text */
    text-align: left;
    flex: 1;
}

.db-text-wrapper {
    margin-top: 0px;
}

/* Dark circle icon background */
.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background-color: var(--bg-dark-primary);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    margin-bottom: 15px;
}

.icon-circle img {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

.icon-circle2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-dark-primary);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    margin-bottom: 15px;
}

.icon-circle2 img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Text beside icon */
.db-item-text {
    font-size: 0.50rem;
    font-weight: 600;
    color: var(--bg-dark);
    line-height: 1.2;
    margin-top: 1px;

}

.db-item-text2 {
    font-size: 0.70rem;
    font-weight: 600;
    color: var(--bg-dark);
    line-height: 1.2;
}


.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg-dark-primary);
    border: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.icon-container i {
    color: var(--text-light);
}

.icon-container:hover {
    background-color: var(--text-green);
}

.icon-container:hover i {
    color: #000;
}

.side-nav {
    position: fixed;
    top: 46%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1050;
}

.nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    background-color: #3CCA7F;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 15px 10px;
    width: 120px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: 1px solid var(--border-color);
}

.nav-button:hover {
    background-color: var(--text-green);
    transform: translateX(10px);
}

.nav-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 5px;
}

.nav-icon-profile {
    width: 20px;
    height: 20px;
    margin-bottom: 5px;
}

.Boarder_Profile .nav.mb-4 {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    gap: 28px;
    padding-left: 0;
    margin-bottom: 8px;
}

.Boarder_Profile .nav.mb-4 .nav-link {
    position: relative;
    display: inline-block;
    padding: 10px 6px 14px;
    color: #C8CDCD;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    border: 0 !important;
    background: transparent !important;
    white-space: nowrap;
    text-decoration: none;
}

.Boarder_Profile .nav.mb-4 .nav-link:hover {
    color: #30ED87;
}

.Boarder_Profile .nav.mb-4 .nav-link.active {
    color: #30ED87 !important;
}

.Boarder_Profile .nav.mb-4 .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: #30ED87;
    border-radius: 3px;
}

.Boarder_Profile .nav.mb-4 .nav-link,
.Boarder_Profile .nav.mb-4 .nav-link.active {
    border: none !important;
    box-shadow: none !important;
}


.nav-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}

.nav-text2 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.nav-text3 {
    font-size: 0.8rem;
    font-size: 11px;
    font-weight: 200;
    color: #ffffff;
    white-space: nowrap;
}

.nav-button:hover .nav-text {
    color: #000;
}

.spin-modal-content {
    background-color: #3A4142;
    border-radius: 15px;
    border: 1px solid var(--text-green);
    position: relative;
    padding: 20px;
}

.btn-close-custom {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
    background: var(--text-green);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.btn-close-custom i {
    color: black;
    font-size: 1rem;
}

.custom-dropdown {
    position: relative;
}

.dropdown-toggle-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
}

.dropdown-toggle-custom .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;


}

.dropdown-toggle-custom.show .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu-custom {
    display: none;
    position: absolute;
    top: calc(90% + 20px);
    right: -170px;
    ;
    z-index: 1100;
    width: 340px;
    background-color: #1E2525;
    border-radius: 10px;

    padding: 20px 30px 20px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dropdown-menu-custom.show {
    display: block;
    top: 70px;
}

.dropdown-header-custom {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Each country section */
.country-item {
    margin-bottom: 15px;
}

.country-item:last-child {
    margin-bottom: 0;
}

/* Country name */
.country-name {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: block;
}

.language-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    background-color: #3A4142;
    border-radius: 999px;
    padding: 8px 10px;
}

/* Flag */
.flag-icon {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.flag-icon2 {
    height: 20px;
    width: 30px;
}

/* Language buttons */
.language-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-btn {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    padding: 2px 4px;
    transition: color 0.2s ease;
}

.lang-btn.active,
.lang-btn:hover {
    color: var(--text-green);
}

.footer-icon {
    height: 30px;
}

.btn-circle-gold {
    background-color: transparent;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-circle-gold i {
    color: #000;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
}

.btn-circle-gold:hover {
    background-color: #FFBF29;
    transform: scale(1.05);
}

.text-thin {
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--text-light);
}

.text-grey {
    color: var(--bg-grey-primary);
    font-size: 0.75rem;
    font-weight: normal;
}

.text-bold {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--text-light);
}

.TextRaw>*:not(:last-child) {
    margin-right: 12px;
}

.LineText-section {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.text-gold {
    color: #30ED87 !important;
}

.custom-card {
    border: 0 solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: visible;
    background: url('../img/my_acc/side_bar/profile/bg_profile.png') no-repeat top center;
    background-size: 100% auto;
    height: auto;
}

.custom-card2 {
    background-color: var(--bg-dark-secondary);
    width: 224px;
    border-radius: 10px;
}

.game-nav-count {
    margin-left: auto;
    color: var(--text-light);
    padding: 2px 10px;
    border-radius: 10px;
}

.card-lower {
    width: 100%;
    min-height: 80%;
    background-color: var(--bg-dark-secondary);
    border-radius: 16px;
    padding-top: 50px;
    padding-left: 8px;
    padding-right: 10px;
    z-index: 2;
    margin-top: 40%;
    overflow: hidden;
}

.Boarder_Profile {
    width: 100%;
    background-color: var(--bg-dark-secondary);
    border-radius: 16px;
}

.Boarder-Box {
    height: auto;
    border-radius: 15px;
    background-color: var(--bg-dark-primary);
    flex: 1;
}


.Boarder-Box2 {
    height: 45px;
    border-radius: 999px;
    /* background-color: #0D0F0F; */
    background-color: var(--bg-dark-primary);
    flex: 1;
}

body[data-pages="deposit"] .Boarder-Box2 {
    background: #0b0b0b;
}

body[data-pages="change_password"] .Boarder-Box2 {
    background-color: var(--bg-dark-primary);
}

.Boarder-Box .input-group-text,
.Boarder-Box .form-control {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text-light);
}

.Boarder-Box2 .input-group-text,
.Boarder-Box2 .form-control {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text-light);
}

.Boarder-Box2 .form-select {
    background-color: var(--bg-dark-primary) !important;
    color: #fff !important;
    border: none;
    appearance: none;
    padding-right: 40px;
    background: url("../img/my_acc/view_profile/icon/icon_more_down.png") no-repeat right 20px center;
    background-size: 16px;
    
}

.Boarder-Box2 .form-select.open {
    background: url("../img/my_acc/view_profile/icon/icon_more_up.png") no-repeat right 20px center;
    background-size: 16px;
}

.Boarder-Box2 input::placeholder {
    color: var(--bg-grey-primary) !important;
    opacity: 1;
}


.Boarder-Box3 {
    min-height: 45px;
    height: auto !important;
    box-sizing: border-box;
    border-radius: 16px;
    background-color: var(--bg-dark-primary);
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.Boarder-Box3 .input-group-text,
.Boarder-Box3 .form-control {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text-light);
}


/* dropdown */
.Boarder-Box2 .custom-dropdown {
    background-color: var(--bg-dark-fourth);
    border-radius: 12px;
    padding: 12px 36px 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    background: url("../img/icon/icon_more_down.png") no-repeat right 12px center;
    background-size: 16px;
}

.Boarder-Box2 .custom-dropdown.open {
    background: url("../img/icon/icon_more_up.png") no-repeat right 12px center;
    background-size: 16px;
}

.Boarder-Box2 .options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background-color: var(--bg-dark-fifth);
    border: 1px solid var(--border-color);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    display: none;
    z-index: 2200;
}

.Boarder-Box2 .option {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background-color: var(--bg-dark-fourth);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.Boarder-Box2 .option:hover {
    background-color: #B3BEC1;
    color: #000;
}

.Boarder-Box2 .option img {
    width: 20px;
    height: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.Boarder-Box2 .selected {
    display: flex;
    margin-left: 5px;
    align-items: center;
    background-color: var(--bg-dark-primary);
    border-radius: 12px;
    cursor: pointer;
    color: #fff;

}

.Boarder-Box2 .selected img {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.Boarder-Box2 .form-select option {
    background-color: var(--bg-dark-secondary) !important;
    color: #fff !important;
}

.Boarder-Box2 .form-select option:hover,
.Boarder-Box2 .form-select option:checked {
    background-color: #3F4647 !important;
    color: #000 !important;
}

#dobInput::placeholder {
    color: white;
    opacity: 1;
}

#shippingAddressInput::placeholder {
    color: white;
    opacity: 1;
}

/* .text-light .gender-option,
.text-light .gender-option * {
    color: inherit !important;
} */

.gender-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.2;
    background-color: transparent;
    border-radius: 25px;
    cursor: pointer;
    user-select: none;
    transition: all .2s ease;
    gap: 6px;
}

.gender-option:not(.selected) {
    color: #B3BEC1 !important;
}

.gender-option.selected {
    background-color: var(--bd-grey-secondary) !important;
    color: #FFFFFF !important;
    border-radius: 999px;
    margin-left: 0px;
}

.gender-option:hover:not(.selected) {
    background-color: rgba(255,255,255,.06);
}

.gender-box {
    display: flex;
    gap: 8px;
    padding: 4px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
}

.btn-confirm {
    background-color: #3CCA7F;
    color: #1E2525;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 12px 20px;
    text-transform: uppercase;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-light);
}

.section-title i {
    color: var(--text-green);
}

.btn-see-more {
    background-color: transparent;
    border: 1px solid var(--text-green);
    color: var(--text-green);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-see-more:hover {
    background-color: var(--text-green);
    color: #000;
}

.placeholder-select:invalid {
    font-size: 0.7rem;
    color: var(--bd-grey-secondary);
    text-align: center;
}

.placeholder-select {
    text-align: left;
}

.withdraw-option.selected {
    background-color: var(--text-green);
    color: #000;
    font-weight: 600;
    border-color: var(--text-green);
}

.no-bg-buttons button {
    all: unset !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.no-bg-buttons button img {
    width: 20px;
    height: 20px;
    display: block;
}

.subject-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
    display: inline-block;
    vertical-align: middle;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
    margin-bottom: 1rem;
}

.step {
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step img {
    width: 30px;
    height: 30px;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 12px;
    margin: 0;
}


.social-icons {

    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: transparent;
}

.social-icons a img {
    width: 34px;
    height: 34px;
}

.earn-accordion .accordion-header {
    background: var(--bg-dark-secondary);
    border-radius: 6px;
}

.earn-accordion .accordion-content {
    background: none;
    color: var(--bg-grey-primary);
    margin-left: 50px;
    border-radius: 6px;
}

.record-divider--bold {
    border: 0;
    height: 2px;
    background-color: #FFFFFF;
    width: 90%;
    margin: 8px auto;
}

.transaction-records hr.record-divider--bold {
    border: 0 !important;
    height: 1px !important;
    background-color: #3A4142 !important;
    width: 90% !important;
    margin: 8px auto !important;
    display: block;
    opacity: 1 !important;
}


.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-light);
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    background: transparent;
}

.custom-checkbox:checked::after {
    content: "✔";
    color: var(--text-green);
    font-size: 14px;
    position: absolute;
    top: -2px;
    left: 2px;
}

#editBirthdayBtn {
    font-size: 0.7rem;
}


#depositOptionBox.Boarder-Box2 {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    border: none !important;
    overflow: hidden;
}

#depositOptionBox .dm-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 20px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    white-space: nowrap;
    line-height: 1;
}

#depositOptionBox .dm-chip+.dm-chip {
    margin-left: 20px;
}

#depositOptionBox .dm-chip img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 18px;
}

#depositOptionBox .dm-chip.selected,
#depositOptionBox .dm-chip[aria-pressed="true"] {
    background: #3b3b3b !important;
    color: #fff !important;
    box-shadow: none !important;
}

#depositOptionBox .dm-chip:hover {
    background: rgba(255, 255, 255, .06);
}

/* ===== Withdraw Option ===== */
#withdrawOptionBox {
    display: flex;
    background-color: #0D0F0F;
    gap: 10px;
    padding: 5px;
    border-radius: 999px;
}


.custom-dropdown .selected img,
.custom-dropdown .option img {
    width: 26px !important;
    height: 26px !important;
    margin-right: 8px;
    margin-top: -4px;
    object-fit: contain;
}

.custom-dropdown .selected {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background-color: #0D0F0F;
    color: #afb3b3 !important;
}

body[data-pages="withdraw"] .custom-dropdown .selected {
    background-color: unset;
}

/* When dropdown open */
.custom-dropdown.open .selected {
    border-radius: 26px 26px 0 0 !important;
}

/* Ensure dropdown connects perfectly */
.custom-dropdown.open .options {
    /* border-radius: 0 !important; */
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.Boarder-Box2:has(.custom-dropdown.open) {
    border-radius: 26px 26px 0 0 !important;
}

.custom-dropdown .options {
    display: none;
    position: absolute;
    top: 47px;
    left: 0;
    width: 100%;
    background: #050707;
    overflow: hidden;
    /* border-radius: 0 !important; */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    border: 0px !important;
    align-items: center;

}

.custom-dropdown.open .options {
    display: block;
}

.custom-dropdown .option {
    padding: 14px 22px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
}

.custom-dropdown .option:hover {
    background: #3a3a3a;
    color: #fff;
}

.custom-dropdown .option+.option {
    border-top: 0;
}

.custom-dropdown .selected img,
.custom-dropdown .option img {
    width: 26px;
    height: 26px;
    margin-right: 8px;
    object-fit: contain;

}
#withdrawOptionBox.Boarder-Box2 {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 20px;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 12px;
    background: var(--bg-dark-primary, rgba(255, 255, 255, .05)) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

#withdrawOptionBox .dm-chip {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    white-space: nowrap;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    position: relative;
}

#withdrawOptionBox .dm-chip+.dm-chip {
    margin-left: 0 !important;
}

#withdrawOptionBox .dm-chip img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 18px;
}

#withdrawOptionBox .dm-chip:hover {
    background: rgba(255, 255, 255, .06);
}

#withdrawOptionBox .dm-chip.selected,
#withdrawOptionBox .dm-chip[aria-pressed="true"] {
    background: #3b3b3b !important;
    color: #fff !important;
    box-shadow: none !important;
}

.m-bottom{
    margin-bottom:2px;
}

#withdrawOptionBox .dm-chip:focus-visible {
    outline: 2px solid rgba(249, 249, 249, 0.22);
    outline-offset: 2px;
}

#depositOptionBox.Boarder-Box2 {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px;
    background: var(--bg-dark-primary, rgba(255, 255, 255, .05)) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    border: none !important;
    overflow: hidden;
}

#depositOptionBox .dm-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    white-space: nowrap;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

#depositOptionBox .dm-chip+.dm-chip {
    margin-left: 20px;
}

#depositOptionBox .dm-chip img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 18px;
}

#depositOptionBox .dm-chip.selected,
#depositOptionBox .dm-chip[aria-pressed="true"] {
    background: #3b3b3b !important;
    color: #fff !important;
    box-shadow: none !important;
}

#depositOptionBox .dm-chip:hover {
    background: rgba(255, 255, 255, .06);
}

/* ===================== calander ===================== */

:root {
    --drp-popout-offset-y: 20px;
    --drp-popout-offset-x: -90px;
    --drp-cap-overlap: 1px;
    --drp-radius: 16px;
    --drp-overlap: 7.1px;
    --drp-left: 18px;
    --drp-right: 6px;
}

/* 
.daterangepicker.drp-offset {
    margin-top: var(--drp-popout-offset-y) !important;
    margin-left: var(--drp-popout-offset-x) !important;
}

.daterangepicker {
    --green: #30ED87;
    --green-soft: #9CE872;
    --range-dark: #0F1A17;
    --nav-size: 26px;
    --nav-top: 12px;
    --nav-bg: #5C6062 !important;
    --nav-fg: #EAEAEA;
    --dark: #141C1C;
    background-color: #141C1C  !important;
    color: #E9ECEC !important;
    border-radius: var(--drp-radius) !important;
    padding-top: 18px !important;
    padding-bottom: 20px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .5) !important;
    border: none !important;
    font-size: 16px;
    z-index: 99999;
    min-width: 380px !important;
}

.daterangepicker .drp-calendar,
.daterangepicker .drp-buttons {
    border-bottom-left-radius: var(--drp-radius) !important;
    border-bottom-right-radius: var(--drp-radius) !important;
}

.daterangepicker .drp-calendar.right {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.daterangepicker .drp-calendar.left {
    width: 100% !important;
    margin: 0 auto !important;
    position: relative;
}

.daterangepicker .drp-calendar {
    padding: 0 10px !important;
    background-color: #3F4647 !important;
} */

/* .drp-topbar-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
    margin-top: 6px !important;
    margin-bottom: 10px !important;
    gap: 16px !important;
    padding: 0 4px !important;
}

.drp-pill {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px !important;
    border-radius: 999px;
    background: #3A4142;
    color: #E9ECEC;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drp-to {
    flex: 0 0 auto;
    color: #ffffff;
    opacity: .9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2px;
    padding: 0 2px;
}

.daterangepicker .drp-calendar .calendar-table thead th {
    background: var(--dark) !important;
    color: #fff !important;
    border: 0 !important;
}

.daterangepicker .drp-calendar th.month {
    background: var(--dark) !important;
    color: #fff !important;
    border: 0 !important;
    font-size: 100px;
    font-weight: 800;
    padding-top: 0;
    padding-bottom: 40px;
    text-align: center;
}

.daterangepicker .calendar-table thead tr:first-child th {
    border-bottom: 2px solid #B3BEC1 !important;
}

.daterangepicker .calendar-table thead th.prev,
.daterangepicker .calendar-table thead th.next {
    position: relative;
    width: 40px !important;
    padding: 0 !important;
    vertical-align: middle;
    overflow: visible;
}

.daterangepicker .calendar-table thead th.prev span,
.daterangepicker .calendar-table thead th.next span {
    display: none !important;
}

.daterangepicker .calendar-table thead th.prev::before,
.daterangepicker .calendar-table thead th.next::before {
    content: "";
    position: absolute;
    left: 50%;
    top: var(--nav-top);
    transform: translate(-50%, -40%);
    width: 24px;
    height: 24px;
    background-color: #5C6062 !important;
    border-radius: 50%;
    z-index: 1;
}

.daterangepicker .calendar-table thead th.prev::after,
.daterangepicker .calendar-table thead th.next::after {
    content: "‹";
    position: absolute;
    left: 50%;
    top: var(--nav-top);
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    color: var(--nav-fg);
    z-index: 2;
}

.daterangepicker .calendar-table thead th.next::after {
    content: "›";
}

.daterangepicker .prev,
.daterangepicker .next {
    background: transparent !important;
    border: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
}

.daterangepicker .calendar-table thead tr:nth-child(2) th {
    padding: 8px 0 !important;
    letter-spacing: .9px !important;
    text-align: center !important;
    white-space: nowrap;
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-weight: 500 !important;
    color: #C9CECC !important;
    background: transparent !important;
    border: 0 !important;
}

.daterangepicker .drp-calendar .calendar-table {
    width: 100% !important;
}

.daterangepicker .drp-calendar .calendar-table table {
    width: 320px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.daterangepicker .calendar-table,
.daterangepicker .calendar-table table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    background: var(--dark) !important;
    border: 0 !important;
    outline: none !important;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
    background: var(--dark) !important;
    color: #fff !important;
    width: 130px !important;
    border: 0 !important;
    height: 30px !important;
    line-height: 30px !important;
    font-size: 12px !important;
    text-align: center;
    padding: 0 !important;
    letter-spacing: .35px !important;
    font-variant-numeric: tabular-nums;
    border-radius: 10px !important;
    position: relative;
}

.daterangepicker td.off,
.daterangepicker td.disabled {
    color: rgba(255, 255, 255, .25) !important;
    background: var(--dark) !important;
}

.daterangepicker td.available:hover {
    background: #353A38 !important;
    color: #fff !important;
}

.daterangepicker td.today {
    background: var(--dark) !important;
    font-weight: 700;
    outline: 1px dashed #555;
    outline-offset: -2px;
}

.daterangepicker td.start-date,
.daterangepicker td.end-date {
    background: var(--bd-green) !important;
    color: #0F1A17 !important;
    font-weight: 800;
}

.daterangepicker td.start-date {
    border-radius: 12px !important;
}

.daterangepicker td.end-date {
    border-radius: 12px !important;
}

.daterangepicker td.start-date.end-date {
    border-radius: 12px !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background: var(--bd-green) !important;
    color: #0F1A17 !important;
    border-radius: 12px !important;
}

.daterangepicker td.start-date,
.daterangepicker td.end-date,
.daterangepicker td.start-date.in-range,
.daterangepicker td.end-date.in-range,
.daterangepicker td.start-date.active,
.daterangepicker td.end-date.active,
.daterangepicker .calendar-table tbody td.start-date,
.daterangepicker .calendar-table tbody td.end-date {
    background: var(--bd-green) !important;
    color: #0F1A17 !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    position: relative;
    z-index: 2;
}

.daterangepicker .calendar-table tbody td.start-date::after {
    content: "";
    position: absolute;
    top: 0;
    right: calc(-1 * var(--drp-cap-overlap));
    width: var(--drp-cap-overlap);
    height: 100%;
    background: var(--range-dark);
    z-index: 1;
    pointer-events: none;
}

.daterangepicker .calendar-table tbody td.end-date::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(-1 * var(--drp-cap-overlap));
    width: var(--drp-cap-overlap);
    height: 100%;
    background: var(--range-dark);
    z-index: 1;
    pointer-events: none;
}

.daterangepicker .calendar-table td {
    overflow: visible !important;
}

.daterangepicker .calendar-table tbody td.start-date:has(+ td.end-date),
.daterangepicker .calendar-table tbody td.start-date+td.end-date {
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
}

.daterangepicker .calendar-table tbody td.start-date:has(+ td.end-date)::after,
.daterangepicker .calendar-table tbody td.start-date+td.end-date::before {
    display: none !important;
}

.daterangepicker .calendar-table tbody td.start-date:has(+ td.end-date)::before {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    right: -100%;
    background: var(--bd-green);
    border-radius: 12px;
    z-index: -1;
    pointer-events: none;
}

.daterangepicker .calendar-table tbody td.start-date:has(+ td.end-date),
.daterangepicker .calendar-table tbody td.start-date+td.end-date {
    z-index: 1 !important;
    color: #0F1A17 !important;
}

.daterangepicker td.in-range:not(.start-date):not(.end-date),
.daterangepicker td.in-range:not(.start-date):not(.end-date):hover {
    background-color:#3A4142 !important;
    color: var(--bd-green) !important;
    border-radius: 0 !important;
    position: relative;
    z-index: 1;
    box-shadow: calc(-1 * var(--drp-right)) 0 0 var(--drp-right) var(--range-dark), var(--drp-left) 0 0 var(--drp-left) var(--range-dark);
}

.daterangepicker td.start-date.in-range {
    box-shadow: var(--drp-left) 0 0 var(--drp-left) var(--range-dark) !important;
    z-index: 3;
}

.daterangepicker td.end-date.in-range {
    box-shadow: calc(-5 * var(--drp-right)) 0 0 var(--drp-right) var(--range-dark) !important;
    z-index: 3;
}

.daterangepicker td.in-range,
.daterangepicker td.in-range:hover {
    left: 0 !important;
    right: auto !important;
}

.daterangepicker .calendar-table td {
    position: relative;
    z-index: 0;
    overflow: visible !important;
}

.daterangepicker td.in-range:not(.start-date):not(.end-date) {
    box-shadow:
        calc(-1 * var(--drp-bridge)) 0 0 0 #3A4142,
        var(--drp-bridge) 0 0 0 #3A4142 !important;
}

.daterangepicker td.in-range:not(.start-date):not(.end-date)::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-1 * var(--drp-overlap));
    right: 0;
    background-color: #3A4142 !important;
    z-index: -1;
    pointer-events: none;
}

.daterangepicker td.start-date.in-range::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(-1 * var(--drp-overlap));
    width: var(--drp-overlap);
    background: var(--range-dark);
    z-index: -1;
    pointer-events: none;
}

.daterangepicker td.end-date.in-range::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-1 * var(--drp-overlap));
    width: var(--drp-overlap);
    background: var(--range-dark);
    z-index: -1;
    pointer-events: none;
}



.daterangepicker .drp-buttons {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding-top: 14px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border: 0 !important;
}

.daterangepicker .drp-buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 0 !important;
    border-radius: 12px !important;
    font-size: 14px;
    font-weight: 800;
    float: none !important;
}

/* Apply / Cancel*/
.daterangepicker .applyBtn {
    color: #0F1A17 !important;
    border: none !important;
    box-shadow: 0 6px 14px rgba(48, 237, 135, .28) !important;
    order: 0 !important;
}

.daterangepicker .cancelBtn {
    background: transparent !important;
    color: rgba(255, 255, 255, .30) !important;
    border: 1px solid rgba(255, 255, 255, .30) !important;
    order: 1 !important;
}

.daterangepicker .drp-calendar .calendar-table thead tr:first-child th.month {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    padding: 2px 0 12px !important;
}

.daterangepicker .drp-selected {
    display: none !important;
}

.daterangepicker .drp-buttons .btn {
    transition: color .15s ease, background .15s ease, filter .15s ease, border-color .15s ease;
}

.daterangepicker .applyBtn:not(.disabled):hover,
.daterangepicker .applyBtn:not(.disabled):focus,
.daterangepicker .cancelBtn:hover,
.daterangepicker .cancelBtn:focus {
    color: #fff !important;
}

.daterangepicker .applyBtn:not(.disabled):hover {
    filter: brightness(1.06);
}

.daterangepicker .cancelBtn:hover,
.daterangepicker .cancelBtn:focus {
    background: rgba(255, 255, 255, .08) !important;
    border-color: rgba(255, 255, 255, .4) !important;
}

.daterangepicker .calendar-table tbody td.start-date::after,
.daterangepicker .calendar-table tbody td.end-date::before {
    display: none !important;
}

.daterangepicker .calendar-table tbody td.start-date:has(+ td.in-range)::after,
.daterangepicker .calendar-table tbody td.start-date:has(+ td.end-date)::after {
    display: block !important;
}

.daterangepicker .calendar-table tbody td.in-range+td.end-date::before,
.daterangepicker .calendar-table tbody td.start-date+td.end-date::before {
    display: block !important;
}

.daterangepicker .calendar-table tbody td.start-date.end-date::before,
.daterangepicker .calendar-table tbody td.start-date.end-date::after {
    display: none !important;
}

:root {
    --drp-cap-overlap: 1px;
}

.daterangepicker .calendar-table tbody td.start-date:has(+ td.in-range)::after {
    display: block !important;
}

.daterangepicker .calendar-table tbody td.in-range+td.end-date::before {
    display: block !important;
}

.daterangepicker .calendar-table tbody td.start-date+td.end-date,
.daterangepicker .calendar-table tbody td.start-date:has(+ td.end-date) {
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
    z-index: 1;
    color: #0F1A17 !important;
    font-weight: 800 !important;
}

.daterangepicker .calendar-table tbody td.start-date:has(+ td.end-date)::after,
.daterangepicker .calendar-table tbody td.start-date+td.end-date::before {
    display: none !important;
}

.daterangepicker .calendar-table tbody td.start-date:has(+ td.end-date)::before {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    right: -100%;
    background: var(--bd-green);
    border-radius: 12px;
    z-index: 0;
    pointer-events: none;
}

.daterangepicker .calendar-table tbody td.start-date.end-date::before,
.daterangepicker .calendar-table tbody td.start-date.end-date::after {
    display: none !important;
}

.daterangepicker .calendar-table tbody td.start-date+td.end-date,
.daterangepicker .calendar-table tbody td.start-date:has(+ td.end-date) {
    position: relative;
    z-index: 1;
    color: #0F1A17 !important;
    font-weight: 800 !important;
}

.daterangepicker .calendar-table tbody td.start-date:has(+ td.end-date)::before {
    z-index: -1;
}

.daterangepicker .calendar-table tbody td.start-date.in-range,
.daterangepicker .calendar-table tbody td.start-date+td.end-date.in-range {
    color: #0F1A17 !important;
}

.daterangepicker .calendar-table tbody td.start-date.end-date::before,
.daterangepicker .calendar-table tbody td.start-date.end-date::after {
    display: none !important;
}

.daterangepicker .calendar-table td {
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

:root {
    --drp-bridge: 8px;
    --cap-radius: 12px;
}

.daterangepicker td.in-range:not(.start-date):not(.end-date) {
    background: var(--range-dark) !important;
    color: var(--bd-green) !important;
    border-radius: 0 !important;
    box-shadow: calc(-1 * var(--drp-bridge)) 0 0 0 var(--range-dark), var(--drp-bridge) 0 0 0 var(--range-dark) !important;
    z-index: 1;
}

.daterangepicker td.start-date.in-range {
    box-shadow: var(--drp-bridge) 0 0 0 var(--range-dark) !important;
}

.daterangepicker td.end-date.in-range {
    box-shadow: calc(-1 * var(--drp-bridge)) 0 0 0 var(--range-dark) !important;
}

.daterangepicker .calendar-table tbody td.start-date+td.end-date {
    z-index: 2;
    color: #0F1A17 !important;
    font-weight: 800 !important;
}

.daterangepicker .calendar-table tbody td.start-date+td.end-date::before {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: -100%;
    right: 0;
    background: var(--bd-green);
    border-radius: var(--cap-radius);
    z-index: 0;
    pointer-events: none;
}

.daterangepicker .calendar-table tbody td.start-date {
    z-index: 2;
    color: #0F1A17 !important;
    font-weight: 800 !important;
}

.daterangepicker .calendar-table tbody td.start-date::after,
.daterangepicker .calendar-table tbody td.end-date::before {
    display: none !important;
}

*/
/*=====================*/

.chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

.select-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 6px 12px;
    min-height: 36px;
    cursor: pointer;
    user-select: none;
    transition: all .15s ease;
}

.select-chip img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.select-chip span {
    font-size: .85rem;
}

.select-chip:hover {
    background: rgba(255, 255, 255, 0.12);
}

.select-chip.selected {
    background: var(--text-green);
    color: #000;
    border-color: var(--text-green);
    font-weight: 600;
}

.select-chip.selected span {
    color: #000;
}

.select-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: .15s ease;
}

.select-chip img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.select-chip:hover {
    background: rgba(255, 255, 255, 0.12);
}

.select-chip.selected {
    background: var(--text-green);
    border-color: var(--text-green);
    color: #000;
    font-weight: 700;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-row .select-chip {
    flex: 0 0 calc(20% - 8px);
    justify-content: center;
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px 12px;
}

@media (max-width: 1199.98px) {
    .grid-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-row .select-chip {
    justify-content: flex-start;
}

.chip-row .select-chip,
.grid-row .select-chip {
    min-height: 44px;
}

#paymentTypeBox.duit-2 {
    width: auto !important;
    display: inline-grid !important;
    grid-template-columns: repeat(2, max-content) !important;
    gap: 10px 12px !important;
    align-items: center;
}

#paymentTypeRow.duit-compact .Boarder-Box2 {
    max-width: none !important;
}

#paymentTypeBox.duit-2 {
    display: inline-flex !important;
    gap: 12px;
    width: fit-content !important;
    min-width: auto !important;
    max-width: none !important;
    padding: 6px 8px !important;
}

#paymentTypeBox.duit-2 .dm-chip {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 8px 12px;
    min-height: 36px;
    border-radius: 10px;
}

#paymentTypeBox.duit-2 .dm-chip img {
    width: 18px;
    height: 18px;
}

#depositMethodBox .dm-chip:nth-child(5n) {
    box-shadow: none !important;
}

.method_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    height: auto;
    min-height: 40px;
    box-sizing: border-box;
    /* display: flex; */
    /* justify-content: center; */
    background-color: #0D0F0F;
    border-radius: 8px;
    padding: 3px;
    gap: 10px;
    margin-right: 20px;
}
  
  .quick_item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 6px 10px !important;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #fff;
    min-height: 36px;
    white-space: nowrap;
    line-height: 1;
  }
  
  .quick_item.active {
    background: rgb(59, 59, 59);
  }
  
  .quick_item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 18px;
  }
  
input:focus-visible {
    outline: none !important;
    outline-offset: 0px !important;
}

.bank_grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    height: auto;
    min-height: 45px;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 3px;
    gap: 8px;
  }
  
  .bank_grid_short {
    display: inline-flex !important;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    height: auto;
    box-sizing: border-box;
    gap: 8px;
    width: fit-content !important;
    flex: 0 0 auto !important;
    border-radius: 999px;
    padding: 3px;
  }
  
  #paymentTypeBox .bank_detail_box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 25px;
    border: none;
    background: transparent;
    color: #fff;
    min-height: 36px;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    font-size: 12px;
    width: 140px;
  }

  #paymentTypeBox .bank_detail_box span {
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
  }
  
  #paymentTypeBox .bank_detail_box.active {
    background: #3A4142;
  }
  
  #paymentTypeBox .bank_detail_box img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 18px;
    filter: brightness(0.5);
  }
  
  #paymentTypeBox .bank_detail_box.active img {
    filter: brightness(1);
  }

.payment-option-list {
    display: flex;
    background-color: #0D0F0F;
    padding: 3px;
    border-radius: 999px;
    gap: 5px;
    height: 45px;
}
  
.payment-option {
    /* flex: 1 1 0px; */
    min-width: 0px;
    border-radius: 999px;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgb(255, 255, 255);
}

.payment-option.active {
    background: rgb(58, 65, 66);
}

.promotionsTrigger img {
    width: 12px;
    height: auto;
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    pointer-events: none;
}

.dm-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 12px;
    padding: 6px 25px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dm-chip.active {
    background-color: #3A4142 !important;
    color: #fff !important;
}

.dm-chip span {
    font-size: 12px;
}

#paymentTypeBox.duit-2 .dm-chip img {
    width: 17px;
    height: 17px;
}

.online_status {
    gap: 8px;
    border-radius: 25px;
    background: #147900;
    color: #66da8f;
    min-height: 40px;
    width: fit-content;
    max-width: 120px;
    justify-content: center;
}

.btn-submit {
    background-color: var(--text-gold);
    color: #000;
    max-width: 170px;
    border-radius: 25px;
    padding: 12px 18px;
    min-height: 48px;
    text-transform: uppercase;
}

.btn-submit-withdraw {
    background-color: var(--text-gold);
    color: #000;
    max-width: 140px;
    border-radius: 25px;
    padding: 12px 18px;
    min-height: 48px;
    text-transform: uppercase;
}


.btn-add-bank {
    background-color: var(--text-gold);
    color: #000;
    max-width: 150px;
    border-radius: 25px;
    padding: 12px 18px;
    min-height: 45px;
    text-transform: uppercase;
}

.history-header {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.35fr;
    align-items: center;
    text-align: center;
    background-color: var(--text-gold);
    border-radius: 25px;
    padding: 10px 0;
    margin: 12px 0 16px 0;
}

.label_receipt {
    display: flex;
    align-items: center;
    pointer-events: none;
}

.js-file-input {
    display: none;
}

.js-file {
    background: #fff;
    color: #000;
    border-radius: 999px;
    height: 48px;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-copy-text img {
    width: 20px;
    height: 20px;
    opacity: .9;
}

.alert_copied {
    display: none;
    position: absolute;
    right: -90px;
}

.copy_text_box {
    gap: 8px;
    border-radius: 10px;
    background: rgba(16, 115, 72, 0.18);
    color: #66da8f;
    min-height: 40px;
    width: fit-content;
    max-width: 140px;
    padding: 0 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.select_dropdown {
    height: 45px;
    border-radius: 26px;
    background-color: #0D0F0F;
    flex: 1;
    max-width: 350px;
    position: relative;
}

.select_dropdown.show {
    border-radius: 26px 26px 0px 0px;
}

.select_dropdown label {
    display: flex;
    align-items: center;
    position: relative;
    padding: 11px 22px;
}

.select_arrow_down {
    width: 12px;
    height: auto;
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    pointer-events: none;
}
.select_dropdown .dropdown-menu {
    width: 100%;
    padding: 0;
    background: rgb(5, 7, 7);
    border-radius: 0px 0px 16px 16px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.6) 0px 10px 25px;
}

.select_dropdown .dropdown-menu .option_type.active, .select_dropdown .dropdown-menu .option_type:hover {
    background: #0D0F0F;
    color: var(--text-green);
}
.select_dropdown .dropdown-menu .option_type {
    transition: all 0.2s ease;
    padding: 14px 22px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    display: block;
}

ul.history-notice {
    list-style-type: auto;
    font-size: 0.8rem;
    line-height: 1.8 !important;
    margin: 0;
    margin-left: 0.25rem;
}

#addBankBtn {
    border: 1px solid #30ED87;
    color: var(--bd-green);
    max-width: 350px;
    border-radius: 20px;
}

/* === copy button === */
.btn-copy {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, .06);
}

#promotionsTrigger {
    cursor: pointer;
}

#promotionsTrigger img {
    width: 16px;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}


:root {
    --dlg-bg: #1f2626;
    --panel-bg: #2a3131;
    --text: #e9ecec;
    --muted: #cfcfcf;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .12);
    --accent: #f7c44b;
    --accent-soft: rgba(247, 196, 75, .25);
}

/* ===== Select Promotions */
/* ===== Select Promotions (small text + single-line titles + icon bg uses --bd-grey-third) ===== */
.promo-tabs {
    width: 75%;
    margin: 0 auto;
    display: flex;
    gap: 8px;
    background-color: #0b0b0b;
    border-radius: 999px;
    padding: 4px;
}

.promo-tabs .tab {
    flex: 1;
    border: none;
    background: transparent;
    color: #B3BEC1;
    border-radius: 999px;
    padding: 8px 0;
    text-align: center;
}

.promo-tabs .tab.active {
    background-color: #3A4142;
    color: #fff;
}

/* Promo icon */
.promo-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 999px;
    background-color: #1E2525;
    position: relative;
    overflow: hidden;
}

.promo-icon img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.promo-popout.hidden {
    display: none;
}

#promoPopout {
    /* position: fixed; */
    inset: 0;
    /* z-index: 9997; */
    --bd-green: #30ED87;
    --accent: var(--bd-green);
    --accent-soft: rgba(48, 237, 135, 0.28);
    --dlg-bg: #3b4543;
    --panel-bg: #242b29;
    --line: rgba(255, 255, 255, .10);
    --line-strong: rgba(255, 255, 255, .18);
    --text: #eaf3f0;
    --muted: #9fb0aa;
    --focus-ring: rgba(48, 237, 135, 0.55);
    /* icon 圓形底色（你指定） */
    --bd-grey-third: #B3BEC1;
}

.promo-backdrop {
    z-index: 9998;
}

.promo-dialog {
    z-index: 9999;
}

.promo-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: saturate(120%) blur(2px);
}

.promo-dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 460px;
    max-width: 92vw;
    background-color: #1E2525;
    color: var(--text);
    border-radius: 20px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.promo-header {
    position: relative !important;
    padding: 14px 60px !important;
}

.promo-header h3 {
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .2px;
    color: #3CCA7F;
}

.promo-close-left {
    display: none !important;
}

.promo-close {
    position: absolute !important;
    top: 10px;
    right: 12px;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 38px !important;
    line-height: 1 !important;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.promo-close:hover {
    background: rgba(255, 255, 255, .10) !important;
}

.promo-body {
    padding: 12px 60px 16px;
    overflow: visible;
}

.promo-empty {
    background-color: #3A4142;
    border-radius: 5px;
    border: none;
    padding: 18px 22px;
    text-align: center;
    color: #d8d8d8;
    font-size: 14px;
    margin-bottom: 14px;
}

.promo-divider {
    height: 1px;
    background: var(--line-strong);
    margin: 8px 0 12px 0;
}

.promo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 卡片 */
.promo-item {
    display: flex;
    align-items: center;
    position: relative;
    gap: 14px !important;
    width: 100%;
    background-color: #3A4142;
    border: none;
    color: var(--text);
    padding: 14px 16px !important;
    border-radius: 5px !important;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.promo-item:hover {
    background: #2a3231;
    border-color: rgba(255, 255, 255, .18);
}

.promo-item.selected {
    border-color: #30ED87
}

.promo-icon {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border-radius: 999px !important;
    background-color: #1E2525 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.promo-item.selected .promo-icon {
    box-shadow: none !important;
}

.promo-item.slots .promo-icon {
    /* background: url(../img/deposit/select_promo/icon_slot.png) center/21px 21px no-repeat; */
    background-image: url(../img/deposit/select_promo/icon_slot.png);
    background-size: 21px 21px;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .promo-item.casino .promo-icon {
    /* background: url(../img/deposit/select_promo/icon_casino.png) center/21px 21px no-repeat; */
    background-image: url(../img/deposit/select_promo/icon_casino.png);
    background-size: 21px 21px;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .promo-item.sports .promo-icon {
    /* background: url(../img/deposit/select_promo/icon_sports.png) center/21px 21px no-repeat; */
    background-image: url(../img/deposit/select_promo/icon_sports.png);
    background-size: 21px 21px;
    background-position: center;
    background-repeat: no-repeat;
  }

.promo-item.selected .promo-title {
    font-weight: 700;
}

.promo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2 !important;
    letter-spacing: .2px;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.promo-title {
    font-size: 12px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.promo-sub {
    margin-top: 2px !important;
    color: #30ED87 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.badge-pending {
    margin-left: auto;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    letter-spacing: .2px;
    display: inline-flex;
    align-items: center;
}

.promo-close:focus,
.promo-tabs .tab:focus,
.promo-item:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
    border-radius: 12px;
}

@media (max-width: 520px) {
    .promo-header {
        padding: 14px 44px !important;
    }

    .promo-tabs {
        padding: 10px 44px 0;
    }

    .promo-body {
        padding: 12px 44px 16px;
    }
}



/* === crypto(Deposit) === */
.Boarder-Box2.deposit-method-grid {
    height: auto !important;
    max-height: none !important;
}

.deposit-method-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: 48px;
    gap: 10px;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
    /*  */
    display: flex;
    background-color: #0D0F0F;
    padding: 5px;
    border-radius: 12px;
    flex-wrap: wrap;
}

.bt-chip {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    line-height: 1;
    padding: 0 10px !important;
    margin: 0 !important;
    white-space: nowrap;
    min-width: 0;
    width: 133px;
    height: 35px
}

.bt-chip.active {
    background: #3A4142;
}

.bt-chip span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1px;
}

.bt-chip img {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
}

.bt-chip.bt-selected {
    background: #3b3b3b;
    margin: 0 !important;
    padding: 0 10px !important;
}

@media (max-width: 1280px) {
    .bt-chip span {
        font-size: 11.5px;
    }
}

@media (max-width: 1140px) {
    .bt-chip span {
        font-size: 11px;
    }
}


/* ===== OTP modal ===== */

#otpModal .modal-content {
    background: #3a4141 !important;
    border-radius: 16px;
}

#otpModal .otp-head {
    height: 56px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

#otpModal .modal-body {
    padding: 24px 32px 26px;
    color: #e8eeee;
}

#otpModal .otp-label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #cfd6d6 !important;
}

#otpModal .otp-field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 14px 0 16px;
    background: #343c3d;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
}

#otpModal .otp-field:focus-within {
    border-color: #30ED87;
    box-shadow: 0 0 0 3px rgba(48, 237, 135, .18);
}

#otpModal .otp-field img {
    width: 22px;
    height: 22px;
    margin: 0 6px 0 0;
    opacity: .95;
    object-fit: contain;
}

#otpModal .otp-field input {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #e8eeee;
    font-size: 14px !important;
}

#otpModal .otp-field a {
    margin-left: auto;
    white-space: nowrap;
    color: #30ED87;
    font-weight: 700;
    text-decoration: none;
}

#otpModal .otp-field a:hover {
    text-decoration: underline;
}

#otpModal input::placeholder {
    color: #aeb7b7 !important;
    opacity: 1;
}

#otpModal .otp-info-box {
    margin-top: 20px;
    padding: 16px 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 12px;
    color: #cfd6d6;
    font-size: 12px !important;
    line-height: 1.6;
}

#otpModal .otp-info-box .time {
    color: #30ED87;
    font-weight: 800;
}

#otpModal .otp-info-box a {
    color: #30ED87;
    font-weight: 700;
}

/* 關閉鈕 X 尺寸、位置與 hover */
#otpModal .otp-close {
    right: 14px;
    width: 44px;
    height: 44px;
    font-size: 28px;
}

#otpModal .otp-close:hover {
    background: rgba(0, 0, 0, .08);
}


/* ========== Withdrawal OTP modal (final override) ========== */
:root {
    --text-gold: #30ED87;
    --dlg-bg: #1b2121;
    --panel: #0f1414;
    --bg-grey-primary: #B4B4B4;
    --otp-width: 480px;
    --otp-pad-x: 40px;
    --otp-x-size: 44px;
    --otp-x-font: 28px;
}

/* Backdrop */
.modal-backdrop-auth,
.modal-backdrop-auth.fade,
.modal-backdrop-auth.show {
    --bs-backdrop-bg: rgba(0, 0, 0, .58) !important;
    --bs-backdrop-opacity: 1 !important;
    background: rgba(0, 0, 0, .58) !important;
    backdrop-filter: blur(6px) saturate(115%) !important;
    -webkit-backdrop-filter: blur(6px) saturate(115%) !important;
    opacity: 1 !important;
}

/* Blur page when modal open */
body.modal-open #appRoot {
    filter: blur(3px) brightness(.85);
    transition: filter .2s ease;
    pointer-events: none;
}

/* ---------- Modal root vars ---------- */
#otpModal {
    --otp-body-size: 14px;
    --otp-small-size: 12px;
    --otp-label-color: #cfd2d2;
    --bs-modal-width: var(--otp-width);
}

/* ---------- Dialog box sizing / centering ---------- */
#otpModal .modal-dialog {
    width: auto !important;
    max-width: var(--otp-width);
    margin: 1.75rem auto;
}

/* ---------- Modal content ---------- */
#otpModal .modal-content {
    background: var(--dlg-bg) !important;
    color: #e9ecec !important;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    box-shadow: 0 16px 52px rgba(0, 0, 0, .55);
}

/* Header */
#otpModal .otp-head {
    position: relative;
    height: 50px;
    padding: 0 var(--otp-pad-x);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111819;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

#otpModal .otp-title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .2px;
    color: #30ED87;
}

#otpModal .otp-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: var(--otp-x-size);
    height: var(--otp-x-size);
    border: 0;
    background: transparent;
    color: #ffffff;
    border-radius: 999px;
    font-size: var(--otp-x-font);
    line-height: 1;
}

#otpModal .otp-close:hover {
    background: rgba(0, 0, 0, .08);
}

/* Body */
#otpModal .modal-body {
    padding: 16px var(--otp-pad-x) 18px;
    font-size: var(--otp-body-size) !important;
    line-height: 1.5;
}

#otpModal .otp-group {
    margin-bottom: 20px;
}

#otpModal .otp-label {
    font-weight: 700;
    font-size: 12px;
    color: var(--otp-label-color) !important;
    margin-bottom: 8px;
}

/* Field */
#otpModal .otp-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 10px 12px;
}

#otpModal .otp-field img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: .9;
    margin-right: 8px;
}

#otpModal .otp-field input {
    flex: 1;
    margin: 0 8px;
    background: transparent;
    border: 0;
    outline: none;
    color: #e9ecec;
    font-size: var(--otp-body-size) !important;
}

#otpModal .otp-field a {
    color: #30ED87;
    font-weight: 700;
    text-decoration: none;
    margin-left: 8px;
    font-size: var(--otp-body-size) !important;
}

#otpModal .otp-field a:hover {
    text-decoration: underline;
}

#otpModal .otp-info-box {
    margin-top: 30px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    color: var(--bg-grey-primary);
    font-weight: 600;
    font-size: 10px !important;
}

#otpModal .otp-info-box .time {
    color: #30ED87;
    font-weight: 800;
}

#otpModal .otp-info-box a {
    color: #30ED87;
    font-weight: 700;
    font-size: 10px !important;
}

#otpModal input::placeholder,
#otpModal input::-webkit-input-placeholder,
#otpModal input::-moz-placeholder,
#otpModal input:-ms-input-placeholder {
    color: var(--bg-grey-primary) !important;
    opacity: 1;
}

@media (max-width: 480px) {
    #otpModal {
        --otp-width: 92vw !important;
    }

    #otpModal .modal-dialog {
        width: var(--otp-width) !important;
        max-width: var(--otp-width) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #otpModal .modal-content {
        width: 100% !important;
    }
}

@media (min-width: 481px) {
    #otpModal {
        --otp-width: 480px !important;
    }

    #otpModal .modal-dialog {
        width: 480px !important;
        max-width: 480px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #otpModal .modal-content {
        width: 100% !important;
        min-height: 480px !important;
    }
}

#otpModal.modal.modal-fullscreen,
#otpModal .modal-dialog.modal-fullscreen,
#otpModal .modal-dialog.modal-lg,
#otpModal .modal-dialog.modal-xl {
    max-width: 480px !important;
    width: 480px !important;
}

#otpModal .modal-dialog-centered {
    min-height: calc(100% + 3.5rem) !important;
    display: flex !important;
    align-items: center !important;
}




/* ====== AboutUs Sidebar ====== */
:root {
    --box-pad-x: 24px;
    --box-pad-y: 14px;
    --card-pad-x-default: 2.5rem;
}

.content-pad {
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
    --card-pad-x: 2.5rem;
}

@media (max-width: 576px) {
    :root {
        --box-pad-x: 18px;
        --box-pad-y: 12px;
    }

    .content-pad {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        --card-pad-x: 1.25rem;
    }
}

.about-sep {
    border: 0;
    height: 2px;
    background: rgba(255, 255, 255, .22);
    margin: 1.2rem 0 2rem;
    display: block;
    position: relative;
    left: calc(-1 * (var(--card-pad-x, var(--card-pad-x-default))));
    width: calc(100% + (var(--card-pad-x, var(--card-pad-x-default)) * 2));
}

.t-panel {
    background: #0D0F0F;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 16px;
    padding: var(--box-pad-y) var(--box-pad-x);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .20);
    margin-bottom: 10px;
    position: relative;
}

.t-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: #FFFFFF;
    font-size: 1rem;
    padding: 2px 0 10px 0;
    margin-top: 10px;
}

.t-head>span:first-child {
    display: block;
    margin-left: 5%;
    max-width: 75%;
}

.t-hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    margin: 10px 0 14px;
    opacity: 1;
    position: relative;
    left: 2%;
    width: 98%;
}


.t-body {
    color: #C8CDCD;
    font-size: .92rem;
    line-height: 1.65;
    padding-top: 2px;
    margin-left: 5%;
    max-width: 75%;
}

.t-body p {
    margin: 0 0 14px 0;
}

.t-body strong,
.t-body b {
    font-weight: 400;
    color: inherit;
}

.t-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0D0F0F;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    padding: var(--box-pad-y) var(--box-pad-x);
    color: #E9ECEC;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .18) inset, 0 8px 16px rgba(0, 0, 0, .10);
    margin: 8px 0;
    position: relative;
}

.t-row>span:first-child {
    display: block;
    margin-left: 5%;
    max-width: 75%;
}

.t-ico {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    opacity: .95;
    flex: 0 0 22px;
}

.t-ico::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background: #0D0F0F;
    transform: translate(-50%, -50%);
}

.t-ico--plus::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 10px;
    background: #0D0F0F;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {

    .t-head>span:first-child,
    .t-body,
    .t-row>span:first-child {
        margin-left: 0;
        max-width: 100%;
    }

    .t-hr {
        left: 0;
        width: 100%;
    }
}

/* ===== Contact Us ===== */
.c-lead {
    color: #C8CDCD;
    font-size: .9rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 880px;
}

.c-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    margin-top: 12px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
}

.c-ico {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #222a2a;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 4px 12px rgba(0, 0, 0, .30);
}

.c-ico::after {
    content: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.c-ico img {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.c-title {
    color: #E9ECEC;
    font-weight: 700;
    font-size: .98rem;
    line-height: 1.2;
}

.c-sub {
    color: #9aa2a2;
    font-size: .84rem;
    line-height: 1.2;
    margin-top: 3px;
}

.Boarder_Profile {
    padding-bottom: 1.5rem !important;
}

.pad-bottom-xl {
    padding-bottom: 22rem !important;
}

.mb-outer-xl {
    margin-bottom: 4rem !important;
}

@media (max-width: 992px) {
    .pad-bottom-xl {
        padding-bottom: 9rem !important;
    }

    .mb-outer-xl {
        margin-bottom: 3rem !important;
    }
}

@media (max-width: 768px) {
    .c-contact {
        gap: 14px 18px;
    }

    .c-item {
        min-width: 220px;
        gap: 10px;
    }

    .c-ico {
        width: 38px;
        height: 38px;
    }

    .c-ico::after {
        content: none !important;
    }

    .c-ico img {
        width: 20px;
        height: 20px;
    }

    .c-title {
        font-size: .95rem;
    }

    .c-sub {
        font-size: .82rem;
    }
}

.t-ico {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #0D0F0F !important;
    border: none !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
}

.t-ico--plus {
    background-image: url('../img/my_acc/referral/overview/how_to_earn/button_drop_down_inactive.png')
}

.t-ico--minus {
    background-image: url('../img/my_acc/referral/overview/how_to_earn/button_drop_down_active.png');
}

/* Recommended Games Box */
.recommended-games {
    background: url('../img/homepage/recommended_game/bg_recommended_game.png') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
    flex-grow: 1;
    padding: 20px;
    padding-top: 30px;
    color: #fff;
}

/* Popular Slots Box */
.popular-slots {
    background: url('../img/homepage/recommended_game/bg_popular_slots.png') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
    flex-grow: 1;
    padding: 25px;
    padding-top: 30px;
    color: #fff;
}

.recommend-popular-wrapper {
    display: flex;
    gap: 25px;
    justify-content: space-between;
    align-items: stretch;

}

.recommended-games .section-title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
}

/* General link styling to ensure proper spacing and color */
.game-tabs .nav-item {
    display: inline-block;
}

.game-sidebar .nav-item {
    position: relative;
}

.game-sidebar .nav-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 1px;
    background: #3a4142;
}

.game-sidebar .nav-item:last-child::after {
    display: none;
}

.game-tabs .nav-link {
    color: #9ba3a4;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 8px;
    transition: color 0.3s;
    font-weight: 600;
    cursor: pointer;
}

.game-tabs-p .nav-item {
    display: inline-block;
}

.game-tabs-p .nav-link {
    color: #9ba3a4;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 8px;
    transition: color 0.3s;
    font-weight: 600;
}


.game-tabs-p {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.game-tabs .active-btn {
    background: var(--bg-green);
    border-radius: 25px;
    font-weight: bold;
}

.game-tabs .active-btn .nav-link {
    color: #000;
    background-color: transparent;
    font-weight: bold;
}

.game-tabs .active {
    background: var(--bg-green);
    border-radius: 25px;
    font-weight: bold;
    color: #000;
}

.game-tabs .active .nav-link {
    color: #000;
    background-color: transparent;
    font-weight: bold;
}

.game-tabs .nav-link:hover:not(.active) {
    color: var(--text-green);
}

.game-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.recommended-games {
    flex: 2.2;
    min-width: 0;
    background: var(--bg-dark-tertiary);
    position: relative;
}

.recommended-games .row {
    align-items: stretch;
    display: flex;

}

.game-card-large {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.recommended-games .col-md-7 {
    display: flex;
    flex-direction: column;

}



.game-card-large img {
    width: 100%;
    height: 100%;
    max-width: 280px;
    max-height: 280px;
    /* adjust this value to match your 2-row small images */
    object-fit: cover;
    border-radius: 15px;
}

.game-card-small {
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.game-card-small .img-wrapper img {
    border-radius: 15px;
    gap: 15px;
}

/* Keep text aligned under images */
.game-card-small p {
    margin-bottom: 10px;
    text-align: center;
    color: var(--text-light);
}

.game-card-small .img-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    width: 120px;
}

.game-card-small:hover .img-wrapper {
    width: 120px;
    border-color: var(--text-green);
}

.game-card-small img.game-thumb {
    width: 120px;
    transition: transform 0.3s ease;
}

.game-card-small:hover img.game-thumb {
    transform: scale(1.05);
}

.game-card-small p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
}

.pagination-dots .dot {
    width: 7px;
    height: 7px;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid #d4d4d4;
    cursor: pointer;
}

.pagination-dots .dot.active {
    background-color: var(--text-green);
}

/* Popular Slots Section */
.popular-slots {
    border-radius: 15px;
    padding: 20px;
    flex: 0.8;
    min-width: 0;
    background-color: var(--bg-dark-tertiary);
}

.popular-slots h5 {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.popular-slots h5 {
    background-color: var(--text-green);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 10px;
}

.new-badge {
    background-color: rgba(28, 108, 26, 0.799);
    color: var(--text-green);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.65rem;
    border: 1px solid #66E072;
    text-shadow: 0 0 5px #66E072, 0 0 5px #1a6c22;
    margin-top: 5px;
    height: 25px;
    width: 55px;
}

.slot-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #141C1C;
    padding: 15px 15px 20px 15px;
    position: relative;
    /* needed for absolute ::after */
    transition: background-color 0.2s ease;
}

.slot-item:hover {
    background-color: rgba(7, 204, 53, 0.226);
}

.slot-item .slot-border {
    width: 80%;
    height: 1px;
    background-color: #494949;
    margin: 10px auto 0 auto;
}

.slot-item:not(:last-child) {
    margin-bottom: 10px;
}

.slot-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
}

.slot-item .info {
    flex-grow: 1;
}

.slot-item .title {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.slot-item .subtitle {
    font-size: 0.8rem;
    color: var(--bg-grey-primary);
    margin: 0;
}

.slot-item .play-btn {
    color: var(--text-green);
    font-size: 2rem;
    transition: transform 0.2s ease;
}

.slot-item .play-btn:hover {
    transform: scale(1.1);
}

.video-container {
max-width: 80px;
}   
  
.video-container video {
width: 80px;
height: 80px;
}

.video-popup-box video {
    width: 100%;
}

/* Top Picks of the Weeks */
.top-picks .game-grid {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding-bottom: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.top-picks .game-grid::-webkit-scrollbar {
    display: none;
}

.game-pick-card {
    text-align: left;
    flex: 0 0 180px;
}

.game-pick-card img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-pick-card img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.game-pick-title {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
    font-weight: 600;
}

.game-pick-subtitle {
    color: var(--bg-grey-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: -15px;
}

.game-pick-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-green);
}

.game-pick-card img {
    width: 100%;
    height: auto;
    display: block;
}

.game-boxes-container .game-box {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-boxes-container .game-box:hover {
    transform: scale(1.05);
}

.thead-gold-bg th {
    background-color: var(--text-green);
    color: #000;
    border: none;
    text-align: center;
    padding: 12px;
}

/* Live Matches Section */
.live-matches {
    margin-top: 50px;
    overflow-x: hidden;
    position: relative;
}

.live-matches .row {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 15px;
    flex-wrap: nowrap;
}

.live-matches .row::-webkit-scrollbar {
    display: none;
}

.match-card {
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 320px;
    padding: 0;
}

.card-frame-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 1;
}

.card-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 20px 30px 20px;
}

.match-card.faded {
    opacity: 0.5;
}

.match-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.match-card-header .game-info {
    text-align: left;
    font-size: 0.8rem;
    color: var(--text-light);
}

.match-card-header .game-info span {
    color: var(--text-light);
    display: block;
}

.team-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 5px;
    border-top: 1px solid #B3BEC1;
}

.team-logo {
    margin-top: 10px;
    width: 60px;
    height: 60px;
}

.team-logos span {
    font-weight: bold;
    color: var(--bg-grey-primary);
    font-size: 1.1rem;
}

.team-names p {
    font-size: 0.9rem;
    margin-top: 1px;
    margin-bottom: 10px;
}

.odds-info {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    margin-bottom: 15px;
}

.odd-box {
    background: linear-gradient(to bottom, #525252, #343434, #323232);
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
    width: 50%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    margin-right: 10px;
}


.odd-box .value {
    margin-left: 15px;
}

.more-link {
    color: var(--text-green);
    font-size: 0.75rem;
    text-decoration: none;
}

.select-provider {
    background: url('../img/lobby/slots/select_frame/frame_select_provider.png') no-repeat center center;
    background-size: cover;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.game-grid-wrapper {
    position: relative;
    /* Make button positions relative to this box */
}

.scroll-btn-first {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.3s ease;
}

.scroll-btn-top {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.3s ease;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.3s ease;
}

.scroll-btn-top img {
    width: 30px;
    height: 30px;
    display: block;
}

.scroll-btn-top:hover {
    opacity: 0.8;
}

.scroll-btn-first img {
    width: 30px;
    height: 30px;
    display: block;
}

.scroll-btn-first:hover {
    opacity: 0.8;
}

.scroll-btn img {
    width: 30px;
    height: 30px;
    display: block;
}

.scroll-btn:hover {
    opacity: 0.8;
}


.left-btn {
    right: 640px;
}

.right-btn {
    left: 640px;
}

.left-btn-top {
    left: -20px;
}

.right-btn-top {
    right: -20px;
}

.game-page-layout {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.game-sidebar {
    flex: 0 0 260px;
    background-color: transparent;
}

.game-sidebar .nav-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    color: var(--bg-grey-primary);
    height: 50px;
}

.game-sidebar .nav-item a:hover {
    background-image: url('../img/lobby/slots/select_frame/frame_select_provider.png');
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 12px;
    color: var(--text-green);
    font-weight: bold;
    height: 50px;
    width: 223px;
    font-weight: bold;
}

.game-sidebar .nav-item a.active {
    background-image: url('../img/lobby/slots/select_frame/frame_select_provider.png');
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 10px;
    color: var(--text-green);
    font-weight: bold;
    width: 223px;
}

.game-sidebar .provider-logo {
    width: 30px;
    height: 30px;
    margin-right: 12px;
}

.game-sidebar .provider-name {
    flex-grow: 1;
    font-size: 0.9rem;
}

.game-sidebar .game-count {
    font-size: 0.8rem;
}

.game-content {
    flex-grow: 1;
    padding-left: 50px;
}

.game-list-bar {
    background-color: var(--bg-dark-secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    margin-bottom: 25px;
}

.game-link {
    color: var(--bg-grey-primary);
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.game-link:hover {
    color: var(--text-light);
}

.game-link.active {
    color: var(--text-green);
    font-weight: bold;
    border-bottom: 3px solid var(--text-green);
}

.game-link .fa-star {
    color: var(--text-green);
}

.game-link .fa-fire {
    color: #e74c3c;
}

.game-search-bar {
    margin-left: auto;
    position: relative;
    border: none;
    outline: none;
    box-shadow: none;
    width: auto;
}

.game-search-bar input {
    background-color: #0D0F0F;
    border: none;
    border-radius: 20px;
    padding: 11px 40px 11px 80px;
    color: #ffffff;
    width: 330px;
}

.game-search-bar input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.game-search-bar input::placeholder {
    color: #aaaaaa;
}

.game-search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaaaaa;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.game-box-card {
    background-color: transparent;
    text-align: center;
    transition: transform 0.2s;
}

.game-box-card:hover {
    transform: translateY(-5px);
}

.game-box-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.game-box-title {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- App Download --- */
.app-download-section {
    background-color: var(--container-bg);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Stacks on mobile */
    max-width: 1300px;
    /* Max width to match original design */
    width: 110%;
}

/* Responsive layout for larger screens */
@media (min-width: 768px) {
    .app-download-section {
        flex-direction: row;
        /* Side-by-side on larger screens */
    }
}

/* Left side content (Text and QR codes) */
.app-download-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 2rem 3rem;
}

.download-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.logo-placeholder {
    width: 90px;
    height: 90px;
    border: 2px solid #3A4142;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3A4142;
    font-weight: bold;
    margin-top: 60px;
}

.app-download-left h2 {
    font-size: 2.25rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.app-download-left p {
    font-size: 1.5rem;
    color: var(--bg-grey-primary);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.qr-codes-container {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.qr-code-box {
    background-color: #3A4142;
    border-radius: 1.25rem;
    padding: 1.25rem 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    min-height: 140px;
}

.qr-divider {
    width: 100%;
    height: 1px;
    background-color: #B3BEC1;
    margin: 10px 0;
}

.qr-code-box img.qr-image {
    width: 80px;
    height: 80px;
    background-color: #3A4142;
    padding: 5px;
}

.platform-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.platform-details span {
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.instruction-link {
    font-size: 0.875rem;
    color: var(--bg-grey-primary);
    text-decoration: none;
}

/* Right side content (Banner image) */
.app-download-right {
    flex: 1.2;
    min-height: 500px;
    min-width: 500px;
    background-color: var(--container-bg);
}

.app-download-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* --- Secondary Promo Navigation --- */
.promo-nav {
    background-color: var(--bg-dark-secondary);
    border-radius: 50px;
    padding: 0.5rem;
    display: flex;
    /* Makes the nav only as wide as its content */
    margin-left: -15px;
    min-width: 1300px;
}

.promo-nav .nav-item {
    padding: 7px 10px !important;
}

.promo-nav .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 5px 17px !important;
    cursor: pointer;
}

.promo-nav .nav-link:hover {
    color: var(--text-light);
}

.promo-nav .nav-link.active {
    background: var(--bg-green);
    color: #111111;
    font-weight: 700;
}

.promo-card {
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-position: center;
}

.promo-card-top {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-jackpot-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.promo-sub-amount,
.promo-card-overlay-text p {
    color: #ddd;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.promo-card-top {
    position: relative;
}

.promo-card-body {
    flex-grow: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.promo-tags span {
    background-color: #1E2525;
    color: var(--text-green);
    border: 1px solid #3A4142;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.promo-tags p {
    background-color: rgba(31, 86, 30, 0.827);

    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.promo-description {
    font-size: 0.9rem;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 555px;
}

.promo-actions {
    padding: 0 1.5rem 1.5rem 0;
    display: flex;
    gap: 0.75rem;
}

.modal-custom-bg {
    background-color: #3A4142;
}

.welcome-bonus-banner {
    background-color: var(--text-green);
    color: var(--bg-dark-primary);
    font-weight: bold;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 1.25rem;
    width: 100%;
}

#promoDetailsModal .modal-content {
    border-radius: 23px;
    /* adjust value as needed */

}

.modal-content .btn-close {
    filter: invert(1) brightness(2);
    /* turns it white */
    opacity: 1;
    /* ensure it's fully visible */
}

.modal-custom-bg .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.promo_image img {
    width: 100%;
    height: auto;
    border-top-left-radius: calc(.3rem - 5px);
    border-top-right-radius: calc(.3rem - 1px);
}

.modal-top-banner {
    width: 100%;
    height: auto;
    border-top-left-radius: calc(.3rem - 5px);
    border-top-right-radius: calc(.3rem - 1px);
}

.modal-custom-bg {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-main-content {
    background-color: var(--bg-dark-primary);
}

.modal-main-content h5 {
    color: #fff;
}

.promo-tag-badge-dark {
    background-color: var(--bd-grey-secondary) !important;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.modal-custom-table td,
.modal-custom-table th {
    text-align: center;
    vertical-align: middle;
    padding: 12px 16px;
}

.modal-custom-table th {
    background-color: var(--text-green);
    font-weight: normal;
    font-size: 0.9rem;
}

.modal-custom-table td {
    background-color: #1E2525;
    color: #fff;
    font-weight: 400;
    border-color: #555;
    font-size: 0.8rem;
}

.modal-custom-table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #3A4142;
    border-radius: 9px;
    overflow: hidden;
}

.modal-custom-table.table-bordered> :not(caption)>*>* {
    border-width: 0.1rem;
    border-color: #3A4142;

}

.modal-custom-table thead th:first-child {
    border-top-left-radius: 10px;
}

.modal-custom-table thead th:last-child {
    border-top-right-radius: 10px;
}

.modal-custom-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.modal-custom-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.mega-modal-bg {
    background-color: var(--bg-dark-secondary);
    color: var(--text-light);
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.mega-modal-bg .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.balance-section h5 {
    color: var(--text-green);
    font-size: 16px;
}

.login-details-section {
    background-color: #1E2525;
}


.buy-section input {
    padding-left: 20px;
}

.buy-section .form-control {
    background-color: #3A4142;
    border: none;
    border-radius: 999px;
    color: white;
    padding: 10px 25px;
    align-items: center;
}

.buy-section .form-control::placeholder {
    color: #B3BEC1;
    font-size: 12px;
}

.buy-btn,
.play-now-btn {
    background: var(--bd-green);
    border: none;
    color: #212529;
    font-weight: bold;
    width: 120px;
    padding: 12px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.copy-btn {
    background-color: transparent;
    border-color: #3CCA7F;
    color: #3CCA7F;
    border-radius: 999px;
    padding: 3px 16px;
}

/** Spin **/
.background-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('../img/spin/bg/bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: background-image 1s ease-in-out;
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,1) 95%,
        rgba(0,0,0,0) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,1) 95%,
        rgba(0,0,0,0) 100%
    );
}

.content-layer {
    position: relative;
    z-index: 1;
}

.jackpot-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.jackpot-item {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.jackpot-value-minor {
    position: absolute;
    bottom: 77px;
    color: #ffffff;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: bold;
}

.jackpot-value-major {
    position: absolute;
    color: #ffffff;
    bottom: 77px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: bold;
}

.jackpot-value-mega {
    position: absolute;
    color: #ffffff;
    bottom: 87px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: bold;
}

.jackpot-item:nth-child(2) {
    transform: translateY(-40px);
}

@media (max-width: 768px) {
    .jackpot-value {
        font-size: 1rem;
        bottom: 15px;
    }
}

.spin-wheel-container2 {
    position: relative;
  /* width: 400px;
  height: 400px; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.spin-wheel2 {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 6s cubic-bezier(0.25, 0.1, 0.25, 1);
    top: 35%;
    left: 50%;
    transform: translate(15%, -30%);
}

.spin-wheel2 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.spin-button {
    margin-top: 20px;
    padding: 10px 30px;
    font-size: 1.5rem;
    font-weight: bold;
    background-image: linear-gradient(to bottom, #d9a445, #9e6f28);
    color: #4b0082;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, background-color 0.2s;
}

.spin-button:hover {
    transform: scale(1.05);
}

.spin-wheel-prize {
    position: absolute;
    top: 35%;
    left: 40%;
    transform-origin: center center;
    margin-left: 260px;
    margin-top: 50px;
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.30rem;
    font-weight: 600;
    color: #000000;
    /* color: #746116;
    color: #fff0d6; */
}

.spin-wheel-prize img {
    transform: rotate(90deg);
    max-height: 20px;
    width: auto;
}

.turnplate {
    position: relative;
  }
  
  .spin-wheel-frame {
    position: absolute;
    width: 512px;
    transform: translate(-1%, -2%);
  }
  
  .spin-wheel-centre-circle {
    position: absolute;
    height: 160px;
    transform: translate(0%, 0%);
  }
  
  .spin-wheel-target {
    position: absolute;
    height: 140px;
    transform: translate(1%, -144%);
  }

.football {
    position: absolute;
    bottom: 10%;
    left: 20%;
    width: 150px;
    height: 150px;
    z-index: 10;
}

.coin-left {
    position: absolute;
    top: 19%;
    left: 0;
    width: 100px;
    height: 100px;
    z-index: 1;
}

.coin-right {
    position: absolute;
    top: 15%;
    right: 0%;
    width: 100px;
    height: 100px;
    z-index: 10;
}

.coin-right-2 {
    position: absolute;
    bottom: 70%;
    right: 10%;
    width: 140px;
    height: 140px;
    z-index: 10;
}

.gift-left {
    position: absolute;
    top: 25%;
    left: 5%;
    width: 200px;
    height: 200px;
    z-index: 1;
}

.notice-bar-spin {
    background-color: #1E2525;
    border-radius: 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 0.6rem;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 10px;
}

.notice-bar-spin p {
    color: #ffffff;
    font-size: 0.65rem;
    display: flex;
    margin: 0;
    align-items: center;
}

.notice-bar-spin img {
    height: 15px;
    margin-right: 20px;
    margin-left: 5px;
}

.spin-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.vertical-text {
    writing-mode: vertical-lr;
}

/* Spin Prizes Section Styles (Unique to this page) */
.container.spin-prizes-page {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    box-sizing: border-box;
    margin: 0 auto;
}

.spin-prizes-header-link {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-green);
    text-decoration: none;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.spin-prizes-title-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.spin-prizes-title-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: var(--text-green);
    margin: 0;
    white-space: nowrap;
}

.spin-prizes-decorative-line {
    width: 100%;
    max-width: 200px;
    height: 5px;
}

.spin-prizes-cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Makes cards equal height */
    gap: 2rem;
    width: 100%;
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens */
}

.spin-prizes-card {
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 3rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    min-height: 400px;
    max-height: 430px;
    font-family: 'Inter', sans-serif;
}

.spin-prizes-card2 {
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 3rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    max-height: 400px;
    max-height: 430px;
    min-height: 400px;
    font-family: 'Inter', sans-serif;
}

.spin-prizes-primary-prize {
    background: url("../img/spin/prize/prize_frame_bg_small.png") no-repeat center;
    background-size: 120px auto;
    min-height: 80px;
    min-width: 120px;
    padding: 38px;
    position: relative;
}

.spin-prizes-prize-group {
    background: url("../img/spin/prize/prize_frame_bg_small.png") no-repeat center;
    background-size: 110px auto;
    min-height: 80px;
    min-width: 120px;
    padding: 15px;
    position: relative;
}

.spin-prizes-jackpot-card {
    background-image: url("../img/spin/prize/bg_frame.png");
}

.spin-prizes-rewards-card {
    background-image: url("../img/spin/prize/bg_frame.png");
}

.spin-prizes-card-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-green);
    margin: 0 0 0.5rem 0;
}

.spin-prizes-card-title2 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-green);
    margin: 0 0 0.5rem 0;
}

.spin-prizes-card-subtitle {
    font-size: 0.70rem;
    margin-bottom: 0.2rem;
    color: var(--text-light);
}

.spin-prizes-prize-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.spin-prizes-prize-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

.spin-prizes-prize-icon {
    flex-shrink: 0;
    width: 125px;
    height: 60px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 12px;
}

.spin-prizes-prize-details {
    text-align: left;
}

.spin-prizes-prize-details .spin-prizes-start-from {
    font-size: 0.7rem;
    margin: 0;
    color: var(--text-light);
}

.spin-prizes-prize-details .spin-prizes-amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-green);
    margin: 0;
}

.spin-prizes-rewards-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.spin-prizes-primary-prize {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spin-prizes-prize-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-green);
}

.spin-prizes-prize-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 1;
}

.spin-prizes-secondary-prizes {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.spin-prizes-prize-group {
    text-align: center;
}

.spin-prizes-secondary-prizes .spin-prizes-prize-group:first-child {
    padding-right: 3rem;
    padding-left: 0.95rem;
}

.spin-prizes-secondary-prizes .spin-prizes-prize-value {
    font-size: 1.8rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .spin-prizes-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .spin-prizes-card {
        width: 100%;
        max-width: 500px;
        /* Limit card width on smaller screens */
    }
}

@media (max-width: 600px) {
    .container.spin-prizes-page {
        padding: 1rem;
    }

    .spin-prizes-card {
        padding: 4rem 1.5rem;
    }

    .spin-prizes-title-section h2 {
        font-size: 1.2rem;
    }

    .spin-prizes-decorative-line {
        max-width: 100px;
    }

    .spin-prizes-secondary-prizes {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
}

/* --- Responsive Styles for Mobile --- */
/* Apply these styles for screens smaller than 992px (tablets and phones) */
@media (max-width: 991.98px) {

    /* --- Header Adjustments (This part is unchanged) --- */
    .top-header .container {
        flex-direction: column;
        gap: 15px;
    }

    /* --- Main Navigation Adjustments (NEW) --- */
    /* Allow the main container for the nav bar to wrap its items */
    .main-nav .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px 0;
    }

    /* Position the date/time and language selector block */
    .main-nav .d-flex.ms-auto {
        margin-left: 0 !important;
        width: 100%;
        justify-content: center;
        order: 1;
    }

    .main-nav .nav {
        flex-wrap: wrap;
        justify-content: center;
        order: 2;
        padding-bottom: 0;
        overflow-x: hidden;
    }

    /* --- Carousel & Game Box Adjustments (This part is unchanged) --- */
    .carousel-text-overlay {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        text-align: center;
    }

    .carousel-text-overlay h2 {
        font-size: 1.8rem;
    }

    .carousel-text-overlay p {
        font-size: 1rem;
    }

    .carousel-text-overlay h5 {
        font-size: 1rem;
    }


    /* --- Footer Adjustments (NEW) --- */
    footer {
        padding-top: 30px;
        padding-bottom: 15px;
        font-size: 0.8rem;
    }

    footer h6 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    footer img {
        max-height: 28px !important;
        width: auto !important;
    }

    /* Specific adjustments for oddly shaped icons */
    footer [alt="Fpay"] {
        max-height: 22px !important;
    }

    footer [alt="GCB License"] {
        width: 80px !important;
        height: auto !important;
    }
}

/* Apply these styles for screens smaller than 768px (phones) */
@media (max-width: 767.98px) {

    /* Stack user info and deposit/withdraw buttons */
    .top-header .d-flex.align-items-center.gap-3 {
        flex-direction: column;
    }

    /* Center-align footer content on small screens */
    footer .col-lg-2,
    footer .col-lg-3,
    footer .col-lg-5 {
        text-align: center;
    }

    footer .d-flex {
        justify-content: center;
    }

    .spin-wheel {
        width: 90px;
        left: 10px;
        bottom: 10px;
    }
}

.index-main {
    min-height: 10vh;
}

.notice-icon {
    height: 20px;
}

.recommended-icon {
    height: 30px;
}

.section-icon-sm {
    height: 25px;
}

.game-tabs-divider {
    border-bottom: 1px solid #494949;
    padding-bottom: 10px;
}

.popular-slots-top-gap {
    padding-top: 30px;
}

.slot-item-top-rounded {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.slot-item-bottom-rounded {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.slot-play-icon {
    width: 35px !important;
    height: 35px !important;
}

.slot-divider-bg {
    background-color: #3A4142;
}

.slot-divider-line {
    width: 85%;
    margin: 0 auto;
    border-bottom: 1px solid #757879;
}

.game-pick-image-wide {
    width: 250px !important;
}

.tutorial-section-custom {
    margin: 10px auto 30px;
    background-color: #1E2525;
    border-radius: 20px;
    display: flex;
    padding: 15px;
    width: 100%;
    gap: 15px;
}

.tutorial-left-panel {
    display: flex;
    flex-direction: column;
    width: 40%;
    padding: 15px;
    margin-left: 30px;
}

.tutorial-toggle-wrapper {
    width: 70%;
    display: flex;
    padding: 5px;
    border-radius: 999px;
    background-color: #0D0F0F;
}

.tutorial-toggle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    border: none;
    gap: 13px;
}

.tutorial-toggle-icon {
    width: 25px;
}

.tutorial-content {
    width: 90%;
}

.tutorial-main-icon {
    width: 70px;
    margin: 35px 0;
}

.tutorial-heading {
    font-weight: 700;
    margin-bottom: 25px;
}

.tutorial-description {
    font-size: 17px;
}

.tutorial-video-area {
    width: 60%;
    position: relative;
}

.tutorial-video-image {
    width: 100%;
    display: block;
}

.tutorial-video-overlay {
    position: absolute;
    top: 10px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tutorial-video-logo {
    width: 65px;
}

.tutorial-video-text {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
}

.download-logo-icon {
    height: 35px;
}

.app-title {
    margin-top: 30px;
}

.app-brand-highlight {
    color: var(--text-green);
}

.app-subtitle {
    font-size: 1.3rem;
    color: var(--bg-grey-primary);
}

.download-platform-icon {
    width: 20px;
    height: 20px;
}

.form-group3 input::placeholder {
    color: #B3BEC1;
    /* your color */
    opacity: 1;
    /* make sure it's not faded */
}

.announcement-modal-content {
    width: min(1100px, 95%);
    max-height: 90vh;
    margin: 30px auto;
    overflow-y: auto;
    border-radius: 16px;
    box-sizing: border-box;
    scrollbar-width: none;
}

.login-modal-layout {
    padding: 4rem 2rem 1rem 2rem;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    gap: 1rem;
    margin-bottom: 1rem;
}

.auth-modal-form-section {
    padding: 1.5rem 2rem 1.5rem 2.3rem;
}

.auth-modal-graphic-section {
    background: url('../img/login_register/register_banner.png') no-repeat center center;
    background-size: cover;
    min-width: fit-content;
    padding: 1rem 1rem 2rem 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
    position: relative;
    color: var(--text-light);
    padding-top: 3.2rem;
}

.auth-modal-graphic-section h2 {
    font-weight: 700;
    text-align: left;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.auth-modal-graphic-section span {
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--text-green);
    margin-bottom: 0.5rem;
}

.auth-modal-graphic-section p {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.auth-form2 input::placeholder {
    color: #B3BEC1;
    /* change to your color */
}

.form-group3 input {
    box-shadow: none !important;
    outline: none !important;
    border: none;
    /* optional if you also want no border */
}

.announcement-body {
    display: grid;
    grid-template-columns: 250px 1fr;
    background-color: #1E2525;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: visible !important;
}

.auth-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1001;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 95vh;
    width: 650px;
    overflow-y: hidden;
}

/* Inactive fire icon */
.announcement-sidebar li a span.icon-share-earn,
.announcement-sidebar li a span.icon-join-telegram {
    background-image: url('../img/announcement/trend.png');
    margin-left: 20px;
}

.announcement-sidebar li a p {
    margin-left: 50px;
}

.announcement-sidebar li a.active p {
    transform: translateX(20px);
    font-size: 16px;
}

/* Active fire icon */
.announcement-sidebar li a.active span.icon-share-earn,
.announcement-sidebar li a.active span.icon-join-telegram {
    background-image: url('../img/announcement/icon_trend_selected.png');
    margin-left: -5px;
}

/* Inactive 'NEW' icon */
.announcement-sidebar li a span.icon-new-fire {
    background-image: url('../img/announcement/new.png');
    margin-left: 20px;
}

/* Active 'NEW' icon */
.announcement-sidebar li a.active span.icon-new-fire {
    background-image: url('../img/announcement/icon_new_selected.png');
    margin-left: -5px;
}

#announcementModal {
    max-width: 1000px;
    width: 95%;
}

/* .home-banner-slide {
    height: 395px;
} */

.home-banner-slide img{
    width: 100%;
}

.home-banner .swiper-button-prev:after,
.home-banner .swiper-button-next:after {
    display: none;
}

.home-banner .swiper-button-next {
    right: 150px;
}

.home-banner .swiper-button-prev {
    left: 150px;
}

.home-banner .swiper-pagination-bullet {
  transition: all 0.3s;
  border: 2px solid #fff;
}

.home-banner .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 25px;
  border-radius: 6px;
}

.swiper-pagination-bullet-active {
    background: var(--text-green);
    border-color: var(--text-green) !important;
}

.slots_images {
    position: relative;
    overflow: hidden;
}
.slots_images:hover .game_overlay,
.slots_images:focus .game_overlay {
    opacity: 1;
    pointer-events: auto;
}

.game_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.game_overlay .btn_playnow,
.game_overlay .btn_demo {
    pointer-events: auto;
    min-width: 110px;
    display: block;
    padding: 7px;
    cursor: pointer;
}

.btn_playnow {
    background: var(--text-gold);
    font-weight: 500;
    color: #000;
    border-radius: 7px;
}

.btn_playnow:hover {
    background: var(--text-gold);
    font-weight: 500;
    color: #000 !important;
}

.btn_demo {
    color: #fff;
    font-weight: 500;
}

.game-content .main-nav .nav-type {
    gap: 20px;
}

.game-content .main-nav .nav-type .nav-link img {
    /* filter: brightness(0) saturate(100%) invert(85%) sepia(32%) saturate(1263%) hue-rotate(357deg) brightness(95%) contrast(85%); */
    filter: grayscale(1);
}

.game-content .main-nav .nav-type .nav-link.active img,
.game-content .main-nav .nav-type .nav-link:hover img {
    filter: grayscale(0);
}

.game-content .main-nav .nav-link.active p,
.game-content .main-nav .nav-link:hover p {
    color: #3CCA7F !important;
}


.form-group-input {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.err_msg {
    font-size: 10px;
    color: #3CCA7F;
    padding-left: 5px;
}

.getcode_labal {
    display: flex;
    justify-content: center;
}

.getcode-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    background: #3CCA7F;
    color: #000;
    border-radius: 24px;
}

.getcode-btn:hover {
    color: #000 !important;
}

.optional_ref {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.optional_ref img {
    width: 10px;
}

.optional_ref .rotate_180 {
    transform: rotate(180deg) !important;
}

#referral_div {
    display: none;
}
  

/* center-sidebar */
:root {
    --up-pad-x: 14px;
    --up-font: 13px;
    --up-icon: 18px;
    --gold-thick: 6px;
    --gold-arc-w: 14px;
    --text: #E9ECEC;
    --muted: #C8CDCD;
    --line: rgba(255, 255, 255, .1);
    --text-green: #24EE89;
    --bronze: #c1670d;
}

.card.custom-card .p-3.border-bottom.mx-auto,
.card.custom-card .mx-auto[style*="border-bottom-width"] {
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: var(--up-pad-x) !important;
    padding-right: var(--up-pad-x) !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--line) !important;
}

.card.custom-card .p-3.border-bottom.mx-auto>h5 {
    margin: 0 0 8px 0 !important;
    padding-left: 0 !important;
    color: #98a1a1 !important;
    font-size: calc(var(--up-font) + 1px) !important;
    line-height: 1.3 !important;
}

.acc-menu .acc-link,
#sidebar .acc-menu .acc-link {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px var(--up-pad-x) 12px var(--up-pad-x) !important;
    margin: 0 !important;
    font-size: var(--up-font) !important;
    line-height: 1.35 !important;
    border-radius: 8px !important;
    color: var(--muted) !important;
    text-decoration: none !important;
    transition: color .15s ease, background .15s ease, box-shadow .15s ease;
}

.acc-menu .acc-link img,
#sidebar .acc-menu .acc-link img {
    width: var(--up-icon) !important;
    height: var(--up-icon) !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
}

.acc-menu .acc-link .acc-label,
#sidebar .acc-menu .acc-link .acc-label {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-weight: 700;
}

.acc-menu .acc-link:hover,
#sidebar .acc-menu .acc-link:hover {
    color: var(--text) !important;
    background: rgba(255, 255, 255, .03) !important;
}

.acc-menu .acc-link.is-active,
#sidebar .acc-menu .acc-link.is-active {
    color: #ffffff !important;
    font-weight: 700;
    background: rgba(0, 0, 0, .30) !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    position: relative !important;
}

.acc-menu .acc-link.is-active::before,
#sidebar .acc-menu .acc-link.is-active::before {
    content: none !important;
    display: none !important;
}

/* .about-list {
    margin: 0 !important;
    padding: 0 var(--up-pad-x) !important;
} */

/* .about-link {
    display: block !important;
    padding: 10px var(--up-pad-x) 12px var(--up-pad-x) !important;
    text-decoration: none !important;
    color: var(--text) !important;
    border-radius: 8px !important;
    font-size: var(--up-font) !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: background .15s ease, color .15s ease !important;
} */

.about-link:hover {
    background: rgba(255, 255, 255, .03) !important;
    color: var(--text) !important;
}

/* .about-link.is-active {
    color: var(#24EE89) !important;
    background: rgba(0, 0, 0, .30) !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55) !important;
    border-radius: 8px !important;
    position: relative !important;
    overflow: hidden !important;
} */

.about-link.is-active::before {
    content: none !important;
    display: none !important;
}

.vip-tier.badge-bronze {
    color: var(--bronze) !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    margin-top: 2px !important;
    letter-spacing: .2px;
    font-weight: 600;
}

@media (max-width: 320px) {
    :root {
        --up-font: 12px;
    }
}

.dd-item{
    padding:14px 22px;
    color:#fff;
    cursor:pointer;
    font-size:14px;
    display: block;
}

.dd-item:hover,
.dd-item.active{
    background:#0D0F0F;
    color: var(--text-green);
}

.dd-item:first-child{
    border-top:1px solid #1f2222;
}

.btn-password {
    display: flex;
    align-items: center;
    right: 10px;
    position: absolute;
    bottom: 0;
    top: 0;
    cursor: pointer;
    z-index: 99;
}

.real-time-name {
    font-size: 15px;
    color: #ffffff !important;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.steps-container .step {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.steps-container .step p {
    --step-text-width: 400px;
    max-width: var(--step-text-width);
    margin-top: 8px;
    text-align: center;
    font-size: 10px;
    line-height: 1.35;
    color: #B3BEC1;
}

.claim-desc {
    font-size: 10px;
    color: #B3BEC1;
}

@media (max-width: 992px) {
    .steps-container {
        gap: 16px;
    }

    .steps-container .step p {
        --step-text-width: 230px;
    }
}

@media (max-width: 576px) {
    .steps-container {
        gap: 12px;
    }

    .steps-container .step p {
        --step-text-width: 200px;
        font-size: 13px;
    }
}

.accordion-content {
    color: #3A4142;
    padding: .5rem var(--acc-pr, 32px) .5rem .5rem;
}

/* .text-light,
.text-light :not(.text-gold):not(.btn):not(button):not(a):not(.badge):not(hr):not([role="separator"]):not([class*="divider"]) {
    color: #E9F2F1 !important;
    opacity: 1 !important;
} */

.text-gold {
    color: var(--bd-green) !important;
}

.text-gold,
.text-light .text-gold {
    color: var(--bd-green) !important;
}

.title-sm-strong {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

@media (min-width: 992px) {
    .title-sm-strong {
        font-size: 15px;
    }
}
.social-icons a img {
    width: 34px;
    height: 34px;
}

.vip-rank-label {
    display: none;
}

.inbox-switch {
    display:inline-flex !important;
    flex:0 0 auto !important;
    width:auto !important;
    max-width:none !important;
    padding:0 !important;
    height:50px;
    min-height:50px;
    gap:6px;
    background:#141b1b;
    border-radius:24px;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}

.inbox-switch{
    display:inline-flex;
    align-items:center;
    height:50px;
    padding:4px;
    background:#141b1b;
    border-radius:24px;
    gap:4px;
}

.inbox-switch .withdraw-option{
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 18px;
    height:100%;
    border-radius:20px;
    color:#cfd6d6;
    cursor:pointer;
    transition:all .2s ease;
    margin-right: 5px;
}

.inbox-switch .withdraw-option img{
    width:20px;
    height:20px;
}

.inbox-switch .withdraw-option.active-option,
.inbox-switch .withdraw-option.selected{
    background:#4b5555;
    height:80%;
    color:#fff;
    font-weight:600;
}

/* body[data-pages="member_info"] .text-light, body[data-pages="member_info"] .text-light :not(.text-gold):not(.btn):not(button):not(a):not(.badge):not(hr):not([role="separator"]):not([class*="divider"]) {
    color: #E9F2F1 !important;
    opacity: 1 !important;
} */

body[data-pages="member_info"] .accordion-item ,
body[data-pages="member_info"] .accordion-button{
    background: transparent !important;
    border: none !important;
}

.date-filter-btn-container {
    display: none !important;
}

/* .date-filter-btn-new {
    display: none !important;
} */

.date-refferal-btn {
    max-width: 140px;
    border: 1px solid #fff;
    border-radius: 8px;
    background: transparent;
    border: 1px solid #31d67b;
    border-radius: 6px;
    color: #31d67b;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0px;
    font-size: 5px;
    line-height: 1;
    cursor: pointer;
}

.date-input-text {
    color: #31d67b;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    background: none;
    width: 100%;
}

/* custom date range picker */
/* ════════════════════════════════════════
           CUSTOM CALENDAR POPUP
        ════════════════════════════════════════ */
        .date-filter-btn {
            background: transparent;
            border: 1px solid #31d67b;
            border-radius: 6px;
            color: #31d67b;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 7px 14px;
            font-size: 14px;
            line-height: 1;
            cursor: pointer;
        }
        #calendarPopup {
            display: none;
            position: absolute;
            z-index: 9999;
            right: 0;
            top: calc(100% + 8px);
            width: 360px;
            background: #1a2626;
            border-radius: 18px;
            padding: 20px 20px 18px;
            box-shadow: 0 20px 60px rgba(0,0,0,.55);
            font-family: 'Poppins', sans-serif;
            color: #e4eeeb;
        }

        #calendarPopup.open { display: block; }

        /* Top date pills row */
        .cal-date-pills {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 18px;
        }

        .cal-pill {
            background: #253030;
            border-radius: 10px;
            padding: 8px 20px;
            font-size: 14px;
            font-weight: 500;
            color: #c8d8d3;
            min-width: 110px;
            text-align: center;
            border: 1px solid rgba(255,255,255,.08);
        }

        .cal-pill.active {
            border-color: #35d68a;
            color: #fff;
        }

        .cal-pill-sep {
            color: #6b8480;
            font-size: 13px;
            font-weight: 500;
        }

        /* Month nav row */
        .cal-month-nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 14px;
        }

        .cal-month-label {
            font-size: 16px;
            font-weight: 700;
            color: #f0f8f4;
        }

        .cal-nav-btn {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #2e3e3e;
            border: none;
            color: #9fb8b2;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 13px;
            transition: background .15s, color .15s;
        }

        .cal-nav-btn:hover { background: #3a4e4e; color: #fff; }

        /* Weekday header */
        .cal-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            border-top: 1.5px solid rgba(200,220,213,.25);
            padding-top: 8px;
            margin-top: 8px;
            margin-bottom: 4px;
        }

        .cal-weekday {
            text-align: center;
            font-size: 11px;
            font-weight: 600;
            color: #6e8f88;
            text-transform: uppercase;
            letter-spacing: .04em;
        }

        /* Days grid */
        .cal-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 0;
        }

        /* ── Outer cell: full column width, carries ONLY the range strip ── */
        .cal-day {
            font-size: 13px;
            font-weight: 500;
            color: #ccd8d4;
            cursor: pointer;
            user-select: none;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;   /* default: no strip */
            border-radius: 0;
            transition: color .12s;
            position: relative;
        }

        /* ── Inner bubble: fixed square, all highlight lives here ── */
        .cal-day__num {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;        /* consistent radius always */
            transition: background .12s, color .12s;
            position: relative;
            z-index: 1;
            flex-shrink: 0;
        }

        /* Hover: only inner bubble colours, outer stays clean */
        .cal-day:hover:not(.cal-day--other) .cal-day__num {
            background: rgba(53,214,138,.18);
            color: #fff;
        }
        .cal-day--other         { color: rgba(180,195,190,.35); cursor: default; }
        .cal-day--other:hover .cal-day__num { background: transparent !important; }

        /* ── Shared pseudo strip — exactly bubble height, vertically centred ── */
        .cal-day--in-range::before,
        .cal-day--start::before,
        .cal-day--end::before {
            content: '';
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            height: 30px;          /* matches .cal-day__num height */
            background: #3A4142;
            z-index: 0;
        }

        /* ── In-range: strip full width ── */
        .cal-day--in-range::before          { left: 0; right: 0; }
        .cal-day--in-range                  { background: transparent; }
        .cal-day--in-range .cal-day__num    { background: transparent; color: #b0e8c8; }
        .cal-day--in-range:hover .cal-day__num { background: rgba(53,214,138,.18); color: #fff; }

        /* ── Start: strip right half ── */
        .cal-day--start::before             { left: 50%; right: 0; }
        .cal-day--start                     { background: transparent; }
        .cal-day--start .cal-day__num {
            background: #35d68a;
            color: #051c13;
            font-weight: 700;
            border-radius: 6px;
        }

        /* ── End: strip left half ── */
        .cal-day--end::before               { left: 0; right: 50%; }
        .cal-day--end                       { background: transparent; }
        .cal-day--end .cal-day__num {
            background: #35d68a;
            color: #051c13;
            font-weight: 700;
            border-radius: 6px;
        }

        /* ── Single day (start = end): no strip ── */
        .cal-day--start.cal-day--end::before { display: none; }

        /* ── Start with no end yet: no strip ── */
        .cal-day--start-only::before         { display: none; }
        .cal-day--start-only                 { background: transparent; }
        .cal-day--start-only .cal-day__num {
            background: #35d68a;
            color: #051c13;
            font-weight: 700;
            border-radius: 6px;
        }

        /* Footer buttons */
        .cal-footer {
            display: flex;
            gap: 12px;
            margin-top: 18px;
        }

        .cal-btn {
            flex: 1;
            padding: 11px 0;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            border: none;
            letter-spacing: .04em;
            transition: opacity .15s;
        }

        .cal-btn:hover { opacity: .88; }

        .cal-btn--apply {
            background: #35d68a;
            color: #041910;
            border-radius: 999px;
        }

        .cal-btn--cancel {
            background: transparent;
            color: #3CCA7F;
            border: 1px solid #3CCA7F;
            border-radius: 999px;
        }
        /* ── No Records state ── */
        .no-records {
            display: none;
            width: 100%;
            padding: 18px 24px;
            background: #0d1414;
            border-radius: 999px;
            color: #ffffff;
            font-size: 14px;
            font-weight: 500;
            text-align: center;
        }
        .no-records.visible { display: block; }
/* turnover checking */
.txn-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: start;
}

.txn-grid>label.form-label {
    white-space: nowrap;
}

.txn-grid .txn-fields {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    align-items: center;
    column-gap: 18px;
    row-gap: 12px;
}

.txn-grid .txn-fields .btn-submit {
    grid-column: 1;
    justify-self: start;
}

@media (max-width:767.98px) {
    .txn-grid {
        grid-template-columns: 1fr;
    }

    .txn-grid .txn-fields {
        grid-template-columns: 1fr;
    }

    .txn-grid .txn-fields .btn-submit {
        justify-self: stretch;
    }
}

.input-group.txn-date {
    position: relative;
    cursor: pointer;
}

.input-group.txn-date .form-control {
    background: transparent;
    border: none;
    color: transparent;
    caret-color: transparent;
    box-shadow: none;
}

.input-group.txn-date .dt-display {
    position: absolute;
    left: 44px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    letter-spacing: .2px;
    color: #fff;
    pointer-events: none;
}

.txn-head .flex-fill {
    font-weight: 700;
}

/* ===== calander ===== */
:root {
    --drp-popout-offset-y: 20px;
    --drp-radius: 16px;
}

.daterangepicker.drp-offset {
    margin-top: var(--drp-popout-offset-y) !important;
    margin-left: 0 !important;
}

.daterangepicker {
    --bd-green: #30ED87;
    --range-dark: #0F1A17;
    --dark: #3F4647;
    background: #3F4647 !important;
    color: #E9ECEC !important;
    border-radius: var(--drp-radius) !important;
    padding: 16px 18px 22px !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .5) !important;
    border: none !important;
    font-size: 16px;
    z-index: 99999;
    min-width: 440px !important;
    max-width: 460px !important;
}

.daterangepicker .drp-calendar {
    padding: 0 8px !important;
    background: #3F4647 !important;
}

.daterangepicker .drp-calendar.right {
    display: none !important;
}

.daterangepicker .drp-calendar.left {
    width: 100% !important;
    margin: 0 auto !important;
    position: relative;
}

.daterangepicker .drp-calendar .calendar-table thead th {
    background: #3F4647 !important;
    color: #fff !important;
    border: 0 !important;
}

.daterangepicker .calendar-table thead tr:first-child th {
    border-bottom: 2px solid rgba(255, 255, 255, .14) !important;
}

.daterangepicker .calendar-table thead th.prev,
.daterangepicker .calendar-table thead th.next {
    position: relative;
    width: 40px !important;
    padding: 0 !important;
    overflow: visible;
}

.daterangepicker .calendar-table thead th.prev span,
.daterangepicker .calendar-table thead th.next span {
    display: none !important;
}

.daterangepicker .calendar-table thead th.prev::before,
.daterangepicker .calendar-table thead th.next::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translate(-50%, -40%);
    width: 24px;
    height: 24px;
    background: #5C6062 !important;
    border-radius: 50%;
}

.daterangepicker .calendar-table thead th.prev::after,
.daterangepicker .calendar-table thead th.next::after {
    content: "‹";
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 900;
    color: #EAEAEA;
}

.daterangepicker .calendar-table thead th.next::after {
    content: "›";
}

.daterangepicker .calendar-table thead tr:nth-child(2) th {
    padding: 8px 0 !important;
    letter-spacing: .9px !important;
    text-align: center !important;
    font-weight: 500 !important;
    color: #C9CECC !important;
    background: transparent !important;
    border: 0 !important;
}

.daterangepicker .drp-calendar .calendar-table {
    width: 100% !important;
}

.daterangepicker .drp-calendar .calendar-table table {
    width: 380px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.daterangepicker .calendar-table,
.daterangepicker .calendar-table table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    background: #3F4647 !important;
    border: 0 !important;
    outline: none !important;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
    background: #3F4647 !important;
    color: #fff !important;
    border: 0 !important;
    height: 30px !important;
    line-height: 30px !important;
    font-size: 12px !important;
    text-align: center;
    padding: 0 !important;
    letter-spacing: .35px !important;
    font-variant-numeric: tabular-nums;
    border-radius: 10px !important;
    position: relative;
}

.daterangepicker td.off,
.daterangepicker td.disabled {
    color: rgba(255, 255, 255, .25) !important;
    background: #3F4647 !important;
}

.daterangepicker td.available:hover {
    background: #353A38 !important;
    color: #fff !important;
}

.daterangepicker td.today {
    background: #3F4647 !important;
    font-weight: 700;
    outline: 1px dashed #555;
    outline-offset: -2px;
}

.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker td.start-date,
.daterangepicker td.end-date {
    background: var(--bd-green) !important;
    color: #0F1A17 !important;
    font-weight: 800;
    border-radius: 12px !important;
}

/* 時間列：單行且完整在框內 */
.daterangepicker .calendar-time {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 200px 14px !important;
    background: #3F4647 !important;
    border-top: 1px solid rgba(255, 255, 255, .14);
    flex-wrap: nowrap;
}

.daterangepicker select.hourselect,
.daterangepicker select.minuteselect,
.daterangepicker select.secondselect{
    background: transparent;
    color: #E9ECEC;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 10px;
    padding: 6px 8px;
    font-size: 14px;
    outline: none;
    height: 38px;
    min-width: 62px;
}


.daterangepicker select.ampmselect {
    display: none !important;
}

.daterangepicker select.hourselect option,
.daterangepicker select.minuteselect option,
.daterangepicker select.secondselect option,
.daterangepicker select.ampmselect option {
    background-color: #3F4647;
    color: #E9ECEC;
}

.daterangepicker select.ampmselect {
    min-width: 70px;
}

.daterangepicker select:focus {
    border-color: rgba(255, 255, 255, .45);
}

.daterangepicker .drp-buttons {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding-top: 12px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    border: 0 !important;
}

.daterangepicker .drp-buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 0 !important;
    border-radius: 12px !important;
    font-size: 14px;
    font-weight: 800;
}

.daterangepicker .applyBtn {
    background: #30ED87 !important;
    color: #0F1A17 !important;
    border: none !important;
    box-shadow: 0 6px 14px rgba(48, 237, 135, .28) !important;
}

.daterangepicker .cancelBtn {
    background: transparent !important;
    color: rgba(255, 255, 255, .30) !important;
    border: 1px solid rgba(255, 255, 255, .30) !important;
}

.daterangepicker .applyBtn:not(.disabled):hover {
    filter: brightness(1.06);
}

.daterangepicker .cancelBtn:hover,
.daterangepicker .cancelBtn:focus {
    background: rgba(255, 255, 255, .08) !important;
    border-color: rgba(255, 255, 255, .4) !important;
}

/* 去掉連接殘影 */
.daterangepicker .calendar-table tbody td.start-date::after,
.daterangepicker .calendar-table tbody td.end-date::before {
    display: none !important;
}

.daterangepicker td.in-range,
.daterangepicker td.in-range:hover,
.daterangepicker td.start-date.in-range,
.daterangepicker td.end-date.in-range {
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}

.daterangepicker .calendar-table td {
    box-shadow: none !important;
}

.daterangepicker .calendar-table tbody td::before,
.daterangepicker .calendar-table tbody td::after {
    display: none !important;
}

/* ====== 單一日期頂部顯示 pill ====== */
.drp-topbar-single {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px !important;
    margin-bottom: 10px !important;
    gap: 16px !important;
    padding: 0 4px !important;
}

.drp-topbar-single .drp-pill {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px !important;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 10px;
    background: transparent;
    color: #E9ECEC;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    display: none;
}

input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-clear-button {
    display: none;
}

input[type="datetime-local"] {
    appearance: none;
    -moz-appearance: textfield;
}

.daterangepicker:before,
.daterangepicker:after{
    display: none !important;
}

/* table_betstatements */
.table_betstatements table {
    width: 100%;
    /* text-align: center; */
  }
  
  .table_betstatements table thead {
    background-color: #30ED87;
    border-radius: 17px;
    width: 100%;
    height: 37px;
    clip-path: rect(0px 100% 100% 0px round 20px 20px 20px 20px);
  }
  
  .table_betstatements table thead th {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-align: center;
  }
  
  .table_betstatements table tbody tr td {
    padding: 10px 8px;
  }
  
  .table_betstatements table tbody .selected {
    background: #17303063 !important;
  }

/* index */
.swiper-recommended-game .swiper-wrapper {
    display: grid;
    grid-template-areas:
        "big small1 small2 small3 small4"
        "big small5 small6 small7 small8";
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    grid-template-columns: repeat(6, 2fr);
    grid-template-rows: 1fr 1fr;
    gap: 10px 20px;
  }
  
  #slots-tab .swiper-wrapper {
    grid-template-columns: repeat(20, 2fr);
  }
  
  /* #fishing-tab .swiper-wrapper {
    grid-template-columns: repeat(5, 2fr);
  } */
  
  .swiper-recommended-game .swiper-wrapper .swiper-slide {
    height: auto !important;
  }
  
  .swiper-recommended-game .swiper-slide.big-box {
    width: 290px !important;
  }
  
  .swiper-recommended-game .swiper-wrapper .big-box {
    grid-area: big;
  }
  
  .swiper-recommended-game .swiper-wrapper .big-box img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
  }
  
  .swiper-recommended-game .swiper-wrapper .big-box .big-title {
    width: 100%;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 1px 1px 8px #232727;
  }
  
  .swiper-recommended-game .swiper-slide.small-box {
    width: 113px !important;
  }
  
  .swiper-recommended-game .swiper-wrapper .small-box img {
    object-fit: contain;
    /* margin-bottom: 6px; */
  }
  
  .swiper-recommended-game .swiper-wrapper .small-box span {
    color: #f0f0f0;
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .walllet-width {
    width: 210px;
  }


  .coin-right ,
  .coin_right_3{
    display: none;
  }
