:root {
    --white-color: #ffffff;
    --cart-bg-color: #121824;
    --primary-bg: #090d14;
    --accent-red: #ef4444;
    --accent-gradient: linear-gradient(135deg, #ef4444, #be123c);
    --hover-gradient: linear-gradient(135deg, #ff6b6b, #ef4444);
    --border-color: rgba(255, 255, 255, 0.05);
    --text-muted: #8a9bb4;
}

.section__gaps {
    margin-top: 80px;
}

.d_flex {
    display: flex;
    align-items: center;
}

/* ------------------------------------------------------
    new__home__search
-------------------------------------------------------- */
.new__home__search {
    overflow: hidden;
    background: #191a1d;
    padding: 15px 0;
}

.new__home__search button {
    padding: 10px 20px;
}

/* ------------------------------------------------------
    recently__played
-------------------------------------------------------- */

.recently__played h3 {
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
    color: var(--white-color);
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    word-spacing: 5px;
    letter-spacing: 1px;
}

.recently__played h3 img {
    height: 32px;
}

.recently__played .row {
    align-items: flex-start;
}

.recently__played .recently__played__item {
    background: var(--cart-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.recently__played .recently__played__item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 25px rgba(239, 68, 68, 0.15), 0 0 0 1px rgba(239, 68, 68, 0.25);
    border-color: var(--accent-red);
}

.recently__played .recently__played__item .img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    background: rgba(9, 13, 20, 0.65);
    backdrop-filter: blur(2px);
    transition: opacity 0.25s ease;
    z-index: 2;
}

.recently__played .recently__played__item .img .overlay a {
    width: 100%;
    text-align: center;
    padding: 8px 12px;
    border-radius: 50px;
    color: var(--white-color);
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.recently__played .recently__played__item .img .overlay a.play {
    background: var(--accent-gradient);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    border: none;
    transform: translateY(-10px);
}

.recently__played .recently__played__item .img .overlay a.play:hover {
    background: var(--hover-gradient);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
    transform: translateY(-12px);
}

.recently__played .recently__played__item .img .overlay a.demo {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(10px);
}

.recently__played .recently__played__item .img .overlay a.demo:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(8px);
}

.recently__played .recently__played__item:hover .img .overlay,
.recently__played .recently__played__item.mobile-tapped .img .overlay {
    opacity: 1;
    pointer-events: auto;
}

.recently__played .recently__played__item:hover .img .overlay a.play,
.recently__played .recently__played__item:hover .img .overlay a.demo {
    transform: translateY(0px);
}

.recently__played .recently__played__item:hover .img .overlay a.play:hover {
    transform: translateY(-2px);
}

.recently__played .recently__played__item:hover .img .overlay a.demo:hover {
    transform: translateY(-2px);
}

.recently__played .recently__played__item .img {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.recently__played .recently__played__item .img:not(.welcome-card-wrapper) {
    aspect-ratio: 1 / 1;
    min-height: 150px;
    overflow: hidden;
}

.recently__played .recently__played__item img,
.recently__played .recently__played__item video {
    width: 100%;
    height: 100%;
    border-radius: 14px 14px 0 0;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.3s ease;
}

.welcome__bonus .recently__played__item {
    background: transparent;
    border: none;
    box-shadow: none;
    height: auto;
    display: block;
    overflow: visible;
}

.welcome__bonus .recently__played__item:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.welcome__bonus .recently__played__item .img,
.recently__played.bounsesPromotions__section .recently__played__item .img,
.recently__played.providers-section .recently__played__item .img {
    height: auto;
    flex-shrink: 1;
    border-radius: 14px;
}

.welcome__bonus .recently__played__item img {
    height: auto;
    border-radius: 14px;
    transition: all linear 0.2s;
    display: block;
}

.recently__played.bounsesPromotions__section .recently__played__item img,
.recently__played.providers-section .recently__played__item img {
    height: auto;
    border-radius: 14px;
}

.recently__played .recently__played__item:hover .img img,
.recently__played .recently__played__item:hover .img video {
    filter: brightness(0.4) blur(2px);
    transform: scale(1.05);
}

.recently__played.welcome__bonus .recently__played__item:hover .img img {
    filter: unset;
    transform: none;
}

.welcome__bonus .Mobile__bonus {
    display: none;
}

.welcome__bonus .Mobile__bonus .welcomeBonusMobile {
    overflow: hidden;
}

.recently__played.bounsesPromotions__section .recently__played__item:hover .img img {
    filter: unset;
    transform: none;
}

.recently__played .recently__played__item .text {
    padding: 10px 14px;
    border-radius: 0 0 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    height: auto;
    min-height: 48px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--cart-bg-color);
}

.recently__played .recently__played__item .text-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.recently__played .recently__played__item h4 {
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--white-color);
    width: 85%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
    letter-spacing: 0.2px;
}

.recently__played .recently__played__item .provider-name {
    font-size: 0.65rem;
    line-height: 1.2;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.recently__played .recently__played__item .heart {
    width: 12%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.recently__played .recently__played__item .heart img {
    border-radius: 0;
    height: auto;
}

.recently__played .view__all {
    margin-top: 50px;
    text-align: center;
}

.recently__played .view__all a {
    padding: 10px 50px;
    border-radius: 10px;
    border: 1px solid var(--secondaryColor);
    color: var(--white-color);
    transition: all linear 0.2s;
    font-size: 18px;
    line-height: 30px;
    word-spacing: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
}

.recently__played .view__all a:hover {
    background: var(--secondaryColor);
}

/* For Load More Games */
.load__more {
    margin-top: 50px;
    text-align: center;
}

.load__more button {
    padding: 10px 50px;
    border-radius: 10px;
    border: 1px solid var(--secondaryColor);
    color: var(--white-color);
    background: transparent;
    transition: all 0.2s linear;
    font-size: 18px;
    line-height: 30px;
    word-spacing: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
}

/* Hover effect for the button */
.load__more button:hover {
    background: var(--secondaryColor);
    color: var(--white-color);
    /* Ensure text color remains white on hover */
    cursor: pointer;
    /* Change cursor to pointer */
}

/* Optional: Focus state for accessibility */
.load__more button:focus {
    outline: none;
    box-shadow: 0 0 5px var(--secondaryColor);
}

/* For Category into small screen */
/* Container that holds the categories */
.category-container {
    display: flex;
    /* Use flexbox for layout */
    flex-wrap: nowrap;
    /* Prevent wrapping to the next line */
    overflow-x: auto;
    /* Allow horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    padding: 0 10px;
    /* Padding for better spacing */
}

/* Hide horizontal scrollbar */
.category-container::-webkit-scrollbar {
    display: none;
    /* Hides the scrollbar */
}

/* Category items */
.category {
    display: inline-block;
    /* Make each category an inline-block for horizontal alignment */
    white-space: nowrap;
    /* Prevent text from wrapping */
    min-width: 120px;
    /* Set a minimum width for each category */
    background-color: #2c2f36;
    /* Background color for categories */
    border-radius: 5px;
    /* Rounded corners */
    color: #fff;
    /* Text color */
    text-decoration: none;
    /* Remove underline */
    padding: 10px;
    /* Padding inside the button */
    transition: background-color 0.3s ease;
    /* Smooth transition for background */
    flex-shrink: 0;
    /* Prevent the category from shrinking */
}

/* Hover effect for categories */
.category:hover {
    background-color: #4f5b63;
    /* Change background color on hover */
}

.bounsesPromotions__section .header {
    position: relative;
}

.bounsesPromotions__section :where(.swiper-button-next, .swiper-button-prev) {
    position: absolute;
    top: 30px;
    right: 0;
    left: unset;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondaryColor);
}

.bounsesPromotions__section :where(.swiper-button-next, .swiper-button-prev):hover {
    background: #e70202;
}

.bounsesPromotions__section .swiper-button-prev {
    right: 50px;
}

.bounsesPromotions__section .swiper-button-next:after,
.bounsesPromotions__section .swiper-button-prev:after {
    font-size: 22px;
    line-height: 22px;
    font-weight: 700;
    color: var(--white-color);
}

.recently__played .bounsesPromotions .recently__played__item img {
    height: auto;
    border-radius: 10px;
}

.jackpot__img img {
    width: 100%;
}

@media (max-width: 1399.98px) {
    .recently__played .recently__played__item h4 {
        font-size: 0.78rem;
    }

    .recently__played .recently__played__item .img:not(.welcome-card-wrapper) {
        aspect-ratio: 1 / 1;
        min-height: 150px;
        height: auto;
    }

    .recently__played h3 {
        font-size: 22px;
        line-height: 35px;
    }

    .recently__played h3 img {
        height: 30px;
    }

    .bounsesPromotions__section :where(.swiper-button-next, .swiper-button-prev) {
        width: 35px;
        height: 35px;
    }

    .bounsesPromotions__section .swiper-button-next:after,
    .bounsesPromotions__section .swiper-button-prev:after {
        font-size: 18px;
        line-height: 18px;
    }
}

@media (max-width: 1023.99px) {

    .recently__played .container,
    .new__home__search .container {
        max-width: 95%;
    }

    .recently__played .recently__played__item .heart {
        width: 10%;
    }

    .section__gaps {
        margin-top: 50px;
    }

    .new__home__search__content .row.d_flex {
        gap: 20px;
    }

    .new__home__search button {
        width: 100%;
        padding: 5px 10px;
    }
}

@media (max-width: 580px) {
    .welcome__bonus .Mobile__bonus {
        display: block;
    }

    .welcome__bonus .desktop_bonus {
        display: none;
    }

    .recently__played .container {
        max-width: 95%;
        padding: 0;
    }

    .recently__played h3 {
        font-size: 16px;
        line-height: 24px;
        gap: 10px;
        width: 80%;
    }

    .recently__played h3 img {
        height: 25px;
    }

    .bounsesPromotions__section :where(.swiper-button-next, .swiper-button-prev) {
        width: 25px;
        height: 25px;
        top: 25px;
    }

    .bounsesPromotions__section .swiper-button-next:after,
    .bounsesPromotions__section .swiper-button-prev:after {
        font-size: 10px;
        line-height: 18px;
    }

    .bounsesPromotions__section .swiper-button-prev {
        right: 30px;
    }

    .recently__played .view__all a {
        padding: 10px 30px;
        font-size: 16px;
        line-height: 20px;
    }

    .recently__played .view__all {
        margin-top: 35px;
    }

    .recently__played .recently__played__item .img:not(.welcome-card-wrapper) {
        aspect-ratio: 1 / 1;
        min-height: 150px;
        height: auto;
    }

    .new__home__search__content button {
        width: 100%;
    }

    .new__home__search .row {
        gap: 0;
        --bs-gutter-x: 0.5rem;
        align-items: center;
    }

    .new__home__search .container {
        width: 100%;
        padding: 0 5px;
    }

    .new__home__search button {
        width: 100%;
        padding: 8px 10px;
        border-radius: 30px;
    }

    .new__home__search select.form-select.rounded-pill {
        font-size: 13px;
    }

    .new__home__search input.form-control.rounded-pill {
        font-size: 13px;
    }
}

/* ── Select2 dark theme (home / casino / live casino) ── */
.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--single {
    background: transparent !important;
    border: none !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 700;
    padding-left: 12px !important;
    line-height: normal !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px !important;
    right: 10px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #55657e transparent transparent transparent !important;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #55657e transparent !important;
}
.select2-dropdown {
    background: #161f2a !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
    z-index: 9999 !important;
}
.select2-search--dropdown {
    padding: 8px !important;
    background: #161f2a !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    background: #0d131c !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
    outline: none !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: rgba(255,0,0,0.5) !important;
}
.select2-results__option {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 9px 14px !important;
    transition: background 0.15s;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: rgba(255,0,0,0.15) !important;
    color: #fff !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background: rgba(255,0,0,0.2) !important;
    color: #ff4444 !important;
}
.select2-results__options { max-height: 260px !important; }
.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #55657e !important;
    font-size: 16px !important;
    margin-right: 6px !important;
}
@media (max-width: 767px) {
    .select2-container--default .select2-selection--single,
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 42px !important;
    }
}

