:root {
    --color-blue: #2d5d97;
    --color-yellow: #cfa749;
    --color-background: #272b30;
}

body {
    background: var(--color-background);
    padding-left: 0!important;
    padding-right: 0!important;
}

.bg-blue {  
    background: var(--color-blue);
}

.bg-yellow{
    background: var(--color-yellow);
}

.text-yellow {
    color: var(--color-yellow);
}

.wager-bg {
    background: var(--color-blue);
}

.play-now-btn {
    background: var(--color-yellow);
}

.play-now-btn:hover {
    background: #ffb300; /* Assuming this is a different shade for hover */
}

.form-check-input:checked {
    background-color: var(--color-yellow);
    border-color: var(--color-yellow);
}



body {
    background: #272B30;
}

.bg-blue{
    background: #274B78;
}

.btn.bg-blue:hover{
    background: #1a324f;
}
.btn.bg-blue:disabled{
    background: #587ca8!important;
}

.btn.bg-yellow:hover{
    background: #947835;
}

.box{
    border-radius: 7px; 
}

.text-gray{
    color: #A3A3A4;
}

.text-yellow{
    color: var(--color-yellow);
}

.smaller{
    font-size: 0.7em;
}

.cursor-pointer{
    cursor: pointer;
}
/* 
#main-container{
    margin-top: 30px;
} */

.sidebar {
    width: 400px;
    min-width: 400px;
    padding-bottom: 0 !important;
}

.sidebar > div{
    border: 1px solid #3F495C;
    border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 18px;
    border-bottom: none;
}

.sidebar .nav-link {
    color: #fff;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    padding: 10px 15px;
    position: relative;
}

.sidebar .nav-link img{
    width: 100%;
    max-width: 35px;
    margin-right: 30px;
} 

.sidebar .nav-link i{
    position: absolute;
    right: 14px;
    top: calc(50% - 3px);
    font-weight: 900;
}

.sidebar .account-box {
    background: #3A3F43;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 2rem;
}

.sidebar .account-box .balance-label {
    color: #b0b3b8;
    font-size: 0.85rem;
}

.sidebar .account-box .balance-value {
    color: #ffc107;
    font-size: 1.25rem;
    font-weight: bold;
}

.sidebar .account-box .credits-value {
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
}

.sidebar .logout {
    color: #0d6efd;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 2rem;
}

.header {
    background: #000000;
    border-bottom: 1px solid #23272b;
}

.header .logo-link{
    width: 335px;
}

.header .img-container{
    width: 107px;
}

.header .logo {
    font-weight: 900;
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 2px;
    width: 100%;
}

.header .logo .am {
    background: #fff;
    color: #000;
    border-radius: 0.25rem;
    padding: 0 0.25rem;
    margin-right: 0.25rem;
}

.header .nav-link {
    color: #fff;
    font-weight: 500;
}

.header nav{
    gap: 80px;
}

.header .nav-link.active{
    color: #ffc107;
}

.header .cash,
.header .credits {
    border-radius: 0.5rem;
    padding: 5px 40px 5px 5px;
    font-weight: 700;
    position: relative;
   
}


.header .icon {
    position: absolute;
    width: 22px;
    height: auto;
    right: 4px;
    top: 0px;
    display: flow;
    text-align: right;
}

.header .cash {
    background: #CFA749;
    color: #23272b;
    margin-right: 0.5rem;
}

.header .credits {
    background: #274b78;
    color: #fff;
    margin-right: 0.5rem;
}

.header .profile {
    background: #1a2233;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    padding: 2rem;
    padding-left: 0;
    /* min-height: 100vh; */
    width: calc(100% - 400px);
}

.banner {
    /* border-radius: 1rem; */
    overflow: hidden;
    position: relative;
    cursor: pointer;
}   

.game-tabs .nav-link {
    color: #fff;
    font-weight: 600;
    border: none;
    border-bottom: 4px solid transparent;
}

.game-tabs .nav-link.active {
    border-bottom: 4px solid #ffc107;
    color: #ffc107;
}

.game-card {
    /* background: #000000; */
    border-radius: 0.75rem;
    /* width: 8rem; */
    /* min-width: 8rem; */
    /* max-width: 8rem; */
    flex-shrink: 0;
    text-align: center;
    /* margin-right: 0.5rem; */
    cursor: pointer;
    position: relative;
    will-change: transform, opacity;
    display: flex;
    overflow: hidden;
}

/* Game card animations */
.game-card-enter {
    animation: gameCardEnter 0.3s ease-out;
}

