/* ============================================
   JUEGOS PAGE - MODERN FILTER BAR + CHIPS
   ============================================ */

.games-page-container {
    background-color: #ffffff;
}
.games-page {
    padding-bottom: 60px;
}

.games-filter-bar {
    display: grid;
    gap: 12px;
    padding: 14px 12px;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.games-filter-bar,
.games-filter-bar * {
    box-sizing: border-box;
}

.juegos-filterbar-actions {
    display: flex;
    align-items: stretch;
    gap: 3px;
    flex-wrap: wrap;
}

.juegos-select {
    position: relative;
    flex: 0 0 auto;
    min-width: 220px;
}

.juegos-search {
    width: 100%;
}

.juegos-search,
.juegos-select .filter-select-trigger {
    background: #ffffff;
    border: 1px solid #e3e6ef;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(20, 41, 132, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.juegos-search:focus-within,
.juegos-select .filter-select-trigger:focus-visible {
    border-color: #142984;
    box-shadow: 0 0 0 3px rgba(20, 41, 132, 0.1);
}

.juegos-search .input-group-prepend .input-group-text {
    background: transparent;
    border: 0;
    color: #142984;
}

.juegos-search .juegos-search-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(18%) sepia(85%) saturate(2476%) hue-rotate(226deg) brightness(95%) contrast(95%);
}

.juegos-search .form-control {
    background: transparent !important;
    padding-inline: 0px;
    border: none;
    color: #142984;
    font-family: 'Overpass', sans-serif;
    box-shadow: none;
}

.juegos-search .form-control:focus {
    box-shadow: none;
}

.juegos-search .form-control::placeholder {
    color: #6b7390;
    font-family: 'Overpass', sans-serif;
}

.juegos-select .filter-select-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 220px;
    height: 48px;
    padding: 0 14px;
    color: #142984;
    font-family: 'Overpass-bold', sans-serif;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.juegos-select .filter-select-trigger > .filter-select-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    filter: brightness(0) saturate(100%) invert(18%) sepia(85%) saturate(2476%) hue-rotate(226deg) brightness(95%) contrast(95%);
}

.juegos-select .filter-select-trigger .filter-select-label {
    flex: 0 0 auto;
    opacity: 0.85;
}

.juegos-select .filter-select-trigger .filter-select-value {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Overpass', sans-serif;
}

.juegos-select .filter-select-trigger .filter-select-caret {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    filter: brightness(0) saturate(100%) invert(18%) sepia(85%) saturate(2476%) hue-rotate(226deg) brightness(95%) contrast(95%);
    transition: transform 0.2s ease;
}

.juegos-select.filter-select--open .filter-select-trigger {
    border-color: #142984;
    box-shadow: 0 0 0 3px rgba(20, 41, 132, 0.1);
}

.juegos-select.filter-select--open .filter-select-caret {
    transform: rotate(180deg);
}

.juegos-select .filter-select-trigger:focus-visible {
    outline: 2px solid #142984;
    outline-offset: 2px;
}

.filter-select-listbox {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    max-height: 260px;
    overflow-y: auto;
    border-radius: 10px;
    border: 1px solid #d6dbe8;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(20, 41, 132, 0.12);
    z-index: 30;
    padding: 4px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.filter-select--open .filter-select-listbox {
    opacity: 1;
    transform: translateY(0);
}

.filter-select-listbox .filter-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    color: #142984;
    font-family: 'Overpass', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.filter-select-listbox .filter-select-option-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
}

.filter-select-listbox .filter-select-option:hover,
.filter-select-listbox .filter-select-option:focus-visible {
    background: #f5f7ff;
    color: #0f2372;
    outline: none;
}

.filter-select-listbox .filter-select-option[aria-selected="true"] {
    background: #eef2ff;
    color: #0f2372;
    font-family: 'Overpass-bold', sans-serif;
}

.filter-select-listbox .filter-select-option-check {
    flex: 0 0 auto;
    font-size: 12px;
    color: #142984;
}