@media (max-width: 767px) {
    .welcome__bonus .Mobile__bonus {
        display: block;
    }

    .welcome__bonus .desktop_bonus {
        display: none;
    }

    .welcome__bonus .recently__played__item .img {
        height: auto !important;
    }
}

/* ------------------------------------------------------
    Main Header Styles (New Design)
-------------------------------------------------------- */
.main-header {
    background: #0d131c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    transition: all 0.3s ease;
    z-index: 1050;
    top: 0 !important;
    margin-top: 0 !important;
}

.header-inner {
    min-height: 50px;
}

/* Header Nav Links */
.header-nav {
    gap: 25px;
}

.header-nav .nav-link {
    color: #94a3b8;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.header-nav .nav-link:hover {
    color: #fff;
}

.header-nav .nav-link-vip {
    color: #94a3b8;
    /* Same as others unless active */
}

/* Logo */
.header-logo .logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

/* Main Layout */
.header-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-search-form {
    width: 100%;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    color: #4b5563;
    font-size: 0.85rem;
}

.header-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    /* More squared as in image */
    padding: 10px 15px 10px 40px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.header-search-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Tools */
.tool-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s;
}

.tool-btn:hover {
    color: #fff;
}

/* Auth Buttons (Mexico777 Layout, Canada777 Red) */
.btn-header-login-text {
    color: #fff !important;
    font-weight: 900;
    font-size: 0.9rem;
    padding: 8px 12px;
    transition: all 0.2s;
    text-decoration: none !important;
    letter-spacing: 0.5px;
}