.game-card-exit {
    animation: gameCardExit 0.2s ease-out forwards;
    pointer-events: none;
}

@keyframes gameCardEnter {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes gameCardExit {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.game-card .img {
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    margin: auto;
    color:#fff;
}

.game-card .img img{
    margin: auto;
    width: 100%;
}
  

.slick-track {
    display: flex!important;
    /* left: 33%!important; */
}

#credit-banner .col-6:nth-child(1),
#credit-banner .col-6:nth-child(5) {
    margin-top: 7em;
}

#credit-banner .col-6:nth-child(2),
#credit-banner .col-6:nth-child(4) {
    margin-top: 4em;
}


.credit-banner {
    transition: transform 0.3s ease;
}

.credit-banner:hover {
    transform: scale(1.1);
}

.credit-banner:mouseleave {
    transform: scale(1);
}

/* --- Wager Summary Page Styles --- */
.wager-bg {
    background: #2d5d97;
    border-radius: 2rem;
    margin: 2rem auto;
    padding: 2.5rem 2rem 7rem 2rem;
    min-height: 600px;
    box-shadow: 0 0 0 4px #1a2233;
}
.wager-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin-right: 2rem; */
    width: 20%;
    max-width: 170px;
}

.wager-banner + div{
    width: calc(80% - 1.5rem);
}
.credit-banner-gold {
    background: #ffd700;
    border-radius: 1.5rem;
    padding: 1.5rem 1rem 1rem 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    min-width: 160px;
    position: relative;
}
.credit-banner-gold img {
    width: 70px;
    margin-bottom: 0.5rem;
}
.circle-amount {
    background: linear-gradient(135deg, #ffecb3 60%, #b8860b 100%);
    color: #000;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    position: relative;
    z-index: 2;
}
.credit-banner-gold .fw-bold {
    color: #000;
    font-size: 2rem;
    margin-bottom: 0.25rem;
}
.credit-banner-gold .win-up {
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}
.credit-banner-gold .win-amount {
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: bold;
}

.summary-table {
    background: #23272b;
    border-radius: 1rem;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.summary-table th, .summary-table td {
    vertical-align: middle;
    text-align: center;
    color: white;
}
.summary-table th {
    background: #111317;
    font-weight: 700;
    border-bottom: 2px solid #444;
}
.summary-table td {
    background: #23272b;
    border-bottom: 1px solid #444;
}
.summary-table tr:last-child td {
    border-bottom: none;
}
.summary-table .table-header {
    background: #111317;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}
.summary-table .table-date {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
}
.license-text {
    color: #525252;
    font-size: 0.7rem;
    text-align: justify;
}
.play-now-btn,.back-custom-btn {
    background: #ffd700;
    color: #23272b;
    font-weight: bold;
    font-size: 1.25rem;
    border-radius: 2rem;
    padding: 0.75rem 2.5rem;
    margin-top: 1.5rem;
    border: none;
    transition: ease all 0.3s;
}




.play-now-btn:disabled,.back-custom-btn:disabled {
    background: #b7a649;
    cursor: not-allowed;
}

.play-now-btn:not(:disabled):hover,.back-custom-btn:not(:disabled):hover {
    background: #ffb300;
    color: #23272b;
}

.form-check-input:checked {
    background-color: #274b78;
    border-color: #274b78;
}
#wager-page .wager{
    max-width: 700px;
}

/* Seamless game iframe styles */
#actual-game-page .container {
    padding: 0;
    margin: 0;
    max-width: 100vw;
    background: #000;
}

#actual-game-page > div{
    position: relative;
}

#actual-game-page > div > .btn{
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: 3;
}

#game-iframe {
    width: 100%!important;
    /* height: 85vh!important; */
    border: none;
    background: #1a1a1a;
    display: block;
    box-shadow: none;
    outline: none;
    border-radius: 0;
    /* padding: 50px 10px; */
    z-index: 1;
    background: #000000;
}
@media (max-width: 768px) {
    #game-iframe {
        height: 70vh;
    }
}