.juegos-clear {
    border-radius: 8px;
    font-family: 'Overpass-bold', sans-serif;
    font-size: 14px;
    color: #142984;
    background: #ffffff;
    border-color: #e3e6ef;
    box-shadow: 0 1px 3px rgba(20, 41, 132, 0.04);
    white-space: nowrap;
}

.juegos-clear:hover,
.juegos-clear:focus {
    color: #142984;
    background: #f5f7ff;
    border-color: #142984;
    box-shadow: 0 0 0 3px rgba(20, 41, 132, 0.1);
}

.juegos-clear .juegos-clear-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(18%) sepia(85%) saturate(2476%) hue-rotate(226deg) brightness(95%) contrast(95%);
}

.juegos-chips-wrapper {
    position: relative;
    padding-block: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.juegos-chips {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    flex: 1;
    scroll-behavior: smooth;
    padding: 4px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.juegos-chips::-webkit-scrollbar {
    display: none;
}

.juegos-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e3e6ef;
    border-radius: 10px;
    padding: 9px 16px;
    font-family: 'Overpass-bold', sans-serif;
    font-size: 14px;
    color: #142984;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(20, 41, 132, 0.04);
    flex-shrink: 0;
}

.juegos-chip:hover {
    border-color: #142984;
    transform: translateY(-1px);
}

.juegos-chip .juegos-chip-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.juegos-chip--active {
    background: #142984 !important;
    border-color: #142984 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(20, 41, 132, 0.3);
}

.juegos-chip--active .juegos-chip-icon {
    filter: brightness(0) invert(1) !important;
}

.juegos-chips-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e3e6ef;
    background: #ffffff;
    color: #142984;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.juegos-chips-arrow--left {
    left: 8px;
}

.juegos-chips-arrow--right {
    right: 8px;
}

.juegos-chips-arrow:hover, .juegos-chips-arrow:focus {
    background: #142984;
    color: #ffffff;
    border-color: #142984;
    outline: none;
}

.juegos-chips-arrow .juegos-chips-arrow-icon {
    width: 14px;
    height: 14px;
    filter: brightness(0) saturate(100%) invert(18%) sepia(85%) saturate(2476%) hue-rotate(226deg) brightness(95%) contrast(95%);
}

.juegos-chips-arrow:hover .juegos-chips-arrow-icon,
.juegos-chips-arrow:focus .juegos-chips-arrow-icon {
    filter: brightness(0) invert(1);
}

.juegos-grid-wrapper {
    padding: 0 12px 24px 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.juegos-grid-empty {
    text-align: center;
    width: auto;
    font-family: 'Overpass', sans-serif;
    font-size: 18px;
    color: #2f5597;
    padding: 40px 0;
    background: #ffffff;
    border-radius: 10px;
    margin: 12px 0;
}

/* ============================================
   GAME CARD
   ============================================ */

.game-card-col {
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
}

.games-page .port_img.game-card {
    position: relative;
    width: 100%;
    aspect-ratio: 200 / 220;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

.games-page .port_img.game-card .game-card-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform .3s ease;
}

.games-page .port_img.game-card:hover .game-card-img {
    transform: scale(1.08);
}

.games-page .port_img.game-card .game-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    background: linear-gradient(135deg, #ff2d7a 0%, #ff4d4d 100%);
    color: #ffffff;
    font-family: 'Overpass-bold', 'Helvetica', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
    line-height: 1;
}

.games-page .game-card-info {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}

.games-page .game-card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.85) 35%,
        rgba(0, 0, 0, 0.45) 85%,
        rgba(0, 0, 0, 0) 100%
    );
}

.games-page .game-card-text {
    position: relative;
    padding: 18px 12px 10px;
    text-align: left;
    width: 100%;
}

.games-page .game-card-title {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
    font-family: 'Overpass', 'Helvetica', sans-serif;
    line-height: 1.2;
    text-transform: capitalize;
}

.games-page .game-card-provider {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-family: 'Overpass', 'Helvetica', sans-serif;
    line-height: 1.2;
    text-transform: capitalize;
}

.games-page .game-card-actions {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .3s ease;
}

.games-page .port_img.game-card:hover .game-card-actions {
    opacity: 1;
}

.game-card-actions-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 0 16px;
    transform: translateY(12px);
    transition: .3s ease;
}