.btn-header-login-text:hover {
    opacity: 0.8;
}

.btn-header-signup-brand {
    background: linear-gradient(180deg, #ff0000 0%, #b30000 100%);
    color: #fff !important;
    font-weight: 950;
    font-size: 0.9rem;
    padding: 10px 22px;
    min-width: 110px;
    border-radius: 8px;
    /* Slightly rounded as in image */
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.25);
    transition: all 0.2s;
    border: none;
    text-align: center;
    line-height: 1;
}

.btn-header-signup-brand:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

/* --- Sidebar Redesign (Dark Green Theme) --- */
.sidebar-quick-start {
    background: #000;
    /* Brand Black */
    border: 1px solid rgba(255, 0, 0, 0.4);
    /* Brand Red Border */
    border-radius: 20px;
    padding: 20px 15px 20px 15px !important;
    /* Increased top padding */
    margin-top: 15px;
    /* Add margin from the top of the sidebar */
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.1);
}

.quick-start-header h4 {
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    color: #ff0000 !important;
    /* Brand Red */
    font-weight: 950;
    text-transform: none !important;
}

.quick-start-header p {
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 500;
}

.btn-quick-signup,
.btn-quick-login {
    color: #fff !important;
    font-weight: 950;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 10px;
    display: block;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-quick-signup {
    background: linear-gradient(180deg, #ff0000 0%, #b30000 100%);
    /* Brand Red Gradient */
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.btn-quick-login {
    background: #1a222c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-quick-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
    color: #fff !important;
}

.btn-quick-login:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff !important;
    transform: translateY(-2px);
}

.quick-start-checklist li {
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.78rem !important;
}

.quick-start-checklist li i {
    font-size: 0.8rem;
}

/* Sidebar Deposit Button */
.btn-sidebar-deposit {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ff0000 0%, #b30000 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 8px;
    border-radius: 50px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.btn-sidebar-deposit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

/* Sidebar Mini Games Hero Promo Button */
.sidebar-promo-cards {
    margin-bottom: 20px;
}

/* Sidebar Mini Games Hero Promo Button */
.sidebar-promo-cards {
    margin-bottom: 20px;
}

.sidebar-mini-games-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 82px;
    background: linear-gradient(135deg, #3d060b 0%, #1c0306 55%, #0e131d 100%);
    border: 2px solid #ef4444;
    border-radius: 16px;
    padding: 12px 16px;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.35), inset 0 0 20px rgba(239, 68, 68, 0.25);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sidebar-mini-games-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #dc2626, #f59e0b, #dc2626);
}

.sidebar-mini-games-btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: #ff4444;
    box-shadow: 0 14px 35px rgba(239, 68, 68, 0.6), inset 0 0 24px rgba(239, 68, 68, 0.4);
}

.mini-games-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
    max-width: 65%;
}

