.mobile-bottom-menu {
    display: none;
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    height: 65px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    z-index: 9990;
    padding: 0 15px;
    justify-content: space-around;
    align-items: center;
    animation: menuSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateY(100%);
}

.mobile-bottom-menu .mobile-menu-item {
    color: #333;
}

.mobile-bottom-menu .mobile-menu-item span {
    color: #555;
}

.mobile-bottom-menu .mobile-menu-item i,
.mobile-bottom-menu .mobile-menu-item svg {
    color: #9436ac;
}

.mobile-bottom-menu .mobile-menu-item.active i,
.mobile-bottom-menu .mobile-menu-item.active span {
    color: #7E2EBD !important;
    font-weight: 700 !important;
}

@keyframes menuSlideUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes menuGlow {

    0%,
    100% {
        box-shadow:
            0 4px 30px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(182, 68, 212, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow:
            0 4px 30px rgba(0, 0, 0, 0.5),
            0 0 30px rgba(182, 68, 212, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

.mobile-bottom-menu.loaded {
    opacity: 1;
    transform: translateY(0);
    animation: menuGlow 4s ease-in-out infinite;
}


.mobile-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #a5a5a5;
    font-size: 10px;
    padding: 8px 12px;
    min-width: 60px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-menu-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(182, 68, 212, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
}

.mobile-menu-item:active::before {
    width: 120px;
    height: 120px;
}

.mobile-menu-item i,
.mobile-menu-item svg {
    font-size: 22px;
    margin-bottom: 3px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu-item span {
    white-space: nowrap;
    transition: all 0.3s ease;
}

.mobile-menu-item:active,
.mobile-menu-item.active {
    color: #b644d4;
}

.mobile-menu-item:active i,
.mobile-menu-item.active i,
.mobile-menu-item:active svg,
.mobile-menu-item.active svg {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 2px 8px rgba(182, 68, 212, 0.6));
}

.mobile-menu-item:active span,
.mobile-menu-item.active span {
    transform: scale(1.05);
}


.mobile-vip-item {
    position: relative;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe082 50%, #ffd54f 100%);
    border-radius: 12px;
    padding: 6px 16px;
    margin: 0 5px;
    border: 2px solid #ffc107;
    animation: vipPulse 2s infinite;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(255, 193, 7, 0.4);
}

.mobile-vip-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.6) 50%,
            transparent 70%);
    animation: vipShine 3s ease-in-out infinite;
    pointer-events: none;
}

.mobile-vip-item .vip-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-bottom: 2px;
    animation: vipIconFloat 2s ease-in-out infinite;
}

.mobile-vip-item .vip-label {
    color: #b8860b !important;
    font-weight: 700 !important;
    font-size: 10px !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5) !important;
}

.mobile-vip-item:active {
    transform: scale(0.95);
}

.mobile-vip-item:active .vip-icon-img {
    animation: vipIconBounce 0.3s ease;
}


.mobile-favorites-item {
    position: relative;
    cursor: pointer;
}

.mobile-favorites-item i {
    font-size: 22px !important;
    color: #9436ac !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.mobile-favorites-item:active i {
    animation: heartBeat 0.4s ease !important;
}

.mobile-favorites-item.active i {
    color: #7E2EBD !important;
    animation: heartPulse 1s ease-in-out infinite !important;
}

.mobile-favorites-item.active span {
    color: #7E2EBD !important;
    font-weight: 700 !important;
}

.favorites-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: linear-gradient(135deg, #9436ac 0%, #b644d4 100%);
    color: #fff !important;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(148, 54, 172, 0.5) !important;
    animation: badgeBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.favorites-badge.has-favorites {
    display: flex;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes vipPulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 204, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 18px rgba(255, 204, 0, 0.6);
    }
}

@keyframes vipShine {

    0%,
    100% {
        transform: translateX(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes vipIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes vipIconBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes vipTextGlow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(255, 204, 0, 0.8), 0 0 30px rgba(255, 170, 0, 0.4);
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(148, 54, 172, 0));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px rgba(148, 54, 172, 0.6));
    }
}

@keyframes badgeBounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(148, 54, 172, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 2px 12px rgba(148, 54, 172, 0.7);
    }
}


.mobile-provider-selector {
    position: relative;
}

.provider-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.provider-main:active {
    background: rgba(255, 255, 255, 0.1);
}

.provider-icon-main {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    margin-bottom: 2px !important;
    background: rgba(148, 54, 172, 0.1) !important;
    padding: 4px !important;
}

.provider-label {
    font-size: 10px !important;
    color: #555 !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.provider-arrow {
    display: inline-block !important;
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    width: 8px !important;
    height: 5px !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mobile-provider-selector.open .provider-arrow {
    transform: rotate(180deg) !important;
}


.provider-dropdown {
    position: fixed;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: calc(100% - 40px);
    max-width: 350px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    overflow: hidden;
}

.provider-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.provider-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px !important;
    border-bottom: 1px solid #e0e0e0;
    background: rgba(148, 54, 172, 0.05);
}

.provider-dropdown-header span {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.provider-dropdown-close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: #666;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.provider-dropdown-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.provider-dropdown-list {
    padding: 10px;
}

.provider-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 5px;
}

.provider-dropdown-item:last-child {
    margin-bottom: 0;
}

.provider-dropdown-item:hover,
.provider-dropdown-item.active {
    background: rgba(148, 54, 172, 0.1);
}

.provider-dropdown-item.active {
    border: 1px solid rgba(148, 54, 172, 0.3);
}

.provider-dropdown-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
    padding: 5px;
}

.provider-dropdown-item .provider-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.provider-dropdown-item .provider-name {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.provider-dropdown-item .vip-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
    color: #000;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 3px;
    width: fit-content;
}