.games-page .port_img.game-card:hover .game-card-actions-row {
    transform: translateY(0);
}

.game-card-action-cell {
    width: 100%;
    max-width: 100%;
}

.game-card-action-cell .casino-btn,
.game-card-action-cell .casino-btn a {
    width: 100%;
}

/* ============================================
   GAME CARD MODERN (hover overlay)
   Replica del look Tailwind: gradient bg,
   imagen con scale en hover, overlay oscuro
   con titulo y botones PLAY / PLAY DEMO que
   aparecen deslizandose desde abajo.
   Mobile: tap para mostrar (autocierre 3s).
   Desktop: hover muestra el overlay.
   ============================================ */

.games-page .port_img.game-card-modern {
    position: relative;
    width: 135px;
    height: 116px;
    flex-shrink: 0;
    display: block;
    align-items: stretch;
    justify-content: flex-start;
    border-radius: 16px;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    text-align: left;
    cursor: pointer;
    background: linear-gradient(to right, #075985 0%, #581c87 100%);
    overflow: hidden;
    isolation: isolate;
}

@media (min-width: 640px) {
    .games-page .port_img.game-card-modern {
        width: 144px;
        height: 124px;
    }
}

@media (min-width: 768px) {
    .games-page .port_img.game-card-modern {
        width: 180px;
        height: 155px;
    }
}

.games-page .port_img.game-card-modern .game-card-img-modern {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    transition: transform 0.3s ease;
}

/* Capa de degradado inferior + texto fijo (nombre/proveedor) */
.games-page .game-card-info-modern {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}

.games-page .game-card-gradient-modern {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.25) 78%,
        rgba(0, 0, 0, 0) 100%
    );
}

.games-page .game-card-text-modern {
    position: relative;
    width: 100%;
    padding: 0 10px 8px;
    text-align: left;
}

.games-page .game-card-title-modern {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Overpass-bold', 'Helvetica', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.games-page .game-card-provider-modern {
    display: block;
    margin-top: 1px;
    color: rgba(255, 255, 255, 0.82);
    font-family: 'Overpass', 'Helvetica', sans-serif;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 640px) {
    .games-page .game-card-text-modern {
        padding: 0 12px 10px;
    }

    .games-page .game-card-title-modern {
        font-size: 12px;
    }

    .games-page .game-card-provider-modern {
        font-size: 11px;
    }
}

@media (min-width: 768px) {
    .games-page .game-card-text-modern {
        padding: 0 12px 12px;
    }

    .games-page .game-card-title-modern {
        font-size: 15px;
    }

    .games-page .game-card-provider-modern {
        font-size: 12px;
    }
}

@media (hover: hover) {
    .games-page .port_img.game-card-modern:hover .game-card-img-modern {
        transform: scale(1.1);
    }
}

/* Badge "NEW" (top-right, igual que la version Tailwind) */
.games-page .game-card-badge-modern {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 10;
    background-color: #0284c7;
    color: #ffffff;
    font-family: 'Overpass-bold', 'Helvetica', sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.3px;
    padding: 2px 6px;
    border-radius: 6px;
}