/* Slick carousel and banner styles */
.banners-container {
    margin-bottom: 2rem;
    width: 100%;
}
.banners-container .banner {
    position: relative;
    margin: 0 10px;
    /* width: 50% !important; */
    float: none;
}
.banner-img {
    width: auto;
    /* object-fit: cover; */
    border-radius: 1rem;
    width: 100%;
}
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    user-select: none;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.slick-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background 0.2s;
}
.slick-arrow:hover {
    background: #2d5d97;
}
.slick-prev {
    left: 10px;
}
.slick-next {
    right: 10px;
}
.slick-dots {
    position: absolute;
    bottom: -35px;
    right: 0;
    /* transform: translateX(-50%); */
    display: flex !important;
    gap: 8px;
    margin-bottom: 0;
    list-style: none;
}
.slick-dots li button {
    width: 30px;
    height: 10px;
    border-radius: 10px;
    background: #fff;
    border: none;
    opacity: 0.5;
    transition: opacity 0.2s;
    font-size: 0;
}
.slick-dots li.slick-active button {
    opacity: 1;
    background: #2d5d97;
} 
.slick-dots li::marker {
    display: none;
}

.banners-container .slick-track {
    direction: rtl;
  }
  
  .banners-container .slick-slide {
    direction: ltr;
  }

/* Game cards row styling and hide horizontal scrollbar */
.game-cards-row {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    flex-wrap: nowrap;
    gap: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    user-select: none; /* Prevent text selection while dragging */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.game-cards-row::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Game cards grid layout - 8 per row max */
.game-cards-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    width: 100%;
    padding-bottom: 1rem;
}

.vendor-logo-overlay{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 17%;
    background: #0000008f;
    display: flex;
}

.vendor-logo-overlay img{
    width: auto;
    height: auto;
    max-height: 50%;
    /* max-width: 70%; */
    margin: auto;
}

@media (max-width: 1400px) {
    .game-cards-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1200px) {
    .game-cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .game-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .game-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    

    .games-search-wrapper,
    .games-search-input{
        width: 100%!important;
    }
}

@media (max-width: 576px) {
    .game-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Vendor filter styling */
.vendor-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Games search bar */
.games-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.games-search-icon {
    position: absolute;
    left: 10px;
    color: #6c757d;
    pointer-events: none;
}

.games-search-input {
    color: #fff;
    border: 1px solid #5b5b5b;
    padding: 10px 10px 10px 40px;
    border-radius: 23px;
    width: 350px;
    background: #1c1c1c;
    line-height: 1.8;
}

.games-search-input:focus {
    outline: none;
    border-color: #6c757d;
}

.games-search-input::placeholder {
    color: #6c757d;
}

.vendor-dropdown {
    position: relative;
    display: inline-block;
}

.vendor-dropdown-btn {
    background-color: #212529;
    color: #fff;
    border: 1px solid #495057;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
    justify-content: space-between;
    padding: 10px 25px;
    border: 1px solid #5b5b5b;
    min-width: 215px;
    background: #1c1c1c;
    border-radius: 26px;
    line-height: 1.8;
}

.games-container-label{
    padding: 10px 25px;
    background: #274b78;
    border-radius: 36px;
    color: #ffbf29;
    text-decoration: none;
    margin-right: 15px;
    width: 130px;
    text-align: center;
    line-height: 1.8;
    font-weight: 700;
}

.vendor-dropdown-btn:hover {
    border-color: #6c757d;
}

.vendor-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #ffffff;
    border: 1px solid #495057;
    border-radius: 0.25rem;
    min-width: 200px;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 2px;
}

.vendor-dropdown-menu.show {
    display: block;
}

.vendor-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: #000;
    gap: 0.5rem;
}

.vendor-dropdown-item input[type="checkbox"],
.vendor-dropdown-item input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #0d6efd;
}

.vendor-dropdown-item label {
    cursor: pointer;
    margin: 0;
    flex: 1;
}

.vendor-count-badge {
    background-color: #495057;
    color: #fff;
    padding: 0.125rem 0.5rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: auto;
}

/* Game pass identifiers */
.game-pass-identifier {
    position: absolute;
    z-index: 10;
    cursor: help;
    background: rgba(0, 0, 0, 0.7);
    color: #27ff58;
    padding: 4px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.amwest-pass-identifier {
    top: 8px;
    right: 8px;
    padding: 0;
}

.amwest-pass-identifier i {
    font-size: 24px;
    color: #00ff00;
}

.orc-pass-identifier {
    top: 8px;
    right: 8px;
}

.game-card:has(.amwest-pass-identifier) .orc-pass-identifier {
    right: auto;
    left: 8px;
}

.game-pass-text {
    font-size: 14px;
    font-weight: bold;
}

.game-pass-tooltip {
    visibility: hidden;
    opacity: 0;
    background-color: #2F4050;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 6px 10px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}

.game-pass-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2F4050 transparent transparent transparent;
}

.game-pass-identifier:hover .game-pass-tooltip {
    visibility: visible;
    opacity: 1;
}

/* DataTables styling for dark theme */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    color: #fff;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    background-color: #212529;
    color: #fff;
    border: 1px solid #495057;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #fff !important;
    background: transparent !important;
    border: 1px solid #495057 !important;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #495057 !important;
    color: #fff !important;
    border-color: #495057 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #0d6efd !important;
    color: #fff !important;
    border-color: #0d6efd !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#splash-screen {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #181818;
  display: flex;
  align-items: center;
  justify-content: center;
}
#splash-screen img {
    width: auto;
    height: 50vh;
    max-height: 350px;
}