.provider-dropdown-item .provider-check {
    color: #59e479;
    font-size: 20px;
}

.provider-dropdown-item.vip-locked {
    opacity: 1 !important;
    background: rgba(244, 67, 54, 0.08) !important;
}

.provider-dropdown-item.vip-locked .provider-name {
    color: #999 !important;
}

.provider-dropdown-item.vip-locked img {
    filter: grayscale(50%) !important;
}


.provider-dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.provider-dropdown-overlay.active {
    opacity: 1;
    visibility: visible;
}


.mobile-more-menu {
    position: relative;
}

.more-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.more-main:active {
    background: rgba(255, 255, 255, 0.1);
}

.more-main i,
.more-main svg {
    font-size: 22px !important;
    width: 22px !important;
    height: 22px !important;
    color: #9436ac !important;
    margin-bottom: 3px !important;
    transition: all 0.3s ease !important;
}

.more-main span {
    font-size: 10px !important;
    color: #555 !important;
}

.mobile-more-menu.open .more-main i,
.mobile-more-menu.open .more-main svg,
.mobile-more-menu.open .more-main span {
    color: #7E2EBD !important;
}


.more-dropdown {
    position: fixed;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: calc(100% - 40px);
    max-width: 350px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    overflow: hidden;
}

.more-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.more-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px !important;
    border-bottom: 1px solid #e0e0e0;
    background: rgba(148, 54, 172, 0.05);
}

.more-dropdown-header span {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.more-dropdown-close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: #666;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.more-dropdown-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.more-dropdown-list {
    padding: 8px;
    max-height: 55vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.more-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #333;
    background: rgba(0, 0, 0, 0.02);
}

.more-dropdown-item:hover,
.more-dropdown-item:active {
    background: rgba(148, 54, 172, 0.1);
    transform: translateX(4px);
}

.more-dropdown-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    opacity: 0.9;
}

.more-dropdown-item span:not(.vip-badge-small) {
    font-size: 13px;
    font-weight: 500;
    flex: 1;
    color: #333;
}

.more-dropdown-item.logout-item {
    margin-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 12px;
    color: #f44336;
}

.more-dropdown-item.logout-item:hover {
    background: rgba(244, 67, 54, 0.1);
}

.more-dropdown-item.vip-support {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.08) 0%, rgba(255, 170, 0, 0.04) 100%);
    border: 1px solid rgba(255, 204, 0, 0.15);
}

.more-dropdown-item.vip-support:hover {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15) 0%, rgba(255, 170, 0, 0.08) 100%);
}

.vip-badge-small {
    background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
    color: #000;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
    white-space: nowrap;
    width: fit-content;
    flex-shrink: 0;
    margin-left: auto;
    box-shadow: 0 1px 3px rgba(255, 153, 0, 0.3);
}


.more-dropdown-item.vip-locked-item {
    opacity: 0.7;
    cursor: pointer;
}

.more-dropdown-item.vip-locked-item:hover {
    opacity: 1;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15) 0%, rgba(255, 170, 0, 0.08) 100%);
}


.more-dropdown-item.vip-locked-item .vip-badge-small {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 1px 3px rgba(255, 153, 0, 0.3);
    }

    50% {
        box-shadow: 0 2px 8px rgba(255, 153, 0, 0.6);
    }
}


.more-dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.more-dropdown-overlay.active {
    opacity: 1;
    visibility: visible;
}



.search-with-filters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.search-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(148, 54, 172, 0.8);
    border: 2px solid #8a32a0;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.vip-btn-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
    color: #000;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
    text-transform: uppercase;
    line-height: 1.2;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-filter-btn:hover,
.search-filter-btn.active {
    background: #9436ac;
}

.search-favorites-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(148, 54, 172, 0.8);
    border: 2px solid #8a32a0;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.search-favorites-btn:hover,
.search-favorites-btn.active {
    background: #9436ac;
}

.search-favorites-btn.active i {
    color: #fc4234;
}

.favorites-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fc4234;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}


@media (max-width: 768px) {


    .mobile-bottom-menu {
        display: flex;
    }



    .filter-toggle.filter-vips {
        display: none !important;
    }


    .tab-favoritos {
        display: none !important;
    }


    .menu-tabs,
    #tabs.menu-tabs {
        display: none !important;
    }


    .search-filter-btn {
        display: flex;
    }


    .search-favorites-btn {
        display: none !important;
    }


    .filters {
        padding: 0 10px;
    }

    .search-with-filters {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;

        gap: 8px !important;
        width: 100% !important;
    }

    .search-with-filters .search-container {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        width: auto !important;
    }


    .search-container {
        min-width: 0 !important;
    }

    #search_input {
        width: 100% !important;
    }


    .scroll-to-top {
        bottom: 95px !important;
        right: 15px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .scroll-to-top i {
        font-size: 18px !important;
        line-height: 36px !important;
    }


    .button-wpp {
        display: none !important;
    }


    .toggle-admin,
    .toggle-admin .filter-toggle {
        display: none !important;
    }


    body {
        padding-bottom: 70px;
    }


    .menu-tabs.tab-pc {
        display: none !important;
    }


    .game-container {
        padding-bottom: 20px;
    }


    .disclaimer {
        padding-bottom: 120px;
    }


    .blur-background {
        z-index: 9995 !important;
    }

    .login-modal,
    #login_modal,
    #login_signup,
    #modal_app,
    #modal_gamevip,
    #vip_modal,
    #maintenance_mode,
    .swal2-container {
        z-index: 9999 !important;
    }
}


@media (min-width: 769px) {

    .mobile-bottom-menu,
    .provider-dropdown-overlay {
        display: none !important;
    }
}