.mini-games-btn-badge {
    font-size: 0.6rem;
    font-weight: 900;
    color: #fde68a;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 3px;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.7);
}

.mini-games-btn-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.3px;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.mini-games-btn-cta {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    padding: 3px 12px;
    border-radius: 20px;
    margin-top: 5px;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.5);
    transition: all 0.2s ease;
}

.sidebar-mini-games-btn:hover .mini-games-btn-cta {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.75);
}

.mini-games-btn-img-wrap {
    position: absolute;
    right: 8px;
    bottom: 50%;
    transform: translateY(50%);
    height: 58px;
    width: 58px;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 4px 12px rgba(239, 68, 68, 0.6));
    transition: transform 0.3s ease;
}

.sidebar-mini-games-btn:hover .mini-games-btn-img-wrap {
    transform: translateY(50%) rotate(18deg) scale(1.1);
}

.mini-games-btn-img-wrap img,
.mini-games-btn-img-wrap svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Sidebar Menu Redesign */
.sidebarMenu {
    padding: 0 10px;
}

.sidebarMenu li {
    margin-bottom: 2px;
}

.sidebarMenu li a {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.73rem;
    text-decoration: none !important;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 8px;
}

.sidebarMenu li a .menu-icon-container {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.2s;
    color: #94a3b8;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.65rem;
}

