/* Estilos para el catálogo de juegos */
.juegos-container {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    opacity: 1 !important;
    visibility: visible !important;
}

.juego-card {
    width: 220px;
    background: #c1d7dd;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.juego-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.juego-card.destacado {
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
    border: 2px solid #ffc107;
}

.card-consola-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 10;
    font-size: 0.75rem;
    font-weight: bold;
}

.badge-destacado {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #71c6db, #126291);
    color: #000;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.7rem;
    z-index: 10;
}

.juego-imagen-wrapper {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--image-card), var(--image-card-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 12px 12px 0 0;
}

.juego-imagen {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.juego-info {
    padding: 15px;
    background: var(--card-background);
    text-align: center;
    border-radius: 0 0 12px 12px;
}

.juego-nombre {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 5px 0;
    height: 40px;
    overflow: hidden;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.juego-precio {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--success-color);
    margin: 0 0 5px 0;
    text-align: center;
}

.juego-recargo {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
    text-decoration: line-through;
}