.wager-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
}
.reshuffle-btn {
  background: #274B78;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
  outline: none;
}
.reshuffle-btn:focus,
.reshuffle-btn:hover {
  background: #1a3556;
}
.reshuffle-btn i {
  color: #ffd700;
  font-size: 2rem;
}

#game-loading-screen{
    position: absolute;
    width: 100%;
    height: 90vh;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 2;
    padding: 50px 10px;
}

#game-start-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000091;
    align-items: center;
    display: flex;  
    justify-content: center;
}

#game-start-overlay img{
    max-width: min(85vh, 550px);
    margin: auto;   
    cursor: pointer;
}

#game-loading-screen img{
    margin: auto;
    max-width: 300px;
    width: 100%;
    margin-bottom: 90px;
    transform-origin: center center;
    /* animation: logoPulse 1.6s ease-in-out infinite; */
}

/* Loading bar */
#game-loading-screen .loading-bar{
    width: min(90%, 420px);
    height: 23px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: none;
}

#game-loading-screen .loading-bar .fill{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 0%;
    background: #EDAE23;
    border-radius: inherit;
    transition: width 0.2s ease;
}

.previousPageBtn{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    float: left;
}

#actual-game-page .previousPageBtn{
    font-size: 0.8em;
}



.previousPageBtn img{
    width: 25px;
    margin-right: 7px;
}

#actual-game-page .previousPageBtn img{
    width: 19px;
}


header nav{
    gap: 35px;
}

/* Plays Table Alignment */
#plays-table th:nth-child(3),
#plays-table td:nth-child(3) {
    text-align: center !important; /* isJackpot */
}

#plays-table th:nth-child(4),
#plays-table td:nth-child(4) {
    text-align: center !important; /* Jackpot Name */
}

#plays-table th:nth-child(n+5),
#plays-table td:nth-child(n+5) {
    text-align: right !important; /* All money columns */
}

#plays-table,
#credit-pack-transactions-table{
    font-size: 0.8em;
    margin-top: 1rem; /* Add space between "Show entries" dropdown and table */
}

/* DataTables sort icons - shared by plays table and credit pack transactions table (black, visible) */
.data-table-sort-icons thead th.sorting,
.data-table-sort-icons thead th.sorting_asc,
.data-table-sort-icons thead th.sorting_desc {
    padding-right: 1.75rem;
    cursor: pointer;
    position: relative;
}
.data-table-sort-icons thead th.sorting::after,
.data-table-sort-icons thead th.sorting_asc::after,
.data-table-sort-icons thead th.sorting_desc::after {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome";
    font-weight: 900;
    font-style: normal;
    color: #000;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    visibility: visible;
    font-size: 0.75em;
}
.data-table-sort-icons thead th.sorting::after {
    content: "\f0dc"; /* fa-sort */
}
.data-table-sort-icons thead th.sorting_asc::after {
    content: "\f0de"; /* fa-sort-up */
}
.data-table-sort-icons thead th.sorting_desc::after {
    content: "\f0dd"; /* fa-sort-down */
}

/* Center DataTables empty messages */
.dataTables_wrapper .dataTables_empty {
    text-align: center !important;
}

/* Style datetime-local calendar icon to white */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-clear-button {
    filter: invert(1);
}

table#plays-table th, #plays-table td,
table#credit-pack-transactions-table th, #credit-pack-transactions-table td {
    white-space: nowrap;
}

/* Logo pulse animation */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    #game-loading-screen .loading-bar .fill { transition: none; width: 60%; }
    #game-loading-screen img { animation: none; }
}


/* Mobile Menu Styles */
.hamburger-menu-btn {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hamburger-menu-btn:hover {
    opacity: 0.8;
}

.mobile-menu {
    position: fixed;
    top: 64px;
    left: -100%;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 64px);
    background: var(--color-background);
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: rgba(45, 93, 151, 0.3);
    color: var(--color-yellow);
}

