:root {
    --corPrincipal: #2860B9;
    --corTexto: #ffffff;
    --cor-a015: rgba(74, 144, 226, 0.15);
}

.slots-catalogo {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100030;
    background: #0B101B;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.slots-catalogo.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.slots-catalogo-open {
    overflow: hidden;
}

body.slots-catalogo-open .bonus-cadastro {
    display: none !important;
}

body.slots-catalogo-open .home-ref-games,
body.slots-catalogo-open .ref-slider-card,
body.slots-catalogo-open .ref-ticker,
body.slots-catalogo-open .ref-jackpot,
body.slots-catalogo-open .ref-categories-bar,
body.slots-catalogo-open .ref-filters,
body.slots-catalogo-open .busca-container,
body.slots-catalogo-open .ref-auth-split,
body.slots-catalogo-open .botao-esporte,
body.slots-catalogo-open .footer,
body.slots-catalogo-open .footer-line {
    visibility: hidden !important;
    pointer-events: none !important;
}

body.slots-catalogo-open .layout-footer,
body.slots-catalogo-open .header,
body.slots-catalogo-open .tabbar,
body.slots-catalogo-open .app-dl-banner,
body.slots-catalogo-open .app-sidebar,
body.slots-catalogo-open .sidebar-overlay,
body.slots-catalogo-open .vita-tg-fab {
    display: none !important;
}

.slots-cat-header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    padding: 10px 12px 6px;
    background: #0B101B;
    flex-shrink: 0;
}

.slots-cat-header-spacer {
    width: 40px;
    height: 40px;
}

.slots-cat-back {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slots-cat-title {
    margin: 0;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.slots-cat-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 14px 12px;
    padding: 0 14px;
    height: 42px;
    border-radius: 22px;
    background: rgba(12, 10, 28, 0.72);
    border: 1px solid #3d376e;
}

.slots-cat-search-wrap i {
    color: #b3b3b3;
    font-size: 15px;
    order: 2;
}

.slots-cat-search-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    order: 1;
}

.slots-cat-search-wrap input::placeholder {
    color: #9a96b0;
}

.slots-cat-body {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: 8px;
    padding: 0 10px 8px 6px;
}

.slots-cat-providers {
    flex: 0 0 68px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 0 8px;
    scrollbar-width: none;
}

.slots-cat-providers::-webkit-scrollbar {
    display: none;
}

.slots-cat-provider {
    width: 68px;
    min-height: 72px;
    border: 0;
    border-radius: 12px;
    background: #1a1633;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
    padding: 8px 4px;
    color: #c8c4d8;
}

.slots-cat-provider-ico {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slots-cat-provider img {
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.slots-cat-777 {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    background: linear-gradient(180deg, #ff4d4d 0%, #ffb020 55%, #ffe566 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35));
}

.slots-cat-provider-name {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.slots-cat-provider.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.slots-cat-main {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    padding-right: 2px;
}

.slots-cat-filters {
    display: flex;
    gap: 6px;
    padding: 0 0 10px;
    overflow-x: auto;
    flex-shrink: 0;
    scrollbar-width: none;
}

.slots-cat-filters::-webkit-scrollbar {
    display: none;
}

.slots-cat-filter {
    flex: 1 1 0;
    min-width: 0;
    height: 32px;
    padding: 0 6px;
    border-radius: 8px;
    border: 1px solid #4a4568;
    background: #16122e;
    color: #b3b3b3;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.slots-cat-filter.active {
    background: #2860B9;
    border-color: #2860B9;
    color: #ffffff;
}

.slots-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.slots-cat-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    background: #16122e;
    cursor: pointer;
}

.slots-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.slots-cat-star {
    position: absolute;
    top: 6px;
    right: 6px;
    left: auto;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #c4c0d0;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.slots-cat-star.is-fav {
    color: #2860B9;
}

.slots-cat-loading,
.slots-cat-empty {
    text-align: center;
    color: #8b86a8;
    padding: 24px 12px;
    font-size: 14px;
}

.slots-cat-pagination {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px 14px;
    background: #0B101B;
    flex-wrap: wrap;
}

.slots-cat-page {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid #4a4568;
    background: #16122e;
    color: #dddddd;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.slots-cat-page.active {
    background: #2860B9;
    border-color: #2860B9;
    color: #ffffff;
}

.slots-cat-page:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (min-width: 768px) {
    .slots-cat-body {
        max-width: 430px;
        margin: 0 auto;
        width: 100%;
    }

    .slots-cat-header,
    .slots-cat-filters,
    .slots-cat-search-wrap,
    .slots-cat-pagination {
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}