.sidebarMenu li a:hover .menu-icon-container,
.sidebarMenu li a.sideActiveClass .menu-icon-container {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
}

.sidebarMenu li a:hover {
    color: #fff !important;
}

@media (max-width: 576px) {
    .sidebarMenu li a {
        font-size: 0.68rem;
        padding: 5px 10px;
    }
    .sidebarMenu li a .menu-icon-container {
        width: 22px;
        height: 22px;
        margin-right: 8px;
    }
}

/* Support Button */
.sidebar-support-btn {
    margin: 20px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    color: #fff !important;
    font-weight: 900;
    font-size: 1.05rem;
    transition: all 0.2s;
    text-decoration: none !important;
}

.sidebar-support-btn i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: #ff0000;
}

.sidebar-support-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff0000;
    transform: scale(1.02);
}

/* --- Header Structural Adjustments --- */
.header-left {
    min-width: 200px;
}

.header-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sidebar Close Button (Mobile Only) */
.sideMenuClose {
    display: none;
    /* Hide on desktop by default */
}

/* Header Spacing and Alignment */
.header-logo {
    display: flex;
    align-items: center;
}

.header-nav .nav-link {
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0 15px;
    color: #9ca3af !important;
    /* Grayish as in image */
}

.header-nav .nav-link:hover,
.header-nav .nav-link.active {
    color: #fff !important;
}

/* .header-nav .nav-link-vip {
    color: #eab308 !important; 
} */

.header-search-container {
    max-width: 600px;
}

.header-search-form {
    position: relative;
    width: 100%;
}