.mobile-nav-link img {
    width: 20px;
    height: 20px;
}

.mobile-nav-link span {
    font-size: 1rem;
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}
 


/* Sidebar Mobile Styles */
.sidebar-hamburger-btn {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.sidebar-hamburger-btn:hover {
    opacity: 0.8;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
}

.sidebar-overlay.active {
    display: block;
}

.header .cash .loading-icon, .header .credits .loading-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

#main-container.game-page-active .main-content {
    padding: 0!important;
}

#main-container.game-page-active .sidebar{
    display: none!important;
}

@media screen and (max-width:1300px){
    .main-content{
        padding: 1rem 1rem 2rem 0px!important;
    }

    .header .logo-link{
        width: auto;
    }
    .sidebar{
        width: 300px!important;
        min-width: 300px!important;
        padding-left: 14px !important;
        padding-right: 15px !important;
    }

    .sidebar > div{
        padding-left: 0;
        padding-top: 0;
        border-top: none;
        border-left: none;
        border-radius: 0;
    }
    

    #credit-banner > div{
        width: 20%;
    }

    .header nav {
        gap: 15px;
    }
}


@media (max-width: 1024px) {
    .mobile-menu-overlay.active {
        display: block;
    }

    .sidebar .account-box .balance-value,
    .sidebar .account-box .credits-value{
        font-size: 1em;
    }

    .header .cash, .header .credits{
        font-size: 0.9em;
    }

    .header .cash .cash-label, .header .credit .credit-label{
        font-size: 0.8em;
    }
}


@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        top: 64px;
        right: -100%;
        width: 100% !important;
        max-width: 330px;
        height: calc(100vh - 64px);
        z-index: 998;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        background: var(--color-background);
        display: block!important;
    }

    #main-container.game-page-active .sidebar{
        display: flex!important;
    }

    .sidebar.active {
        right: 0;
    }

    .main-content {
        width: 100% !important;
        padding: 15px !important;
        padding-top: 0 !important;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .sidebar > div{
        padding-right: 0;
        border-right: none;
    }

    #wager-page > div{
        padding-left: 15px;
        padding-right: 15px;
    }
    #wager-page > div .container{
        max-width: 100%;
        padding: 0;
    }
    .container{
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    
    .footer-bar{
        padding: 5px 15px;
        
    }
    .footer-text{
        line-height: 1.2;
    }
}


@media screen and (max-width:768px){
    #wager-page > div .container .wager-banner{
        display: none;
    }

    #wager-page > div .container .wager-banner + div{
        width: 100%;
    }

    #wager-page .summary-table{
        overflow-x: auto;
    }

    #wager-page .summary-table table{
        min-width: 560px;
    }
    #credit-banner .col-6{
        margin-top: 0 !important;
        min-width: 33%;
    }

    .banners-container .banner{
        margin: 0;
    }
    
    .vendor-filter{
        font-size: 0.8em;
    }
}

/* Footer */
.footer-bar {
    background-color: #1c1c1c;
    border-top: 1px solid #5b5b5b;
    padding: 10px 15px;
    margin-top: auto;
}

.footer-bar .container {
    max-width: 100%;
    padding: 0 1rem;
}

.footer-text {
    color: #fff;
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

footer small{
    font-size: 0.8em;
}

@media screen and (max-width:540px){

    #plays-table_wrapper > .row:last-child > div:last-child,
    #credit-pack-transactions-table_wrapper > .row:last-child > div:last-child{
        margin-top: 28px;
        font-size: 0.7em;
    }

    .footer-text {
        font-size: 0.75rem;
        padding: 0 0.5rem;
    }


    .header{

        padding: 10px 10px !important;

        .cash,.credits{
            font-size: 0.7em;
            margin: 0;
        }

        div{ gap: 0.5em !important; }
        .img-container{ width: 75px; }

        .hamburger-menu-btn{
            font-size: 20px;
        }

        .profile{
            width: 29px !important;
            height: 30px !important;
        }

        .cash .icon{
            width: 14px;
        }
    }

    .vendor-dropdown,.vendor-dropdown-btn{
        width: 100%;
    }
    footer small{
        font-size: 0.7em;
    }
}


@media screen and (max-width:400px){
    .header .cash, .header .credits{
        padding: 5px 20px 5px 5px;
    }
    .header{
        .cash,.credits{
            padding: 5px 20px 5px 5px;
            font-size: 0.6em;
        }
    }
}