@import url("../../assets/css/game-list-fixed-template.css");

/* Keep newly added toolbar controls in this versioned template stylesheet. */
.bmg-game-list,
.bmg-game-list .bmg-list-shell,
.bmg-game-list .bmg-list-hero {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.bmg-game-list {
    overflow-x: clip !important;
}

.bmg-game-list .bmg-list-toolbar {
    width: calc(100% - 48px) !important;
    max-width: calc(100% - 48px) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: minmax(180px, 1fr) auto auto !important;
    grid-template-areas:
        "search advanced actions"
        "filters filters filters" !important;
}

.bmg-game-list .bmg-search-box,
.bmg-game-list .bmg-toolbar-actions,
.bmg-game-list .bmg-sort-wrap,
.bmg-game-list .sort-select-wrapper {
    min-width: 0 !important;
}

.bmg-game-list .bmg-search-box {
    width: 100% !important;
    max-width: none !important;
}

.bmg-game-list .bmg-toolbar-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
}

.bmg-game-list .bmg-per-page-wrap,
.bmg-game-list .bmg-sort-wrap {
    flex: 0 1 auto !important;
    min-width: 0 !important;
}

.bmg-game-list .bmg-per-page-wrap {
    min-width: 150px !important;
}

.bmg-game-list .bmg-per-page-select {
    width: 118px !important;
    min-width: 118px !important;
}

.bmg-game-list .sort-select-button {
    min-width: 128px !important;
}

.bmg-game-list .bmg-advanced-filters-btn {
    grid-area: advanced !important;
    min-height: 46px !important;
    height: 46px !important;
    border: 1px solid var(--bmg-border) !important;
    border-radius: 10px !important;
    background: rgba(6, 14, 25, 0.96) !important;
    color: var(--bmg-text) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    position: relative !important;
    overflow: visible !important;
    transition: border-color .18s ease, box-shadow .18s ease, color .18s ease !important;
}

.bmg-game-list .bmg-advanced-filters-tooltip {
    position: absolute !important;
    left: 0 !important;
    top: calc(100% + 10px) !important;
    min-width: 250px !important;
    max-width: min(420px, 85vw) !important;
    padding: 10px 11px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 196, 0, 0.34) !important;
    background: linear-gradient(180deg, rgba(8, 18, 30, 0.98), rgba(4, 10, 18, 0.98)) !important;
    color: #f7f3dc !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255,196,0,0.08) !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    white-space: normal !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-4px) !important;
    transition: opacity .16s ease, visibility 0s linear .16s, transform .16s ease !important;
    pointer-events: none !important;
    z-index: 90 !important;
}

.bmg-game-list .bmg-advanced-filters-tooltip::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: -6px !important;
    width: 10px !important;
    height: 10px !important;
    transform: rotate(45deg) !important;
    background: rgba(8, 18, 30, 0.98) !important;
    border-left: 1px solid rgba(255, 196, 0, 0.34) !important;
    border-top: 1px solid rgba(255, 196, 0, 0.34) !important;
}

.bmg-game-list .bmg-advanced-filters-tooltip-icon {
    width: 16px !important;
    height: 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 196, 0, 0.56) !important;
    color: #ffc400 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 14px !important;
    text-align: center !important;
    flex: 0 0 16px !important;
    margin-top: 1px !important;
}

.bmg-game-list .bmg-advanced-filters-tooltip-text {
    color: inherit !important;
}

.bmg-game-list .bmg-advanced-filters-btn:hover .bmg-advanced-filters-tooltip,
.bmg-game-list .bmg-advanced-filters-btn:focus-visible .bmg-advanced-filters-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition-delay: 0s !important;
}

.bmg-game-list .bmg-advanced-filters-btn:hover,
.bmg-game-list .bmg-advanced-filters-btn:focus,
.bmg-game-list .bmg-advanced-filters-btn.active {
    border-color: var(--bmg-gold) !important;
    color: var(--bmg-gold) !important;
    box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.12), inset 0 1px 0 rgba(255,255,255,.05) !important;
    outline: none !important;
}