.header-search-input {
    width: 100%;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0 20px 0 45px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header-search-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff0000;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

/* Language Switcher Enhancements */
.lang-pill {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.lang-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 575.98px) {
    .lang-pill {
        padding: 6px 8px;
    }
}

.header-user-info {
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Enhanced Balance Pill & Dropdown --- */
.header-balance-pill {
    background: #1e1e2d;
    /* Mexico777 Darker Blue/Gray */
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.balance-text {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-plus-btn {
    width: 32px;
    height: 35px;
    background: linear-gradient(180deg, #ff0000 0%, #b30000 100%);
    transition: all 0.2s;
    font-size: 0.8rem;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-radius: 0 11px 11px 0;
    /* Match parent pill minus border */
}

.balance-plus-btn:hover {
    background: linear-gradient(180deg, #ff2a2a 0%, #d40000 100%);
    color: #fff !important;
}

.balance-dropdown-menu {
    background: #0d131c !important;
    min-width: 240px;
    border-radius: 12px !important;
    margin-top: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    pointer-events: auto;
    /* Changed from none to auto to allow interaction */
    transition: all 0.2s ease;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1050;
}

.header-balance-pill:hover .balance-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.balance-dropdown-menu .progress {
    border-radius: 10px;
}

.balance-value {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
}

.user-profile-dropdown .dropdown-toggle::after {
    display: none;
}

.user-profile-dropdown .dropdown-chevron {
    transition: transform 0.2s ease;
}

.user-profile-dropdown .show .dropdown-chevron {
    transform: rotate(180deg);
}

.user-profile-dropdown .dropdown-menu {
    background: #0d131c;
    /* Dark background matching sidebar */
    padding: 8px 0;
    min-width: 180px;
    border-radius: 12px;
    margin-top: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.user-profile-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    padding: 10px 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.user-profile-dropdown .dropdown-item i {
    width: 24px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
}

.user-profile-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
}

.user-profile-dropdown .dropdown-item.text-danger:hover {
    background: rgba(220, 38, 38, 0.1);
}

/* --- Content Wrapper Polish --- */
.rightSection {
    background-color: #070b10;
    /* Slightly darker than header for depth */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* overflow-x: hidden would make this a scroll container and break the
       header's sticky-top (sticky anchors to the nearest scroll container,
       and this one never actually scrolls). overflow-x: clip prevents the
       same horizontal overflow without that side effect. */
    overflow-x: clip;
}

.content-wrapper {
    flex-grow: 1;
}

@media (max-width: 991.98px) {
    .content-wrapper {
        padding-bottom: 80px !important;
    }
}

/* Mobile Search Adjustment */
.header-center-mobile {
    margin-top: 5px;
}

.header-center-mobile .header-search-input {
    padding: 8px 15px 8px 35px;
}

/* Media Queries */
@media (max-width: 991.98px) {
    .header-logo .logo-img {
        height: 28px;
    }

    .main-header {
        padding: 0 !important;
        /* Minimal padding */
        top: 0 !important;
        margin-top: 0 !important;
    }

    .content-wrapper {
        padding-top: 0 !important;
        /* Minimal space between header and banner */
        margin-top: 0 !important;
    }
}


/* Consolidated Lang Switcher handled in style.css for global consistency */
/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {

    /* Sidebar as Drawer on Mobile */
    .rightSection {
        padding-top: 0 !important;
        margin-top: 0 !important;
        /* .menu_sidebar is hidden (overlay drawer) in this range, but its
           sibling column (col-md-9) doesn't auto-expand into the freed
           25% — Bootstrap's fixed-width columns don't react to a sibling's
           display:none. Force full width so there's no dead gap. */
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    .menu_sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: #0d131c;
        z-index: 1100;
        /* Bootstrap's d-md-block utility (768px+) is !important, so this
           must be too, or the drawer becomes a permanent column between
           768px-991.98px — the width range most phones land in landscape. */
        display: none !important;
        overflow-y: auto;
        padding-top: 45px;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .menu_sidebar.show-sidebar {
        display: block !important;
    }

    .menuOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(4px);
        z-index: 1099;
        display: none;
    }

    .sideMenuClose {
        display: block !important;
        position: absolute;
        right: 16px;
        top: 14px;
        cursor: pointer;
        font-size: 1.5rem;
        color: #fff;
        opacity: 0.8;
        z-index: 1101;
    }

    /* Header Mobile Adjustments */
    .header-inner {
        padding: 0;
        flex-wrap: nowrap;
    }

    .header-left-mobile {
        flex: 0 0 auto !important;
        margin-right: 4px;
    }

    .header-brand-container {
        flex: 0 0 auto !important;
        justify-content: flex-start !important;
        margin-right: auto;
    }

    .header-left {
        flex-shrink: 0;
    }

    .header-right {
        flex-shrink: 0;
        gap: 5px;
    }

    .btn-header-login-text {
        font-size: 0.85rem;
        padding: 5px 12px;
        white-space: nowrap;
        margin-right: -5px !important;
        font-weight: 900;
        color: #fff !important;
    }

    .btn-header-signup-brand {
        padding: 8px 20px;
        min-width: 100px;
        font-size: 0.85rem;
        white-space: nowrap;
        background: linear-gradient(180deg, #ff0000 0%, #b30000 100%);
        color: #fff !important;
        font-weight: 950;
        border-radius: 50px;
        box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
    }

    .header-logo .logo-img {
        height: 28px;
        margin-left: 0;
    }

    .flex-1 {
        flex: 1;
    }

    .header-right {
        flex: 1;
        justify-content: flex-end;
    }

    .header-auth-btns {
        white-space: nowrap;
        display: flex !important;
        align-items: center;
        gap: 0px;
    }

    #resMenuHeader i {
        font-size: 1.25rem !important;
    }
}

/* Extra small screen adjustment */
@media (max-width: 375px) {
    .header-logo .logo-img {
        height: 24px;
    }

    .btn-header-signup-brand {
        padding: 6px 14px;
        min-width: 85px;
        font-size: 0.75rem;
    }

    .btn-header-login-text {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

/* Fix for cursor pointer on burger */
#resMenuHeader {
    cursor: pointer;
}

.btn-mobile-menu {
    background: transparent;
    color: #fff !important;
    padding: 4px 8px;
    border-radius: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.btn-mobile-menu:active {
    background: transparent;
    opacity: 0.7;
}

/* Sportsbook Full Screen Mode (Desktop) */
@media (min-width: 992px) {
    body.is-sportsbook .menu_sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: #0d131c;
        z-index: 1100;
        display: none !important;
        /* Force hide initially */
        overflow-y: auto;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
        padding-top: 60px;
        /* Space for close button */
    }

    body.is-sportsbook .menu_sidebar.show-sidebar {
        display: block !important;
        /* Force show when toggled */
    }

    body.is-sportsbook .sideMenuClose {
        display: block !important;
        position: absolute;
        right: 20px;
        top: 15px;
        z-index: 1101;
        cursor: pointer;
        font-size: 1.5rem;
        color: #fff;
    }

    body.is-sportsbook .rightSection {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    body.is-sportsbook #resMenuHeader {
        display: flex !important;
    }
}



/* --- Premium Header CTAs --- */
.btn-header-signup-brand {
    background: var(--accent-gradient) !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3) !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    font-weight: 800 !important;
}

.btn-header-signup-brand:hover {
    background: var(--hover-gradient) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.5) !important;
}

.btn-header-login-text {
    transition: color 0.2s ease !important;
}

.btn-header-login-text:hover {
    color: var(--accent-red) !important;
    opacity: 1 !important;
}



/* --- Premium Aesthetic Polish Upgrades (Slotoro Style) --- */

/* Ambient Background Glows */
.ambient-glow-1 {
    position: fixed;
    top: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0) 70%);
    filter: blur(100px);
    z-index: -2;
    pointer-events: none;
}

.ambient-glow-2 {
    position: fixed;
    bottom: -150px;
    left: -150px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.06) 0%, rgba(239, 68, 68, 0) 70%);
    filter: blur(120px);
    z-index: -2;
    pointer-events: none;
}