@media (min-width: 640px) {
    .games-page .game-card-badge-modern {
        top: 8px;
        right: 8px;
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Overlay (oscurece la card y muestra titulo + botones) */
.games-page .game-card-overlay-modern {
    position: absolute;
    inset: 0;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 8px;
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

@media (hover: hover) {
    .games-page .port_img.game-card-modern:hover .game-card-overlay-modern {
        background-color: rgba(0, 0, 0, 0.7);
        opacity: 1;
        pointer-events: auto;
    }
}

.games-page .port_img.game-card-modern.game-card-modern--tapped
    .game-card-overlay-modern {
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 1;
    pointer-events: auto;
}

/* Titulo del juego (desliza desde abajo) */
.games-page .game-card-name-modern {
    color: #ffffff !important;
    font-family: 'Overpass-bold', 'Helvetica', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    padding: 0 4px;
    word-break: break-word;
    transform: translateY(16px);
    transition: transform 0.3s ease;
}

@media (min-width: 640px) {
    .games-page .game-card-name-modern {
        font-size: 14px;
        padding: 0 16px;
    }
}

@media (min-width: 768px) {
    .games-page .game-card-name-modern {
        font-size: 16px;
    }
}

@media (hover: hover) {
    .games-page .port_img.game-card-modern:hover .game-card-name-modern {
        transform: translateY(0);
    }
}

.games-page .port_img.game-card-modern.game-card-modern--tapped
    .game-card-name-modern {
    transform: translateY(0);
}

/* Contenedor de acciones (desliza desde abajo con leve delay) */
.games-page .game-card-actions-modern {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 0 4px;
    transform: translateY(16px);
    transition: transform 0.3s ease 75ms;
}

.games-page .game-card-actions-modern .game-card-action-cell .casino-btn,
.games-page .game-card-actions-modern .game-card-action-cell .casino-btn a {
    width: 100%;
}

@media (min-width: 640px) {
    .games-page .game-card-actions-modern {
        gap: 6px;
        padding: 0 16px;
    }
}

@media (hover: hover) {
    .games-page .port_img.game-card-modern:hover .game-card-actions-modern {
        transform: translateY(0);
    }
}

.games-page .port_img.game-card-modern.game-card-modern--tapped
    .game-card-actions-modern {
    transform: translateY(0);
}

/* Botones (base Bootstrap .btn + colores sky / white-border) */
.games-page .btn-card-play,
.games-page .btn-card-demo {
    width: 100%;
    display: inline-block;
    border-radius: 9999px;
    font-family: 'Overpass-bold', 'Helvetica', sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 1.2;
    padding: 6px 8px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease,
        border-color 0.2s ease;
}

.games-page .btn-card-demo:hover{
    color: #000000 !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}

@media (min-width: 640px) {
    .games-page .btn-card-play,
    .games-page .btn-card-demo {
        font-size: 12px;
        padding: 8px 24px;
    }
}

@media (min-width: 768px) {
    .games-page .btn-card-play,
    .games-page .btn-card-demo {
        font-size: 14px;
    }
}

.games-page .btn-card-play {
    background-color: #0034c2;
    border-color: #0034c2;
    color: #ffffff;
}

.games-page .btn-card-play:hover,
.games-page .btn-card-play:focus {
    background-color: #0034c2;
    border-color: #0034c2;
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

.games-page .btn-card-demo {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.games-page .btn-card-demo:hover,
.games-page .btn-card-demo:focus {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #000000;
    text-decoration: none;
    outline: none;
}

/* ============================================
   SLIDERS
   ============================================ */

.games-slider-section {
    width: 100%;
    position: relative;
    min-width: 0;
    max-width: 100%;
}

.games-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0 8px;
}

.games-slider-category {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #132a85;
    font-family: 'Overpass-bold', sans-serif;
    font-size: 20px;
    line-height: 1;
}

.games-slider-category .games-slider-category-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    filter: brightness(0) saturate(100%) invert(58%) sepia(85%) saturate(2476%) hue-rotate(346deg) brightness(95%) contrast(95%);
}

.games-slider-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    color: #1b3cc9;
    font-family: 'Overpass-bold', sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.games-slider-see-all:hover {
    color: #142984;
    text-decoration: none;
}

.games-slider-see-all .games-slider-see-all-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(85%) saturate(2476%) hue-rotate(220deg) brightness(95%) contrast(95%);
}

.games-slider-track-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.games-slider-track {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(205px, 1fr);
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 4px 10px;
    scroll-behavior: smooth;
}

.games-slider-track::-webkit-scrollbar {
    display: none;
}

.games-slider-track.games-slider-track-cards {
    grid-auto-columns: max-content;
    gap: 8px;
}

.games-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    color: #142984;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.games-slider-arrow:hover {
    transform: translateY(-50%) scale(1.04);
}

.games-slider-arrow .games-slider-arrow-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(18%) sepia(85%) saturate(2476%) hue-rotate(226deg) brightness(95%) contrast(95%);
}

.games-slider-arrow-left {
    left: 8px;
}

.games-slider-arrow-right {
    right: 8px;
}

.games-slider-arrow-hidden {
    opacity: 0;
    pointer-events: none;
}

.juegos-sliders-wrapper {
    display: grid;
    gap: 0px;
    padding-top: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.juegos-sliders-wrapper .games-slider-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 8px 6px;
    min-width: 0;
    overflow: hidden;
}

.juegos-slider-skeleton-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 8px 10px;
    min-width: 0;
    overflow: hidden;
}