.bmg-game-list .bmg-advanced-filters-icon {
    color: var(--bmg-gold) !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

.bmg-game-list .bmg-game-card-body {
    padding: 12px 12px 11px !important;
}

.bmg-game-list .bmg-game-card-title {
    font-size: 14px !important;
    line-height: 1.18 !important;
    /* min-height: 3.54em !important; */
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

.bmg-game-list .bmg-per-page-select-wrapper {
    position: relative !important;
    min-width: 118px !important;
}

.bmg-game-list .bmg-per-page-select {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
}

.bmg-game-list .bmg-per-page-select-wrapper.active {
    z-index: 35 !important;
}

.bmg-game-list .bmg-per-page-select-wrapper.active .sort-select-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    transition-delay: 0s !important;
}

.bmg-game-list .bmg-per-page-button {
    min-width: 118px !important;
}

.bmg-game-list .bmg-filters-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 100000 !important;
    width: min(430px, calc(85vw - 28px)) !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-104%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform .28s ease, opacity .22s ease, visibility 0s linear .28s !important;
}

.bmg-game-list .bmg-filters-container.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition-delay: 0s !important;
}

.bmg-game-list .bmg-filters-container:has(.multiselect-dropdown.active) {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 196, 0, 0.55) rgba(255, 255, 255, 0.06) !important;
}

.bmg-game-list .bmg-filters-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    padding: 0 !important;
    border-right: 1px solid var(--bmg-border) !important;
    background: linear-gradient(180deg, rgba(7, 16, 29, .98), rgba(4, 10, 18, .98)) !important;
    box-shadow: 24px 0 55px rgba(0, 0, 0, .48) !important;
}

.bmg-game-list .bmg-filters-panel-head {
    min-height: 74px !important;
    padding: 18px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    border-bottom: 1px solid rgba(255, 196, 0, .16) !important;
    background: rgba(255, 255, 255, .035) !important;
}

.bmg-game-list .bmg-filters-panel-head > div {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: var(--bmg-text) !important;
    font-size: 22px !important;
    font-weight: 900 !important;
}

.bmg-game-list .bmg-filters-panel-icon {
    color: var(--bmg-gold) !important;
    font-size: 22px !important;
}

.bmg-game-list .bmg-filter-close-btn {
    width: 40px !important;
    height: 40px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--bmg-muted) !important;
    font-size: 34px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.bmg-game-list .bmg-filters-panel-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    padding: 10px 0 !important;
}