/* Button Metallic Shimmer effect */
@keyframes button-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Style primary brand signups to have shimmer on hover */
.btn-header-signup-brand,
.homeBannerContent .homeBannerBtn a.sideLoginBtn,
.recently__played .recently__played__item .img .overlay a.play {
    background: linear-gradient(90deg, #ef4444 0%, #be123c 43%, #ff9e9e 50%, #be123c 57%, #ef4444 100%) !important;
    background-size: 200% auto !important;
    transition: all 0.3s ease !important;
}

.btn-header-signup-brand:hover,
.homeBannerContent .homeBannerBtn a.sideLoginBtn:hover,
.recently__played .recently__played__item .img .overlay a.play:hover {
    animation: button-shimmer 1.8s infinite linear !important;
}

/* Glowing Section Headers */
.recently__played .header {
    border-bottom: 2px solid rgba(255, 255, 255, 0.02) !important;
    padding-bottom: 12px !important;
    margin-bottom: 30px !important;
}

.recently__played .header h3 {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    position: relative;
    padding-left: 14px;
    text-transform: uppercase !important;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.25) !important;
}

.recently__played .header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: var(--accent-gradient);
    border-radius: 4px;
    box-shadow: 0 0 8px var(--accent-red);
}

.recently__played .header::after {
    display: none !important; /* Hide old border underline style */
}