.juegos-slider-skeleton-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0 8px;
}

.juegos-slider-skeleton-title,
.juegos-slider-skeleton-link,
.juegos-slider-skeleton-card {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background: #e9edf7;
}

.juegos-slider-skeleton-title::after,
.juegos-slider-skeleton-link::after,
.juegos-slider-skeleton-card::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: juegos-skeleton-shimmer 1.2s ease-in-out infinite;
}

.juegos-slider-skeleton-title {
    width: 180px;
    height: 24px;
    border-radius: 8px;
}

.juegos-slider-skeleton-link {
    width: 90px;
    height: 18px;
    border-radius: 8px;
}

.juegos-slider-skeleton-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 8px;
    padding: 2px 4px 10px;
    overflow: hidden;
}

.juegos-slider-skeleton-card {
    width: 180px;
    height: 155px;
    border-radius: 16px;
}

@keyframes juegos-skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.juegos-slider-focus {
    display: flex;
    justify-content: flex-end;
}

.juegos-results-wrapper {
    padding-top: 8px;
}

.juegos-results-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 12px;
    padding: 0 8px;
}

.juegos-results-title {
    margin: 0;
    color: #ffffff;
    font-family: 'Overpass-bold', sans-serif;
    font-size: 2.4rem;
    line-height: 1;
}

.juegos-results-count {
    margin-left: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Overpass', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
}

.juegos-results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 8px 8px;
}

/* ============================================
   PLAY MODAL
   ============================================ */

.juegos-amount-input {
    width: 40%;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 769px) {
    .games-filter-bar {
        grid-template-areas:
            "search actions"
            "chips chips";
        grid-template-columns: 1fr auto;
    }

    .games-filter-bar > .juegos-search {
        grid-area: search;
    }

    .games-filter-bar > .juegos-chips-wrapper {
        grid-area: chips;
    }

    .games-filter-bar > .juegos-filterbar-actions {
        grid-area: actions;
    }
    
}

@media (max-width: 920px) {
    .games-filter-bar {
        grid-template-areas:
            "search"
            "chips"
            "actions";
        grid-template-columns: 1fr;
    }

    .games-filter-bar > .juegos-search {
        grid-area: search;
        min-width: 0;
    }

    .games-filter-bar > .juegos-chips-wrapper {
        grid-area: chips;
        padding-right: 12px;
        min-width: 0;
    }

    .games-filter-bar .juegos-chips {
        min-width: 0;
    }

    .games-filter-bar > .juegos-filterbar-actions {
        grid-area: actions;
        flex-wrap: wrap;
    }

    .games-filter-bar .juegos-select {
        flex: 1 1 140px;
        min-width: 0;
    }

    .games-filter-bar .juegos-select .filter-select-trigger {
        min-width: 0;
        font-size: 10px;
    }

    .games-filter-bar .juegos-clear {
        flex: 0 0 auto;
    }

    .games-filter-bar .juegos-clear-label {
        display: none;
    }

    .games-page .game-card-title {
        font-size: 13px;
    }

    .games-page .game-card-provider {
        font-size: 10px;
    }

    .games-slider-header {
        padding: 0 4px;
    }

  

    .juegos-results-header {
        padding: 0 4px;
    }

    .juegos-results-title {
        font-size: 2rem;
    }

    .juegos-results-count {
        font-size: 1.4rem;
    }

    .games-slider-track {
        grid-auto-columns: minmax(170px, 72vw);
        gap: 8px;
    }

    .games-slider-track.games-slider-track-cards {
        grid-auto-columns: max-content;
    }

    .games-slider-arrow {
        width: 32px;
        height: 32px;
    }

    .games-slider-arrow-left {
        left: 4px;
    }

    .games-slider-arrow-right {
        right: 4px;
    }
}