.bmg-game-list .bmg-filters-panel-body .bmg-filter-group {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-dropdown {
    position: relative !important;
    width: 100% !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-trigger {
    min-height: 70px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 13px 20px !important;
    justify-content: flex-start !important;
    gap: 14px !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-trigger::before {
    width: 34px !important;
    flex: 0 0 34px !important;
    text-align: center !important;
    font-size: 22px !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-text {
    flex: 1 1 auto !important;
    color: var(--bmg-text) !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-arrow {
    margin-left: auto !important;
    transition: transform .18s ease !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-dropdown.active .multiselect-arrow {
    transform: rotate(180deg) !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-options {
    position: static !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, .16) !important;
    box-shadow: none !important;
    transition: max-height .25s ease, opacity .18s ease, visibility 0s linear .25s !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-dropdown.active .multiselect-options {
    max-height: 320px !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition-delay: 0s !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-option {
    padding: 10px 22px 10px 68px !important;
}

.bmg-game-list .bmg-filters-panel-body .bmg-range-options {
    padding: 0 18px 16px 68px !important;
}

.bmg-game-list .bmg-filter-actions {
    display: block !important;
    padding: 16px 20px !important;
    border-top: 1px solid rgba(255, 196, 0, .16) !important;
}

@media (max-width: 1180px) {
    .bmg-game-list .bmg-toolbar-actions {
        justify-content: flex-end !important;
    }

    .bmg-game-list .bmg-per-page-wrap,
    .bmg-game-list .bmg-sort-wrap {
        flex: 0 1 auto !important;
    }
}

@media (max-width: 760px) {
    .bmg-game-list .bmg-list-toolbar {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "search"
            "advanced"
            "actions"
            "filters" !important;
    }

    .bmg-game-list .bmg-advanced-filters-btn {
        width: 100% !important;
    }
}

/* Refined advanced-filter drawer */
.bmg-game-list.bmg-filters-open .bmg-list-hero,
.bmg-game-list.bmg-filters-open .bmg-search-box,
.bmg-game-list.bmg-filters-open .bmg-advanced-filters-btn,
.bmg-game-list.bmg-filters-open .bmg-toolbar-actions,
.bmg-game-list.bmg-filters-open .bmg-games-section-head,
.bmg-game-list.bmg-filters-open .bmg-games-grid,
.bmg-game-list.bmg-filters-open .bmg-pagination-wrap,
.bmg-game-list.bmg-filters-open .bmg-demo-note {
    filter: blur(3px) saturate(.88) !important;
    opacity: .72 !important;
    transition: filter .22s ease, opacity .22s ease !important;
}

.bmg-game-list .bmg-filters-container {
    top: 18px !important;
    left: 18px !important;
    width: min(430px, calc(85vw - 36px)) !important;
    height: calc(100vh - 36px) !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    border: 1px solid var(--bmg-border) !important;
    background: rgba(4, 10, 18, .98) !important;
    box-shadow: 24px 24px 70px rgba(0,0,0,.58), 0 0 0 1px rgba(255,196,0,.08) !important;
}

.bmg-game-list .bmg-filters-content {
    border-right: 0 !important;
    border-radius: 22px !important;
    background:
        radial-gradient(420px 180px at 18% 0%, rgba(255,196,0,.08), transparent 65%),
        linear-gradient(180deg, rgba(7, 16, 29, .98), rgba(4, 10, 18, .98)) !important;
}

.bmg-game-list .bmg-filters-panel-head {
    border-radius: 22px 22px 0 0 !important;
    border-bottom-color: rgba(255, 196, 0, .22) !important;
}

.bmg-game-list .bmg-filters-panel-body {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255,196,0,.55) rgba(255,255,255,.08) !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-trigger {
    min-height: 62px !important;
    padding: 13px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,.055) !important;
    gap: 10px !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-trigger::before {
    display: none !important;
    content: none !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-text {
    font-size: 15px !important;
    font-weight: 900 !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-options {
    width: 100% !important;
    max-height: 0 !important;
    overflow: hidden !important;
    background: rgba(255,255,255,.035) !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-dropdown.active .multiselect-options {
    max-height: none !important;
    overflow: visible !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-option {
    padding: 11px 22px 11px 34px !important;
    border-bottom-color: rgba(255,255,255,.06) !important;
    background: transparent !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-option:hover {
    background: rgba(255,196,0,.10) !important;
}

.bmg-game-list .bmg-filters-panel-body .bmg-range-options {
    padding: 14px 22px 18px 22px !important;
}

.bmg-game-list .bmg-filter-actions {
    flex: 0 0 auto !important;
    background: rgba(4,10,18,.98) !important;
}

/* Final drawer expansion fixes */
.bmg-game-list .bmg-filters-panel-body .bmg-filter-group {
    display: block !important;
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    grid-column: auto !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-dropdown {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-trigger {
    width: 100% !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-options {
    left: auto !important;
    right: auto !important;
    top: auto !important;
    padding: 0 !important;
}

.bmg-game-list .bmg-filters-panel-body .bmg-range-options {
    padding: 0 !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-dropdown.active .bmg-range-options {
    padding: 14px 22px 18px 22px !important;
}

.bmg-game-list .bmg-filters-panel-body .rtp-range-filter {
    width: 100% !important;
    max-width: none !important;
    min-height: 78px !important;
    height: auto !important;
    padding: 12px 12px 10px !important;
}

.bmg-game-list .bmg-filters-panel-body .rtp-dual-slider,
.bmg-game-list .bmg-filters-panel-body .rtp-dual-slider-track {
    width: 100% !important;
}

.bmg-game-list .bmg-filters-panel-body .rtp-dual-slider-track {
    height: 30px !important;
    margin: 0 8px !important;
}

.bmg-game-list .bmg-filters-panel-body .rtp-dual-slider-values {
    display: flex !important;
    justify-content: space-between !important;
    padding: 0 4px !important;
    margin: 2px 2px 0 !important;
    color: #ffd630 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

/* Final polish: drawer starts at shortcode top and filter rows match Jackpot */
.bmg-game-list .bmg-list-toolbar {
    border: 0 !important;
    box-shadow: none !important;
}

.bmg-game-list .bmg-filters-container {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    height: calc(100% - 36px) !important;
    max-height: calc(100vh - 36px) !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-dropdown {
    display: block !important;
    width: 100% !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-options {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-dropdown.active .multiselect-options {
    max-height: none !important;
    overflow: visible !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-option {
    width: 100% !important;
    min-height: 44px !important;
    padding: 11px 22px 11px 34px !important;
    display: flex !important;
    justify-content: flex-start !important;
    background: rgba(255,255,255,.025) !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-option:hover {
    background: rgba(255,196,0,.10) !important;
}

@media (max-width: 760px) {
    .bmg-game-list .bmg-game-card-actions {
        display: none !important;
    }

    .bmg-game-list .bmg-list-title-line-gold {
        margin-right: .18em !important;
    }
}

.bmg-game-list.bmg-template-neon-jackpot {
    --bmg-bg: #030341;
    --bmg-panel: rgba(3, 3, 65, 0.94);
    --bmg-panel-2: rgba(20, 5, 88, 0.96);
    --bmg-border: rgba(187, 1, 234, 0.62);
    --bmg-border-soft: rgba(247, 141, 167, 0.28);
    --bmg-gold: #e8ce06;
    --bmg-gold-2: #f78da7;
    --bmg-text: #fff8ff;
    --bmg-muted: #f3bfd5;
    background-color: #030341 !important;
    background-image:
        radial-gradient(820px 360px at 80% 0%, rgba(187, 1, 234, 0.22), transparent 64%),
        linear-gradient(180deg, rgba(3, 3, 65, 0.84), rgba(3, 3, 65, 0.92)),
        url("./background.svg") !important;
    background-repeat: no-repeat, repeat, repeat !important;
    background-size: auto, auto, 360px auto !important;
    background-position: top right, top left, top left !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-list-shell {
    background:
        radial-gradient(920px 320px at 85% -8%, rgba(187, 1, 234, 0.34), transparent 62%),
        radial-gradient(620px 260px at 8% 10%, rgba(247, 141, 167, 0.22), transparent 58%),
        linear-gradient(145deg, rgba(3, 3, 65, 0.9) 0%, rgba(20, 5, 88, 0.88) 52%, rgba(3, 3, 65, 0.92) 100%),
        url("./background.svg") !important;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat !important;
    background-size: auto, auto, auto, 360px auto !important;
    background-position: top right, top left, center, top left !important;
    border-color: rgba(247, 141, 167, 0.38) !important;
    box-shadow: 0 24px 82px rgba(3, 3, 65, 0.58), 0 0 44px rgba(187, 1, 234, 0.2) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-list-hero {
    background:
        linear-gradient(120deg, rgba(187, 1, 234, 0.26), rgba(3, 3, 65, 0.88)),
        radial-gradient(circle at 78% 30%, rgba(232, 206, 6, 0.22), transparent 34%),
        url("./background.svg") !important;
    background-repeat: no-repeat, no-repeat, repeat !important;
    background-size: auto, auto, 320px auto !important;
    background-position: center, center, center !important;
    border-color: rgba(247, 141, 167, 0.36) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-list-title-line-gold,
.bmg-game-list.bmg-template-neon-jackpot .bmg-games-section-title,
.bmg-game-list.bmg-template-neon-jackpot .bmg-search-icon,
.bmg-game-list.bmg-template-neon-jackpot .multiselect-arrow,
.bmg-game-list.bmg-template-neon-jackpot .sort-select-button::after {
    color: #e8ce06 !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-list-title-line-gold {
    background: none !important;
    color: #f78da7 !important;
    -webkit-text-fill-color: #f78da7 !important;
    text-shadow: 0 0 28px rgba(247, 141, 167, 0.34) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-list-title-line-light {
    color: #fff8ff !important;
    text-shadow: 0 0 28px rgba(187, 1, 234, 0.22) !important;
}

.bmg-game-list.bmg-template-neon-jackpot::before {
    background:
        radial-gradient(900px 380px at 82% 0%, rgba(187, 1, 234, 0.16), transparent 60%),
        radial-gradient(760px 360px at 12% 4%, rgba(247, 141, 167, 0.12), transparent 62%) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-list-toolbar,
.bmg-game-list.bmg-template-neon-jackpot .bmg-search-box,
.bmg-game-list.bmg-template-neon-jackpot .multiselect-trigger,
.bmg-game-list.bmg-template-neon-jackpot .sort-select-button,
.bmg-game-list.bmg-template-neon-jackpot .bmg-per-page-select,
.bmg-game-list.bmg-template-neon-jackpot .bmg-reset-filters-btn {
    background: rgba(3, 3, 65, 0.84) !important;
    border-color: rgba(247, 141, 167, 0.38) !important;
    box-shadow: inset 0 1px 0 rgba(247, 141, 167, 0.14) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-search-box:focus-within,
.bmg-game-list.bmg-template-neon-jackpot .multiselect-trigger:focus,
.bmg-game-list.bmg-template-neon-jackpot .sort-select-button:focus {
    border-color: #e8ce06 !important;
    box-shadow: 0 0 0 3px rgba(232, 206, 6, 0.18), 0 0 26px rgba(187, 1, 234, 0.28) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .multiselect-options,
.bmg-game-list.bmg-template-neon-jackpot .sort-select-dropdown {
    background: #030341 !important;
    border-color: rgba(187, 1, 234, 0.68) !important;
    box-shadow: 0 18px 44px rgba(3, 3, 65, 0.64), 0 0 26px rgba(187, 1, 234, 0.28) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .multiselect-option:hover,
.bmg-game-list.bmg-template-neon-jackpot .sort-select-option:hover,
.bmg-game-list.bmg-template-neon-jackpot .sort-select-option.selected {
    background: rgba(187, 1, 234, 0.22) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-card {
    background:
        linear-gradient(180deg, rgba(247, 141, 167, 0.1), transparent 45%),
        rgba(3, 3, 65, 0.9) !important;
    border-color: rgba(187, 1, 234, 0.48) !important;
    box-shadow: 0 14px 34px rgba(3, 3, 65, 0.48) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-card:hover {
    border-color: #e8ce06 !important;
    box-shadow: 0 20px 44px rgba(3, 3, 65, 0.56), 0 0 28px rgba(187, 1, 234, 0.34) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-card-media::after {
    background: linear-gradient(180deg, transparent, rgba(187, 1, 234, 0.28));
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-card-cta,
.bmg-game-list.bmg-template-neon-jackpot .bmg-game-card-fav,
.bmg-game-list.bmg-template-neon-jackpot .pagination .page-numbers,
.bmg-game-list.bmg-template-neon-jackpot .bmg-demo-note {
    border-color: rgba(247, 141, 167, 0.38) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-card:hover .bmg-game-card-cta,
.bmg-game-list.bmg-template-neon-jackpot .pagination .page-numbers.current,
.bmg-game-list.bmg-template-neon-jackpot .pagination .page-numbers:hover {
    background: linear-gradient(135deg, #bb01ea, #e8ce06) !important;
    color: #030341 !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-demo-note {
    background:
        radial-gradient(circle at 100% 0%, rgba(232, 206, 6, 0.2), transparent 26%),
        rgba(3, 3, 65, 0.86) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-demo-note a,
.bmg-game-list.bmg-template-neon-jackpot .bmg-demo-note-icon,
.bmg-game-list.bmg-template-neon-jackpot .bmg-demo-note-777 {
    color: #f78da7 !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-list-badge {
    background: rgba(3, 3, 65, 0.78) !important;
    border-color: rgba(247, 141, 167, 0.34) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-list-badge-icon,
.bmg-game-list.bmg-template-neon-jackpot .bmg-icon-gamepad,
.bmg-game-list.bmg-template-neon-jackpot .bmg-icon-lightning,
.bmg-game-list.bmg-template-neon-jackpot .bmg-icon-crown,
.bmg-game-list.bmg-template-neon-jackpot .bmg-list-badge strong {
    color: #e8ce06 !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-list-badge small,
.bmg-game-list.bmg-template-neon-jackpot .bmg-list-hero-subtitle,
.bmg-game-list.bmg-template-neon-jackpot .bmg-game-card-provider,
.bmg-game-list.bmg-template-neon-jackpot .games-count {
    color: #f3bfd5 !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-games-section-title span {
    filter: drop-shadow(0 0 8px rgba(232, 206, 6, 0.55)) !important;
}

@media (max-width: 760px) {
    .bmg-game-list.bmg-template-neon-jackpot,
    .bmg-game-list.bmg-template-neon-jackpot .bmg-list-hero {
        background-size: auto, auto, 280px auto !important;
    }

    .bmg-game-list.bmg-template-neon-jackpot .bmg-list-shell {
        background-size: auto, auto, auto, 280px auto !important;
    }
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-list-toolbar {
    border: 0 !important;
    box-shadow: none !important;
}

/* Final cascade guard for toolbar and drawer accordion layout */
.bmg-game-list.bmg-template-neon-jackpot .bmg-list-toolbar,
.bmg-game-list .bmg-list-toolbar {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.bmg-game-list .bmg-filters-panel-body .bmg-filter-group,
.bmg-game-list .bmg-filters-panel-body .multiselect-dropdown,
.bmg-game-list .bmg-filters-panel-body .multiselect-options,
.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-options {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-options,
.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-options {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-trigger {
    justify-content: flex-start !important;
    text-align: left !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-text {
    text-align: left !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-option {
    width: 100% !important;
    padding-left: 34px !important;
}

/* Final requested cleanup */
.bmg-game-list .bmg-pagination-wrap,
.bmg-game-list .bmg-demo-note {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.bmg-game-list .bmg-filters-panel-body {
    display: block !important;
}

.bmg-game-list .bmg-filters-panel-body .bmg-filter-group,
.bmg-game-list .bmg-filters-panel-body .multiselect-dropdown {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-trigger {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 62px !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-options,
.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-options {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    max-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    background: rgba(255,255,255,.035) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-dropdown.active .multiselect-options,
.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-dropdown.active .multiselect-options {
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.bmg-game-list .bmg-filters-panel-body .multiselect-option,
.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-option {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 11px 22px 11px 34px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

/* Hard reset drawer accordion layout across responsive breakpoints */
.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-content,
.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body {
    display: block !important;
    grid-template-columns: none !important;
    align-items: stretch !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-head,
.bmg-game-list.bmg-template-neon-jackpot .bmg-filter-actions {
    display: flex !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .bmg-filter-group {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 / -1 !important;
    order: initial !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-dropdown {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-trigger {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    text-align: left !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-text {
    flex: none !important;
    width: auto !important;
    justify-self: start !important;
    text-align: left !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-arrow {
    justify-self: end !important;
    margin-left: 12px !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-options {
    display: block !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    transform: none !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-filter-shell {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 18px 0 16px;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-filter {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(112px, 1fr);
    gap: 12px;
    width: 100%;
    overflow-x: hidden;
    padding: 2px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-filter::-webkit-scrollbar {
    display: none;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-arrow {
    appearance: none;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 196, 0, 0.35);
    background: rgba(5, 12, 22, 0.9);
    color: #ffc400;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 26px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 20px rgba(0,0,0,0.24);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-arrow:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 196, 0, 0.85);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 24px rgba(0,0,0,0.3), 0 0 18px rgba(255,196,0,0.16);
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-card {
    appearance: none;
    border: 1px solid rgba(247, 141, 167, 0.36);
    border-radius: 14px;
    min-height: 100px;
    padding: 14px 12px 12px;
    background: linear-gradient(180deg, rgba(20, 5, 88, 0.9), rgba(3, 3, 65, 0.94));
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 12px 24px rgba(0,0,0,0.22);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
    position: relative;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-count {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: rgba(247, 141, 167, 0.62);
    letter-spacing: 0;
    pointer-events: none;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-card:hover .bmg-game-type-count,
.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-card.active .bmg-game-type-count {
    color: #f78da7;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-card:hover,
.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-card.active {
    transform: translateY(-2px);
    color: #f78da7;
    border-color: rgba(247, 141, 167, 0.78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 16px 30px rgba(0,0,0,0.3), 0 0 0 1px rgba(247,141,167,0.16), 0 0 22px rgba(187,1,234,0.22);
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: currentColor;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px rgba(247,141,167,0.28));
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-icon img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-card:hover .bmg-game-type-icon img,
.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-card.active .bmg-game-type-icon img {
    filter: brightness(0) saturate(100%) invert(74%) sepia(17%) saturate(1409%) hue-rotate(300deg) brightness(101%) contrast(94%) drop-shadow(0 0 8px rgba(247,141,167,0.32));
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-card[data-game-type="blackjack"] .bmg-game-type-icon img,
.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-card[data-game-type="blackjack"]:hover .bmg-game-type-icon img,
.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-card[data-game-type="blackjack"].active .bmg-game-type-icon img {
    filter: drop-shadow(0 0 8px rgba(247,141,167,0.28));
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-label {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-filter-shell {
        display: block;
        margin: 14px 0 12px;
    }

    .bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-arrow {
        display: none;
    }

    .bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-filter {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 10px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-filter::-webkit-scrollbar {
        display: none;
    }

    .bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-card {
        flex: 0 0 112px;
        min-height: 86px;
        padding: 11px 9px 10px;
        border-radius: 12px;
        scroll-snap-align: start;
    }

    .bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-icon,
    .bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-icon svg,
    .bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-icon img {
        width: 34px;
        height: 34px;
    }

    .bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-label {
        font-size: 12px;
    }
}

/* Keep long filter value lists scrollable inside each expanded dropdown. */
.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-dropdown.active .multiselect-options {
    max-height: min(360px, 42vh) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 196, 0, 0.55) rgba(255, 255, 255, 0.06) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-dropdown.active .multiselect-options::-webkit-scrollbar {
    width: 8px;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-dropdown.active .multiselect-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-filters-panel-body .multiselect-dropdown.active .multiselect-options::-webkit-scrollbar-thumb {
    background: rgba(255, 196, 0, 0.55);
    border-radius: 999px;
}

/* Final Neon Jackpot control polish. */
.bmg-game-list.bmg-template-neon-jackpot .bmg-list-toolbar {
    background:
        radial-gradient(420px 150px at 100% 0%, rgba(187, 1, 234, 0.24), transparent 62%),
        linear-gradient(180deg, rgba(3, 3, 65, 0.92), rgba(20, 5, 88, 0.9)) !important;
    border-color: rgba(247, 141, 167, 0.44) !important;
    box-shadow: inset 0 1px 0 rgba(247, 141, 167, 0.14), 0 0 30px rgba(187, 1, 234, 0.16) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-toolbar-actions {
    align-items: center !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-search-box,
.bmg-game-list.bmg-template-neon-jackpot .multiselect-trigger,
.bmg-game-list.bmg-template-neon-jackpot .sort-select-button,
.bmg-game-list.bmg-template-neon-jackpot .bmg-per-page-button,
.bmg-game-list.bmg-template-neon-jackpot .bmg-advanced-filters-btn {
    background: rgba(3, 3, 65, 0.9) !important;
    border-color: rgba(247, 141, 167, 0.44) !important;
    color: var(--bmg-neon-text) !important;
    box-shadow: inset 0 1px 0 rgba(247, 141, 167, 0.14), 0 0 18px rgba(187, 1, 234, 0.12) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-advanced-filters-tooltip {
    border-color: rgba(247, 141, 167, 0.5) !important;
    background: linear-gradient(180deg, rgba(3, 3, 65, 0.98), rgba(20, 5, 88, 0.97)) !important;
    color: var(--bmg-neon-text) !important;
    box-shadow: 0 14px 30px rgba(3, 3, 65, 0.42), 0 0 18px rgba(187, 1, 234, 0.2) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-advanced-filters-tooltip::before {
    background: rgba(3, 3, 65, 0.98) !important;
    border-left-color: rgba(247, 141, 167, 0.5) !important;
    border-top-color: rgba(247, 141, 167, 0.5) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-advanced-filters-tooltip-icon {
    border-color: rgba(232, 206, 6, 0.62) !important;
    color: var(--bmg-neon-yellow) !important;
    box-shadow: 0 0 10px rgba(232, 206, 6, 0.25) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-search-box:focus-within,
.bmg-game-list.bmg-template-neon-jackpot .multiselect-trigger:focus,
.bmg-game-list.bmg-template-neon-jackpot .sort-select-button:focus,
.bmg-game-list.bmg-template-neon-jackpot .bmg-per-page-button:focus,
.bmg-game-list.bmg-template-neon-jackpot .bmg-advanced-filters-btn:hover,
.bmg-game-list.bmg-template-neon-jackpot .bmg-advanced-filters-btn:focus,
.bmg-game-list.bmg-template-neon-jackpot .bmg-advanced-filters-btn.active {
    border-color: var(--bmg-neon-yellow) !important;
    color: var(--bmg-neon-yellow) !important;
    box-shadow: 0 0 0 3px rgba(232, 206, 6, 0.14), 0 0 24px rgba(187, 1, 234, 0.24) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-search-icon,
.bmg-game-list.bmg-template-neon-jackpot .multiselect-trigger::before,
.bmg-game-list.bmg-template-neon-jackpot .multiselect-arrow,
.bmg-game-list.bmg-template-neon-jackpot .sort-select-button::after,
.bmg-game-list.bmg-template-neon-jackpot .bmg-advanced-filters-icon {
    color: var(--bmg-neon-yellow) !important;
    filter: drop-shadow(0 0 8px rgba(232, 206, 6, 0.35)) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .pagination-btn {
    background: rgba(3, 3, 65, 0.9) !important;
    border-color: rgba(247, 141, 167, 0.44) !important;
    color: var(--bmg-neon-text) !important;
    box-shadow: inset 0 1px 0 rgba(247, 141, 167, 0.12), 0 0 18px rgba(187, 1, 234, 0.1) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .pagination-btn:hover:not(:disabled),
.bmg-game-list.bmg-template-neon-jackpot .pagination-btn.active {
    background: linear-gradient(135deg, rgba(187, 1, 234, 0.94), rgba(232, 206, 6, 0.92)) !important;
    border-color: var(--bmg-neon-yellow) !important;
    color: #030341 !important;
    box-shadow: 0 10px 24px rgba(3, 3, 65, 0.34), 0 0 24px rgba(187, 1, 234, 0.3) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-arrow {
    border-color: rgba(247, 141, 167, 0.48) !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(232, 206, 6, 0.14), transparent 56%),
        rgba(3, 3, 65, 0.92) !important;
    color: var(--bmg-neon-yellow) !important;
    box-shadow: inset 0 1px 0 rgba(247, 141, 167, 0.14), 0 0 18px rgba(187, 1, 234, 0.18) !important;
}

.bmg-game-list.bmg-template-neon-jackpot .bmg-game-type-arrow:hover {
    border-color: var(--bmg-neon-yellow) !important;
    box-shadow: inset 0 1px 0 rgba(247, 141, 167, 0.16), 0 12px 24px rgba(3, 3, 65, 0.28), 0 0 24px rgba(187, 1, 234, 0.28) !important;
}