/* RTP Badge Overlay Styling */
.recently__played__item .rtp-icon {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: rgba(9, 13, 20, 0.75) !important;
    backdrop-filter: blur(6px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* --- Unified Game Control Console (Slotoro Style) --- */
.game-console-panel-wrap {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.game-console-panel {
    background: rgba(18, 24, 38, 0.55) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-top: 2px solid rgba(239, 68, 68, 0.15) !important;
    border-radius: 20px !important;
    padding: 22px 24px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
}

.console-top-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.console-search-form {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-grow: 1 !important;
    max-width: 600px !important;
}

.console-search-input-wrap {
    position: relative !important;
    flex-grow: 1 !important;
}

.console-search-input-wrap i {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #55657e !important;
    font-size: 0.9rem !important;
}

.console-search-input-wrap input {
    width: 100% !important;
    padding: 10px 16px 10px 42px !important;
    border-radius: 50px !important;
    background: rgba(9, 13, 20, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    height: 42px !important;
    transition: all 0.2s ease !important;
}

.console-search-input-wrap input:focus {
    border-color: rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.1) !important;
    outline: none !important;
}

.console-btn-search {
    background: var(--accent-gradient) !important;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    padding: 0 24px !important;
    height: 42px !important;
    border-radius: 50px !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.console-btn-search:hover {
    background: var(--hover-gradient) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
}

.console-actions-group {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.console-btn-random {
    display: inline-flex !important;
    align-items: center !important;
    color: var(--accent-red) !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    padding: 0 20px !important;
    height: 42px !important;
    border-radius: 50px !important;
    background: rgba(239, 68, 68, 0.06) !important;
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.console-btn-random:hover {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    transform: translateY(-1px) !important;
}

.console-btn-providers {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    padding: 0 20px !important;
    height: 42px !important;
    border-radius: 50px !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.console-btn-providers:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.console-divider {
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin: 16px 0 !important;
    opacity: 1 !important;
}

.console-categories-wrap {
    width: 100% !important;
    overflow: hidden !important;
}

.console-categories-scroll {
    overflow-x: auto !important;
    scrollbar-width: none !important; /* Firefox */
}

.console-categories-scroll::-webkit-scrollbar {
    display: none !important; /* Safari and Chrome */
}

.console-categories-container {
    display: flex !important;
    gap: 8px !important;
    padding: 4px 0 !important;
    width: max-content !important;
    min-width: 100% !important;
    justify-content: center !important;
}

.console-category-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #8a9bb4 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.console-category-pill .pill-icon {
    width: 16px !important;
    height: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--pill-color) !important;
}

.console-category-pill .pill-icon img {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain !important;
}

.console-category-pill:hover,
.console-category-pill.active {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    border-color: var(--pill-color) !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.02), inset 0 0 0 1px var(--pill-color) !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 991px) {
    .console-top-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .console-search-form {
        max-width: 100% !important;
    }
    .console-actions-group {
        justify-content: space-between !important;
        width: 100% !important;
    }
    .console-btn-random,
    .console-btn-providers {
        flex: 1 !important;
        justify-content: center !important;
    }
    .console-categories-container {
        justify-content: flex-start !important;
        padding-left: 10px !important;
    }
}

/* --- Premium Big Wins (Real-time Wins Feed) --- */
.big-win-card {
    background: rgba(18, 24, 38, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
    padding: 10px 12px !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.big-win-card .win-info {
    min-width: 0;
    overflow: hidden;
}

.big-win-card .player-name,
.big-win-card .game-name {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.big-win-card:hover {
    border-color: rgba(239, 68, 68, 0.25) !important;
    box-shadow: 0 10px 28px rgba(239, 68, 68, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
    transform: translateY(-2px) !important;
}

.big-win-card .player-name {
    color: #8a9bb4 !important;
    font-weight: 600 !important;
    font-size: 0.72rem !important;
    margin-bottom: 2px !important;
}

.big-win-card .game-name {
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}

.big-win-card .win-amount {
    color: #10b981 !important; /* Premium Emerald green */
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.2) !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
}

.big-win-card .game-img {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    width: 48px !important;
    height: 48px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 768px) {
    #promoModal .btn-close {
        font-size: 0.65rem;
        padding: 0.4em;
    }
}